[go: up one dir, main page]

WO2023225855A1 - Device control methods and apparatuses, and electronic devices and readable storage media - Google Patents

Device control methods and apparatuses, and electronic devices and readable storage media Download PDF

Info

Publication number
WO2023225855A1
WO2023225855A1 PCT/CN2022/094728 CN2022094728W WO2023225855A1 WO 2023225855 A1 WO2023225855 A1 WO 2023225855A1 CN 2022094728 W CN2022094728 W CN 2022094728W WO 2023225855 A1 WO2023225855 A1 WO 2023225855A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
data
bit stream
stream data
ultrasonic band
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2022/094728
Other languages
French (fr)
Chinese (zh)
Inventor
易鑫林
祝宁之
张墉
史润宇
王凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to PCT/CN2022/094728 priority Critical patent/WO2023225855A1/en
Priority to CN202280004343.8A priority patent/CN115668325A/en
Publication of WO2023225855A1 publication Critical patent/WO2023225855A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/02Non-electrical signal transmission systems, e.g. optical systems using infrasonic, sonic or ultrasonic waves
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B11/00Transmission systems employing sonic, ultrasonic or infrasonic waves
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/26Systems using multi-frequency codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content

Definitions

  • the present disclosure relates to the field of wireless communication technology, and in particular, to an equipment control method, device, electronic equipment and readable storage medium.
  • Long-distance wireless transmission technology such as 4G technology, 5G technology, etc.
  • short-distance wireless transmission technology such as Bluetooth technology, Wifi technology, etc.
  • Ultrasound is a mechanical wave with extremely short wavelength.
  • the wavelength in air is generally shorter than 2 cm. Because of its short wavelength, it is easily lost and scattered in the air, and does not travel as far as audible sound waves and infrasound waves. However, short wavelength makes it easier to obtain anisotropic sound energy, which can be used for cleaning, gravel crushing, sterilization, etc., and can be used in medicine and industry.
  • ultrasonic signals serve as a wave to carry information, they have the following shortcomings: low data transmission rate, weak anti-interference ability, and high bit error rate.
  • the present disclosure provides an equipment control method, device, electronic equipment and readable storage medium.
  • a device control method which is executed by the first device.
  • the method includes:
  • the ultrasonic band signal is transmitted through a speaker of the first device.
  • the modulating the bit stream data into a mutually orthogonal multi-carrier continuous baseband signal includes:
  • Orthogonal frequency division multiplexing technology is used to modulate the bit stream data into mutually orthogonal multi-frequency continuous baseband signals.
  • the method further includes:
  • the multiple frames include the multiple data frames and the data amount frame, the data frame includes a header area and a data area, the header area is used to indicate the data frame The frame number, the data area is part of the data in the bit stream data; the data amount frame is used to indicate the number of data frames.
  • the modulating the multi-carrier continuous baseband signal into multiple ultrasonic band signals includes:
  • the method further includes:
  • a check code is set for each frame, and the check code is calculated based on the content in the corresponding frame.
  • the method further includes:
  • a prefix and/or suffix is added to each frame, and a sequence for channel evaluation is added before each frame.
  • the method further includes:
  • the data frame corresponding to the target frame number is replayed.
  • a device control method is executed by a second device.
  • the method includes:
  • demodulating the mutually orthogonal multi-frequency continuous baseband signals into bit stream data includes:
  • Orthogonal frequency division multiplexing technology is used to demodulate the mutually orthogonal multi-frequency continuous baseband signals into bit stream data.
  • the method further includes:
  • the bit stream data is parsed into multiple frames, the multiple frames include a data volume frame and a plurality of data frames, each data frame includes a frame number, and the data volume frame is used to indicate the number of data frames.
  • the method further includes:
  • the frame is checked according to the check code in the frame to determine whether the frame is a valid frame or an invalid frame.
  • demodulating the ultrasonic band signal into a multi-carrier continuous baseband signal includes:
  • the single carrier signals in the ultrasonic band signals are respectively subjected to forward transformation and inverse transformation and then combined into multi-carrier continuous baseband signals.
  • the method further includes:
  • Channel evaluation is performed on the corresponding ultrasonic band signal according to the set sequence, and channel compensation is performed during the demodulation process.
  • the method further includes:
  • An ultrasonic band signal is sent through the speaker of the second device, and the ultrasonic band signal includes indication information for instructing to retransmit a data frame with a target frame number, where the target frame number is the frame number of the invalid frame.
  • an equipment control device is configured in the first equipment, and the device includes:
  • a processing module configured to obtain text control instruction information; convert the text control instruction information into bit stream data;
  • a modulation module configured to determine, based on the bit stream data, a multi-carrier continuous baseband signal modulated into a mutually orthogonal multi-carrier continuous baseband signal; and to modulate the multi-frequency continuous baseband signal into an ultrasonic band signal;
  • a sending module configured to send the ultrasonic band signal through a speaker of the first device.
  • an equipment control device is configured in a second device, and the device includes:
  • a receiving module configured to receive the ultrasonic band signal through the microphone of the second device
  • a demodulation module configured to demodulate the ultrasonic band signal into a mutually orthogonal multi-frequency continuous baseband signal; and demodulate the mutually orthogonal multi-frequency continuous baseband signal into bit stream data;
  • a processing module configured to convert the bit stream data into text control instruction information; identify instructions corresponding to the text control instruction information; and execute the instructions.
  • an electronic device includes a processor and a memory, wherein,
  • the memory is used to store computer programs
  • the processor is configured to execute the computer program to implement the method according to any one of the first aspects.
  • an electronic device includes a processor and a memory, wherein,
  • the memory is used to store computer programs
  • the processor is configured to execute the computer program to implement the method according to any one of the second aspects.
  • a seventh aspect a computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are called and executed on a computer, they cause the computer to execute as described in any one of the first aspects. method described.
  • the eighth aspect a computer-readable storage medium, the computer-readable storage medium stores instructions, when the instructions are called and executed on a computer, the computer is caused to execute as described in any one of the second aspects. method described.
  • the bit stream corresponding to the control instruction is modulated into a mutually orthogonal multi-carrier continuous baseband signal, and the data transmission rate corresponding to the multi-carrier modulation method is used to be greater than the data transmission rate corresponding to the single-carrier modulation method, thereby improving Ultrasonic waves control the transmission rate of data.
  • Figure 1 is a schematic architectural diagram of a communication system provided by an embodiment of the present disclosure
  • Figure 2 is a flow chart of a device control method according to an exemplary embodiment
  • Figure 3 is a flow chart of a device control method according to an exemplary embodiment
  • Figure 4 is a flow chart of a device control method according to an exemplary embodiment
  • Figure 5 is a flow chart of a device control method according to an exemplary embodiment
  • Figure 6 is a schematic diagram of a signal format according to an exemplary embodiment
  • Figure 7 is a flow chart of a device control method according to an exemplary embodiment
  • Figure 8 is a flow chart of a device control method according to an exemplary embodiment
  • Figure 9 is a flow chart of a device control method according to an exemplary embodiment
  • Figure 10 is a flow chart of a device control method according to an exemplary embodiment
  • Figure 11 is a schematic diagram of channel assessment according to an exemplary embodiment
  • Figure 12 is a block diagram of an equipment control device according to an exemplary embodiment
  • Figure 13 is a block diagram of an equipment control device according to an exemplary embodiment
  • Figure 14 is a block diagram of a terminal according to an exemplary embodiment
  • first, second, third, etc. may be used to describe various information in the embodiments of the present disclosure, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other.
  • first information may also be called second information, and similarly, the second information may also be called first information.
  • the words "if” and “if” as used herein may be interpreted as “when” or “when” or “in response to determining.”
  • the sender converts the target information into a binary bit stream according to the ASCII code, performs BFSK modulation on the bit stream, and sends the modulated data, and the receiver performs reverse processing to obtain the target information.
  • This method has the disadvantages of low data transmission rate, weak anti-interference ability, and high bit error rate.
  • a device control method provided by an embodiment of the present disclosure can be applied in the communication architecture as shown in Figure 1, in which the first device is the controlling party and the second device is the controlled party.
  • the first device controls the second device by sending ultrasonic signals carrying control instructions.
  • the first device includes a transmitting device (such as a speaker) for transmitting ultrasonic signals
  • the second device includes a receiving device (such as a microphone) for receiving ultrasonic signals.
  • both the first device and the second device include a sending device for sending ultrasonic signals and a receiving device for receiving ultrasonic signals.
  • the first device is a mobile phone and the second device is a smart TV.
  • the first device is a mobile phone, and the second device is also a mobile phone. It can be understood that the first device and the second device are not limited to the devices in the above examples.
  • Figure 2 is a flow chart of a device control method according to an exemplary embodiment. It is executed by the first device and includes steps S201 to S205, specifically:
  • Step S201 Obtain text control instruction information.
  • the method for obtaining text control instruction information in this step includes one of the following:
  • Receive voice control information identify the text content in the voice control information, and determine that the text content is text control instruction information
  • the first device may be installed with an APP for controlling other devices through ultrasonic waves.
  • the APP can provide at least one of the above functions.
  • Step S202 Convert the text control instruction information into bit stream data.
  • the method of converting the text control instruction information into bit stream data may be to convert according to the ASCII code comparison table.
  • Step S203 Determine multi-carrier continuous baseband signals modulated into mutually orthogonal baseband signals based on the bit stream data.
  • Orthogonal Frequency Division Multiplexing (OFDM) technology is used to modulate the bit stream data into mutually orthogonal multi-frequency continuous baseband signals.
  • Step S204 Modulate the multi-frequency continuous baseband signal into an ultrasonic band signal.
  • Step S205 Send the ultrasonic band signal through the speaker of the first device.
  • the bit stream corresponding to the control instruction is modulated into a mutually orthogonal multi-carrier continuous baseband signal, and the data transmission rate corresponding to the multi-carrier modulation method is used to be greater than the data transmission rate corresponding to the single-carrier modulation method to improve the ultrasonic wave. Control the data transfer rate.
  • Figure 3 is a flow chart of a device control method according to an exemplary embodiment. It is executed by the first device and includes steps S301 to S306, specifically:
  • Step S301 Obtain text control instruction information.
  • step S301 The method of obtaining the text control instruction information in step S301 is the same as that in step S201.
  • Step S302 Convert the text control instruction information into bit stream data.
  • step S302 The method of converting the text control instruction information into bit stream data in step S302 is the same as that in step S202.
  • Step S303 Determine multiple frames according to the bit stream data.
  • the multiple frames include the multiple data frames and the data amount frame.
  • the data frame includes a header area and a data area.
  • the header area is used to Indicates the frame number of the data frame, and the data area is part of the data in the bit stream data.
  • the data amount frame is used to indicate the number of data frames.
  • bit stream data is divided into multiple groups, each group corresponds to a data frame, a frame number is added to each data frame, and a data frame amount is set.
  • the bitstream data has a total of N bits of data, and the data is divided into N/16+1 groups of data. Each group corresponds to one frame, where N/16 corresponds to the fact that each frame of ultrasonic data will carry 16 bits of data, and an additional data amount frame is set to indicate the number of data frames. After the grouping is completed, a frame number is set for each frame of data, and X bits are added to the front of each frame of data to indicate the frame number.
  • a header area is added at the front of each data frame, and the frame number is stored in the header area.
  • the second device can determine whether to accurately receive each frame of data based on the frame number, thereby ensuring the integrity and accuracy of data transmission.
  • Step S304 Determine multi-carrier continuous baseband signals modulated into mutually orthogonal baseband signals based on the bit stream data.
  • Orthogonal Frequency Division Multiplexing (OFDM) technology is used to modulate the bit stream data into mutually orthogonal multi-frequency continuous baseband signals.
  • step S304 the data frame and each data frame are modulated separately, so that each frame corresponds to a multi-carrier continuous baseband signal.
  • Step S305 Modulate the multi-frequency continuous baseband signal into an ultrasonic band signal.
  • the multi-carrier continuous baseband signal corresponding to each frame is decomposed into multiple single-carrier signals, and inverse transformation and forward transformation are performed on each single-carrier signal, and the inverse transformation is the inverse transformation of the forward transformation,
  • the forward transformation is a transformation from time domain to frequency domain.
  • the forward transformation can be FFT
  • the inverse transformation can be IFFT
  • Step S306 Send the ultrasonic band signal through the speaker of the first device.
  • Figure 4 is a flow chart of a device control method according to an exemplary embodiment. It is executed by the first device and includes steps S401 to S407, specifically:
  • Step S401 Obtain text control instruction information.
  • step S401 The method of obtaining the text control instruction information in step S401 is the same as that in step S201.
  • Step S402 Convert the text control instruction information into bit stream data.
  • step S402 The method of converting the text control instruction information into bit stream data in step S402 is the same as that in step S202.
  • Step S403 Divide the bit stream data into multiple data frames, add a frame number to each data frame, and set a data amount frame, where the data amount frame is used to indicate the number of data frames.
  • step S403 The specific content in step S403 is the same as that in step S303.
  • Step S404 Set a check code for each frame, where the check code is calculated based on the content in the corresponding frame.
  • a tail area is added at the back end of each frame, and the check code is stored in the tail area.
  • the check code can be a cyclic redundancy check code (CRC).
  • CRC cyclic redundancy check code
  • This CRC can be used for error checking.
  • the CRC performs polynomial calculation on the data in the frame to obtain the CRC, and the receiving device performs the corresponding polynomial calculation.
  • the reverse process can verify the correctness of the data. In the event of verification failure, retransmission of the corresponding frame may be instructed.
  • the first device replays the data frame corresponding to the target frame number.
  • Step S405 Determine multi-carrier continuous baseband signals modulated into mutually orthogonal baseband signals based on the bit stream data.
  • Step S406 Modulate the multi-frequency continuous baseband signal into an ultrasonic band signal.
  • Step S407 Send the ultrasonic band signal through the speaker of the first device.
  • Figure 5 is a flow chart of a device control method according to an exemplary embodiment. It is executed by the first device and includes steps S501 to S507, specifically:
  • Step S501 Obtain text control instruction information.
  • step S501 The method of obtaining the text control instruction information in step S501 is the same as that in step S201.
  • Step S502 Convert the text control instruction information into bit stream data.
  • step S502 The method of converting the text control instruction information into bit stream data in step S502 is the same as that in step S202.
  • Step S503 Divide the bit stream data into multiple data frames, add a frame number to each data frame, and set a data amount frame, where the data amount frame is used to indicate the number of data frames.
  • step S503 The specific content in step S503 is the same as that in step S303.
  • Step S504 Add a prefix and/or suffix to each frame, and add a sequence for channel evaluation before each frame.
  • a prefix is added to the front of each frame, a sequence for channel evaluation is added adjacently before the prefix, and a prefix is added to the front of the sequence for channel evaluation at the same time.
  • the order of each frame is: prefix, for channel Evaluated sequences, prefixes, data.
  • a suffix is added to the back end of each frame, a sequence for channel evaluation is added to the front end of each frame, and a suffix is added to the back end of the sequence for channel evaluation.
  • the order of each frame is: for Sequence, suffix, data, suffix for channel evaluation.
  • FIG. 6 is a schematic diagram of a signal format according to an exemplary embodiment. As shown in Figure 6, the order of each frame is: prefix, sequence for channel evaluation, suffix, prefix , data, suffix.
  • the sequence used for channel evaluation is an LTF sequence (long training field, long training code sequence).
  • the first device replays the data frame corresponding to the target frame number.
  • Step S505 Determine multi-carrier continuous baseband signals modulated into mutually orthogonal baseband signals based on the bit stream data.
  • Step S506 Modulate the multi-frequency continuous baseband signal into an ultrasonic band signal.
  • Step S507 Send the ultrasonic band signal through the speaker of the first device.
  • step S505 to step S507 is the same as that in step S203 to step S205.
  • FIG. 7 is a flow chart of a device control method according to an exemplary embodiment. It is executed by a second device and includes steps S701 to S706, specifically:
  • Step S701 Receive ultrasonic band signals through the microphone of the second device.
  • the sound receiver of the second device is a microphone of the second device, which performs filtering on the received signal to filter out low-frequency band signals and only retain ultrasonic band signals.
  • Step S702 Demodulate the ultrasonic band signal into a mutually orthogonal multi-frequency continuous baseband signal.
  • the single carrier signals in the ultrasonic band signals are respectively subjected to forward transformation and inverse transformation and then combined into a multi-carrier continuous baseband signal.
  • the ultrasonic frequency band signal corresponding to each frame is decomposed into multiple single carrier signals, and each single carrier signal is subjected to forward transformation and inverse transformation.
  • the inverse transformation is the inverse transformation of the forward transformation
  • the Forward transformation is the transformation from time domain to frequency domain.
  • the forward transformation can be FFT
  • the inverse transformation can be IFFT
  • Step S703 Demodulate the mutually orthogonal multi-frequency continuous baseband signals into bit stream data.
  • orthogonal frequency division multiplexing technology is used to demodulate the mutually orthogonal multi-frequency continuous baseband signals into bit stream data.
  • Step S704 Convert the bit stream data into text control instruction information.
  • bit stream data is converted into text control instruction information according to the ASCII code comparison table, and is displayed on the interface of the second device.
  • Step S705 Identify the instruction corresponding to the text control instruction information.
  • Figure 8 is a flow chart of a device control method according to an exemplary embodiment. It is executed by the second device and includes steps S801 to S807, specifically:
  • Step S801 Receive ultrasonic band signals through the microphone of the second device.
  • Step S802 Demodulate the ultrasonic band signal into a mutually orthogonal multi-frequency continuous baseband signal.
  • Step S803 Demodulate the mutually orthogonal multi-frequency continuous baseband signals into bit stream data.
  • step S801 to step S803 are the same as those in step S701 to step S703.
  • Step S804 Parse the bit stream data into multiple frames.
  • the multiple frames include a data amount frame and multiple data frames.
  • Each data frame includes a frame number.
  • the data amount frame is used to indicate the size of the data frame. quantity.
  • the number of received frames is determined and whether the number is the same as the received data amount frame.
  • Step S805 Convert the bit stream data into text control instruction information.
  • step S805 The specific content in step S805 is the same as that in step S804.
  • Step S806 Identify the instruction corresponding to the text control instruction information.
  • Step S807 execute the instruction.
  • Figure 9 is a flow chart of a device control method according to an exemplary embodiment. It is executed by a second device and includes steps S901 to S908, specifically:
  • Step S901 Receive ultrasonic band signals through the microphone of the second device.
  • Step S902 Demodulate the ultrasonic band signal into a mutually orthogonal multi-frequency continuous baseband signal.
  • Step S903 Demodulate the mutually orthogonal multi-frequency continuous baseband signals into bit stream data.
  • Step S904 Parse the bit stream data into multiple frames.
  • the multiple frames include a data amount frame and multiple data frames.
  • Each data frame includes a frame number.
  • the data amount frame is used to indicate the size of the data frame. quantity.
  • steps S901 to S904 are the same as those in steps S801 to S804.
  • Step S905 Check the frame according to the check code in the frame to determine whether the frame is a valid frame or an invalid frame.
  • the check code stored in the tail area of each frame is checked.
  • the check code is a cyclic redundancy check code, and an inverse process of polynomial calculation is performed on the check code of each frame to verify the correctness of the data.
  • Frames with correct check codes are valid frames, and frames with incorrect check codes are invalid frames.
  • the frame number of the frame is saved in the valid frame sequence; when the frame is an invalid frame, the frame is saved in the invalid frame sequence until the first device resends it.
  • the frame, and the resent frame is a valid frame is then saved to the valid frame sequence.
  • the length of the valid frame sequence is the same as the number in the received data volume frame, the valid frame sequence is sorted and the valid frame sequence is cleared at the same time.
  • an ultrasonic band signal is sent through the speaker of the second device, and the ultrasonic band signal includes indication information for indicating the data frame of the retransmission target frame number.
  • the target frame number is the frame number of the invalid data frame.
  • Step S906 Convert the bit stream data into text control instruction information.
  • step S906 The specific content in step S906 is the same as that in step S805.
  • Step S907 Identify the instruction corresponding to the text control instruction information.
  • Step S908 execute the instruction.
  • Figure 10 is a flow chart of a device control method according to an exemplary embodiment. It is executed by a second device and includes steps S1001 to S1008, specifically:
  • Step S1001 Receive ultrasonic band signals through the microphone of the second device.
  • Step S1002 Perform channel evaluation on the corresponding ultrasonic band signal according to each setting sequence, and perform channel compensation during the demodulation process.
  • Figure 11 is a schematic diagram of channel assessment according to an exemplary embodiment. As shown in Figure 11, the setting sequence is added by the first device, and the corresponding ultrasonic band signal is channeled according to the setting sequence. Evaluate.
  • Step S1003 Demodulate the ultrasonic band signal into a mutually orthogonal multi-frequency continuous baseband signal.
  • Step S1004 Demodulate the mutually orthogonal multi-frequency continuous baseband signals into bit stream data.
  • Step S1005 parse the bit stream data into multiple frames.
  • the multiple frames include a data amount frame and multiple data frames.
  • Each data frame includes a frame number.
  • the data amount frame is used to indicate the size of the data frame. quantity.
  • Step S1006 Convert the bit stream data into text control instruction information.
  • Step S1007 Identify the instruction corresponding to the text control instruction information.
  • Step S1008 execute the instruction.
  • an equipment control device is provided, which is configured in a first device.
  • Figure 12 is a block diagram of an equipment control device according to an exemplary embodiment. As shown in Figure 12, it includes: The device includes:
  • the processing module 1201 is configured to obtain text control instruction information; convert the text control instruction information into bit stream data;
  • the modulation module 1202 is configured to determine, based on the bit stream data, a multi-carrier continuous baseband signal that is modulated into a mutually orthogonal baseband signal; and modulate the multi-frequency continuous baseband signal into an ultrasonic band signal;
  • the sending module 1203 is configured to send the ultrasonic band signal through the speaker of the first device.
  • an equipment control device configured in a second device.
  • Figure 13 is a block diagram of an equipment control device according to an exemplary embodiment. As shown in Figure 13, it includes: The devices include:
  • the receiving module 1301 is configured to receive the ultrasonic band signal through the microphone of the second device;
  • Demodulation module 1302 is configured to demodulate the ultrasonic band signal into a mutually orthogonal multi-frequency continuous baseband signal; and demodulate the mutually orthogonal multi-frequency continuous baseband signal into bit stream data;
  • the processing module 1303 is configured to convert the bit stream data into text control instruction information; identify instructions corresponding to the text control instruction information; and execute the instructions.
  • FIG. 14 is a block diagram of a terminal 1400 according to an exemplary embodiment.
  • the terminal 1400 may include one or more of the following components: a processing component 1402, a memory 1404, a power supply component 1406, a multimedia component 1408, an audio component 1410, an input/output (I/O) interface 1412, a sensor component 1414, and communications component 1416.
  • a processing component 1402 a memory 1404, a power supply component 1406, a multimedia component 1408, an audio component 1410, an input/output (I/O) interface 1412, a sensor component 1414, and communications component 1416.
  • Processing component 1402 generally controls the overall operations of terminal 1400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations.
  • the processing component 1402 may include one or more processors 1420 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 1402 may include one or more modules that facilitate interaction between processing component 1402 and other components. For example, processing component 1402 may include a multimedia module to facilitate interaction between multimedia component 1408 and processing component 1402.
  • Memory 1404 is configured to store various types of data to support operations at device 1400 . Examples of such data include instructions for any application or method operating on the terminal 1400, contact data, phonebook data, messages, pictures, videos, etc.
  • Memory 1404 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EEPROM erasable programmable read-only memory
  • EPROM Programmable read-only memory
  • PROM programmable read-only memory
  • ROM read-only memory
  • magnetic memory flash memory
  • flash memory magnetic or optical disk.
  • Power supply component 1406 provides power to various components of terminal 1400.
  • Power supply components 1406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to terminal 1400.
  • Multimedia component 1408 includes a screen that provides an output interface between the terminal 1400 and the user.
  • the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide action.
  • multimedia component 1408 includes a front-facing camera and/or a rear-facing camera.
  • the front camera and/or the rear camera may receive external multimedia data.
  • Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
  • Audio component 1410 is configured to output and/or input audio signals.
  • audio component 1410 includes a microphone (MIC) configured to receive external audio signals when terminal 1400 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1404 or sent via communications component 1416 .
  • audio component 1410 also includes a speaker for outputting audio signals.
  • the I/O interface 1412 provides an interface between the processing component 1402 and a peripheral interface module.
  • the peripheral interface module may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.
  • Sensor component 1414 includes one or more sensors that provide various aspects of status assessment for terminal 1400 .
  • the sensor component 1414 can detect the open/closed state of the device 1400, the relative positioning of components, such as the display and keypad of the terminal 1400, and the sensor component 1414 can also detect the position change of the terminal 1400 or a component of the terminal 1400. , the presence or absence of user contact with the terminal 1400, the terminal 1400 orientation or acceleration/deceleration and the temperature change of the terminal 1400.
  • Sensor assembly 1414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 1414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 1414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • the communication component 1416 is configured to facilitate wired or wireless communication between the terminal 1400 and other devices.
  • the terminal 1400 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • the communication component 1416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communications component 1416 also includes a near field communications (NFC) module to facilitate short-range communications.
  • NFC near field communications
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • terminal 1400 may be configured by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are implemented for executing the above method.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable Gate array
  • controller microcontroller, microprocessor or other electronic components are implemented for executing the above method.
  • a non-transitory computer-readable storage medium including instructions such as a memory 1404 including instructions, which can be executed by the processor 1420 of the terminal 1400 to complete the above method is also provided.
  • the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
  • a computer-readable storage medium Instructions are stored in the computer-readable storage medium. When the instructions are called and executed on a computer, they cause the computer to execute a device control method.
  • the method includes any of the above. Methods in Examples.
  • the bit stream corresponding to the control instruction is modulated into a mutually orthogonal multi-carrier continuous baseband signal, and the data transmission rate corresponding to the multi-carrier modulation method is greater than the data transmission rate corresponding to the single-carrier modulation method, so as to improve the ultrasonic control data transmission rate.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)
  • Selective Calling Equipment (AREA)

Abstract

Provided in the present application are device control methods and apparatuses, and electronic devices and readable storage media. A device control method comprises: acquiring text control instruction information; converting the text control instruction information into bit stream data; determining, according to the bit stream data, multi-carrier continuous baseband signals, which are modulated to be orthogonal to each other; modulating the multi-frequency continuous baseband signals into ultrasonic frequency band signals; and sending the ultrasonic frequency band signals by means of a loudspeaker of a first device.

Description

一种设备控制方法、装置、电子设备及可读存储介质An equipment control method, device, electronic equipment and readable storage medium 技术领域Technical field

本公开涉及无线通信技术领域,尤其涉及一种设备控制方法、装置、电子设备及可读存储介质。The present disclosure relates to the field of wireless communication technology, and in particular, to an equipment control method, device, electronic equipment and readable storage medium.

背景技术Background technique

在无线通信系统中可以使用长距离无线传输技术(例如4G技术、5G技术等)或短距离无线传输技术(例如蓝牙技术、Wifi技术等)。Long-distance wireless transmission technology (such as 4G technology, 5G technology, etc.) or short-distance wireless transmission technology (such as Bluetooth technology, Wifi technology, etc.) can be used in the wireless communication system.

超声波是一种波长极短的机械波,在空气中波长一般短于2厘米。由于其波长短,在空气中则极易损耗,容易散射,不如可听声波和次声波传得远。但是波长短更易于获得各向异性的声能,可用于清洗、碎石、杀菌消毒等,可应用于医学和工业上。Ultrasound is a mechanical wave with extremely short wavelength. The wavelength in air is generally shorter than 2 cm. Because of its short wavelength, it is easily lost and scattered in the air, and does not travel as far as audible sound waves and infrasound waves. However, short wavelength makes it easier to obtain anisotropic sound energy, which can be used for cleaning, gravel crushing, sterilization, etc., and can be used in medicine and industry.

超声信号作为一种波完成信息携带的功能时,具有以下缺点:数据传输速率低、抗干扰能力弱、误码率较高。When ultrasonic signals serve as a wave to carry information, they have the following shortcomings: low data transmission rate, weak anti-interference ability, and high bit error rate.

发明内容Contents of the invention

本公开提供一种设备控制方法、装置、电子设备及可读存储介质。The present disclosure provides an equipment control method, device, electronic equipment and readable storage medium.

第一方面,提供了一种设备控制方法,由第一设备执行,此方法包括:In a first aspect, a device control method is provided, which is executed by the first device. The method includes:

获取文本控制指令信息;Get text control instruction information;

将所述文本控制指令信息转换为比特流数据;Convert the text control instruction information into bit stream data;

根据所述比特流数据确定调制为相互正交的多载波连续基带信号;Determine based on the bit stream data the multi-carrier continuous baseband signals modulated as mutually orthogonal;

将所述多频连续基带信号调制为超声频带信号;Modulating the multi-frequency continuous baseband signal into an ultrasonic band signal;

通过所述第一设备的扬声器发送所述超声频带信号。The ultrasonic band signal is transmitted through a speaker of the first device.

在一示例性实施例中,所述将所述比特流数据调制为相互正交的多载波连续基带信号,包括:In an exemplary embodiment, the modulating the bit stream data into a mutually orthogonal multi-carrier continuous baseband signal includes:

使用正交频分复用技术将所述比特流数据调制为相互正交的多频连续基带信号。Orthogonal frequency division multiplexing technology is used to modulate the bit stream data into mutually orthogonal multi-frequency continuous baseband signals.

在一示例性实施例中,所述方法还包括:In an exemplary embodiment, the method further includes:

根据所述比特流数据确定多个帧,所述多个帧包括所述多个数据帧和数据量帧,所述数据帧包括头部区和数据区,所述头部区用于指示数据帧的帧编号,所述数据区是所述比特流数据中的部分数据;所述数据量帧用于指示数据帧的数量。Multiple frames are determined according to the bit stream data, the multiple frames include the multiple data frames and the data amount frame, the data frame includes a header area and a data area, the header area is used to indicate the data frame The frame number, the data area is part of the data in the bit stream data; the data amount frame is used to indicate the number of data frames.

在一示例性实施例中,所述将所述多载波连续基带信号调制为多个超声频段信号,包括:In an exemplary embodiment, the modulating the multi-carrier continuous baseband signal into multiple ultrasonic band signals includes:

将每个帧对应的多载波连续基带信号分解为多个单载波信号,对每个单载波信号进行逆变换和正变换,所述逆变换为所述正变换的逆向变换,所述正变换为时域至频域的变换。Decompose the multi-carrier continuous baseband signal corresponding to each frame into multiple single-carrier signals, perform inverse transformation and forward transformation on each single-carrier signal, the inverse transformation is the inverse transformation of the forward transformation, and the forward transformation is Conversion from domain to frequency domain.

在一示例性实施例中,所述方法还包括:In an exemplary embodiment, the method further includes:

为每个帧设置校验码,所述校验码是根据相应帧中的内容计算得到的。A check code is set for each frame, and the check code is calculated based on the content in the corresponding frame.

在一示例性实施例中,所述方法还包括:In an exemplary embodiment, the method further includes:

为每个帧增加前缀和/或后缀,并且,在每个帧之前增加用于信道评估的序列。A prefix and/or suffix is added to each frame, and a sequence for channel evaluation is added before each frame.

在一示例性实施例中,所述方法还包括:In an exemplary embodiment, the method further includes:

接收到用于指示重传目标帧编号的数据帧的指示信息后,重新播放所述目标帧编号对应的数据帧。After receiving the instruction information for instructing to retransmit the data frame with the target frame number, the data frame corresponding to the target frame number is replayed.

第二方面,一种设备控制方法,由第二设备执行,此方法包括:In a second aspect, a device control method is executed by a second device. The method includes:

通过第二设备的收声器接收超声频带信号;receiving ultrasonic band signals through the microphone of the second device;

将所述超声频带信号解调为相互正交的多频连续基带信号;Demodulating the ultrasonic band signal into a mutually orthogonal multi-frequency continuous baseband signal;

将所述相互正交的多频连续基带信号解调为比特流数据;Demodulating the mutually orthogonal multi-frequency continuous baseband signals into bit stream data;

将所述比特流数据转换为文本控制指令信息;Convert the bit stream data into text control instruction information;

识别所述文本控制指令信息对应的指令;Identify the instruction corresponding to the text control instruction information;

执行所述指令。Execute the instructions.

在一示例性实施例中,所述将所述相互正交的多频连续基带信号解调为比特流数据,包括:In an exemplary embodiment, demodulating the mutually orthogonal multi-frequency continuous baseband signals into bit stream data includes:

使用正交频分复用技术将所述相互正交的多频连续基带信号解调为比特流数据。Orthogonal frequency division multiplexing technology is used to demodulate the mutually orthogonal multi-frequency continuous baseband signals into bit stream data.

在一示例性实施例中,所述方法还包括:In an exemplary embodiment, the method further includes:

将所述比特流数据解析为多个帧,所述多个帧包括一个数据量帧和多个数据帧,每个数据帧包括帧编号,所述数据量帧用于指示数据帧的数量。The bit stream data is parsed into multiple frames, the multiple frames include a data volume frame and a plurality of data frames, each data frame includes a frame number, and the data volume frame is used to indicate the number of data frames.

在一示例性实施例中,所述方法还包括:In an exemplary embodiment, the method further includes:

根据所述帧中的校验码对所述帧进行校验,确定所述帧为有效帧或无效帧。The frame is checked according to the check code in the frame to determine whether the frame is a valid frame or an invalid frame.

在一示例性实施例中,所述将所述超声频段信号解调为多载波连续基带信号,包括:In an exemplary embodiment, demodulating the ultrasonic band signal into a multi-carrier continuous baseband signal includes:

对所述超声频带信号中的单载波信号分别进行正变换和逆变换后组合为多载波连续基带信号。The single carrier signals in the ultrasonic band signals are respectively subjected to forward transformation and inverse transformation and then combined into multi-carrier continuous baseband signals.

在一示例性实施例中,所述方法还包括:In an exemplary embodiment, the method further includes:

根据设定序列对相应的超声频段信号进行信道评估,在解调过程中进行信道补偿。Channel evaluation is performed on the corresponding ultrasonic band signal according to the set sequence, and channel compensation is performed during the demodulation process.

在一示例性实施例中,所述方法还包括:In an exemplary embodiment, the method further includes:

通过所述第二设备的扬声器发送超声频带信号,所述超声频带信号包括用于指示重传目标帧编号的数据帧的指示信息,所述目标帧编号为所述无效帧的帧号。An ultrasonic band signal is sent through the speaker of the second device, and the ultrasonic band signal includes indication information for instructing to retransmit a data frame with a target frame number, where the target frame number is the frame number of the invalid frame.

第三方面,一种设备控制装置,配置于第一设备内,所述装置包括:In a third aspect, an equipment control device is configured in the first equipment, and the device includes:

处理模块,被配置为获取文本控制指令信息;将所述文本控制指令信息转换为比特流数据;A processing module configured to obtain text control instruction information; convert the text control instruction information into bit stream data;

调制模块,被配置为根据所述比特流数据确定调制为相互正交的多载波连续基带信号;将所述多频连续基带信号调制为超声频带信号;A modulation module configured to determine, based on the bit stream data, a multi-carrier continuous baseband signal modulated into a mutually orthogonal multi-carrier continuous baseband signal; and to modulate the multi-frequency continuous baseband signal into an ultrasonic band signal;

发送模块,被配置为通过所述第一设备的扬声器发送所述超声频带信号。A sending module configured to send the ultrasonic band signal through a speaker of the first device.

第四方面,一种设备控制装置,配置于第二设备,所述装置包括:In a fourth aspect, an equipment control device is configured in a second device, and the device includes:

接收模块,被配置为通过第二设备的收声器接收超声频带信号;a receiving module configured to receive the ultrasonic band signal through the microphone of the second device;

解调模块,被配置为将所述超声频带信号解调为相互正交的多频连续基带信号;将所述相互正交的多频连续基带信号解调为比特流数据;A demodulation module configured to demodulate the ultrasonic band signal into a mutually orthogonal multi-frequency continuous baseband signal; and demodulate the mutually orthogonal multi-frequency continuous baseband signal into bit stream data;

处理模块,被配置为将所述比特流数据转换为文本控制指令信息;识别所述文本控制指令信息对应的指令;执行所述指令。A processing module configured to convert the bit stream data into text control instruction information; identify instructions corresponding to the text control instruction information; and execute the instructions.

第五方面,一种电子设备,包括处理器以及存储器,其中,In a fifth aspect, an electronic device includes a processor and a memory, wherein,

所述存储器用于存储计算机程序;The memory is used to store computer programs;

所述处理器用于执行所述计算机程序,以实现如第一方面中任一项所述的方法。The processor is configured to execute the computer program to implement the method according to any one of the first aspects.

第六方面,一种电子设备,包括处理器以及存储器,其中,In a sixth aspect, an electronic device includes a processor and a memory, wherein,

所述存储器用于存储计算机程序;The memory is used to store computer programs;

所述处理器用于执行所述计算机程序,以实现如第二方面中任一项所述的方法。The processor is configured to execute the computer program to implement the method according to any one of the second aspects.

第七方面,一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令在计算机上被调用执行时,使得所述计算机执行如第一方面中任一项所述的方法。A seventh aspect, a computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are called and executed on a computer, they cause the computer to execute as described in any one of the first aspects. method described.

第八方面,一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令在计算机上被调用执行时,使得所述计算机执行如第二方面中任一项所述的方法。The eighth aspect, a computer-readable storage medium, the computer-readable storage medium stores instructions, when the instructions are called and executed on a computer, the computer is caused to execute as described in any one of the second aspects. method described.

使用本公开中的方法,将控制指令对应的比特流调制为相互正交的多载波连续基带信号,利用多载波调制方式对应的数据传输速率大于单载波调制方式对应的数据传输速率的特点,提高超声波控制数据的传输速率。Using the method in this disclosure, the bit stream corresponding to the control instruction is modulated into a mutually orthogonal multi-carrier continuous baseband signal, and the data transmission rate corresponding to the multi-carrier modulation method is used to be greater than the data transmission rate corresponding to the single-carrier modulation method, thereby improving Ultrasonic waves control the transmission rate of data.

附图说明Description of the drawings

此处所说明的附图用来提供对本公开实施例的进一步理解,构成本申请的一部分,本公开实施例的示意性实施例及其说明用于解释本公开实施例,并不构成对本公开实施例的不当限定。在附图中:The drawings described here are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of this application. The schematic embodiments of the embodiments of the present disclosure and their descriptions are used to explain the embodiments of the present disclosure and do not constitute an explanation of the embodiments of the present disclosure. undue limitation. In the attached picture:

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开实施例的实施例,并与说明书一起用于解释本公开实施例的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with embodiments of the disclosure and together with the description, serve to explain principles of embodiments of the disclosure.

图1是本公开实施例提供的一种通信系统的架构示意图;Figure 1 is a schematic architectural diagram of a communication system provided by an embodiment of the present disclosure;

图2是根据一示例性实施例示出的一种设备控制方法的流程图;Figure 2 is a flow chart of a device control method according to an exemplary embodiment;

图3是根据一示例性实施例示出的一种设备控制方法的流程图;Figure 3 is a flow chart of a device control method according to an exemplary embodiment;

图4是根据一示例性实施例示出的一种设备控制方法的流程图;Figure 4 is a flow chart of a device control method according to an exemplary embodiment;

图5是根据一示例性实施例示出的一种设备控制方法的流程图;Figure 5 is a flow chart of a device control method according to an exemplary embodiment;

图6是根据一示例性实施例示出的一种信号格式示意图;Figure 6 is a schematic diagram of a signal format according to an exemplary embodiment;

图7是根据一示例性实施例示出的一种设备控制方法的流程图;Figure 7 is a flow chart of a device control method according to an exemplary embodiment;

图8是根据一示例性实施例示出的一种设备控制方法的流程图;Figure 8 is a flow chart of a device control method according to an exemplary embodiment;

图9是根据一示例性实施例示出的一种设备控制方法的流程图;Figure 9 is a flow chart of a device control method according to an exemplary embodiment;

图10是根据一示例性实施例示出的一种设备控制方法的流程图;Figure 10 is a flow chart of a device control method according to an exemplary embodiment;

图11是根据一示例性实施例示出的一种信道评估示意图;Figure 11 is a schematic diagram of channel assessment according to an exemplary embodiment;

图12是根据一示例性实施例示出的一种设备控制装置框图;Figure 12 is a block diagram of an equipment control device according to an exemplary embodiment;

图13是根据一示例性实施例示出的一种设备控制装置框图;Figure 13 is a block diagram of an equipment control device according to an exemplary embodiment;

图14是根据一示例性实施例示出的一种终端的框图;Figure 14 is a block diagram of a terminal according to an exemplary embodiment;

具体实施方式Detailed ways

现结合附图和具体实施方式对本公开实施例进一步说明。The embodiments of the present disclosure will now be further described with reference to the accompanying drawings and specific implementation modes.

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开实施例相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with embodiments of the present disclosure. Rather, they are merely examples of apparatus and methods consistent with aspects of the disclosure as detailed in the appended claims.

在本公开实施例使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开实施例。在本公开实施例和所附权利要求书中所使用的单数形式的“一种”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in the embodiments of the present disclosure is for the purpose of describing specific embodiments only and is not intended to limit the embodiments of the present disclosure. As used in the embodiments of the present disclosure and the appended claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.

应当理解,尽管在本公开实施例可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开实施例范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”及“若”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used to describe various information in the embodiments of the present disclosure, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of the embodiments of the present disclosure, the first information may also be called second information, and similarly, the second information may also be called first information. Depending on the context, the words "if" and "if" as used herein may be interpreted as "when" or "when" or "in response to determining."

下面详细描述本公开的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的要素。下面通过参考附图描述的实施例是示例性的,旨在用于解释本公开,而不能理解为对本公开的限制。Embodiments of the present disclosure are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the present disclosure and are not to be construed as limitations of the present disclosure.

在没有无线网络的环境和遥控装置的情况下,可以考虑利用超声波无线控制某些设备。例如:在一些实施方式中,发送方将目标信息根据ASCII码转换为二进制的比特流,对比特流进行BFSK调制,发送调制后的数据,接收方进行逆向处理获得目标信息。此方法存在数据传输速率低、抗干扰能力弱、误码率较高的缺点。In environments without wireless networks and remote control devices, you can consider using ultrasonic waves to wirelessly control certain devices. For example: in some implementations, the sender converts the target information into a binary bit stream according to the ASCII code, performs BFSK modulation on the bit stream, and sends the modulated data, and the receiver performs reverse processing to obtain the target information. This method has the disadvantages of low data transmission rate, weak anti-interference ability, and high bit error rate.

本公开实施例提供的一种设备控制方法可应用于如图1所示的通信架构中,其中,第一设备为控制方,第二设备为被控制方。第一设备通过发送携带控制指令的超声波信号,对第二设备进行控制。第一设备中包括用于发送超声波信号的发送装置(例如扬声器),第二设备中包括用于接收超声波信号的接收装置(例如收声器)。或者,第一设备和第二设备中均包括用于发送超声波信号的发送装置和用于接收超声波信号的接收装置。A device control method provided by an embodiment of the present disclosure can be applied in the communication architecture as shown in Figure 1, in which the first device is the controlling party and the second device is the controlled party. The first device controls the second device by sending ultrasonic signals carrying control instructions. The first device includes a transmitting device (such as a speaker) for transmitting ultrasonic signals, and the second device includes a receiving device (such as a microphone) for receiving ultrasonic signals. Alternatively, both the first device and the second device include a sending device for sending ultrasonic signals and a receiving device for receiving ultrasonic signals.

在一示例中,第一设备为手机,第二设备为智能电视。在另一示例中,第一设备为手机,第二设备也为手机。可以理解的是,第一设备和第二设备不局限于上述举例中的设备。In an example, the first device is a mobile phone and the second device is a smart TV. In another example, the first device is a mobile phone, and the second device is also a mobile phone. It can be understood that the first device and the second device are not limited to the devices in the above examples.

本公开实施例提供了一种设备控制方法,图2是根据一示例性实施例示出的一种设备控制方法的流程图,由第一设备执行,包括步骤S201至S205,具体为:The embodiment of the present disclosure provides a device control method. Figure 2 is a flow chart of a device control method according to an exemplary embodiment. It is executed by the first device and includes steps S201 to S205, specifically:

步骤S201,获取文本控制指令信息。Step S201: Obtain text control instruction information.

此步骤中获取文本控制指令信息的方法包括以下中的一种:The method for obtaining text control instruction information in this step includes one of the following:

接收在设定界面上输入的文本内容,确定所述文本内容为文本控制指令信息;Receive text content input on the setting interface and determine that the text content is text control instruction information;

接收语音控制信息,识别所述语音控制信息中的文本内容,确定所述文本内容为文本控制指令信息;Receive voice control information, identify the text content in the voice control information, and determine that the text content is text control instruction information;

接收触控指令,确定触控指令对应的文本内容,确定所述文本内容为文本控制指令信息。Receive the touch command, determine the text content corresponding to the touch command, and determine the text content as text control command information.

其中,第一设备中可以安装有用于通过超声波控制其它设备的APP。用户在需要通过超声波进行设备控制时,打开APP后,APP可提供上述的各功能中的至少一种。Wherein, the first device may be installed with an APP for controlling other devices through ultrasonic waves. When the user needs to control the device through ultrasound, after opening the APP, the APP can provide at least one of the above functions.

步骤S202,将所述文本控制指令信息转换为比特流数据。Step S202: Convert the text control instruction information into bit stream data.

将文本控制指令信息转换为比特流数据的方法可以是根据ASCII码对照表进行转换。The method of converting the text control instruction information into bit stream data may be to convert according to the ASCII code comparison table.

步骤S203,根据所述比特流数据确定调制为相互正交的多载波连续基带信号。Step S203: Determine multi-carrier continuous baseband signals modulated into mutually orthogonal baseband signals based on the bit stream data.

在一些可能的实施方式中,使用正交频分复用(Orthogonal Frequency Division Multiplexing,OFDM)技术将所述比特流数据调制为相互正交的多频连续基带信号。In some possible implementations, Orthogonal Frequency Division Multiplexing (OFDM) technology is used to modulate the bit stream data into mutually orthogonal multi-frequency continuous baseband signals.

步骤S204,将所述多频连续基带信号调制为超声频带信号。Step S204: Modulate the multi-frequency continuous baseband signal into an ultrasonic band signal.

步骤S205,通过所述第一设备的扬声器发送所述超声频带信号。Step S205: Send the ultrasonic band signal through the speaker of the first device.

本公开实施例中,将控制指令对应的比特流调制为相互正交的多载波连续基带信号,利用多载波调制方式对应的数据传输速率大于单载波调制方式对应的数据传输速率的特点,提高超声波控制数据的传输速率。In the embodiment of the present disclosure, the bit stream corresponding to the control instruction is modulated into a mutually orthogonal multi-carrier continuous baseband signal, and the data transmission rate corresponding to the multi-carrier modulation method is used to be greater than the data transmission rate corresponding to the single-carrier modulation method to improve the ultrasonic wave. Control the data transfer rate.

本公开实施例提供了一种设备控制方法,图3是根据一示例性实施例示出的一种设备控制方法的流程图,由第一设备执行,包括步骤S301至S306,具体为:The embodiment of the present disclosure provides a device control method. Figure 3 is a flow chart of a device control method according to an exemplary embodiment. It is executed by the first device and includes steps S301 to S306, specifically:

步骤S301,获取文本控制指令信息。Step S301: Obtain text control instruction information.

其中,步骤S301中获取文本控制指令信息的方式与步骤S201中相同。The method of obtaining the text control instruction information in step S301 is the same as that in step S201.

步骤S302,将所述文本控制指令信息转换为比特流数据。Step S302: Convert the text control instruction information into bit stream data.

其中,步骤S302中将所述文本控制指令信息转换为比特流数据的方式与步骤S202中相同。The method of converting the text control instruction information into bit stream data in step S302 is the same as that in step S202.

步骤S303,根据所述比特流数据确定多个帧,所述多个帧包括所述多个数据帧和数据量帧,所述数据帧包括头部区和数据区,所述头部区用于指示数据帧的帧编号,所述数据区是所述比特流数据中的部分数据。所述数据量帧用于指示数据帧的数量。Step S303: Determine multiple frames according to the bit stream data. The multiple frames include the multiple data frames and the data amount frame. The data frame includes a header area and a data area. The header area is used to Indicates the frame number of the data frame, and the data area is part of the data in the bit stream data. The data amount frame is used to indicate the number of data frames.

例如:将所述比特流数据划分为多个组,每个组对应于一个数据帧,为每个数据帧增加帧编号,并设置数据量帧量。For example: the bit stream data is divided into multiple groups, each group corresponds to a data frame, a frame number is added to each data frame, and a data frame amount is set.

在一示例中,比特流数据共有N个比特数据,将数据分为N/16+1组数据,每一组对应于一帧,其中N/16对应于每一帧超声波数据中将会携带16比特的数据,而额外的设置一数据量帧,用于指示数据帧的数量。分组完成后,为各帧数据设置帧编号,在各帧数据的最前端增加X个比特位,用于指示帧编号。In an example, the bitstream data has a total of N bits of data, and the data is divided into N/16+1 groups of data. Each group corresponds to one frame, where N/16 corresponds to the fact that each frame of ultrasonic data will carry 16 bits of data, and an additional data amount frame is set to indicate the number of data frames. After the grouping is completed, a frame number is set for each frame of data, and X bits are added to the front of each frame of data to indicate the frame number.

其中,为各数据帧设置帧编号时,在各数据帧的前端增加头部区,在此头部区存储帧编号。Among them, when setting the frame number for each data frame, a header area is added at the front of each data frame, and the frame number is stored in the header area.

此步骤中对比特流数据进行分组后,为每帧数据设置帧编号后,使第二设备可以根据帧编号确定是否准确接收每帧数据,从而可以保证数据传输的完整性和准确性。After the bit stream data is grouped in this step, and a frame number is set for each frame of data, the second device can determine whether to accurately receive each frame of data based on the frame number, thereby ensuring the integrity and accuracy of data transmission.

步骤S304,根据所述比特流数据确定调制为相互正交的多载波连续基带信号。Step S304: Determine multi-carrier continuous baseband signals modulated into mutually orthogonal baseband signals based on the bit stream data.

在一些可能的实施方式中,使用正交频分复用(Orthogonal Frequency Division Multiplexing,OFDM)技术将所述比特流数据调制为相互正交的多频连续基带信号。In some possible implementations, Orthogonal Frequency Division Multiplexing (OFDM) technology is used to modulate the bit stream data into mutually orthogonal multi-frequency continuous baseband signals.

此步骤S304中,对数据量帧和每个数据帧分别进行调制,从而每帧对应于一个多载波连续基带信号。In this step S304, the data frame and each data frame are modulated separately, so that each frame corresponds to a multi-carrier continuous baseband signal.

步骤S305,将所述多频连续基带信号调制为超声频带信号。Step S305: Modulate the multi-frequency continuous baseband signal into an ultrasonic band signal.

在一实施方式中,将每个帧对应的多载波连续基带信号分解为多个单载波信号,对每个单载波信号进行逆变换和正变换,所述逆变换为所述正变换的逆向变换,所述正变换为 时域至频域的变换。In one embodiment, the multi-carrier continuous baseband signal corresponding to each frame is decomposed into multiple single-carrier signals, and inverse transformation and forward transformation are performed on each single-carrier signal, and the inverse transformation is the inverse transformation of the forward transformation, The forward transformation is a transformation from time domain to frequency domain.

其中,正变换可以为FFT,逆变换为IFFT。Among them, the forward transformation can be FFT, and the inverse transformation can be IFFT.

步骤S306,通过所述第一设备的扬声器发送所述超声频带信号。Step S306: Send the ultrasonic band signal through the speaker of the first device.

本公开实施例提供了一种设备控制方法,图4是根据一示例性实施例示出的一种设备控制方法的流程图,由第一设备执行,包括步骤S401至S407,具体为:The embodiment of the present disclosure provides a device control method. Figure 4 is a flow chart of a device control method according to an exemplary embodiment. It is executed by the first device and includes steps S401 to S407, specifically:

步骤S401,获取文本控制指令信息。Step S401: Obtain text control instruction information.

其中,步骤S401中获取文本控制指令信息的方式与步骤S201中相同。The method of obtaining the text control instruction information in step S401 is the same as that in step S201.

步骤S402,将所述文本控制指令信息转换为比特流数据。Step S402: Convert the text control instruction information into bit stream data.

其中,步骤S402中将所述文本控制指令信息转换为比特流数据的方式与步骤S202中相同。The method of converting the text control instruction information into bit stream data in step S402 is the same as that in step S202.

步骤S403,将所述比特流数据划分为多个数据帧,为每个数据帧增加帧编号,并设置数据量帧,所述数据量帧用于指示数据帧的数量。Step S403: Divide the bit stream data into multiple data frames, add a frame number to each data frame, and set a data amount frame, where the data amount frame is used to indicate the number of data frames.

其中,步骤S403中的具体内容与步骤S303中的相同。The specific content in step S403 is the same as that in step S303.

步骤S404,为每个帧设置校验码,所述校验码是根据相应帧中的内容计算得到的。Step S404: Set a check code for each frame, where the check code is calculated based on the content in the corresponding frame.

在一示例中,在每个帧的后端增加尾部区,在此尾部区中存储校验码。In one example, a tail area is added at the back end of each frame, and the check code is stored in the tail area.

在一示例中,此校验码可以是循环冗余校验码(CRC),此CRC可以用于查错,CRC对帧中的数据进行多项式计算后获得CRC,接收方设备执行相应的多项式计算的逆过程,则可以验证数据的正确性。在验证失败时,可以指示重传相应帧。In one example, the check code can be a cyclic redundancy check code (CRC). This CRC can be used for error checking. The CRC performs polynomial calculation on the data in the frame to obtain the CRC, and the receiving device performs the corresponding polynomial calculation. The reverse process can verify the correctness of the data. In the event of verification failure, retransmission of the corresponding frame may be instructed.

从而,第一设备接收到用于指示重传目标帧编号的数据帧的指示信息后,重新播放所述目标帧编号对应的数据帧。Therefore, after receiving the instruction information for instructing to retransmit the data frame with the target frame number, the first device replays the data frame corresponding to the target frame number.

步骤S405,根据所述比特流数据确定调制为相互正交的多载波连续基带信号。Step S405: Determine multi-carrier continuous baseband signals modulated into mutually orthogonal baseband signals based on the bit stream data.

步骤S406,将所述多频连续基带信号调制为超声频带信号。Step S406: Modulate the multi-frequency continuous baseband signal into an ultrasonic band signal.

步骤S407,通过所述第一设备的扬声器发送所述超声频带信号。Step S407: Send the ultrasonic band signal through the speaker of the first device.

本公开实施例提供了一种设备控制方法,图5是根据一示例性实施例示出的一种设备控制方法的流程图,由第一设备执行,包括步骤S501至S507,具体为:The embodiment of the present disclosure provides a device control method. Figure 5 is a flow chart of a device control method according to an exemplary embodiment. It is executed by the first device and includes steps S501 to S507, specifically:

步骤S501,获取文本控制指令信息。Step S501: Obtain text control instruction information.

其中,步骤S501中获取文本控制指令信息的方式与步骤S201中相同。The method of obtaining the text control instruction information in step S501 is the same as that in step S201.

步骤S502,将所述文本控制指令信息转换为比特流数据。Step S502: Convert the text control instruction information into bit stream data.

其中,步骤S502中将所述文本控制指令信息转换为比特流数据的方式与步骤S202中相同。The method of converting the text control instruction information into bit stream data in step S502 is the same as that in step S202.

步骤S503,将所述比特流数据划分为多个数据帧,为每个数据帧增加帧编号,并设置数据量帧,所述数据量帧用于指示数据帧的数量。Step S503: Divide the bit stream data into multiple data frames, add a frame number to each data frame, and set a data amount frame, where the data amount frame is used to indicate the number of data frames.

其中,步骤S503中的具体内容与步骤S303中的相同。The specific content in step S503 is the same as that in step S303.

步骤S504,为每个帧增加前缀和/或后缀,并且,在每个帧之前增加用于信道评估的序列。Step S504: Add a prefix and/or suffix to each frame, and add a sequence for channel evaluation before each frame.

在一示例中,在每个帧的前端增加前缀,前缀之前相邻增加用于信道评估的序列,用 于信道评估的序列的前端同时增加前缀,每个帧的顺序为:前缀、用于信道评估的序列、前缀、数据。In an example, a prefix is added to the front of each frame, a sequence for channel evaluation is added adjacently before the prefix, and a prefix is added to the front of the sequence for channel evaluation at the same time. The order of each frame is: prefix, for channel Evaluated sequences, prefixes, data.

在一示例中,在每个帧的后端增加后缀,每个帧的前端增加用于信道评估的序列,用于信道评估的序列的后端同时增加后缀,每个帧的顺序为:用于信道评估的序列、后缀、数据、后缀。In an example, a suffix is added to the back end of each frame, a sequence for channel evaluation is added to the front end of each frame, and a suffix is added to the back end of the sequence for channel evaluation. The order of each frame is: for Sequence, suffix, data, suffix for channel evaluation.

在一示例中,在每个帧的前端增加前缀,在每个帧的后端增加后缀,在所增加的前缀的前端增加用于信道评估的序列,同时在用于信道评估的序列的前端和后端分别增加前缀和后缀,图6是根据一示例性实施例示出的一种信号格式示意图,如图6所示,每个帧的顺序为:前缀、用于信道评估的序列、后缀、前缀、数据、后缀。In an example, a prefix is added to the front end of each frame, a suffix is added to the back end of each frame, a sequence for channel evaluation is added to the front end of the added prefix, and at the same time, a sequence for channel evaluation is added to the front end of the sequence and The backend adds prefixes and suffixes respectively. Figure 6 is a schematic diagram of a signal format according to an exemplary embodiment. As shown in Figure 6, the order of each frame is: prefix, sequence for channel evaluation, suffix, prefix , data, suffix.

在一示例中,用于信道评估的序列为LTF序列(long training field,长训练码序列)。In an example, the sequence used for channel evaluation is an LTF sequence (long training field, long training code sequence).

从而,第一设备接收到用于指示重传目标帧编号的数据帧的指示信息后,重新播放所述目标帧编号对应的数据帧。Therefore, after receiving the instruction information for instructing to retransmit the data frame with the target frame number, the first device replays the data frame corresponding to the target frame number.

步骤S505,根据所述比特流数据确定调制为相互正交的多载波连续基带信号。Step S505: Determine multi-carrier continuous baseband signals modulated into mutually orthogonal baseband signals based on the bit stream data.

步骤S506,将所述多频连续基带信号调制为超声频带信号。Step S506: Modulate the multi-frequency continuous baseband signal into an ultrasonic band signal.

步骤S507,通过所述第一设备的扬声器发送所述超声频带信号。Step S507: Send the ultrasonic band signal through the speaker of the first device.

其中,步骤S505-步骤S507中的具体内容与步骤S203-步骤S205中相同。Among them, the specific content in step S505 to step S507 is the same as that in step S203 to step S205.

本公开实施例提供了一种设备控制方法,图7是根据一示例性实施例示出的一种设备控制方法的流程图,由第二设备执行,包括步骤S701至S706,具体为:An embodiment of the present disclosure provides a device control method. Figure 7 is a flow chart of a device control method according to an exemplary embodiment. It is executed by a second device and includes steps S701 to S706, specifically:

步骤S701,通过第二设备的收声器接收超声频带信号。Step S701: Receive ultrasonic band signals through the microphone of the second device.

在一示例中,第二设备的收声器为第二设备的麦克风,对接收到的信号进行滤波处理,将低频段的信号滤掉,只保留超声频带信号。In one example, the sound receiver of the second device is a microphone of the second device, which performs filtering on the received signal to filter out low-frequency band signals and only retain ultrasonic band signals.

步骤S702,将所述超声频带信号解调为相互正交的多频连续基带信号。Step S702: Demodulate the ultrasonic band signal into a mutually orthogonal multi-frequency continuous baseband signal.

在一些可能的实施方式中,对所述超声频带信号中的单载波信号分别进行正变换和逆变换后组合为多载波连续基带信号。In some possible implementations, the single carrier signals in the ultrasonic band signals are respectively subjected to forward transformation and inverse transformation and then combined into a multi-carrier continuous baseband signal.

在一示例中,将每个帧对应的超声波频带信号分解为多个单载波信号,对每个单载波信号进行正变换和逆变换,所述逆变换为所述正变换的逆向变换,所述正变换为时域至频域的变换。In one example, the ultrasonic frequency band signal corresponding to each frame is decomposed into multiple single carrier signals, and each single carrier signal is subjected to forward transformation and inverse transformation. The inverse transformation is the inverse transformation of the forward transformation, and the Forward transformation is the transformation from time domain to frequency domain.

其中,正变换可以为FFT,逆变换为IFFT。Among them, the forward transformation can be FFT, and the inverse transformation can be IFFT.

步骤S703,将所述相互正交的多频连续基带信号解调为比特流数据。Step S703: Demodulate the mutually orthogonal multi-frequency continuous baseband signals into bit stream data.

在一些可能的实施方式中,使用正交频分复用技术将所述相互正交的多频连续基带信号解调为比特流数据。In some possible implementations, orthogonal frequency division multiplexing technology is used to demodulate the mutually orthogonal multi-frequency continuous baseband signals into bit stream data.

步骤S704,将所述比特流数据转换为文本控制指令信息。Step S704: Convert the bit stream data into text control instruction information.

在一示例中,根据ASCII码对照表将比特流数据转换为文本控制指令信息,并将其显示在第二设备的界面上。In one example, the bit stream data is converted into text control instruction information according to the ASCII code comparison table, and is displayed on the interface of the second device.

步骤S705,识别所述文本控制指令信息对应的指令。Step S705: Identify the instruction corresponding to the text control instruction information.

步骤S706,执行所述指令。Step S706, execute the instruction.

本公开实施例提供了一种设备控制方法,图8是根据一示例性实施例示出的一种设备 控制方法的流程图,由第二设备执行,包括步骤S801至S807,具体为:The embodiment of the present disclosure provides a device control method. Figure 8 is a flow chart of a device control method according to an exemplary embodiment. It is executed by the second device and includes steps S801 to S807, specifically:

步骤S801,通过第二设备的收声器接收超声频带信号。Step S801: Receive ultrasonic band signals through the microphone of the second device.

步骤S802,将所述超声频带信号解调为相互正交的多频连续基带信号。Step S802: Demodulate the ultrasonic band signal into a mutually orthogonal multi-frequency continuous baseband signal.

步骤S803,将所述相互正交的多频连续基带信号解调为比特流数据。Step S803: Demodulate the mutually orthogonal multi-frequency continuous baseband signals into bit stream data.

其中,步骤S801-步骤S803中的具体内容与步骤S701-步骤S703中的相同。Among them, the specific contents in step S801 to step S803 are the same as those in step S701 to step S703.

步骤S804,将所述比特流数据解析为多个帧,所述多个帧包括一个数据量帧和多个数据帧,每个数据帧包括帧编号,所述数据量帧用于指示数据帧的数量。Step S804: Parse the bit stream data into multiple frames. The multiple frames include a data amount frame and multiple data frames. Each data frame includes a frame number. The data amount frame is used to indicate the size of the data frame. quantity.

根据每个数据帧的帧编号,确定所接收到的帧的数量,确定所述数量是否与接收到的数据量帧相同。Based on the frame number of each data frame, the number of received frames is determined and whether the number is the same as the received data amount frame.

步骤S805,将所述比特流数据转换为文本控制指令信息。Step S805: Convert the bit stream data into text control instruction information.

其中,步骤S805中的具体内容与步骤S804中的相同。The specific content in step S805 is the same as that in step S804.

步骤S806,识别所述文本控制指令信息对应的指令。Step S806: Identify the instruction corresponding to the text control instruction information.

步骤S807,执行所述指令。Step S807, execute the instruction.

本公开实施例提供了一种设备控制方法,图9是根据一示例性实施例示出的一种设备控制方法的流程图,由第二设备执行,包括步骤S901至S908,具体为:The embodiment of the present disclosure provides a device control method. Figure 9 is a flow chart of a device control method according to an exemplary embodiment. It is executed by a second device and includes steps S901 to S908, specifically:

步骤S901,通过第二设备的收声器接收超声频带信号。Step S901: Receive ultrasonic band signals through the microphone of the second device.

步骤S902,将所述超声频带信号解调为相互正交的多频连续基带信号。Step S902: Demodulate the ultrasonic band signal into a mutually orthogonal multi-frequency continuous baseband signal.

步骤S903,将所述相互正交的多频连续基带信号解调为比特流数据。Step S903: Demodulate the mutually orthogonal multi-frequency continuous baseband signals into bit stream data.

步骤S904,将所述比特流数据解析为多个帧,所述多个帧包括一个数据量帧和多个数据帧,每个数据帧包括帧编号,所述数据量帧用于指示数据帧的数量。Step S904: Parse the bit stream data into multiple frames. The multiple frames include a data amount frame and multiple data frames. Each data frame includes a frame number. The data amount frame is used to indicate the size of the data frame. quantity.

其中,步骤S901-步骤S904中的具体内容与步骤S801-步骤S804中的相同。Among them, the specific contents in steps S901 to S904 are the same as those in steps S801 to S804.

步骤S905,根据所述帧中的校验码对所述帧进行校验,确定所述帧为有效帧或无效帧。Step S905: Check the frame according to the check code in the frame to determine whether the frame is a valid frame or an invalid frame.

在一示例中,对每个帧的尾部区中存储的校验码进行校验。In an example, the check code stored in the tail area of each frame is checked.

在一示例中,校验码为循环冗余校验码,对每个帧的校验码执行多项式计算的逆过程,以验证数据的正确性。校验码正确的帧为有效帧,校验码错误的帧为无效帧。In one example, the check code is a cyclic redundancy check code, and an inverse process of polynomial calculation is performed on the check code of each frame to verify the correctness of the data. Frames with correct check codes are valid frames, and frames with incorrect check codes are invalid frames.

在一示例中,当所述帧为有效帧时,保存该帧的帧编号至有效帧序列中;当所述帧为无效帧时,保存该帧至无效帧序列中,直至第一设备重新发送该帧,且重新发送的该帧为有效帧,再将其保存至有效帧序列。当有效帧序列的长度与接收到的数据量帧中的数量相同时,将该有效帧序列排序,同时清空有效帧序列。In an example, when the frame is a valid frame, the frame number of the frame is saved in the valid frame sequence; when the frame is an invalid frame, the frame is saved in the invalid frame sequence until the first device resends it. The frame, and the resent frame is a valid frame, is then saved to the valid frame sequence. When the length of the valid frame sequence is the same as the number in the received data volume frame, the valid frame sequence is sorted and the valid frame sequence is cleared at the same time.

在一些可能的实施方式中,当所述帧为无效帧时,通过所述第二设备的扬声器发送超声频带信号,所述超声频带信号包括用于指示重传目标帧编号的数据帧的指示信息,所述目标帧编号为所述无效数据帧的帧号。In some possible implementations, when the frame is an invalid frame, an ultrasonic band signal is sent through the speaker of the second device, and the ultrasonic band signal includes indication information for indicating the data frame of the retransmission target frame number. , the target frame number is the frame number of the invalid data frame.

步骤S906,将所述比特流数据转换为文本控制指令信息。Step S906: Convert the bit stream data into text control instruction information.

其中,步骤S906中的具体内容与步骤S805中的相同。The specific content in step S906 is the same as that in step S805.

步骤S907,识别所述文本控制指令信息对应的指令。Step S907: Identify the instruction corresponding to the text control instruction information.

步骤S908,执行所述指令。Step S908, execute the instruction.

本公开实施例提供了一种设备控制方法,图10是根据一示例性实施例示出的一种设备控制方法的流程图,由第二设备执行,包括步骤S1001至S1008,具体为:An embodiment of the present disclosure provides a device control method. Figure 10 is a flow chart of a device control method according to an exemplary embodiment. It is executed by a second device and includes steps S1001 to S1008, specifically:

步骤S1001,通过第二设备的收声器接收超声频带信号。Step S1001: Receive ultrasonic band signals through the microphone of the second device.

步骤S1002,根据各设定序列对相应的超声频段信号进行信道评估,在解调过程中进行信道补偿。Step S1002: Perform channel evaluation on the corresponding ultrasonic band signal according to each setting sequence, and perform channel compensation during the demodulation process.

在一示例中,图11是根据一示例性实施例示出的一种信道评估示意图,如图11所示,设定序列为由第一设备增加,根据设定序列对相应的超声频段信号进行信道评估。In an example, Figure 11 is a schematic diagram of channel assessment according to an exemplary embodiment. As shown in Figure 11, the setting sequence is added by the first device, and the corresponding ultrasonic band signal is channeled according to the setting sequence. Evaluate.

步骤S1003,将所述超声频带信号解调为相互正交的多频连续基带信号。Step S1003: Demodulate the ultrasonic band signal into a mutually orthogonal multi-frequency continuous baseband signal.

步骤S1004,将所述相互正交的多频连续基带信号解调为比特流数据。Step S1004: Demodulate the mutually orthogonal multi-frequency continuous baseband signals into bit stream data.

步骤S1005,将所述比特流数据解析为多个帧,所述多个帧包括一个数据量帧和多个数据帧,每个数据帧包括帧编号,所述数据量帧用于指示数据帧的数量。Step S1005, parse the bit stream data into multiple frames. The multiple frames include a data amount frame and multiple data frames. Each data frame includes a frame number. The data amount frame is used to indicate the size of the data frame. quantity.

步骤S1006,将所述比特流数据转换为文本控制指令信息。Step S1006: Convert the bit stream data into text control instruction information.

步骤S1007,识别所述文本控制指令信息对应的指令。Step S1007: Identify the instruction corresponding to the text control instruction information.

步骤S1008,执行所述指令。Step S1008, execute the instruction.

本公开示例性的实施例中,提供一种设备控制装置,配置于第一设备内,图12是根据一示例性的实施例示出的一种设备控制装置框图,如图12所示,包括:所述装置包括:In an exemplary embodiment of the present disclosure, an equipment control device is provided, which is configured in a first device. Figure 12 is a block diagram of an equipment control device according to an exemplary embodiment. As shown in Figure 12, it includes: The device includes:

处理模块1201,被配置为获取文本控制指令信息;将所述文本控制指令信息转换为比特流数据;The processing module 1201 is configured to obtain text control instruction information; convert the text control instruction information into bit stream data;

调制模块1202,被配置为根据所述比特流数据确定调制为相互正交的多载波连续基带信号;将所述多频连续基带信号调制为超声频带信号;The modulation module 1202 is configured to determine, based on the bit stream data, a multi-carrier continuous baseband signal that is modulated into a mutually orthogonal baseband signal; and modulate the multi-frequency continuous baseband signal into an ultrasonic band signal;

发送模块1203,被配置为通过所述第一设备的扬声器发送所述超声频带信号。The sending module 1203 is configured to send the ultrasonic band signal through the speaker of the first device.

本公开示例性的实施例中,提供一种设备控制装置,配置于第二设备,图13是根据一示例性的实施例示出的一种设备控制装置框图,如图13所示,包括:所述装置包括:In an exemplary embodiment of the present disclosure, an equipment control device is provided, configured in a second device. Figure 13 is a block diagram of an equipment control device according to an exemplary embodiment. As shown in Figure 13, it includes: The devices include:

接收模块1301,被配置为通过第二设备的收声器接收超声频带信号;The receiving module 1301 is configured to receive the ultrasonic band signal through the microphone of the second device;

解调模块1302,被配置为将所述超声频带信号解调为相互正交的多频连续基带信号;将所述相互正交的多频连续基带信号解调为比特流数据;Demodulation module 1302 is configured to demodulate the ultrasonic band signal into a mutually orthogonal multi-frequency continuous baseband signal; and demodulate the mutually orthogonal multi-frequency continuous baseband signal into bit stream data;

处理模块1303,被配置为将所述比特流数据转换为文本控制指令信息;识别所述文本控制指令信息对应的指令;执行所述指令。The processing module 1303 is configured to convert the bit stream data into text control instruction information; identify instructions corresponding to the text control instruction information; and execute the instructions.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the devices in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments related to the method, and will not be described in detail here.

当电子设备为终端时,图14是根据一示例性实施例示出的一种终端1400的框图。When the electronic device is a terminal, FIG. 14 is a block diagram of a terminal 1400 according to an exemplary embodiment.

参照图14,终端1400可以包括以下一个或多个组件:处理组件1402,存储器1404,电源组件1406,多媒体组件1408,音频组件1410,输入/输出(I/O)的接口1412,传感器组件1414,以及通信组件1416。Referring to Figure 14, the terminal 1400 may include one or more of the following components: a processing component 1402, a memory 1404, a power supply component 1406, a multimedia component 1408, an audio component 1410, an input/output (I/O) interface 1412, a sensor component 1414, and communications component 1416.

处理组件1402通常控制终端1400的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1402可以包括一个或多个处理器1420来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1402可以包括一个或多个模块,便于处理组件1402和其他组件之间的交互。例如,处理组件1402可以包括多媒 体模块,以方便多媒体组件1408和处理组件1402之间的交互。Processing component 1402 generally controls the overall operations of terminal 1400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1402 may include one or more processors 1420 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 1402 may include one or more modules that facilitate interaction between processing component 1402 and other components. For example, processing component 1402 may include a multimedia module to facilitate interaction between multimedia component 1408 and processing component 1402.

存储器1404被配置为存储各种类型的数据以支持在设备1400的操作。这些数据的示例包括用于在终端1400上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1404可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。Memory 1404 is configured to store various types of data to support operations at device 1400 . Examples of such data include instructions for any application or method operating on the terminal 1400, contact data, phonebook data, messages, pictures, videos, etc. Memory 1404 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.

电源组件1406为终端1400的各种组件提供电力。电源组件1406可以包括电源管理系统,一个或多个电源,及其他与为终端1400生成、管理和分配电力相关联的组件。Power supply component 1406 provides power to various components of terminal 1400. Power supply components 1406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to terminal 1400.

多媒体组件1408包括在所述终端1400和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1408包括一个前置摄像头和/或后置摄像头。当设备1400处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。Multimedia component 1408 includes a screen that provides an output interface between the terminal 1400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide action. In some embodiments, multimedia component 1408 includes a front-facing camera and/or a rear-facing camera. When the device 1400 is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.

音频组件1410被配置为输出和/或输入音频信号。例如,音频组件1410包括一个麦克风(MIC),当终端1400处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1404或经由通信组件1416发送。在一些实施例中,音频组件1410还包括一个扬声器,用于输出音频信号。Audio component 1410 is configured to output and/or input audio signals. For example, audio component 1410 includes a microphone (MIC) configured to receive external audio signals when terminal 1400 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1404 or sent via communications component 1416 . In some embodiments, audio component 1410 also includes a speaker for outputting audio signals.

I/O接口1412为处理组件1402和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1412 provides an interface between the processing component 1402 and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.

传感器组件1414包括一个或多个传感器,用于为终端1400提供各个方面的状态评估。例如,传感器组件1414可以检测到设备1400的打开/关闭状态,组件的相对定位,例如所述组件为终端1400的显示器和小键盘,传感器组件1414还可以检测终端1400或终端1400一个组件的位置改变,用户与终端1400接触的存在或不存在,终端1400方位或加速/减速和终端1400的温度变化。传感器组件1414可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1414还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1414还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor component 1414 includes one or more sensors that provide various aspects of status assessment for terminal 1400 . For example, the sensor component 1414 can detect the open/closed state of the device 1400, the relative positioning of components, such as the display and keypad of the terminal 1400, and the sensor component 1414 can also detect the position change of the terminal 1400 or a component of the terminal 1400. , the presence or absence of user contact with the terminal 1400, the terminal 1400 orientation or acceleration/deceleration and the temperature change of the terminal 1400. Sensor assembly 1414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 1414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

通信组件1416被配置为便于终端1400和其他设备之间有线或无线方式的通信。终端1400可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1416经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1416还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 1416 is configured to facilitate wired or wireless communication between the terminal 1400 and other devices. The terminal 1400 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communications component 1416 also includes a near field communications (NFC) module to facilitate short-range communications. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,终端1400可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, terminal 1400 may be configured by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are implemented for executing the above method.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1404,上述指令可由终端1400的处理器1420执行以完成上述方法。例如, 所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory 1404 including instructions, which can be executed by the processor 1420 of the terminal 1400 to complete the above method is also provided. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.

一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令在计算机上被调用执行时,使得所述计算机执行一种设备控制方法,所述方法包括上述任一实施例中的方法。A computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are called and executed on a computer, they cause the computer to execute a device control method. The method includes any of the above. Methods in Examples.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。Other embodiments of the invention will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary technical means in the technical field that are not disclosed in the present disclosure. . It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.

应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。It is to be understood that the present invention is not limited to the precise construction described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

工业实用性Industrial applicability

本公开中,将控制指令对应的比特流调制为相互正交的多载波连续基带信号,利用多载波调制方式对应的数据传输速率大于单载波调制方式对应的数据传输速率的特点,提高超声波控制数据的传输速率。In this disclosure, the bit stream corresponding to the control instruction is modulated into a mutually orthogonal multi-carrier continuous baseband signal, and the data transmission rate corresponding to the multi-carrier modulation method is greater than the data transmission rate corresponding to the single-carrier modulation method, so as to improve the ultrasonic control data transmission rate.

Claims (20)

一种设备控制方法,由第一设备执行,此方法包括:A device control method, executed by the first device, the method includes: 获取文本控制指令信息;Get text control instruction information; 将所述文本控制指令信息转换为比特流数据;Convert the text control instruction information into bit stream data; 根据所述比特流数据确定调制为相互正交的多载波连续基带信号;Determine based on the bit stream data the multi-carrier continuous baseband signals modulated as mutually orthogonal; 将所述多频连续基带信号调制为超声频带信号;Modulating the multi-frequency continuous baseband signal into an ultrasonic band signal; 通过所述第一设备的扬声器发送所述超声频带信号。The ultrasonic band signal is transmitted through a speaker of the first device. 如权利要求1所述的方法,其特征在于,所述将所述比特流数据调制为相互正交的多载波连续基带信号,包括:The method of claim 1, wherein modulating the bit stream data into mutually orthogonal multi-carrier continuous baseband signals includes: 使用正交频分复用技术将所述比特流数据调制为相互正交的多频连续基带信号。Orthogonal frequency division multiplexing technology is used to modulate the bit stream data into mutually orthogonal multi-frequency continuous baseband signals. 如权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, characterized in that the method further includes: 根据所述比特流数据确定多个帧,所述多个帧包括所述多个数据帧和数据量帧,所述数据帧包括头部区和数据区,所述头部区用于指示数据帧的帧编号,所述数据区是所述比特流数据中的部分数据;所述数据量帧用于指示数据帧的数量。Multiple frames are determined according to the bit stream data, the multiple frames include the multiple data frames and the data amount frame, the data frame includes a header area and a data area, the header area is used to indicate the data frame The frame number, the data area is part of the data in the bit stream data; the data amount frame is used to indicate the number of data frames. 如权利要求3所述的方法,其特征在于,所述将所述多载波连续基带信号调制为多个超声频段信号,包括:The method of claim 3, wherein modulating the multi-carrier continuous baseband signal into multiple ultrasonic band signals includes: 将每个帧对应的多载波连续基带信号分解为多个单载波信号,对每个单载波信号进行逆变换和正变换,所述逆变换为所述正变换的逆向变换,所述正变换为时域至频域的变换。Decompose the multi-carrier continuous baseband signal corresponding to each frame into multiple single-carrier signals, perform inverse transformation and forward transformation on each single-carrier signal, the inverse transformation is the inverse transformation of the forward transformation, and the forward transformation is Conversion from domain to frequency domain. 如权利要求3所述的方法,其特征在于,所述方法还包括:The method of claim 3, further comprising: 为每个帧设置校验码,所述校验码是根据相应帧中的内容计算得到的。A check code is set for each frame, and the check code is calculated based on the content in the corresponding frame. 如权利要求3所述的方法,其特征在于,所述方法还包括:The method of claim 3, further comprising: 为每个帧增加前缀和/或后缀,并且,在每个帧之前增加用于信道评估的序列。A prefix and/or suffix is added to each frame, and a sequence for channel evaluation is added before each frame. 如权利要求3至6中任一权利要求所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 3 to 6, characterized in that the method further includes: 接收到用于指示重传目标帧编号的数据帧的指示信息后,重新播放所述目标帧编号对应的数据帧。After receiving the instruction information for instructing to retransmit the data frame with the target frame number, the data frame corresponding to the target frame number is replayed. 一种设备控制方法,由第二设备执行,此方法包括:A device control method, executed by a second device, the method includes: 通过第二设备的收声器接收超声频带信号;receiving ultrasonic band signals through the microphone of the second device; 将所述超声频带信号解调为相互正交的多频连续基带信号;Demodulating the ultrasonic band signal into a mutually orthogonal multi-frequency continuous baseband signal; 将所述相互正交的多频连续基带信号解调为比特流数据;Demodulating the mutually orthogonal multi-frequency continuous baseband signals into bit stream data; 将所述比特流数据转换为文本控制指令信息;Convert the bit stream data into text control instruction information; 识别所述文本控制指令信息对应的指令;Identify the instruction corresponding to the text control instruction information; 执行所述指令。Execute the instructions. 如权利要求8所述的方法,其特征在于,所述将所述相互正交的多频连续基带信号解调为比特流数据,包括:The method of claim 8, wherein demodulating the mutually orthogonal multi-frequency continuous baseband signals into bit stream data includes: 使用正交频分复用技术将所述相互正交的多频连续基带信号解调为比特流数据。Orthogonal frequency division multiplexing technology is used to demodulate the mutually orthogonal multi-frequency continuous baseband signals into bit stream data. 如权利要求8或9中任一权利要求所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 8 or 9, characterized in that the method further includes: 将所述比特流数据解析为多个帧,所述多个帧包括一个数据量帧和多个数据帧,每个数据帧包括帧编号,所述数据量帧用于指示数据帧的数量。The bit stream data is parsed into multiple frames, the multiple frames include a data volume frame and a plurality of data frames, each data frame includes a frame number, and the data volume frame is used to indicate the number of data frames. 如权利要求10所述的方法,其特征在于,所述方法还包括:The method of claim 10, further comprising: 根据所述帧中的校验码对所述帧进行校验,确定所述帧为有效帧或无效帧。The frame is checked according to the check code in the frame to determine whether the frame is a valid frame or an invalid frame. 如权利要求10所述的方法,其特征在于,所述将所述超声频段信号解调为多载波连续基带信号,包括:The method of claim 10, wherein demodulating the ultrasonic band signal into a multi-carrier continuous baseband signal includes: 对所述超声频带信号中的单载波信号分别进行正变换和逆变换后组合为多载波连续基带信号。The single carrier signals in the ultrasonic band signals are respectively subjected to forward transformation and inverse transformation and then combined into multi-carrier continuous baseband signals. 如权利要求12所述的方法,其特征在于,所述方法还包括:The method of claim 12, further comprising: 根据设定序列对相应的超声频段信号进行信道评估,在解调过程中进行信道补偿。Channel evaluation is performed on the corresponding ultrasonic band signal according to the set sequence, and channel compensation is performed during the demodulation process. 如权利要求11所述的方法,其特征在于,所述方法还包括:The method of claim 11, further comprising: 通过所述第二设备的扬声器发送超声频带信号,所述超声频带信号包括用于指示重传目标帧编号的数据帧的指示信息,所述目标帧编号为所述无效帧的帧号。An ultrasonic band signal is sent through the speaker of the second device, and the ultrasonic band signal includes indication information for instructing to retransmit a data frame with a target frame number, where the target frame number is the frame number of the invalid frame. 一种设备控制装置,配置于第一设备内,所述装置包括:An equipment control device, configured in the first equipment, the device includes: 处理模块,被配置为获取文本控制指令信息;将所述文本控制指令信息转换为比特流数据;A processing module configured to obtain text control instruction information; convert the text control instruction information into bit stream data; 调制模块,被配置为根据所述比特流数据确定调制为相互正交的多载波连续基带信号;将所述多频连续基带信号调制为超声频带信号;A modulation module configured to determine, based on the bit stream data, a multi-carrier continuous baseband signal modulated into a mutually orthogonal multi-carrier continuous baseband signal; and to modulate the multi-frequency continuous baseband signal into an ultrasonic band signal; 发送模块,被配置为通过所述第一设备的扬声器发送所述超声频带信号。A sending module configured to send the ultrasonic band signal through a speaker of the first device. 一种设备控制装置,配置于第二设备,所述装置包括:An equipment control device, configured in a second device, the device includes: 接收模块,被配置为通过第二设备的收声器接收超声频带信号;a receiving module configured to receive the ultrasonic band signal through the microphone of the second device; 解调模块,被配置为将所述超声频带信号解调为相互正交的多频连续基带信号;将所述相互正交的多频连续基带信号解调为比特流数据;A demodulation module configured to demodulate the ultrasonic band signal into a mutually orthogonal multi-frequency continuous baseband signal; and demodulate the mutually orthogonal multi-frequency continuous baseband signal into bit stream data; 处理模块,被配置为将所述比特流数据转换为文本控制指令信息;识别所述文本控制指令信息对应的指令;执行所述指令。A processing module configured to convert the bit stream data into text control instruction information; identify instructions corresponding to the text control instruction information; and execute the instructions. 一种电子设备,包括处理器以及存储器,其中,An electronic device including a processor and a memory, wherein, 所述存储器用于存储计算机程序;The memory is used to store computer programs; 所述处理器用于执行所述计算机程序,以实现如权利要求1-7中任一项所述的方法。The processor is used to execute the computer program to implement the method according to any one of claims 1-7. 一种电子设备,包括处理器以及存储器,其中,An electronic device including a processor and a memory, wherein, 所述存储器用于存储计算机程序;The memory is used to store computer programs; 所述处理器用于执行所述计算机程序,以实现如权利要求8-14中任一项所述的方法。The processor is used to execute the computer program to implement the method according to any one of claims 8-14. 一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令在计算机上被调用执行时,使得所述计算机执行如权利要求1-7中任一项所述的方法。A computer-readable storage medium in which instructions are stored. When the instructions are called and executed on a computer, they cause the computer to execute the method described in any one of claims 1-7. method. 一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令在计算机上被调用执行时,使得所述计算机执行如权利要求8-14中任一项所述的方法。A computer-readable storage medium in which instructions are stored. When the instructions are called and executed on a computer, they cause the computer to execute the method described in any one of claims 8-14. method.
PCT/CN2022/094728 2022-05-24 2022-05-24 Device control methods and apparatuses, and electronic devices and readable storage media Ceased WO2023225855A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2022/094728 WO2023225855A1 (en) 2022-05-24 2022-05-24 Device control methods and apparatuses, and electronic devices and readable storage media
CN202280004343.8A CN115668325A (en) 2022-05-24 2022-05-24 A device control method, device, electronic device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/094728 WO2023225855A1 (en) 2022-05-24 2022-05-24 Device control methods and apparatuses, and electronic devices and readable storage media

Publications (1)

Publication Number Publication Date
WO2023225855A1 true WO2023225855A1 (en) 2023-11-30

Family

ID=85022603

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/094728 Ceased WO2023225855A1 (en) 2022-05-24 2022-05-24 Device control methods and apparatuses, and electronic devices and readable storage media

Country Status (2)

Country Link
CN (1) CN115668325A (en)
WO (1) WO2023225855A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120171963A1 (en) * 2010-12-31 2012-07-05 Tsfaty Yossef System and method for using ultrasonic communication
CN111312239A (en) * 2020-01-20 2020-06-19 北京松果电子有限公司 Response method, response device, electronic equipment and storage medium
CN112530154A (en) * 2020-11-13 2021-03-19 北京小米移动软件有限公司 Information transmission method, information transmission device, electronic device, and storage medium
CN114448523A (en) * 2021-12-31 2022-05-06 上海交通大学 A kind of ultrasonic communication method and system based on frequency domain modulation PWAM

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10116948B2 (en) * 2014-02-21 2018-10-30 Sharp Kabushiki Kaisha System for temporal identifier handling for hybrid scalability
US10333662B2 (en) * 2016-03-08 2019-06-25 Avago Technologies International Sales Pte. Limited Multiple user (MU) short feedback response in wireless communications
KR101849273B1 (en) * 2016-04-29 2018-04-17 광주과학기술원 Low frequency ultrasonic communication system, low frequency ultrasonic communication method, low frequency ultrasonic sending apparatus, and low frequency ultrasonic receiving apparatus
CN106685476B (en) * 2016-12-30 2019-02-12 北京天驰星科技有限公司 A terminal for forming time slot data frame compatible with data link and its working method
CN110493155B (en) * 2019-07-27 2021-11-19 西南电子技术研究所(中国电子科技集团公司第十研究所) OFDM multi-carrier weighted decoding system
CN114338841A (en) * 2021-11-29 2022-04-12 苏州浪潮智能科技有限公司 Instruction receiving and sending method, system, storage medium and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120171963A1 (en) * 2010-12-31 2012-07-05 Tsfaty Yossef System and method for using ultrasonic communication
CN111312239A (en) * 2020-01-20 2020-06-19 北京松果电子有限公司 Response method, response device, electronic equipment and storage medium
CN112530154A (en) * 2020-11-13 2021-03-19 北京小米移动软件有限公司 Information transmission method, information transmission device, electronic device, and storage medium
CN114448523A (en) * 2021-12-31 2022-05-06 上海交通大学 A kind of ultrasonic communication method and system based on frequency domain modulation PWAM

Also Published As

Publication number Publication date
CN115668325A (en) 2023-01-31

Similar Documents

Publication Publication Date Title
CN108401526B (en) Information configuration method and device, time-frequency position determination method and device, and base station
US11483819B2 (en) Data transmission method and apparatus and user equipment
RU2619073C2 (en) Method and device for implementation of adjustment
CN108521885A (en) Method and device for uplink transmission
CN108370290A (en) Synchronous block indication and determination method, device, base station, user equipment
WO2019024087A1 (en) Method for obtaining time-frequency resource position of common control resource set of remaining system information
CN114531211A (en) Hybrid automatic repeat request feedback indication and feedback method, device and base station
CN109792320B (en) Data transmission method and device
CN109792370A (en) Communications feedback method, apparatus, user equipment and storage medium
CN113794545A (en) Method and device for determining format size of downlink control information
CN108401486A (en) The instruction of hybrid automatic repeat-request feedback, feedback method and device and base station
KR20160127633A (en) Methods and apparatuses for controlling wireless access point
CN108401485A (en) Signal transmission method and device
CN113366798A (en) Signal receiving and transmitting method, device, user equipment, base station and storage medium
CN108702796A (en) Transmission, demodulation method and the device of synchronized broadcast block, base station and user equipment
CN108702775B (en) Information transmission method, device, system and storage medium
WO2019024037A1 (en) Method and device for indicating multi-service data multiplex transmission, terminal, and base station
CN108886789A (en) Method and device for determining uplink and downlink switching points
CN109451802B (en) Transmission method of control signaling, terminal and base station
WO2024138745A1 (en) Channel transmission method and apparatus, and storage medium
CN109451859B (en) Method and device for indicating and determining corresponding relation, base station and user equipment
CN108476385B (en) Method, apparatus, user equipment and base station for receiving and sending system messages
WO2023225855A1 (en) Device control methods and apparatuses, and electronic devices and readable storage media
US12034670B2 (en) Method for feeding back data, method for transmitting data and user equipment
WO2019218365A1 (en) Message sending method and device and resource allocation method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22943061

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22943061

Country of ref document: EP

Kind code of ref document: A1