Ultrasonic processing method, device, equipment and storage medium

By using multiple frequency combinations in ultrasonic encoding technology to transmit target data, the problems of high bit error rate and poor anti-interference in the prior art are solved, lower bit error rate and higher anti-interference ability are achieved, and user experience is improved.

CN114944876BActive Publication Date: 2025-03-18BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202110184833.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-10
Publication Date
2025-03-18
Estimated Expiration
2041-02-10

AI Technical Summary

Technical Problem

The existing ultrasonic signal encoding technology has problems such as high bit error rate and poor anti-interference, resulting in poor user experience.

Method used

By determining the multi-frequency combination corresponding to the target data to be transmitted, and sending ultrasonic waves of these frequencies within a preset time period, the bit error rate is reduced and the anti-interference is improved.

Benefits of technology

This method sends target data through multiple frequency combinations, which reduces the bit error rate and improves the anti-interference ability and improves the user experience compared with single frequency transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114944876B_ABST
    Figure CN114944876B_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure disclose an ultrasonic processing method, device, equipment and storage medium; the ultrasonic processing method includes: determining a frequency combination corresponding to target data to be transmitted, wherein one frequency combination includes at least two different frequencies; and transmitting ultrasonic waves of each frequency in the frequency combination within a preset time. The method described in the embodiments of the present disclosure can transmit target data through a multi-frequency combination, thereby reducing the bit error rate to a certain extent and having good anti-interference performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication but is not limited to the field of communication technology, and in particular to an ultrasonic processing method, device, equipment and storage medium. Background Art

[0002] In related technologies, with the deepening of theoretical research and the development of science and technology, there are more and more ways of communication between devices, including Bluetooth, wireless networks and other near-field communication methods; however, these communication methods have high and specific requirements on hardware configuration, and the process of establishing communication is relatively cumbersome, resulting in higher costs.

[0003] Ultrasonic data transmission is relatively easy to implement, the location of the transmitting and receiving equipment is relatively free, and the interference at the ultrasonic frequency is also smaller than that of electromagnetic waves. In addition, the terminal devices (mobile phones) commonly used by everyone already have speakers, receivers, microphones and other ultrasonic transmitting / receiving devices, without additional hardware costs. Therefore, ultrasound is used in many application scenarios to achieve information encoding or decoding.

[0004] However, at present, when ultrasonic signals are used for encoding, they have the characteristics of high bit error rate and poor anti-interference, which makes them very unfriendly to users. Summary of the invention

[0005] The present invention provides an ultrasonic processing method, an apparatus, an encoding device, a decoding device and a storage medium.

[0006] According to a first aspect of the present disclosure, there is provided an ultrasonic processing method, which is applied to an encoding device, and the method comprises:

[0007] Determining a frequency combination corresponding to target data to be transmitted, wherein one frequency combination includes at least two different frequencies;

[0008] Within a preset time period, ultrasonic waves of each frequency in the frequency combination are transmitted.

[0009] According to a second aspect of the present disclosure, there is provided an ultrasonic processing method, which is applied to a decoding device, and the method comprises:

[0010] Receive ultrasonic waves;

[0011] Determining at least one frequency combination including frequencies from the ultrasonic wave; wherein one frequency combination includes at least two different frequencies;

[0012] Based on the frequency combination, target data is determined.

[0013] According to a third aspect of the present disclosure, there is provided an ultrasonic processing device, which is applied to an encoding device, and the device comprises:

[0014] A first determining module, configured to determine a frequency combination corresponding to target data to be transmitted, wherein one frequency combination includes at least two different frequencies;

[0015] The first sending module is used to send ultrasonic waves of each frequency in the frequency combination within a preset time period.

[0016] According to a fourth aspect of the present disclosure, there is provided an ultrasonic processing device, applied to a decoding device, the device comprising:

[0017] A second receiving module, used for receiving ultrasonic waves;

[0018] A second processing module, configured to determine at least one frequency combination including each frequency from the ultrasonic wave; wherein one frequency combination includes at least two different frequencies;

[0019] The second determination module is used to determine target data based on the frequency combination.

[0020] According to a fifth aspect of the present disclosure, there is provided an encoding device, including:

[0021] processor;

[0022] a memory for storing processor-executable instructions;

[0023] The processor is configured to: implement the ultrasonic processing method applied to the encoding device in any embodiment of the present disclosure when running the executable instructions.

[0024] According to a sixth aspect of the present disclosure, a decoding device is provided, including:

[0025] processor;

[0026] a memory for storing processor-executable instructions;

[0027] The processor is configured to: implement the ultrasonic processing method applied to the decoding device in any embodiment of the present disclosure when running the executable instructions.

[0028] According to a seventh aspect of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores an executable program, wherein the executable program, when executed by a processor, implements the ultrasonic processing method described in any embodiment of the present disclosure.

[0029] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0030] The embodiment of the present disclosure determines a frequency combination corresponding to the target data to be transmitted, wherein one frequency combination includes at least two different frequencies; and transmits ultrasonic waves of each frequency in the frequency combination within a preset duration. In this way, the embodiment of the present disclosure can transmit the target data through a multi-frequency combination, which can reduce the bit error rate and improve the anti-interference performance during ultrasonic transmission compared to transmitting the target data based on a single frequency.

[0031] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0033] Figure 1 The diagram is a schematic diagram showing a coding and decoding method based on CDMA coded ultrasound according to an exemplary embodiment.

[0034] Figure 2 It is a schematic diagram showing a cloud-based ultrasonic encoding and decoding method according to an exemplary embodiment.

[0035] Figure 3 is a schematic diagram showing an ultrasonic treatment method according to an exemplary embodiment.

[0036] Figure 4 is a schematic diagram showing different frequency combinations according to an exemplary embodiment.

[0037] Figure 5 is a schematic diagram showing an ultrasonic treatment method according to an exemplary embodiment.

[0038] Figure 6 is a schematic diagram showing a wake-up frequency according to an exemplary embodiment.

[0039] Figure 7 is a schematic diagram showing an ultrasonic treatment method according to an exemplary embodiment.

[0040] Figure 8 is a schematic diagram showing different frequency combinations according to an exemplary embodiment.

[0041] Fig. 9 is a schematic diagram showing an ultrasonic treatment method according to an exemplary embodiment.

[0042] Fig.10 is a schematic diagram showing an ultrasonic treatment method according to another exemplary embodiment.

[0043] Fig.11 The figure is a block diagram of an ultrasonic wave encoding and decoding processing device according to an exemplary embodiment.

[0044] Fig.12 is a schematic diagram showing an ultrasonic treatment method according to an exemplary embodiment.

[0045] Fig.13 is a schematic diagram showing an ultrasonic treatment method according to an exemplary embodiment.

[0046] Fig.14 is a schematic diagram showing an ultrasonic treatment method according to an exemplary embodiment.

[0047] Fig.15 is a block diagram of an ultrasonic processing device according to an exemplary embodiment.

[0048] Fig.16 is a block diagram of an ultrasonic processing device according to an exemplary embodiment.

[0049] Fig.17 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0050] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0051] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0052] In the related art, some technical solutions based on ultrasonic encoding or decoding are provided; as shown below:

[0053] Option 1: Figure 1As shown, a coding and decoding method based on CMDA (Code Division Multiple Access) coded ultrasonic waves is provided. On the encoder side, digital information is CDMA-encoded to obtain coded information; the coded information is converted from a digital signal to an analog signal to obtain an audio signal; and the audio signal is output based on a loudspeaker. On the decoder side, an audio signal is received based on a handset, and the audio signal is converted from an analog signal to a digital signal to obtain coded information; the coded information is decoded according to CMDA to obtain digital information.

[0054] Option 2: Figure 2 As shown, a cloud-based ultrasonic encoding and decoding method is provided. The transmitting end sends the data to be transmitted to the cloud server before the audio signal is sent. The cloud server generates a key value that uniquely matches the file to be transmitted; and sends the key value to the transmitting end. The transmitting end encodes the key value into ultrasonic waves and sends them out. After receiving the ultrasonic wave, the receiving end decodes the ultrasonic wave to obtain the key value; and obtains the data to be transmitted from the cloud server based on the key value.

[0055] Solution three provides a method and device for on-site mobile phone payment through audio signals; the device includes: a payment client, a payment service end and a payment client; the payment client is installed on the cashier terminal of the payee, the payment service end is installed on the payment service terminal of the payment service provider, and the payment client is installed on the mobile phone held by the payee. The payee's mobile phone is connected to the payment service provider through the network and transmits data through asymmetric encryption; the payee's cashier terminal is connected to the service provider through the network and transmits data through asymmetric encryption. The payee's cashier terminal sends an audio signal through a speaker, and the audio signal is used to transmit transaction information to the payee's mobile phone; the frequency range of the audio signal is 16KHZ-22KHZ. The payee's mobile phone receives the audio signal for processing.

[0056] Among the above schemes, Scheme 1 has the disadvantages of complex encoding and high bit error rate, as well as high overhead when the amount of transmitted data is small, because it needs to use CMDA technology for encoding.

[0057] The receiving end of the second scheme also needs to be in the receiving state at all times, which consumes a lot of power. If manual intervention is required, the operation is inconvenient and not user-friendly. In addition, the coding of the second scheme will generate pulse noise due to the increase and decrease of super-generation energy between two different codes. In order to reduce the noise, fade-in and fade-out will be added to each code, which greatly prolongs the output time of a single code, resulting in a low bit rate.

[0058] Although the frequency range of the scheme 3 is 16KHZ-22KHZ, for some people, the hearing range can be as high as 18KHZ; therefore, the scheme 3 is not strictly inaudible noise, which is very unfriendly to such people. Moreover, the scheme is more likely to accumulate a large amount of intermodulation distortion components in the low-frequency part, producing low-frequency audible sound.

[0059] In order to solve at least some of the above problems, the embodiments of the present disclosure provide an ultrasonic encoding and decoding processing method, which can enable target data to be sent through a multi-frequency combination, which can reduce the bit error rate to a certain extent compared to sending based on a single frequency, and has a higher anti-interference performance.

[0060] like Figure 3 As shown, an ultrasonic treatment method is provided, the method comprising the following steps:

[0061] Step S11: determining a frequency combination corresponding to target data to be transmitted, wherein one frequency combination includes at least two different frequencies;

[0062] Step S13: sending ultrasonic waves of each frequency in the frequency combination within a preset time period.

[0063] The method described in the embodiments of the present disclosure is applied to a coding device. The coding device here can be a mobile phone, a computer, a server, a sending device, a tablet computer, a medical device or a wearable device, etc.; the coding device here can also be any device with an encoder; or the coding device can also be any device including a coding module or component or capable of implementing a coding function, etc. The coding device here can also be any device that sends ultrasonic waves.

[0064] The target data to be transmitted here may be information or instructions to be transmitted.

[0065] For example, the target data is a character string of the word "start" or "qidong".

[0066] For example, the target data is the English character "a" or the numeric string "123", etc. The character "a" or the string "123" specifies the meaning of the identifier; for example, the character "a" is used to identify the opening of an application; for example, the string "123" is used to identify the establishment of a connection; and so on.

[0067] The target data here can be one or more, and one target data corresponds to one frequency combination.

[0068] For example, when the target data is "0", the corresponding frequency combination is (f0-f1-f2). For another example, when the target data is "01", the corresponding frequency combinations are (f0-f1-f2) and (f0-f1-f4).

[0069] At least one frequency in different frequency combinations is different.

[0070] Figure 4 Provide a schematic diagram of different frequency combinations; e.g. Figure 4 As shown, the frequency combinations corresponding to the three target data "1", "3" and "5" are (f0-f1-f4), (f0-f2-f3) and (f0-f3-f4) respectively.

[0071] In one embodiment, the step S11 includes:

[0072] Convert the target data to be transmitted into Z-binary encoding information;

[0073] A frequency combination corresponding to the encoded information is determined.

[0074] Here, the Z-ary system may be one of the binary system, the quaternary system, the octal system, the decimal system or the hexadecimal system. Of course, in other embodiments, the Z-ary system may also be other systems, such as the 32-ary system.

[0075] For example, according to the ASCII code table, if the character "a" is converted to decimal, it is the data information "10"; if the character "a" is converted to octal, it is the digital information "141"; if the character "a" is converted to hexadecimal, it is the data information "16"; and so on.

[0076] In one embodiment, determining the frequency combination corresponding to the coded information includes:

[0077] Based on the correspondence between the coding information and the frequency combination, the frequency combination with the coding information is determined.

[0078] The correspondence between the coding information and the frequency combination here can be preset; for example, a preset correspondence table representing the correspondence between each coding information and the frequency combination can be stored in the coding device. The correspondence here can be any correspondence, as long as a frequency combination can uniquely identify a coding information.

[0079] In one embodiment, the step S13 includes:

[0080] Within a preset time period, k frames of ultrasound are sent, and one frame of ultrasound includes each frequency of the frequency combination; wherein k is an integer greater than 1.

[0081] Thus, in this example, ultrasonic waves of various frequencies including frequency combinations may be sent continuously for a period of time. For example, when "0" is sent, the frequency combination of f0, f1 and f2 is sent for a period of time.

[0082] In the disclosed embodiment, the target data can be carried on multiple frequencies for transmission, which can reduce the bit error rate to a certain extent and has better anti-interference performance compared to transmitting the target data based on a single frequency. For example, if the target data is transmitted on a single frequency, the wrong target data will be transmitted if an error occurs in the single frequency; if the target data is transmitted on multiple frequencies, the correct target data may be transmitted if an error occurs in one of the frequencies.

[0083] In some embodiments, the method comprises:

[0084] Select M frequencies;

[0085] Select any N frequencies from the M frequencies as a frequency combination; wherein both M and N are integers greater than 1; and M is greater than N;

[0086] Establishing a corresponding relationship between the data requiring transmission and the frequency combination;

[0087] The determining of a frequency combination corresponding to target data to be transmitted includes:

[0088] According to the corresponding relationship, the frequency combination corresponding to the target data is determined.

[0089] In one embodiment, the M frequencies are specific frequencies. For example, the specific frequencies are frequencies within the frequency band of 19 kHz to 23 kHz. In this way, since the M frequencies are all ultrasonic frequencies, the nonlinear distortion caused by multi-frequency sound can be effectively reduced.

[0090] In the embodiment of the present disclosure, there are M frequencies, and N frequencies are selected from the M frequencies, then frequency combinations, each of which has N frequencies. For example, in an application scenario, if M = 5 and N = 3, then There are frequency combinations, each of which has 3 frequencies.

[0091] In the embodiment of the present disclosure, the number of M and the number of N only need to satisfy that M is greater than N and It only needs to be greater than the amount of coded information corresponding to the target data.

[0092] For example, in an application scenario, the target data can be converted into decimal coding information, and the total number of coding information is 10, namely 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9; the 10 coding information can correspond to different frequency combinations. As shown in Table 1 below, a corresponding relationship between frequency combinations and coding information is provided:

[0093]

[0094]

[0095] Table 1

[0096] As shown in Table 1 above, the coding information corresponding to the target data is "1234567", and the coding information "1234567" is the data bit; wherein, the frequency combination corresponding to the coding information "1" is (f0-f1-f4); the frequency combination corresponding to the coding information "2" is (f0-f1-f3); the frequency combination corresponding to the coding information "3" is (f0-f2-f3); the frequency combination corresponding to the coding information "4" is (f0-f2-f4); the frequency combination corresponding to the coding information "5" is (f0-f3-f4); the frequency combination corresponding to the coding information "6" is (f1-f2-f3); the frequency combination corresponding to the coding information "7" is (f1-f2-f4). Set the starting position of two frequency combinations, for example, the two frequency combinations of the starting position are (f0-f1-f2) and (f0-f3-f4) respectively; the two frequency combinations of the starting position may not correspond to any coding information. Set a check bit of a frequency combination, for example, a frequency combination of the check bit is (f2-f3-f4); the two frequency combinations of the check bit may not correspond to any coded information Set an end bit of a frequency combination, for example, a frequency combination of the end bit is (f1-f3-f4); the frequency combination of the check bit may not correspond to any coded information. Here, a frequency combination is used to represent a bit.

[0097] Here, the frequency combinations corresponding to the coding information of different data bits are different. The frequency combination corresponding to the coding information of the start bit here can be the same as or different from the frequency combination corresponding to the coding information of any data bit. The frequency combination corresponding to the coding information of the check bit here can be the same as or different from the frequency combination corresponding to the coding information of any data bit. The frequency combination corresponding to the coding information of the end bit here can be the same as or different from the frequency combination corresponding to the coding information of any data bit.

[0098] In the embodiment of the present disclosure, any M frequencies can be selected, and then any N frequencies can be selected from the M frequencies as a frequency combination, and the M frequencies can represent frequency combinations, which can be expressed target data or the encoding information corresponding to the target data; thus, it is possible to establish A correspondence between target data and frequency combinations is established, or a correspondence between the coding information corresponding to the target data and the frequency combinations is established; thereby accurately determining the frequency combinations corresponding to the target data to be transmitted, and then sending the target data to be transmitted based on sending ultrasonic waves of each frequency in the frequency combinations.

[0099] Furthermore, if the selected M frequencies are specific frequencies, for example, an ultrasonic frequency in the frequency band of 19KHZ to 23KHZ can be selected, which is a relatively small frequency in the ultrasonic frequency, so that the amplitude of the harmonic component generated is small, which can reduce ultrasonic nonlinear distortion and improve the accuracy of the transmitted target data.

[0100] In one embodiment, the target data is used for at least one of the following:

[0101] Launch a specific application for the decoding device;

[0102] Triggering the decoding device to display a specific interface of a specific application;

[0103] triggering the decoding device to perform a payment operation based on a specific application;

[0104] Triggering the decoding device to return specific information;

[0105] The decoding device is triggered to establish a connection with the encoding device.

[0106] The decoding device here can be a mobile phone, a computer, a server, a sending device, a tablet computer, a medical device or a wearable device, etc.; the decoding device can also be any device with a decoder; or the decoding device can also be any device including a decoding module or component or capable of realizing a decoding function, etc.

[0107] The specific application here can be Alipay, WeChat, Cloud QuickPass, QQ, music, video, camera and other applications. The specific interface here can be payment, payment collection, song display, video playback, UC homepage and other specific interfaces. The specific application here only needs to be any application that meets a certain function, and the specific interface here only needs to be any interface that can display information or play audio or video, etc., and no restrictions are imposed on the specific application or application interface.

[0108] For example, in one application scenario, the target data is used to start the Alipay application. When the decoding device receives the ultrasonic wave and identifies the target data from the ultrasonic wave, a specific application of the decoding device can be started, such as starting the Alipay application.

[0109] For another example, in one application scenario, the target data is used to trigger the display of a payment code in the Alipay application. When the decoding device receives the ultrasonic wave and identifies the target data from the ultrasonic wave, the decoding device can be triggered to display the payment code in the Alipay application.

[0110] For another example, in one application scenario, the target data is used to trigger a payment operation based on WeChat. When the decoding device receives the ultrasonic wave and identifies the target data from the ultrasonic wave, the WeChat of the decoding device can be triggered to make a payment.

[0111] For another example, in an application scenario, the target data is used to trigger the return of a key. When the decoding device receives an ultrasonic wave and identifies the target data from the ultrasonic wave, the decoding device can return the key. For example, the key is the key of an electronic door lock, etc. When the decoding device receives an ultrasonic wave indicating the target data sent by the encoding device, the decoding device will return the key to the encoding device so that the encoding device can unlock the door lock.

[0112] For another example, in an application scenario, the target data triggers the decoding device to establish a connection with the encoding device, such as the target data is a Bluetooth identifier. When the decoding device can be a Bluetooth device, the decoding device is a mobile phone that can establish a Bluetooth connection. The decoding device sends an ultrasonic wave carrying a Bluetooth identifier; when the decoding device receives the ultrasonic wave and identifies the Bluetooth identifier from the ultrasonic wave, the decoding device can establish a connection with the encoding device based on the Bluetooth identifier.

[0113] Of course, in other embodiments, the target data may also be a WIFI password or passwords of various devices or various applications.

[0114] In the disclosed embodiment, the frequency combination corresponding to the target data with various functions can be transmitted through ultrasonic waves, so that when the decoding device receives the target data through ultrasonic decoding, it can complete various corresponding functions based on the target data; for example, it can be to wake up the payment interface, make a payment, or establish a connection, etc. In this way, the user does not need to operate manually, and the decoding device can automatically operate based on the received ultrasonic waves, thereby simplifying the user and saving operation time, thereby improving the user experience.

[0115] like Figure 5 As shown, in some embodiments, the method further includes:

[0116] Step S12: adding a wake-up frequency to the ultrasonic wave; wherein the wake-up frequency is used to wake up a decoding device;

[0117] The step S13 comprises:

[0118] Step S131: within the preset time period, sending ultrasonic waves of each frequency of the frequency combination carrying the wake-up frequency.

[0119] In one embodiment, the wake-up frequency is smaller than each frequency in the frequency combination.

[0120] For example, each frequency in the frequency combination is between 19KHZ and 23KHZ, and the wake-up frequency can be as follows: Figure 6 1KHZ, 2KHZ or 3KHZ etc. as shown.

[0121] Of course, in other embodiments, the wake-up frequency may also be different from the frequencies in each frequency combination.

[0122] In the disclosed embodiment, the wake-up frequency can be carried in the ultrasonic wave for transmission. When the decoding device receives the ultrasonic wave, if it is determined that there is a wake-up frequency in the ultrasonic wave, the component with decoding function in the decoding device is awakened; the component with decoding function in the decoding device can be a converter. For example, when the decoding device determines that there is a wake-up frequency in the ultrasonic wave, a higher sampling rate (such as FS = 44100Hz, FS = 48000Hz, FS = 96000Hz, etc.; where FS is used to represent the sampling rate) is used to convert the analog signal of the ultrasonic wave into a digital signal, so as to identify the target data based on the ultrasonic wave of the digital signal. In this way, the encoder or signal acquisition device in the decoding device does not need to be in a decoding working state or a working state of sampling at a higher frequency all the time, which can greatly reduce the power consumption of the decoding device.

[0123] In actual application scenarios, the converter that converts analog signals into digital signals in the decoding device usually needs to use a higher sampling rate, so that the converter will not be always on, and will only be turned on when the wake-up frequency is received. In addition, since the converter needs to use a higher sampling rate, it can receive a higher frequency combination, and then decode based on the frequency combination to obtain the target data.

[0124] In practical applications, if the wake-up frequency is the same as or not much different from the frequency in the combination frequency, the wake-up frequency and the frequency in the frequency combination will be confused and the target data cannot be accurately obtained. However, in the embodiment of the present disclosure, since the wake-up frequency is different from the frequency of each frequency in the combination frequency, or the frequency of each frequency in the combination frequency is greater than the frequency of the wake-up frequency, the confusion between the wake-up frequency and the combination frequency in the spectrum can be greatly reduced, so that the complete target data can be obtained while the decoding device is awakened.

[0125] like Figure 7 As shown, in some embodiments, step S13 includes:

[0126] Step S132: If there are two or more target data, after transmitting the ultrasonic wave corresponding to the nth target data, within the n+1th preset time period, switch to transmitting ultrasonic waves of each frequency in the frequency combination corresponding to the n+1th target data through frequency modulation; wherein n is an integer greater than 0.

[0127] In one embodiment, the frequency modulation method includes but is not limited to one of the following:

[0128] The frequency combinations corresponding to two adjacent target data are spliced;

[0129] The frequency combination corresponding to two adjacent target data is subjected to frequency shift processing, and then spliced ​​after the frequency shift.

[0130] For example, in an application scenario, it is necessary to send the frequency combinations (f0-f1-f2) and (f0-f3-f4) corresponding to the start bit, the frequency combinations (f0-f1-f4), (f0-f1-f3), (f0-f2-f3), (f0-f2-f4), (f0-f3-f4), (f1-f2-f3) and (f1-f2-f4) corresponding to the data bits "1234567", the frequency combination (f2-f3-f4) corresponding to the check bit and the frequency combination (f1-f3-f4) corresponding to the end bit. The sending method of Table 2 below may be used, for example, the frequency combination (f0-f1-f2) is sent within the first preset time length T1; the frequency combination (f0-f3-f4) is sent within the second preset time length T2, and the frequency combination (f0-f1-f4) is sent within the third preset time length T3; the frequency combination (f0-f1-f3) is sent within the fourth preset time length T4, the frequency combination (f0-f2-f3) is sent within the fifth preset time length T5, and the frequency combination (f0-f2-f3) is sent within the sixth preset time length T6. 6; sending a frequency combination (f0-f2-f4) within the 7th preset time length T7; sending a frequency combination (f1-f2-f3) within the 8th preset time length T4, sending a frequency combination (f1-f2-f4) within the 9th preset time length T9, sending a frequency combination (f2-f3-f4) within the 10th preset time length T10 and sending a combination frequency (f1-f3-f4) within the 11th preset time length T11.

[0131]

[0132] Table 2

[0133] The partial frequency combination corresponding to the ultrasonic wave in the above Table 2 (for example, the start bit, the data bit "12345", the check bit and the end bit) can be as follows: Figure 6 shown.

[0134] In some embodiments, the step S13 includes:

[0135] If there are two or more target data, obtain the frequency combination corresponding to two adjacent target data;

[0136] Based on the frequencies of the same order in two adjacent frequency combinations, ultrasonic waves of two adjacent frequency combinations are sent by frequency modulation.

[0137] In some embodiments, the sending of ultrasonic waves of two adjacent frequency combinations by frequency modulation based on the frequencies of the same order in the two adjacent frequency combinations includes:

[0138] If the frequencies of the same order in two adjacent frequency combinations are the same, the frequencies of the same order in the two adjacent frequency combinations are concatenated;

[0139] An ultrasonic wave of each frequency of a combination of two adjacent frequencies after splicing is transmitted.

[0140] The two adjacent frequency combinations here may be: the nth frequency combination and the n+1th frequency combination, where n is an integer greater than 0.

[0141] The two adjacent frequency combinations here are frequency combinations corresponding to two adjacent target data; thus, one implementation method of step S13 may also be: if the frequencies of the same order in the frequency combination corresponding to two adjacent target data are the same, determine to splice the frequencies of the same order in the frequency combination corresponding to the two adjacent target data, and send ultrasonic waves of each frequency of the frequency combination corresponding to the two target data after the splicing process.

[0142] For example, Figure 6As shown, it is necessary to send ultrasonic waves corresponding to the frequency combinations (f0-f1-f2) and (f0-f3-f4) corresponding to the start bit, the frequency combinations (f0-f1-f4), (f0-f1-f3), (f0-f2-f3), (f0-f2-f4), (f0-f3-f4) corresponding to the data bits "12345", the frequency combination (f2-f3-f4) corresponding to the check bit, and the frequency combination (f1-f3-f4) corresponding to the end bit. Among them, the frequency combination corresponding to the data bit "1" is (f0-f1-f4), and the frequency combination corresponding to the data bit "2" is (f0-f1-f3); the frequency combination (f0-f1-f4) and the frequency combination (f0-f1-f3) are two adjacent frequency combinations. Among them, the first-order frequency in the frequency combination (f0-f1-f4) is f0, the second-order frequency is f1, and the third-order frequency is f4; and the first-order frequency in the frequency combination (f0-f1-f3) is f0, the second-order frequency is f1, and the third-order frequency is f4; then the first-order frequency in the frequency combination (f0-f1-f4) is the same as that in the frequency combination (f0-f1-f3), both are f0, and the second-order frequency in the frequency combination (f0-f1-f4) is the same as that in the frequency combination (f0-f1-f3), both are f1. In this way, the first-order frequencies in the frequency combination (f0-f1-f4) and the frequency combination (f0-f1-f3) are spliced, and the frequency combination (f0-f1-f4) and the second-order frequencies in the frequency combination (f0-f1-f3) are spliced. For example, Figure 6 It is shown that the frequencies of the first order of the data bits "1" and "2" are directly connected.

[0143] In some other embodiments, the sending of ultrasonic waves of two adjacent frequency combinations by frequency modulation based on the frequencies of the same order in the two adjacent frequency combinations includes:

[0144] If the frequencies of the same order in two adjacent frequency combinations are different, the frequencies of the same order in the two adjacent frequency combinations are frequency-shifted to obtain the frequency-shifted frequencies;

[0145] Splicing the frequency shift frequencies between the frequencies of the same order in two adjacent frequency combinations to obtain two adjacent frequency combinations after splicing;

[0146] Send ultrasonic waves of each frequency of two adjacent frequency combinations after splicing processing.

[0147] The two adjacent frequency combinations here are frequency combinations corresponding to two adjacent target data; thus, one implementation method of step S13 may also be: if the frequencies of the same order in the frequency combination corresponding to two adjacent target data are different, determine to shift the frequencies of the same order in the frequency combination corresponding to the two adjacent target data to obtain frequency-shifted frequencies; and splice the frequency-shifted frequencies between the frequencies of the same order in the frequency combination corresponding to the two adjacent target data to obtain the frequencies of the frequency combination corresponding to the two target data after splicing; and send ultrasonic waves of the frequencies of the frequency combination corresponding to the two target data after splicing.

[0148] For example, Figure 6 As shown, the data bits "12" to be sent correspond to the frequency combinations (f0-f1-f4) and (f0-f1-f3). Among them, the frequency combination corresponding to the data bit "1" is (f0-f1-f4), and the frequency combination corresponding to the data bit "2" is (f0-f1-f3); then the frequency combination (f0-f1-f4) and the frequency combination (f0-f1-f3) are two adjacent frequency combinations. Among them, the first-order frequency in the frequency combination (f0-f1-f4) is f0, the second-order frequency is f1, and the third-order frequency is f4; and the first-order frequency in the frequency combination (f0-f1-f3) is f0, the second-order frequency is f1, and the third-order frequency is f3; then the first-order frequency in the frequency combination (f0-f1-f4) and the frequency combination (f0-f1-f3) is the same, both are f0, and the second-order frequency in the frequency combination (f0-f1-f4) and the frequency combination (f0-f1-f3) is the same, both are f1. Thus, the third order frequencies in the frequency combination (f0-f1-f4) and the frequency combination (f0-f1-f3) need to be shifted to obtain a frequency shift rate; and the frequency shift rate is spliced ​​between the third order frequencies in the frequency combination (f0-f1-f4) and the frequency combination (f0-f1-f3) to obtain the spliced ​​third order frequencies in the frequency combination (f0-f1-f4) and the frequency combination (f0-f1-f3). For example, Figure 6 As shown, the data bits "1" and "2" of the third order are spliced ​​after frequency shifting.

[0149] Here, the corresponding frequencies in the frequency combination corresponding to two adjacent target data are shifted to obtain the shifted frequencies, including:

[0150] Determine the frequency shift speed based on the frequency in the first frequency combination and the corresponding frequency in the second frequency combination of two adjacent target data;

[0151] The frequency shifting frequency is determined based on the frequency in the previous frequency combination in the frequency combinations corresponding to two adjacent target data and the frequency shifting speed.

[0152] For example, in one embodiment, the frequency combinations corresponding to two adjacent target data are (f0-f1-f2) and (f1-f2-f3); the frequency shift speeds of each frequency in the obtained frequency combination are: and The shift frequencies of each frequency in the obtained frequency combination are: f 0t =f0+k0t,f 1t =f1+k1t, and f 2t =(f2+k2t); the ultrasonic wave corresponding to the frequency shift obtained is y=sin(2π(f0+k0t)t)+sin(2π(f1+k1t)t)+sin(2π(f2+k2t)t).

[0153] In other examples, the ultrasonic wave corresponding to the obtained frequency shift frequency can also be

[0154] Here, y is the ultrasonic wave corresponding to the frequency shift; t is the time between sending the ultrasonic waves corresponding to two adjacent target data; here, t=0, 1, ..., (N-1).

[0155] For example, see again Figure 6 , the third frequency in the frequency combination corresponding to the data bit "1" is "f4", and the third frequency in the frequency combination corresponding to the data bit "2" is "f3"; then the third frequencies of the adjacent data bits "1" and "2" are different, such as Figure 6 As shown, the third frequency of the data bits "1" and "2" are connected by frequency modulation.

[0156] In the embodiment of the present disclosure, if there are two or more target data, after sending the ultrasonic wave corresponding to the previous target data, the ultrasonic wave of each frequency in the frequency combination corresponding to the next target data is directly switched to be sent through frequency modulation; in this way, compared with the ultrasonic wave based on the frequency combination corresponding to a single target data when there are multiple target data, there is no need to wait until the encoder feeds back the confirmation message of the previous target data before sending the next target data, thereby greatly shortening the time of sending the ultrasonic wave of the frequency combination corresponding to multiple target data and improving the transmission efficiency of the ultrasonic wave.

[0157] Furthermore, since the frequency modulation method provided by the present disclosure can smoothly transition from the frequency combination corresponding to the previous target data to the frequency combination corresponding to the next target data, interference signals can also be reduced to a certain extent.

[0158] In some embodiments, the method comprises:

[0159] A fade-in frequency is added in a fade-in manner before each frequency in the frequency combination corresponding to the first target data, and / or a fade-out frequency is added in a fade-out manner after each frequency in the frequency combination corresponding to the last target data.

[0160] The sending of ultrasonic waves of each frequency in the frequency combination includes:

[0161] Ultrasonic waves of each frequency of the frequency combination added with the fade-in frequency and / or the fade-out frequency are transmitted.

[0162] The fade-in frequency here is the same as the corresponding frequencies in the frequency combination corresponding to the first target data; the fade-out frequency here is different from the corresponding frequencies in the frequency combination corresponding to the last target data.

[0163] The fade-in mode here may be a linear interpolation mode or a logarithmic interpolation mode; the fade-out mode may also be a linear interpolation mode or a logarithmic interpolation mode.

[0164] For example, if the frequency combination corresponding to the target data "2" is (f0-f1-f2), and the frequency combination corresponding to the target data "3" is (f1-f2-f3), then the combined frequency diagram of the ultrasonic wave corresponding to the target data "23" can be as follows: Figure 8 As shown, there is a corresponding fade-in frequency (f0-f1-f2) before the frequency combination (f0-f1-f2) and a corresponding fade-out frequency (f1-f2-f3) after the frequency combination (f1-f2-f3).

[0165] In the embodiment of the present disclosure, a fade-in frequency is inserted before the combined frequency of the first target data in the ultrasonic wave by a fade-in method and / or a fade-out frequency is inserted after the combined frequency of the last target data by a fade-out method; in this way, the audio signal of the ultrasonic wave can be smoothly faded in and / or smoothly faded out, thereby reducing interference and noise.

[0166] Furthermore, if only a fade-in frequency is inserted before the combination frequency of the first target data and a fade-in frequency is added after the combination frequency of the last target data, and a frequency shift frequency is added between the combination frequencies of two adjacent target data; in this way, compared to inserting a fade-in frequency before each target data and inserting a fade-out frequency after each target, the duration of the entire ultrasonic wave can be greatly shortened while ensuring the reduction of noise, thereby improving the ultrasonic wave transmission efficiency.

[0167] In some embodiments, the step S13 includes:

[0168] If there are two or more target data, and after transmitting the ultrasonic wave corresponding to the nth target data, a successful decoding instruction based on the ultrasonic wave corresponding to the nth target data is received, then within the n+1th preset time length, ultrasonic waves of each frequency within the frequency combination corresponding to the n+1th target data are sent; wherein n is an integer greater than 0.

[0169] The receiving of the successful decoding instruction based on the ultrasonic wave corresponding to the nth target data herein may be the receiving of the successful decoding instruction sent by a decoding device, or may be the receiving of the successful decoding instruction sent by a cloud service.

[0170] In the embodiment of the present disclosure, if after the ultrasonic wave corresponding to the previous target data is sent, the ultrasonic wave of each frequency within the frequency combination corresponding to the next target data is sent only when the successful decoding instruction of the ultrasonic wave corresponding to the previous target data is received, it can be ensured that the decoding device successfully decodes the target data, thereby improving the accuracy of the successfully decoded target data.

[0171] It should be noted here that the following ultrasonic processing method is applied to a decoding device, and is similar to the description of the ultrasonic processing method applied to an encoding device. For technical details not disclosed in the embodiment of the ultrasonic processing method applied to a decoding device in the present disclosure, please refer to the description of the embodiment of the ultrasonic processing method applied to an encoding device in the present disclosure, and no detailed explanation is given here. These details are also included in the scope of disclosure of this application.

[0172] like Fig. 9 As shown, an ultrasonic treatment method is provided, the method comprising:

[0173] Step S21: receiving ultrasonic waves;

[0174] Step S22: determining at least one frequency combination including various frequencies from the ultrasonic wave; wherein one frequency combination includes at least two different frequencies;

[0175] Step S23: Determine target data based on the frequency combination.

[0176] The ultrasonic processing method described in the embodiment of the present disclosure is applied to a decoding device. The decoding device here can be a mobile phone, a computer, a server, a sending device, a tablet computer, a medical device or a wearable device, etc.; the decoding device can also be any device with a decoder; or the decoding device can also be any device including a decoding module or component or capable of realizing a decoding function, etc. The decoding device here can also be any ultrasonic receiving device.

[0177] In some embodiments, the step S22 includes:

[0178] If it is determined that the ultrasonic wave carries a wake-up frequency, at least one frequency combination including each frequency is determined from the ultrasonic wave based on the wake-up frequency.

[0179] In an embodiment of the present disclosure, after receiving an ultrasonic wave, if it is determined that there is a wake-up frequency in the ultrasonic wave, a decoder or a module with a decoding function in the decoding device is awakened based on the wake-up frequency; thereby, there is no need to keep the decoder or the module with a decoding function in a decoding working state all the time, which can greatly reduce the power consumption of the decoding device.

[0180] Please see again Figure 6 , the wake-up frequency may be 1KHZ, 2KHZ, and 3KHZ, etc. Of course, in other embodiments, the wake-up frequency may be other frequencies, as long as the frequencies of the frequency combination corresponding to the target data are different.

[0181] In some embodiments, the method further comprises:

[0182] If the ultrasonic wave of the wake-up frequency is received, the recording module is turned on;

[0183] The ultrasonic wave is recorded based on the recording module.

[0184] In this way, the ultrasonic wave can be recorded so that the decoding device can recognize the target data of the ultrasonic wave.

[0185] In some embodiments, the method comprises:

[0186] Based on the ultrasound, the frequency point energy of each frequency at the i-th moment and the i-1-th moment is obtained;

[0187] Determining at least one frequency combination including each frequency from the ultrasonic wave comprises:

[0188] If the frequency point energy of each frequency at the i-th moment and the i-1-th moment meets the start time judgment condition, the frequencies corresponding to the i-th moment are determined to be the frequencies in the first frequency combination; wherein i is an integer greater than 1.

[0189] The frequency energy of each frequency at the i-th moment and the i-1-th moment satisfies the start time judgment condition, including:

[0190] The frequency point energy of each frequency at the i-th moment is greater than the energy threshold of each corresponding frequency point;

[0191] And the frequency point energy of each frequency at the i-1th moment is less than the energy threshold of each corresponding frequency point.

[0192] In practical applications, a method for calculating the energy of each frequency point is provided, and the method comprises the following steps:

[0193] Step 1: When the decoder samples at a specific sampling rate, for example, FS = 48000 Hz, based on the time sequence of receiving the ultrasonic wave, the ultrasonic wave x(n) is converted into k frames of data, such as x1, x2...x k , where k is the frame number. Perform windowing on each frame to obtain the windowed frame data: x w1 , x w2 ...x wk ; where x wi =window(x i ), i is an integer less than or equal to k and greater than 0; the "window" function is used to represent a window function, for example, it can be a Hamming window. Here, the conversion of the ultrasonic wave into k frames of data can be based on the conversion according to the frame length L, where L is an integer power of 2; L is the number of frequency points corresponding to each frame of data.

[0194] Step 2: Transform the windowed frame data from the time domain to the frequency domain to obtain the frequency domain data of each frame. For example, perform Fourier transform (FFT) on the windowed frame data to obtain the frequency domain data X1, X2...X k , where X i =FFT(x wi ), i is an integer less than or equal to k and greater than 0.

[0195] Step 3: Calculate the frequency energy of each frequency point corresponding to each frame of frequency domain data. For example, calculate the average energy of the frequency points of each frame in For X i (x) conjugate matrix, Among them, f is the starting frequency.

[0196] For example, in one example, if the starting frequency point is f=20000, L=128, FS=48000, then If X i (53) = 0.025 + 0.012i, then W = (0.025 + 0.012i) × (0.025 - 0.012i) = 0.000769. Here X i (53) = 0.025 + 0.012i is only an example, where X i The real part of (53) is "0.25" and the imaginary part is "0.12i"; of course, in other embodiments, X i (53) can be composed of other real parts and imaginary parts.

[0197] In one embodiment, if the frequency energy of each frequency at each time is calculated, it can be: W mean (x)| t=i =Average{W(x)}| t=i-k,...,i Here, we take s frames for calculation, where s is greater than k; calculate the mean value of the frequency energy of each frequency point once every k frames; after calculating k frames once, we shift k frames and continue the calculation of the next k frames, and so on, to calculate the mean value of the frequency energy of each frequency point. Here, W mean (x)| t=i Represents the mean value of the frequency energy of each frequency point x at time i, that is, W mean (x)| t=i Represents the energy mean of each frequency point x at time i; x is the frequency point corresponding to each frequency in the frequency combination after FFT.

[0198] In practical applications, the energy threshold of the frequency point corresponding to each frequency can be calculated in advance. mean (x)| t=i =Average{W(x)}| t=i-k,...,i The calculation formula is s-k+1 averages are obtained in s frames, and the maximum and minimum values ​​of each frequency point are calculated respectively. Among them, the maximum value is W max (x)| t=i =Max{W mean (x)}| t=i-s,...,i , the minimum value is W min (x)| t=i =Min{W mean (x)}| t=i-s,…,i . The energy threshold of each frequency point corresponding to each frequency is calculated as Threshold(x)=k'×(W max (x)| t=i +W min (x)| t=i ), wherein Threshold(x) is the energy threshold of the frequency point corresponding to each frequency; k' is the energy threshold adjustment factor.

[0199] For example, Figure 8 The combined frequency (f0-f1-f2) corresponding to the target data "2" shown in the figure, then the starting time judgment condition for determining that the combined frequency is the first frequency combination of each frequency is:

[0200]

[0201]

[0202]

[0203] Among them, W(f0)|t=i is the frequency energy of the frequency f0 in the combined frequency at the i-th moment; W(f0)| t=i-1 is the frequency energy of the f0 frequency in the combined frequency at the i-1th moment; Threshold(f0) is the energy threshold of f0 in the combined frequency. W(f1)| t=i is the frequency energy of frequency f1 in the combined frequency at the i-th moment; W(f1)| t=i-1 is the frequency energy of frequency f1 in the combined frequency at the i-1th moment; Threshold(f1) is the energy threshold of f1 in the combined frequency. W(f2)| t=i is the frequency energy of frequency f2 in the combined frequency at the i-th moment; W(f2)| t=i-1 It is the frequency energy of frequency f2 in the combined frequency at the i-1th moment; Threshold(f2) is the energy threshold of f2 in the combined frequency.

[0204] In the embodiment of the present disclosure, the frequencies at the i-th moment and the i-1-th moment meet the above-mentioned start time judgment condition, and the frequencies corresponding to the i-th moment can be determined to be the frequencies of the first frequency combination, that is, the i-th moment is determined to be the start time of the start bit in the target data. In this way, the target data of other bits can be received according to the time sequence based on the start time of the start bit.

[0205] Furthermore, in the disclosed embodiment, the energy threshold of the frequency point corresponding to each frequency can be dynamically determined by the judgment condition at the start time, rather than using a preset energy threshold, so as to better adapt to various complex environments.

[0206] In some embodiments, determining at least one frequency combination including each frequency from the ultrasonic wave comprises:

[0207] Based on the ultrasonic wave, obtaining the frequency energy of each frequency point;

[0208] If the number of frequency points whose frequency point energy of each frequency point acquired based on the ultrasound is greater than the energy threshold corresponding to each frequency point exceeds a predetermined value, it is determined that each frequency obtained from the ultrasound is each frequency of the frequency combination.

[0209] In practical applications, the decoding device can obtain a frequency combination from the ultrasonic wave in sequence according to the time delay order, and the frequency combination includes at least two different frequencies. After the decoding device obtains the ultrasonic wave, each frequency can be obtained from the ultrasonic wave; and the frequency point energy of each frequency is determined based on the calculation module. In this way, the decoding device determines whether each frequency can become each frequency of the frequency combination by determining whether the frequency point energy of each frequency obtained from the ultrasonic wave is greater than the energy threshold corresponding to each frequency point.

[0210] It is understandable that the frequencies obtained from the ultrasonic wave can be any at least two frequencies, or can be at least two random frequencies. In the embodiment of the present disclosure, after receiving the ultrasonic wave through the encoder, at least two frequencies are extracted from the ultrasonic wave, and it is determined whether the at least two frequencies can form a frequency combination. The determination of whether the at least two frequencies can form a frequency combination can be determined by the frequency point energy of the at least two frequencies. For example, Fig.10 As shown, an ultrasonic treatment method is provided, the method comprising the following steps:

[0211] Step S2201: Calculate the energy thresholds of the frequency points corresponding to M frequencies;

[0212] In an optional embodiment, if the M frequencies are f0, f1, f2, f3 and f4, according to the energy calculation formula of the frequency points corresponding to the above frequencies, Threshold(x)=k'×(W max (x)| t=i +W min (x)| t=i ), the decoding device calculates that the energy thresholds of the frequency points corresponding to the M frequencies are Threshold(f0), Threshold(f1), Threshold(f2), Threshold(f3) and Threshold(f4) respectively.

[0213] Step S2202: Calculate the frequency energy of each data bit corresponding to each frequency of the ultrasonic wave;

[0214] In an optional embodiment, the decoding device calculates the frequency energy W of the ultrasonic wave corresponding to each data bit according to the ultrasonic wave corresponding to each data bit. mean (x)| t=i =Average{W(x)}| t=i-k,...,i ; Among them, W mean (x)| t=i It represents the mean value of the frequency energy of each frequency point x at time i, where x is the frequency point corresponding to each frequency in the frequency combination after FFT.

[0215] Here, one data bit corresponds to one frequency combination. For example, if the data bit is 0, the frequencies corresponding to the frequency combination are (f0-f1-f2).

[0216] In practical applications, the ultrasonic wave corresponding to one data bit here may be an ultrasonic wave within a preset time length, wherein the preset time length includes k frames of ultrasonic waves, wherein k is an integer greater than 1, for example, k is 10.

[0217] Step S2203: Obtain the number of frequencies whose frequency energy is greater than the energy threshold;

[0218] In an optional embodiment, if the decoding device determines the frequency point energy W mean (x)| t=i If the frequency is greater than the energy threshold Threshold(x) of the frequency point corresponding to the frequency, the number of frequencies whose energy of the frequency point is greater than the energy threshold is obtained;

[0219] Step S2204: Determine whether the number of frequencies is equal to N; if so, execute step S2205; if not, execute step S2201;

[0220] In an optional embodiment, the decoding device determines whether the number of frequencies whose frequency point energies are greater than the energy threshold is equal to N; if so, execute step S2205; if not, execute step S2201.

[0221] Here, N is less than or equal to M. For example, N is 3.

[0222] Step S2205: Determine whether the number of frequency points whose frequency point energy of each frequency among the N frequencies is greater than the energy threshold is greater than a predetermined value; if so, execute step S2206; if not, execute step S2201;

[0223] In an optional embodiment, the decoding device determines whether the number of frequency points whose frequency point energy of each frequency among the N frequencies is greater than an energy threshold is greater than a predetermined value; if so, execute step S2206; if not, execute step S2201.

[0224] The predetermined value here may be a value equal to or greater than 3.

[0225] Step S2206: Determine that N frequencies are frequencies of the frequency combination;

[0226] In an optional embodiment, the decoding device determines that N frequencies are each frequency of the frequency combination

[0227] For example, the decoding device continuously receives ultrasonic waves, and within a predetermined period of time, detects that the number of frequency points whose energy of frequency point corresponding to frequency f0 in the ultrasonic wave is greater than the energy threshold of the frequency point corresponding to f0 is greater than 5, and at the same time detects that the number of frequency points whose energy of frequency point corresponding to frequency f1 in the ultrasonic wave is greater than the energy threshold of the frequency point corresponding to f1 is greater than 5, and at the same time detects that the number of frequency points whose energy of frequency point corresponding to frequency f2 in the ultrasonic wave is greater than the energy threshold of the frequency point corresponding to f2 is greater than 5, and determines that f0, f1 and f2 are the frequencies in the frequency combination.

[0228] Step S2207: Determine target data based on each frequency in the frequency combination.

[0229] In an optional embodiment, the decoding device determines the target data based on each frequency in the frequency combination.

[0230] For example, if f0, f1, and f2 are determined to be the frequencies in the frequency combination, based on (f0-f1-f2) and the corresponding relationship between the frequency combination and the target data, the target data is determined to be 2.

[0231] In the embodiment of the present disclosure, each frequency of each frequency combination can be determined based on the fact that the number of frequency points whose frequency point energy in the ultrasonic wave is greater than the energy threshold of the frequency point of each frequency is greater than a predetermined value; in this way, the accuracy of the received decoded data can be improved, and the success rate and precision of the decoding of the target data can be improved.

[0232] Furthermore, in the disclosed embodiment, decoding a target data or data bit based on at least two frequencies can reduce the bit error rate to a certain extent compared to decoding a target data or data bit based on a single frequency, thereby increasing the probability of acquiring the correct target data.

[0233] Furthermore, in the embodiment of the present disclosure, since the number of frequencies included in the frequency combination corresponding to a target data or data bit is fixed within each preset time length, only a fixed number of frequencies need to be calculated for each frequency combination. In this way, the difficulty of energy threshold determination can be greatly reduced, thereby simplifying the calculation process of obtaining each frequency in each frequency combination.

[0234] In some embodiments, the method further includes at least one of:

[0235] Based on the target data, determine to launch a specific application;

[0236] Based on the target data, triggering display of a specific interface of a specific application;

[0237] triggering a payment operation of a specific application based on the target data;

[0238] Based on the target data, sending specific information;

[0239] Based on the target data, a connection with an encoding device is established.

[0240] Of course, in other embodiments, if the target data is a WIFI password, the WIFI can be connected according to the target data; or, if the target data is a door lock password, the unlocking operation can be performed according to the target data; and so on.

[0241] In the disclosed embodiment, the decoding device can receive ultrasonic waves and decode the target data, so as to complete various corresponding functions according to the instructions of the target data; for example, it can be to wake up the payment interface, make a payment, or establish a connection, etc. In this way, the user does not need to operate manually, and the decoding device can automatically operate based on the received ultrasonic waves, thereby simplifying the user and saving operation time, thereby improving the user experience.

[0242] In one embodiment, the method further comprises:

[0243] After identifying the nth target data from the ultrasonic wave, a successful decoding instruction for successfully decoding the nth data is sent to the encoding device or the cloud server; wherein the successful decoding instruction is used to trigger the encoding device to send the ultrasonic wave corresponding to the n+1th target data; wherein n is an integer greater than 0.

[0244] In the disclosed embodiment, after a target data is successfully decoded, a successful decoding instruction can be sent to the encoding device or the cloud server, so that the decoding device continues to send ultrasonic waves of the next target data, thereby further improving the decoding success rate of each target data.

[0245] The following provides specific examples in combination with any of the above embodiments:

[0246] Example 1

[0247] Fig.11 Disclosed is a coding and decoding processing device, which includes a coding device 31 and a decoding device 32; wherein the coding device includes: an encoder 311, a first wake-up module 312, a digital-to-analog converter 313 and a sound wave transmitter 314; the decoding device includes: a decoder 321, a second wake-up module 322, an analog-to-digital wake-up device 323 and a sound wave receiver 324.

[0248] The present disclosure also provides a coding and decoding processing method, the method comprising the following steps:

[0249] Step 1: The encoder 311 is used to convert the target data to be transmitted into a frequency combination corresponding to the target data based on the correspondence between the data with transmission requirements and the frequency combination; wherein one of the frequency combinations contains at least different frequencies for the next year;

[0250] Step 2: A first wake-up module 312 is used to add a wake-up frequency to the frequency combination to generate an ultrasonic wave carrying a wake-up signal; wherein the wake-up signal is generated based on the wake-up frequency, and the wake-up frequency is different from each frequency in the frequency combination;

[0251] Step 3: A digital-to-analog converter 313 is used to convert the ultrasonic wave of the digital signal into the ultrasonic wave of the analog signal;

[0252] Step 4: an acoustic wave transmitter 314, for transmitting and converting ultrasonic waves into analog signals;

[0253] Step 5: The sound wave receiver 324 is used to receive the ultrasonic wave of the analog signal;

[0254] Step 6: an analog-to-digital converter 323 is used to convert the ultrasonic wave of the analog signal into the ultrasonic wave of the digital signal;

[0255] Step 7: The second wake-up module 322 is used to determine whether there is a wake-up signal in the ultrasonic wave; if so, a wake-up instruction is sent to the wake-up analog-to-digital converter; after receiving the wake-up instruction, the wake-up analog-to-digital converter converts the ultrasonic wave of the analog signal into an ultrasonic wave of a digital signal based on the wake-up instruction using a sampling rate greater than a preset sampling rate, and sends the ultrasonic wave of the digital signal to the decoder.

[0256] In an optional embodiment, the second wake-up module also sends a wake-up instruction to the decoder; the decoder starts a working mode based on the wake-up instruction, and the decoder performs decoding based on the ultrasonic wave of the digital signal in the working mode.

[0257] Step 8: The decoder 321 is used to decode the ultrasonic wave of the digital signal based on the corresponding relationship to obtain the target data.

[0258] In an optional embodiment, the signal flow from the first step to the fourth step can be as follows: Fig.12 As shown: based on the target data, a frequency combination is generated; based on the frequency combination, an ultrasonic wave is generated; based on the ultrasonic wave and the wake-up signal, a combined signal is generated, wherein the combined signal is an ultrasonic wave carrying the wake-up signal.

[0259] In an optional embodiment, the decoding device determines to decode the ultrasonic wave, including: Fig.13 The determination of the first frequency combination target data in the ultrasonic wave as shown, and Fig.14 Shown is the determination of target data in each frequency combination in ultrasound.

[0260] like Fig.13 As shown, determining the target data of the first frequency combination includes the following steps: receiving k frames of ultrasound at the start position, wherein k is an integer greater than 1; dividing each frame of ultrasound into frames and adding windows; converting each frame of ultrasound from a time domain signal to a time domain signal; calculating the energy threshold of the frequency point corresponding to each frequency; determining each frequency in the first frequency combination based on the judgment condition at the start time; and determining the first target data based on each frequency in the first frequency combination.

[0261] like Fig.14 As shown, determining the target data of each frequency combination in the ultrasonic wave includes the following steps: receiving each k frames of ultrasonic wave; converting each frame of ultrasonic wave in each k frames from a time domain signal to a time domain signal; calculating the energy threshold of the frequency point corresponding to each frequency; calculating the number of frequencies in the k frames whose energy is greater than the energy threshold, and determining each frequency as each frequency of the frequency combination based on the number; and determining the target data corresponding to each frequency combination based on each frequency in each frequency combination.

[0262] In the embodiment of the present disclosure, the target data is sent through a multi-frequency combination, which can reduce the bit error rate to a certain extent and has better anti-interference performance compared to sending the target data based on a single frequency.

[0263] Furthermore, the embodiments of the present disclosure can carry a wake-up signal in an ultrasonic wave for transmission. When the decoding device receives the ultrasonic wave, it will wake up the analog-to-digital converter to collect the ultrasonic wave and wake up the decoder at a higher sampling rate if it determines that there is a wake-up signal in the ultrasonic wave. This can make the analog-to-digital converter not need to maintain a relatively high sampling rate working state all the time, and the decoder does not need to be in a working state of decoding the ultrasonic wave all the time, which can greatly reduce the power consumption of the analog-to-digital converter and the decoder in the decoding device.

[0264] Fig.15 An exemplary embodiment is provided to show an ultrasonic processing device, characterized in that it is applied to an encoding device, and the device comprises:

[0265] A first determining module 41 is used to determine a frequency combination corresponding to target data to be transmitted, wherein one frequency combination includes at least two different frequencies;

[0266] The first sending module 42 is used to send ultrasonic waves of each frequency in the frequency combination within a preset time period.

[0267] In some embodiments, the apparatus comprises:

[0268] A selection module 43, used for selecting M frequencies;

[0269] The selection module 43 is further used to select any N frequencies from the M frequencies as a frequency combination; wherein both M and N are integers greater than 1; and M is greater than N;

[0270] A first processing module 44, used to establish a corresponding relationship between the data requiring transmission and the frequency combination;

[0271] The first determination module 41 is used to determine the frequency combination corresponding to the target data according to the corresponding relationship.

[0272] In some embodiments, the first processing module 44 is used to add a wake-up frequency to the ultrasonic wave; wherein the wake-up frequency is used to wake up the decoding device;

[0273] The first sending module 42 is used to send ultrasonic waves of each frequency of the frequency combination carrying the wake-up frequency within the preset time period.

[0274] In some embodiments, the wake-up frequency is lower than each frequency in the frequency combination.

[0275] In some embodiments, if there are two or more target data, the first sending module is used to switch to sending ultrasonic waves of each frequency in the frequency combination corresponding to the n+1th target data through frequency modulation within the n+1th preset time period after transmitting the ultrasonic wave corresponding to the nth target data; wherein n is an integer greater than 0.

[0276] In some embodiments, the first sending module 42 is used to send ultrasonic waves of each frequency in the frequency combination corresponding to the n+1th target data within the n+1th preset time length if there are two or more target data and after transmitting the ultrasonic wave corresponding to the nth target data, a successful decoding instruction based on the ultrasonic wave corresponding to the nth target data is received; wherein n is an integer greater than 0.

[0277] In some embodiments, the first determining module 41 is used to obtain the frequency combination corresponding to two adjacent target data if there are two or more target data;

[0278] The first sending module 42 is used to send ultrasonic waves of two adjacent frequency combinations by frequency modulation based on the frequencies of the same order in the two adjacent frequency combinations.

[0279] In some embodiments, the first sending module 42 is used to splice the frequencies of the same order in two adjacent frequency combinations if the frequencies of the same order in two adjacent frequency combinations are the same; and send ultrasonic waves of each frequency of the two adjacent frequency combinations after the splicing.

[0280] In some embodiments, the first sending module 42 is used to, if the frequencies of the same order in two adjacent frequency combinations are different, shift the frequencies of the same order in the two adjacent frequency combinations to obtain frequency-shifted frequencies; splice the frequency-shifted frequencies between the frequencies of the same order in the two adjacent frequency combinations to obtain the spliced ​​adjacent two frequency combinations;

[0281] The first sending module 42 is further used to send ultrasonic waves of each frequency of two adjacent frequency combinations after splicing.

[0282] In some embodiments, the target data is used for at least one of the following:

[0283] Launch a specific application for the decoding device;

[0284] Triggering the decoding device to display a specific interface of a specific application;

[0285] triggering the decoding device to perform a payment operation based on a specific application;

[0286] Triggering the decoding device to return specific information;

[0287] The decoding device is triggered to establish a connection with the encoding device.

[0288] like Fig.16 An exemplary embodiment is provided to show an ultrasonic processing device, which is applied to a decoding device, and the device includes:

[0289] A second receiving module 51, used for receiving ultrasonic waves;

[0290] A second processing module 52, configured to determine at least one frequency combination including various frequencies from the ultrasonic wave; wherein one frequency combination includes at least two different frequencies;

[0291] The second determination module 53 is used to determine target data based on the frequency combination.

[0292] In some embodiments, the second processing module 52 is configured to determine at least one frequency combination including various frequencies from the ultrasonic wave based on the wake-up frequency if it is determined that the ultrasonic wave carries the wake-up frequency.

[0293] In some embodiments, the apparatus comprises:

[0294] An acquisition module 54 is used to acquire the frequency point energy of each frequency at the i-th moment and the i-1-th moment based on the ultrasound;

[0295] The second processing module 52 is used to determine that the frequencies corresponding to the i-th moment are the frequencies in the first frequency combination if the frequency point energy of the frequencies at the i-th moment and the i-1-th moment meets the start time judgment condition; wherein i is an integer greater than 1.

[0296] In some embodiments, the frequency point energy of each frequency at the i-th moment and the i-1-th moment satisfies the start time judgment condition, including:

[0297] The frequency point energy of each frequency at the i-th moment is greater than the energy threshold of each corresponding frequency point;

[0298] And the frequency point energy of each frequency at the i-1th moment is less than the energy threshold of each corresponding frequency point.

[0299] In some embodiments, the second processing module 52 is used to obtain the frequency point energy of each frequency based on the ultrasound; if the frequency point energy of each frequency obtained based on the ultrasound is greater than the frequency point number corresponding to the energy threshold of each frequency point exceeds a predetermined value, it is determined that the frequencies obtained from the ultrasound are the frequencies of the frequency combination.

[0300] In some embodiments, the method further comprises at least one of:

[0301] Based on the target data, determine to launch a specific application;

[0302] Based on the target data, triggering display of a specific interface of a specific application;

[0303] triggering a payment operation of a specific application based on the target data;

[0304] Based on the target data, sending specific information;

[0305] Based on the target data, a connection with an encoding device is established.

[0306] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0307] An embodiment of the present disclosure further provides an electronic device, characterized in that it includes:

[0308] processor;

[0309] a memory for storing processor-executable instructions;

[0310] Wherein, the processor is configured to: implement the ultrasonic processing method described in any embodiment of the present disclosure when running the executable instructions.

[0311] For example, if the electronic device is a coding device, the coding device includes:

[0312] processor;

[0313] a memory for storing processor-executable instructions;

[0314] Wherein, the processor is configured to: when running the executable instructions, implement the ultrasonic processing method applied to the encoding device in any embodiment of the present disclosure.

[0315] For another example, if the electronic device is a decoding device, the decoding device includes:

[0316] processor;

[0317] a memory for storing processor-executable instructions;

[0318] The processor is configured to: implement the ultrasonic processing method applied to the decoding device in any embodiment of the present disclosure when running the executable instructions.

[0319] The memory may include various types of storage media, which are non-transitory computer storage media that can continue to memorize information stored thereon after the communication device loses power.

[0320] The processor may be connected to the memory through a bus or the like, and is used to read the executable program stored in the memory, for example, to implement the following Figure 3 , 5 , 7, at least one of the methods shown in 9-10.

[0321] The embodiment of the present disclosure further provides a computer-readable storage medium, wherein the computer-readable storage medium stores an executable program, wherein the executable program, when executed by a processor, implements the ultrasonic processing method described in any embodiment of the present disclosure. Figure 3 , 5 , 7, at least one of the methods shown in 9-10.

[0322] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0323] Fig.17 8 is a block diagram of an electronic device 800 according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0324] Reference Fig.17 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0325] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0326] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can 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 (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0327] The power supply component 806 provides power to the various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 800.

[0328] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 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 touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 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 camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0329] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0330] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0331] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0332] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. 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.

[0333] In an exemplary embodiment, the electronic device 800 may be implemented 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 arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0334] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0335] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.

[0336] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. An ultrasonic treatment method, characterized in that: Applied to an encoding device, the method comprises: Determine a frequency combination corresponding to the target data to be transmitted, wherein one of the frequency combinations includes at least two different frequencies; wherein the target data is used for at least one of the following: starting a specific application of a decoding device; triggering the decoding device to display a specific interface of a specific application; triggering the decoding device to perform a payment operation based on a specific application; triggering the decoding device to return specific information; and triggering the decoding device to establish a connection with the encoding device; Within a preset time length, ultrasonic waves of each frequency in the frequency combination are transmitted; wherein, within the preset time length, ultrasonic waves of each frequency in the frequency combination are transmitted, including: within the preset time length, k frames of ultrasonic waves are transmitted, and one frame of ultrasonic waves includes each frequency of the frequency combination; k is an integer greater than 1; wherein, the ultrasonic waves are used for the decoding device to obtain the frequency point energy of each frequency, and based on the frequency point energy of each frequency being greater than the energy threshold number of each frequency point corresponding to each frequency point exceeds a predetermined value, it is determined that each frequency obtained from the ultrasonic wave is each frequency of the frequency combination.

2. The method according to claim 1, characterized in that: The method comprises: Select M frequencies; Select any N frequencies from the M frequencies as a frequency combination; wherein both M and N are integers greater than 1; and M is greater than N; Establishing a corresponding relationship between the data requiring transmission and the frequency combination; The determining of a frequency combination corresponding to target data to be transmitted includes: According to the corresponding relationship, the frequency combination corresponding to the target data is determined.

3. The method according to claim 1, characterized in that The method further comprises: Adding a wake-up frequency to the ultrasonic wave; wherein the wake-up frequency is used to wake up a decoding device; The step of sending ultrasonic waves of each frequency in the frequency combination within a preset time period includes: Within the preset time period, ultrasonic waves of each frequency of the frequency combination carrying the wake-up frequency are sent.

4. The method according to claim 3, characterized in that The wake-up frequency is smaller than each frequency in the frequency combination.

5. The method according to claim 1, characterized in that The step of sending ultrasonic waves of each frequency in the frequency combination within a preset time period includes: If there are two or more target data, after emitting the ultrasonic wave corresponding to the nth target data, within the n+1th preset time period, the frequency modulation method is used to switch to sending ultrasonic waves of each frequency in the frequency combination corresponding to the n+1th target data; wherein n is an integer greater than 0.

6. The method according to claim 1, characterized in that The step of sending ultrasonic waves of each frequency of the frequency combination within a preset time period includes: If there are two or more target data, and after transmitting the ultrasonic wave corresponding to the nth target data, a successful decoding instruction based on the ultrasonic wave corresponding to the nth target data is received, then within the n+1th preset time length, ultrasonic waves of each frequency within the frequency combination corresponding to the n+1th target data are sent; wherein n is an integer greater than 0.

7. The method according to claim 1, characterized in that: The step of sending ultrasonic waves of each frequency of the frequency combination within a preset time period includes: If there are two or more target data, obtain the frequency combination corresponding to two adjacent target data; Based on the frequencies of the same order in two adjacent frequency combinations, ultrasonic waves of two adjacent frequency combinations are sent by frequency modulation.

8. The method according to claim 7, characterized in that The method of sending ultrasonic waves of two adjacent frequency combinations by frequency modulation based on the frequencies of the same order in the two adjacent frequency combinations comprises: If the frequencies of the same order in two adjacent frequency combinations are the same, the frequencies of the same order in the two adjacent frequency combinations are concatenated; Sending ultrasonic waves of each frequency of two adjacent frequency combinations after splicing processing; and / or, If the frequencies of the same order in two adjacent frequency combinations are different, the frequencies of the same order in the two adjacent frequency combinations are frequency-shifted to obtain frequency-shifted frequencies; Splicing the frequency shift frequencies between the frequencies of the same order in two adjacent frequency combinations to obtain two adjacent frequency combinations after splicing; Send ultrasonic waves of each frequency of two adjacent frequency combinations after splicing processing.

9. An ultrasonic treatment method, characterized in that: Applied to a decoding device, the method comprises: Receiving ultrasonic waves; wherein the receiving ultrasonic waves comprises: receiving k frames of ultrasonic waves within a preset time period, wherein one frame of ultrasonic waves comprises each frequency of the frequency combination; wherein k is an integer greater than 1; Determine at least one frequency combination including each frequency from the ultrasonic wave; wherein one of the frequency combinations includes at least two different frequencies; wherein, determining at least one frequency combination including each frequency from the ultrasonic wave comprises: based on the ultrasonic wave, obtaining the frequency point energy of each frequency; if the frequency point energy of each frequency obtained based on the ultrasonic wave is greater than the frequency point number corresponding to the energy threshold of each frequency point by more than a predetermined value, determine that each frequency obtained from the ultrasonic wave is each frequency of the frequency combination; Based on the frequency combination, determining target data; Based on the target data, determine at least one of the following: launching a specific application; triggering display of a specific interface of the specific application; triggering a payment operation of the specific application; sending specific information; and establishing a connection with an encoding device.

10. The method according to claim 9, characterized in that Determining at least one frequency combination including each frequency from the ultrasonic wave comprises: If it is determined that the ultrasonic wave carries a wake-up frequency, at least one frequency combination including each frequency is determined from the ultrasonic wave based on the wake-up frequency.

11. The method according to claim 9, characterized in that The method comprises: Based on the ultrasound, the frequency point energy of each frequency at the i-th moment and the i-1-th moment is obtained; Determining at least one frequency combination including each frequency from the ultrasonic wave comprises: If the frequency point energy of each frequency at the i-th moment and the i-1-th moment meets the start time judgment condition, the frequencies corresponding to the i-th moment are determined to be the frequencies in the first frequency combination; wherein i is an integer greater than 1.

12. The method according to claim 11, characterized in that The frequency point energy of each frequency at the i-th moment and the i-1-th moment meets the start time judgment condition, including: The frequency point energy of each frequency at the i-th moment is greater than the energy threshold of each corresponding frequency point; And the frequency point energy of each frequency at the i-1th moment is less than the energy threshold of each corresponding frequency point.

13. An ultrasonic treatment device, characterized in that: Applied to an encoding device, the device comprises: A first determination module is used to determine a frequency combination corresponding to target data to be transmitted, wherein one frequency combination includes at least two different frequencies; wherein the target data is used for at least one of the following: starting a specific application of a decoding device; triggering the decoding device to display a specific interface of a specific application; triggering the decoding device to perform a payment operation based on a specific application; triggering the decoding device to return specific information; and triggering the decoding device to establish a connection with the encoding device; The first sending module is used to send ultrasonic waves of each frequency in the frequency combination within a preset time length; wherein the first sending module is specifically used to send k frames of ultrasonic waves within the preset time length, and one frame of ultrasonic waves includes each frequency of the frequency combination; wherein k is an integer greater than 1; wherein the ultrasonic wave is used by the decoding device to obtain the frequency point energy of each frequency, and based on the frequency point energy of each frequency being greater than the energy threshold number of each frequency point corresponding to each frequency point exceeding a predetermined value, it is determined that each frequency obtained from the ultrasonic wave is each frequency of the frequency combination.

14. The device according to claim 13, characterized in that The device comprises: A selection module, used for selecting M frequencies; The selection module is further used to select any N frequencies from the M frequencies as a frequency combination; wherein both M and N are integers greater than 1; and M is greater than N; A first processing module, used to establish a corresponding relationship between data with transmission requirements and the frequency combination; The first determining module is used to determine the frequency combination corresponding to the target data according to the corresponding relationship.

15. The device according to claim 13, characterized in that A first processing module, configured to add a wake-up frequency to the ultrasonic wave; wherein the wake-up frequency is used to wake up a decoding device; The first sending module is used to send ultrasonic waves of each frequency of the frequency combination carrying the wake-up frequency within the preset time period.

16. The device according to claim 13, characterized in that The first sending module is used to switch to sending ultrasonic waves of each frequency in the frequency combination corresponding to the n+1th target data through frequency modulation within the n+1th preset time period after transmitting the ultrasonic wave corresponding to the nth target data if there are two or more target data; wherein n is an integer greater than 0.

17. An ultrasonic treatment device, characterized in that: Applied to a decoding device, the device comprises: A second receiving module is used to receive ultrasonic waves; the second receiving module is specifically used to receive k frames of ultrasonic waves within a preset time length, and one frame of ultrasonic waves includes all frequencies of the frequency combination; k is an integer greater than 1; A second processing module is used to determine at least one frequency combination including each frequency from the ultrasonic wave; wherein one frequency combination includes at least two different frequencies; the second processing module is specifically used to obtain the frequency point energy of each frequency based on the ultrasonic wave; if the frequency point energy of each frequency obtained based on the ultrasonic wave is greater than the frequency point number corresponding to the energy threshold of each frequency point by more than a predetermined value, determine that each frequency obtained from the ultrasonic wave is each frequency of the frequency combination; A second determination module, configured to determine target data based on the frequency combination; The second processing module is also used to determine at least one of the following based on the target data: starting a specific application; triggering the display of a specific interface of a specific application; triggering a payment operation of a specific application; sending specific information; and establishing a connection with an encoding device.

18. The device according to claim 17, characterized in that The second processing module is configured to determine at least one frequency combination including various frequencies from the ultrasonic wave based on the wake-up frequency if it is determined that the ultrasonic wave carries the wake-up frequency.

19. The device according to claim 17, characterized in that The device comprises: An acquisition module, used for acquiring the frequency point energy of each frequency at the i-th moment and the i-1-th moment based on the ultrasound; The second processing module is used to determine that the frequencies corresponding to the i-th moment are the frequencies in the first frequency combination if the frequency point energy of each frequency at the i-th moment and the i-1-th moment meets the start time judgment condition; wherein i is an integer greater than 1.

20. The device according to claim 19, characterized in that The frequency point energy of each frequency at the i-th moment and the i-1-th moment meets the start time judgment condition, including: The frequency point energy of each frequency at the i-th moment is greater than the energy threshold of each corresponding frequency point; And the frequency point energy of each frequency at the i-1th moment is less than the energy threshold of each corresponding frequency point.

21. A coding device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: implement the ultrasonic processing method according to any one of claims 1 to 8 when running the executable instructions.

22. A decoding device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: implement the ultrasonic processing method according to any one of claims 9 to 12 when running the executable instructions.

23. A computer-readable storage medium, characterized in that: The readable storage medium stores an executable program, wherein the executable program, when executed by a processor, implements the ultrasonic processing method described in any one of claims 1 to 8 or claims 9 to 12.

Citation Information

Patent Citations

  • Sound wave communication coding and decoding method and device

    CN104243052A

  • Near field acoustic wave communication method

    CN104702344A

  • Information transmission method and device and storage medium

    CN111884728A