Sound wave information processing method and apparatus, device, storage medium, and computer program

By employing analytical window scanning and Reed-Solomon coding in acoustic information transmission, the problems of analytical accuracy and stability in acoustic information transmission are solved, achieving higher signal analytical accuracy and error correction capability at the decoding end.

WO2025241090A1PCT designated stage Publication Date: 2025-11-27JINGCHEN SEMICON SHENZHEN CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/094501
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-05-21
Publication Date
2025-11-27

AI Technical Summary

Technical Problem

Current acoustic information transmission lacks error correction and anti-interference capabilities, resulting in low resolution accuracy and stability.

Method used

At the decoding end, the sinusoidal audio signal is scanned multiple times with the first cycle as the step size through the parsing window to obtain the frequency power to determine the optimal starting point of the parsing window, and then parsing is performed sequentially. At the encoding end, after converting the ASCII string into a data encoding array, each data packet is Reed-Solomon encoded and then converted into a frequency array to finally generate a sinusoidal audio signal.

Benefits of technology

It improves the accuracy of acoustic wave information analysis and error correction capabilities, enhances anti-interference capabilities, and ensures the stability and reliability of signal analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024094501_27112025_PF_FP_ABST
    Figure CN2024094501_27112025_PF_FP_ABST
Patent Text Reader

Abstract

A sound wave information processing method and apparatus, a device, a storage medium, and a computer program. The method comprises: using an analysis window at a decoding end to perform scanning processing multiple times on a sine wave audio signal by taking a first period as a step size, so as to obtain frequency point power of a starting signal in each scanning processing, wherein the frequency point power can reflect the energy of the starting signal in the analysis window, and the greater the energy, the stronger the signal strength of the starting signal. An analysis window having the maximum frequency point power can be obtained, and said analysis window represents that the signal strength of said analysis window is the strongest, which means that the sine wave audio signal acquired by said analysis window is a real and valid signal; and a working signal scanned by said analysis window can be utilized to perform correlation calculation to obtain an optimal analysis window starting point of said analysis window, and the optimal analysis window starting point can be aligned and synchronized with the starting point of the starting signal, thereby improving the analysis accuracy of the decoding end on the sine wave audio signal.
Need to check novelty before this filing date? Find Prior Art

Description

Sound wave information processing method and device, equipment, storage medium and computer program TECHNICAL FIELD

[0001] Embodiments of the present application relate to the field of information processing, and in particular to a sound wave information processing method and device, equipment, storage medium and computer program. BACKGROUND

[0002] A sound is composed of multiple sine waves of different frequencies, and a sound wave uses the frequency domain attribute of the sound as an important basis for transmission. The sending end converts the data to be sent into a sound wave of a specific frequency after encoding, and sends it through a loudspeaker. The receiving end decodes the audio received by the microphone to obtain data, and thus completes a complete sound wave data transmission.

[0003] Currently, sound wave information transmission has no error correction capability and weak anti-interference capability, and only uses amplitude to roughly align data, which easily leads to low accuracy and low stability in analyzing sound wave information. TECHNICAL PROBLEM

[0004] Therefore, the present application provides a sound wave information processing method and device, equipment, storage medium and computer program, which can further improve the accuracy of processing sound wave information. TECHNICAL SOLUTION

[0005] The present application provides a sound wave information processing method, which is used in a decoding end and includes the following steps: obtaining a sine wave audio signal, the sine wave audio signal including a start signal; determining a frequency array corresponding to the sine wave audio signal based on the sine wave audio signal, and the step of determining the frequency array corresponding to the sine wave audio signal based on the sine wave audio signal includes the following steps: performing multiple scanning processes on the sine wave audio signal by taking a first period as a step size for a parsing window, and obtaining the frequency point power of the start signal in each scanning process; obtaining an optimal parsing window starting point based on the frequency point power of the start signal; and sequentially parsing the sine wave audio signal based on the optimal parsing window starting point.

[0006] Correspondingly, the embodiment of the present application also provides a processing method of sound wave information, used for an encoding end, comprising: converting an ASCII string corresponding to sound wave information into a data coding array corresponding to the ASCII string, and the step of converting the ASCII string into the data coding array corresponding to the ASCII string comprises: converting each character in the ASCII string into an ASCII code value corresponding to the character, taking a first value in the ASCII code values as a start signal packet, taking a last value in the ASCII code values as an end signal packet, and taking intermediate values in the ASCII code values as valid information signal packets; dividing the valid information signal packets into one or more data packets; performing Reed-Solomon encoding on the data packets; converting the data coding array into a frequency array corresponding to the data coding array; and converting the frequency array into a sinusoidal audio signal corresponding to the frequency array.

[0007] Correspondingly, the embodiment of the present application provides a processing device of sound wave information, used for decoding, comprising: an obtaining module, configured to obtain a sinusoidal audio signal, the sinusoidal audio signal comprising a start signal; and a determining module, configured to determine a frequency array corresponding to the sinusoidal audio signal based on the sinusoidal audio signal, and the determining module comprising: a scanning unit, configured to perform multiple scanning processes on the sinusoidal audio signal by taking a first period as a step length, and obtain a frequency point power of the start signal in each scanning process; a first obtaining unit, configured to obtain an optimal analysis window starting point based on the frequency point power of the start signal; and an analysis unit, configured to sequentially analyze the sinusoidal audio signal based on the optimal analysis window starting point.

[0008] Correspondingly, the embodiment of the present application also provides a processing device of sound wave information, used for encoding, comprising: a first conversion module, configured to convert an ASCII string corresponding to sound wave information into a data coding array corresponding to the ASCII string, and the first conversion module comprising: a first conversion unit, configured to convert each character in the ASCII string into an ASCII code value corresponding to the character, take a first value in the ASCII code values as a start signal packet, take a last value in the ASCII code values as an end signal packet, and take intermediate values in the ASCII code values as valid information signal packets; a division unit, configured to divide the valid information signal packets into one or more data packets; an encoding unit, configured to perform Reed-Solomon encoding on the data packets; a second conversion module, configured to convert the data coding array into a frequency array corresponding to the data coding array; and a third conversion module, configured to convert the frequency array into a sinusoidal audio signal corresponding to the frequency array.

[0009] Correspondingly, the embodiment of the present application further provides a device comprising at least one memory and at least one processor, the memory storing one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the processing method of the sound wave information provided by the embodiment of the present application.

[0010] Correspondingly, the embodiment of the present application further provides a storage medium storing one or more computer instructions for implementing the processing method of the sound wave information provided by the embodiment of the present application.

[0011] Correspondingly, the embodiment of the present application further provides a computer program product comprising computer instructions for implementing the processing method of the sound wave information provided by the embodiment of the present application when executed by a processor. Advantages

[0012] The embodiment of the present application provides a processing method and device of sound wave information, equipment and storage medium, computer program, at the decoding end, the sinusoidal audio signal is processed multiple times by scanning with the first cycle as the step through the analysis window, the frequency point power of the starting signal in each scanning processing is obtained, the frequency point power can reflect the energy of the starting signal in the analysis window, the greater the energy means the greater the signal strength of the starting signal, that is, by obtaining the frequency point power of multiple scanning processing, the analysis window with the maximum frequency point power can be obtained, the analysis window with the maximum frequency point power represents the strongest signal strength of the analysis window, which means that the sinusoidal audio signal obtained by the analysis window is a real and effective signal, and the working signal scanned by the analysis window with the maximum frequency point power can be used for correlation calculation to obtain the optimal analysis window starting point of the analysis window, so that the starting point of the optimal analysis window can be aligned and synchronized with the starting point of the starting signal, thereby improving the analysis accuracy of the sinusoidal audio signal at the decoding end, at the same time, the sinusoidal audio signal obtained at the decoding end is sent by the encoding end, at the encoding end, Reed-Solomon encoding is performed on each data packet by converting the ASCII string into the corresponding data encoding array, and the Reed-Solomon encoding has the functions of checksum and error correction, thereby improving the error correction capability of the sinusoidal audio signal at the decoding end, and further improving the analysis accuracy of the sinusoidal audio signal at the decoding end. BRIEF DESCRIPTION OF DRAWINGS

[0013] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments of the present application or the prior art description. Obviously, the drawings described below are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creating any creative labor.

[0014] Fig. 1 is a flow chart corresponding to an embodiment of the method for processing acoustic wave information according to the present application;

[0015] Fig. 2 is a flow chart for determining a frequency array corresponding to a sinusoidal wave audio signal according to the present application;

[0016] Fig. 3 is a schematic diagram for determining a frequency array corresponding to a sinusoidal wave audio signal according to the present application;

[0017] Fig. 4 is a flow chart corresponding to another embodiment of the method for processing acoustic wave information according to the present application;

[0018] Fig. 5 is a flow chart for converting an ASCII string into a data encoding array corresponding thereto;

[0019] Figs. 6-7 are functional block diagrams of an embodiment of the processing device for acoustic wave information according to the present application;

[0020] Figs. 8-9 are functional block diagrams of an embodiment of the processing device for acoustic wave information according to the present application;

[0021] Fig. 10 is a schematic diagram of an optional hardware structure of a terminal device according to an embodiment of the present application. Embodiments of the present application

[0022] As known from the prior art, at present, acoustic wave information transmission has no error correction capability and weak anti-interference capability, and only uses amplitude to roughly align data, which easily leads to low accuracy and low stability in acoustic wave information analysis.

[0023] To solve the technical problem, an embodiment of the present application provides a method for processing acoustic wave information, which is used in a decoding end and includes the following steps: obtaining a sinusoidal wave audio signal, the sinusoidal wave audio signal including a start signal; determining a frequency array corresponding to the sinusoidal wave audio signal based on the sinusoidal wave audio signal, and the step of determining the frequency array corresponding to the sinusoidal wave audio signal based on the sinusoidal wave audio signal includes the following steps: performing multiple scanning processes on the sinusoidal wave audio signal with a first period as a step length for a parsing window, and obtaining a frequency point power of the start signal in each scanning process; obtaining an optimal parsing window starting point based on the frequency point power of the start signal; and performing sequential parsing on the sinusoidal wave audio signal based on the optimal parsing window starting point.

[0024] To solve the technical problem, the embodiment of the present application provides a processing method of sound wave information, which is used at an encoding end and comprises the following steps: converting an ASCII string corresponding to the sound wave information into a data coding array corresponding to the ASCII string; converting the data coding array into a frequency array corresponding to the data coding array, and the step of converting the ASCII string into the data coding array comprises the following steps: converting each character in the ASCII string into an ASCII code value corresponding to the character, taking a first value in the ASCII code values as a start signal package, taking a last value in the ASCII code values as an end signal package, and taking intermediate values in the ASCII code values as valid information signal packages; dividing the valid information signal packages into one or more data packages; performing Reed-Solomon encoding on the data packages; and converting the frequency array into a sinusoidal wave audio signal corresponding to the frequency array.

[0025] The embodiment of the present application provides a processing method of sound wave information, which is used at a decoding end and comprises the following steps: performing multiple scanning processes on the sinusoidal wave audio signal by taking a first period as a step length through an analysis window, obtaining a frequency point power of a start signal in each scanning process, the frequency point power can reflect an energy of the start signal in the analysis window, and the greater the energy is, the greater the signal strength of the start signal is, that is, by obtaining the frequency point power of the multiple scanning processes, the analysis window with the maximum frequency point power can be obtained, the analysis window with the maximum frequency point power represents that the signal strength of the analysis window is the strongest, which means that the sinusoidal wave audio signal obtained by the analysis window is a real and valid signal, accordingly, a working signal scanned by the analysis window with the maximum frequency point power can be used for correlation calculation to obtain an optimal analysis window start point of the analysis window, so that the optimal analysis window start point can be aligned with and synchronized with the start signal, thereby improving the analysis accuracy of the sinusoidal wave audio signal at the decoding end, and meanwhile, the sinusoidal wave audio signal obtained by the decoding end is sent by the encoding end, in the encoding end, Reed-Solomon encoding is performed on each data package when the ASCII string is converted into the data coding array, the Reed-Solomon encoding has the functions of check sum and error correction, thereby improving the error correction capability of the sinusoidal wave audio signal at the decoding end, and further improving the analysis accuracy of the sinusoidal wave audio signal at the decoding end.

[0026] In order to make the above object, characteristics and advantages of the present application more obvious and easy to understand, the specific embodiments of the present application will be described in detail below with reference to Figs. 1 to 3.

[0027] Fig. 1 is a flow chart of an embodiment of the processing method of sound wave information of the present application.

[0028] Referring to FIG. 1, a step S1 is performed to obtain a sinusoidal audio signal, the sinusoidal audio signal comprising a start signal.

[0029] Specifically, the decoding end has an audio receiving device to collect audio signals in real time.

[0030] As an example, the sinusoidal audio signal is an audio signal obtained by the decoding end from an audio signal sent by the encoding end.

[0031] It should be noted that the sinusoidal audio signal is a periodic signal with a single frequency component, which helps the decoding end to identify and extract effective signals in a noisy environment. At the same time, the frequency domain analysis of the sinusoidal audio signal is simple, which facilitates subsequent processing using Fast Fourier Transform (FFT).

[0032] It should also be noted that the start signal marks the beginning of the audio signal data transmission period, thereby triggering the decoding end to analyze and process the sinusoidal audio signal. At the same time, the start signal also provides a clear analysis starting point for the decoding end, which can align the starting point of the analysis window with the starting point of the start signal in the subsequent process of determining the frequency array corresponding to the sinusoidal audio signal, thereby improving the analysis accuracy of the decoding end for the sinusoidal audio signal.

[0033] As an example, the sinusoidal audio signal is a time-domain signal.

[0034] Specifically, the sinusoidal audio signal is a time-domain signal, which can be represented and analyzed with time as the independent variable. In the time domain, each point of the sinusoidal audio signal corresponds to a specific time point, which can intuitively represent the change of the audio signal over time.

[0035] In this embodiment, the sinusoidal audio signal includes an end signal and one or more data signals distributed between the start signal and the end signal. The start signal, data signal and end signal all have a second period as the length of the amplitude from left to right.

[0036] It should be noted that the end signal is the position where the decoding end stops analyzing the sinusoidal audio signal, and the data signal is a signal in the sinusoidal audio signal that can provide effective information. The decoding end can accurately obtain the effective information in the sinusoidal audio signal by analyzing the data signal.

[0037] It should also be noted that the start signal, data signal and end signal all have a second period as the length of the amplitude from left to right, so that the sinusoidal audio signal can periodically change in amplitude. Accordingly, during the subsequent scanning process for analysis, it is not necessary to adjust the period of the analysis window every time, which improves the rate of the decoding end in analyzing the sinusoidal audio signal.

[0038] As an example, the second period is taken as 100 ms in FIG. 3.

[0039] Referring to FIG. 3, step S2 is performed to determine a frequency array corresponding to the sinusoidal audio signal based on the sinusoidal audio signal, and the step of determining the frequency array corresponding to the sinusoidal audio signal based on the sinusoidal audio signal includes: performing multiple scanning processes on the sinusoidal audio signal by parsing a window with the first period as a step, and obtaining a frequency point power of the start signal in each scanning process; obtaining an optimal parsing window starting point based on the frequency point power of the start signal; and sequentially parsing the sinusoidal audio signal based on the optimal parsing window starting point.

[0040] It should be noted that, at the decoding end, the frequency point power of the start signal in each scanning process is obtained by performing multiple scanning processes on the sinusoidal audio signal by parsing a window with the first period as a step. The frequency point power can reflect the energy of the start signal in the parsing window. The greater the energy, the greater the signal strength of the start signal. That is, by obtaining the frequency point power of the multiple scanning processes, the parsing window with the maximum frequency point power can be obtained. The parsing window with the maximum frequency point power represents the strongest signal strength of the parsing window, which means that the sinusoidal audio signal obtained by the parsing window is a real and effective signal. Accordingly, the working signal scanned by the parsing window with the maximum frequency point power can be used for correlation calculation to obtain the optimal parsing window starting point of the parsing window, so that the starting point of the optimal parsing window can be aligned and synchronized with the starting point of the start signal, thereby improving the parsing accuracy of the sinusoidal audio signal at the decoding end.

[0041] The step of determining the frequency array corresponding to the sinusoidal audio signal based on the sinusoidal audio signal is described in detail.

[0042] FIG. 2 shows a flowchart of determining the frequency array corresponding to the sinusoidal audio signal based on the sinusoidal audio signal.

[0043] Referring to FIG. 2, step S21 is performed to determine whether to enter a parsing state for the sinusoidal audio signal.

[0044] It should be noted that determining whether to enter a parsing state for the sinusoidal audio signal helps to ensure the integrity and accuracy of the sinusoidal audio signal parsing, and reduces the probability of incorrect parsing.

[0045] As an example, the step of determining whether the sinusoidal audio signal enters the resolving state comprises: obtaining a starting frequency point power, an average power spectrum and a minimum power of the sinusoidal audio signal; when the starting frequency point power is greater than or equal to the average power spectrum and the starting frequency point power is greater than the minimum power, the sinusoidal audio signal enters the resolving state; when the starting frequency point power is less than the average power spectrum and the starting frequency point power is less than or equal to the minimum power, the sinusoidal audio signal does not enter the resolving state.

[0046] Specifically, the starting frequency point power being greater than or equal to the average power spectrum and the starting frequency point power being greater than the minimum power means that the signal strength of the sinusoidal audio signal is sufficient and the environmental noise level is low, so that the decoding end can enter the resolving state.

[0047] Specifically, the starting frequency point power being less than the average power spectrum and the starting frequency point power being less than or equal to the minimum power means that the signal strength of the sinusoidal audio signal is insufficient or the environmental noise level is high, so that the decoding end does not enter the resolving state.

[0048] Referring to FIG. 2, a step S22 is performed: the sinusoidal audio signal is transformed from a time domain signal to a frequency domain signal by using a fast Fourier transform (FFT).

[0049] It should be noted that the sinusoidal audio signal is transformed from a time domain signal to a frequency domain signal by using a fast Fourier transform, which can reveal the frequency components of the audio signal and is beneficial to subsequent scanning processing of the audio signal to obtain the frequency point power of the starting signal in each scanning processing.

[0050] It should be further noted that transforming the sinusoidal audio signal from a time domain signal to a frequency domain signal by using a fast Fourier transform is a common signal processing method.

[0051] Referring to FIG. 2, a step S23 is performed: the sinusoidal audio signal is scanned multiple times by a resolving window with a first period as a step size, and the frequency point power of the starting signal in each scanning processing is obtained.

[0052] It should be noted that by acquiring the frequency point power of the start signal in each scanning processing, the frequency point power can reflect the energy of the start signal in the analysis window, and the greater the energy means the greater the signal strength of the start signal, that is, by acquiring the frequency point power of multiple scanning processing, the analysis window with the maximum frequency point power can be obtained, and the analysis window with the maximum frequency point power represents the strongest signal strength in the analysis window, which means that the sinusoidal audio signal obtained in the analysis window is a real and effective signal, and accordingly, the working signal scanned by the analysis window with the maximum frequency point power can be used for correlation calculation to obtain the optimal analysis window start point of the analysis window, so that the start point of the optimal analysis window can be aligned and synchronized with the start point of the start signal, thereby improving the analysis accuracy of the sinusoidal audio signal at the decoding end.

[0053] Specifically, the analysis window can analyze the signal within a limited time when analyzing the frequency domain signal, thereby improving the frequency resolution of the frequency domain signal and improving the accuracy of audio signal analysis.

[0054] As an example, the step of the analysis window performing multiple scanning processing on the sinusoidal audio signal with the first period as a step includes that the analysis window performs multiple scanning on the start signal from left to right with the first period as a step, and the second period is an integer multiple of the first period, and the integer multiple is at least greater than 2 times.

[0055] It should be noted that the start signal performs amplitude from left to right, and therefore, the analysis window performs multiple scanning on the start signal from left to right, so that the analysis window can sequentially analyze the sinusoidal audio signal, thereby improving the accuracy of audio signal analysis.

[0056] It should be further noted that the second period is an integer multiple of the first period, and the integer multiple is at least greater than 2 times, so that the start signal can be analyzed by the analysis window multiple times within the first period, which is beneficial to subsequently acquiring the frequency point power of the start signal in each scanning processing, and the frequency point power can reflect the energy of the start signal in the analysis window.

[0057] As an example, the first period is taken as an example of 20ms in FIG. 3.

[0058] Referring to FIG. 2, step S24 is performed: based on the frequency point power of the start signal, an optimal analysis window start point is acquired.

[0059] Specifically, the frequency point power can reflect the energy of the start signal in the analysis window, and the greater the energy means the greater the signal strength of the start signal, that is, by obtaining the frequency point power of multiple scanning processes, the analysis window with the maximum frequency point power can be obtained, and the analysis window with the maximum frequency point power represents the strongest signal strength in the analysis window, which means that the sinusoidal audio signal obtained in the analysis window is a real and effective signal. Correspondingly, the working signal scanned by the analysis window with the maximum frequency point power can be used for correlation calculation to obtain the optimal analysis window start point of the analysis window, so that the start point of the optimal analysis window can be aligned and synchronized with the start point of the start signal, thereby improving the analysis accuracy of the sinusoidal audio signal at the decoding end.

[0060] As an example, based on the frequency point power of the start signal, the step of obtaining the optimal analysis window start point comprises: comparing the obtained multiple frequency point powers in value; taking the analysis window corresponding to the frequency point power with the maximum value as an ideal analysis window; performing cross-correlation calculation on the start signal scanned by the ideal analysis window and the start signal obtained from the encoding end to obtain a correlation function; based on the correlation function, obtaining a maximum correlation peak value and a time delay corresponding to the maximum correlation peak value; moving the start point of the ideal analysis window on the time axis corresponding to the first period, and the time delay of the moved ideal analysis window start point is equal to the time delay, and the moved ideal analysis window start point is taken as the optimal analysis window start point.

[0061] Specifically, the frequency point power can reflect the energy of the start signal in the analysis window, and the greater the energy means the greater the signal strength of the start signal, and the analysis window corresponding to the frequency point power with the maximum value is taken as the ideal analysis window, which means that the ideal analysis window will cover most of the start signal, and the start point of the ideal analysis window is closest to the start point of the start signal on the time axis, which is conducive to subsequent correlation calculation on the start signal in the ideal analysis window.

[0062] It should be noted that the start signal scanned by the ideal analysis window and the start signal obtained from the encoding end are cross-correlated to obtain a correlation function, and based on the correlation function, a maximum correlation peak value and a time delay corresponding to the maximum correlation peak value are obtained.

[0063] Specifically, the maximum correlation peak value and the time delay corresponding to the maximum correlation peak value mean that the start signal scanned by the ideal analysis window is most similar to the start signal obtained from the encoding end at the time delay.

[0064] The start signal scanned by the ideal analysis window means that the decoding end obtains the start signal.

[0065] The start signal obtained from the encoding end refers to the start signal sent by the encoding end.

[0066] It should be noted that by obtaining the maximum correlation peak value and the time delay corresponding to the maximum correlation peak value, the obtained time delay can be used to adjust the time axis of the ideal analysis window scanning, so that the starting point of the ideal analysis window can be synchronized with the starting point of the start signal, thereby improving the analysis accuracy of the decoding end to the sinusoidal audio signal.

[0067] As an example, the start signal of the ideal analysis window scanning is cross-correlated with the start signal obtained from the encoding end to obtain a correlation function Wherein, x(t) is the start signal of the ideal analysis window, y(t) is the start signal obtained from the encoding end, and τ is the time delay.

[0068] Referring to FIG. 2, step S25 is performed: sequentially analyzing the sinusoidal audio signal based on the optimal analysis window starting point.

[0069] Specifically, sequentially analyzing the sinusoidal audio signal can accurately convert the sinusoidal audio signal into a frequency array corresponding thereto, thereby improving the analysis accuracy.

[0070] As an example, the step of sequentially analyzing the sinusoidal audio signal includes sequentially analyzing the data signal from left to right by the optimal analysis window.

[0071] In this embodiment, in the step of sequentially analyzing the sinusoidal audio signal, when the analysis is stopped at the end signal, the analysis window stops analyzing.

[0072] Specifically, the end signal is the stop position of the analysis processing, that is, when the sequential analysis reaches the end signal, the analysis window stops analyzing.

[0073] In this embodiment, during each analysis processing, it also includes filtering the residual wave of the previous data signal.

[0074] It should be noted that the residual wave of the previous time will interfere with the current analysis and affect the decoding of the current audio signal. By filtering the residual wave of the previous data signal, the clarity of the current audio signal analysis can be improved, thereby improving the accuracy of the audio signal analysis and the anti-interference ability of the audio signal transmission.

[0075] As an example, the residual wave of the previous data signal is filtered by setting a digital filter

[0076] Referring to FIG. 1, step S3 is performed: reflecting the frequency array to the data encoding array corresponding thereto.

[0077] Specifically, the frequency array is reflected to the data coding array corresponding thereto, and then the corresponding character of the sine wave audio signal is obtained through the ASCII code table, so as to obtain the effective information in the sound wave signal.

[0078] As an example, the step of reflecting the frequency array to the data coding array corresponding thereto includes: extracting the original time domain signal from the frequency array; and mapping the original time domain signal back to the data coding array corresponding thereto.

[0079] In this embodiment, the process of reflecting the frequency array to the data coding array corresponding thereto further includes: checking the data coding array by using the Reed-Solomon decoding algorithm, for detecting and correcting errors in the signal transmission process.

[0080] It should be noted that the checking of the data coding array by using the Reed-Solomon decoding algorithm can improve the error correction capability of the decoding end to the sine wave audio signal, and further improve the analysis accuracy of the decoding end to the sine wave audio signal.

[0081] Specifically, the error position in the data coding array is identified by using the error positioning step in the Reed-Solomon decoding algorithm, the error value is calculated after identifying the error position, and then the error in the data is corrected by using the error correction step in the Reed-Solomon decoding algorithm.

[0082] Referring to FIG. 1, in step S4, the numbers in the data coding array are converted into corresponding characters according to the ASCII code table; and the converted ASCII characters are spliced to form an ASCII string corresponding to the data coding array.

[0083] It should be noted that the ASCII string can identify the readable text information of the sine wave audio signal.

[0084] Specifically, the data coding array is traversed, and each number is converted into the corresponding ASCII character.

[0085] For example, the number 65 corresponds to the capital letter “A”.

[0086] Referring to FIG. 1, in step S5, the string text information corresponding to the ASCII string is obtained, the string text information includes the connection information of the network configuration; the WIFI module is configured based on the connection information of the network configuration; and the WIFI connection between the decoding end and the encoding end is established.

[0087] Specifically, string text information corresponding to the ASCII string is acquired, the string text information includes network configuration connection information, the WIFI module is configured based on the network configuration connection information, the WIFI connection between the decoding end and the encoding end is established, the decoding end device can be connected to the WIFI network where the encoding end is located based on the network configuration information in the ASCII string, so that the data communication link between the two is established, and the complete transmission process of the sound wave information is realized, and the analysis accuracy of the sinusoidal audio signal is improved.

[0088] As an example, the string text information includes the SSID, password and security protocol of the WIFI network.

[0089] It should be noted that the sinusoidal audio signal acquired by the encoding end is converted into the ASCII string corresponding thereto.

[0090] Specifically, the sinusoidal audio signal acquired by the decoding end is sent by the encoding end.

[0091] Correspondingly, the application also provides a sound wave information processing method. FIG. 4 shows a flow chart corresponding to another embodiment of the sound wave information processing method, and FIG. 5 shows a flow chart of converting an ASCII string into a data coding array corresponding thereto.

[0092] In the embodiment, the sound wave information processing method is used for the encoding end.

[0093] Specifically, the encoding end has an audio sending device, and the audio signal is sent in real time.

[0094] Referring to FIGS. 4 to 5, step s1 is performed, the ASCII string is converted into a data coding array corresponding thereto based on the ASCII string corresponding to the sound wave information, and the step of converting the ASCII string into a data coding array corresponding thereto includes: performing step s11, converting each character in the ASCII string into an ASCII code value corresponding thereto, taking the first value in the ASCII code value as a start signal packet, taking the last value in the ASCII code value as an end signal packet, and taking the intermediate values in the ASCII code value as valid information signal packets; performing step s12, dividing the valid information signal packets into one or more data packets; and performing step s13, Reed-Solomon encoding the data packets.

[0095] It should be noted that the ASCII string is converted into a data coding array corresponding thereto, which is beneficial to subsequent processing of the data coding array and conversion of the data coding array into a frequency array corresponding thereto.

[0096] It should be further noted that the sine wave audio signal obtained by the decoding end is emitted by the encoding end. In the encoding end, Reed-Solomon encoding is performed on each data packet when converting the ASCII string into the data encoding array corresponding thereto, and the Reed-Solomon encoding has the effect of checksum error correction, thereby being capable of improving the error correction capability of the decoding end on the sine wave audio signal, and further improving the analysis accuracy of the decoding end on the sine wave audio signal.

[0097] As an example, before the step of dividing the effective information signal package into one or more data packets, the method further comprises: adding an encoding signal to the start signal package.

[0098] Specifically, adding an encoding signal to the start signal package can help the decoding end correctly identify, process and respond to the data packet, and improve the stability and reliability of the sound wave information processing.

[0099] Referring to FIG. 4, the step s2 is performed to convert the data encoding array into a frequency array corresponding thereto.

[0100] Specifically, converting the data encoding array into a frequency array corresponding thereto is conducive to subsequent transmission by modulating the carrier signal using the frequency array, so that the sine wave audio signal formed subsequently can be normally received by the decoding end.

[0101] As an example, the step of converting the data encoding array into a frequency array corresponding thereto comprises: determining that a modulation tool maps each value in the data encoding array to one or more frequency values; generating a carrier signal according to the one or more frequency values; modulating the carrier signal; and generating a frequency array according to the modulated carrier signal.

[0102] Referring to FIG. 4, the step s3 is performed to convert the frequency array into a sine wave audio signal corresponding thereto.

[0103] Specifically, converting the frequency array into a sine wave audio signal corresponding thereto is conducive to subsequent reception of the sine wave audio signal by the decoding end.

[0104] As an example, in the step of converting the frequency array into a sine wave audio signal corresponding thereto, the sine wave audio signal is a time domain signal.

[0105] Specifically, the inverse Fourier transform (IFT) is used to convert the sine wave audio signal from a frequency domain signal to a time domain signal.

[0106] In this embodiment, after the step of converting the frequency array into a sine wave audio signal corresponding thereto, the method further comprises: performing a product operation on the sine wave audio signal by a window function.

[0107] Specifically, by multiplying the window function with the sinusoidal audio signal, the probability of the occurrence of unwanted frequency components (i.e. side lobes) in the sinusoidal audio signal can be reduced, thereby further improving the resolution and accuracy of the audio signal at the decoding end.

[0108] As an example, the window function comprises one or more of a rectangular window, a Hanning window, a Hamming window, a Blackman window and a Kaiser window.

[0109] Correspondingly, the embodiment of the present application further provides a sound wave information processing device for decoding.

[0110] The sound wave information processing device 200 comprises: an acquisition module 201 configured to acquire a sinusoidal audio signal, the sinusoidal audio signal comprising a start signal; and a determination module 202 configured to determine a frequency array corresponding to the sinusoidal audio signal based on the sinusoidal audio signal, and the determination module 202 comprises: a scanning unit 2021 configured to perform multiple scanning processes on the sinusoidal audio signal by analyzing a window with a first period as a step length, and to acquire a frequency point power of the start signal in each scanning process; a first acquisition unit 2022 configured to acquire an optimal analysis window starting point based on the frequency point power of the start signal; and an analysis unit 2023 configured to sequentially analyze the sinusoidal audio signal based on the optimal analysis window starting point.

[0111] Specifically, the determination module 202 performs multiple scanning processes on the sinusoidal audio signal by analyzing a window with a first period as a step length, and acquires a frequency point power of the start signal in each scanning process. The frequency point power can reflect the energy of the start signal in the analysis window, and the greater the energy means the greater the signal strength of the start signal. That is, by acquiring the frequency point power of the multiple scanning processes, the analysis window with the maximum frequency point power can be obtained, and the analysis window with the maximum frequency point power represents the strongest signal strength of the analysis window, which means that the sinusoidal audio signal acquired by the analysis window is a real and valid signal. Accordingly, the working signal scanned by the analysis window with the maximum frequency point power can be used for correlation calculation to acquire the optimal analysis window starting point of the analysis window, so that the starting point of the optimal analysis window can be aligned and synchronized with the starting point of the start signal, thereby improving the analysis accuracy of the sinusoidal audio signal at the decoding end.

[0112] In this embodiment, the sound wave information processing device further comprises a fourth conversion module 203 configured to reflect the frequency array to a data encoding array corresponding thereto.

[0113] In the embodiment, the processing device of the sound wave information further comprises a fifth conversion module 204 configured to convert the numbers in the data coding array into corresponding characters according to an ASCII code table; and concatenate the converted ASCII characters to form an ASCII string corresponding to the data coding array.

[0114] In the embodiment, the processing device of the sound wave information further comprises a connection module 205 configured to obtain string text information corresponding to the ASCII string, wherein the string text information comprises connection information of network configuration; and perform network configuration on a WIFI module based on the connection information of network configuration; and establish WIFI connection between the decoding end and the encoding end.

[0115] The specific analysis of the processing device of the sound wave information will not be repeated here, and please refer to the content analysis of the foregoing embodiments.

[0116] Correspondingly, the embodiment of the application further provides a processing device of sound wave information for encoding. FIGS. 8 and 9 are a functional block diagram of an embodiment of the processing device of sound wave information.

[0117] The processing device of sound wave information 300 comprises a first conversion module 301 configured to convert an ASCII string corresponding to sound wave information into a data coding array corresponding thereto, wherein the first conversion module 301 comprises a first conversion unit 3011 configured to convert each character in the ASCII string into an ASCII code value corresponding thereto, take a first value in the ASCII code value as a start signal packet, take a last value in the ASCII code value as an end signal packet, and take intermediate values in the ASCII code value as valid information signal packets; a segmentation unit 3012 configured to segment the valid information signal packets into one or more data packets; and an encoding unit 3013 configured to perform Reed-Solomon encoding on the data packets; a second conversion module 302 configured to convert the data coding array into a frequency array corresponding thereto; and a third conversion module 303 configured to convert the frequency array into a sine wave audio signal corresponding thereto.

[0118] Specifically, the sine wave audio signal obtained by the decoding end is emitted by the encoding end. In the encoding end, Reed-Solomon encoding is performed on each data packet when the ASCII string is converted into a data coding array corresponding thereto, and the Reed-Solomon encoding has the function of checksum error correction, thereby improving the error correction capability of the decoding end to the sine wave audio signal, and further improving the analysis accuracy of the decoding end to the sine wave audio signal.

[0119] The specific analysis of the processing device of the acoustic wave information is not repeated again, and please refer to the content analysis of the foregoing embodiments.

[0120] The embodiment of the present application further provides a device which can implement the processing method of the acoustic wave information by loading the processing method of the acoustic wave information in the form of a program. An optional hardware structure of the terminal device provided by the embodiment of the present application can be shown in FIG. 10, and includes at least one processor 01, at least one communication interface 02, at least one memory 03 and at least one communication bus 04.

[0121] In the embodiment, the number of the processor 01, the communication interface 02, the memory 03 and the communication bus 04 is at least one, and the processor 01, the communication interface 02 and the memory 03 complete the communication with each other through the communication bus 04. The communication interface 02 can be the interface of the communication module for network communication, such as the interface of the GSM module. The processor 01 can be a central processing unit CPU, or an application specific integrated circuit ASIC, or one or more integrated circuits configured to implement the embodiment of the present application. The memory 03 can include a high-speed RAM memory, and can also include a non-volatile memory NVM, for example, at least one disk memory. The memory 03 stores one or more computer instructions, and the one or more computer instructions are executed by the processor 01 to implement the processing method of the acoustic wave information provided by the embodiment of the present application.

[0122] It should be noted that the terminal device described above can further include other devices (not shown) which can not be necessary for the disclosure of the embodiment of the present application. Since these other devices can not be necessary for understanding the disclosure of the embodiment of the present application, the embodiment of the present application does not introduce them one by one.

[0123] The embodiment of the present application further provides a storage medium which stores one or more computer instructions, and the one or more computer instructions are used to implement the processing method of the acoustic wave information provided by the embodiment of the present application.

[0124] Embodiments of the present application can be implemented in various forms, for example, hardware, firmware, software, or a combination thereof. In a hardware configuration, the method according to the exemplary embodiments of the present application can 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), processors, controllers, micro-controllers, microprocessors, or the like. In a firmware or software configuration, the embodiments of the present application can be implemented in the form of modules, procedures, functions, or the like. Software code can be stored in a memory unit and executed by a processor. The memory unit is located at the interior or exterior of the processor and can deliver data to and receive data from the processor via various known means.

[0125] The present application also provides a computer program product including computer instructions for implementing the method for processing acoustic wave information according to the embodiments of the present application when executed by a processor.

[0126] Although the present application has been disclosed in the above, the present application is not limited to the disclosure. Any modifications and changes made by those skilled in the art without departing from the spirit and scope of the present application are intended to be within the scope of the present application.

Claims

1. A method for processing acoustic wave information, for a decoding end, characterized in that, The method comprises: obtaining a sinusoidal audio signal, the sinusoidal audio signal comprising a start signal; determining a frequency array corresponding to the sinusoidal audio signal based on the sinusoidal audio signal, and the step of determining the frequency array corresponding to the sinusoidal audio signal based on the sinusoidal audio signal comprises: performing multiple scanning processes on the sinusoidal audio signal by using an analysis window with a first period as a step size, and obtaining the frequency point power of the start signal in each scanning process; obtaining an optimal analysis window starting point based on the frequency point power of the start signal; sequentially analyzing the sinusoidal audio signal based on the optimal analysis window starting point.

2. The method of processing acoustic wave information according to claim 1, wherein Before performing the multiple scanning processes, the step of determining the frequency array corresponding to the sinusoidal audio signal based on the sinusoidal audio signal further comprises: determining whether to enter an analysis state for the sinusoidal audio signal.

3. The method of processing acoustic wave information according to claim 2, wherein, The step of determining whether to enter the analysis state for the sinusoidal audio signal comprises: obtaining a starting frequency point power, an average power spectrum, and a minimum power of the sinusoidal audio signal; when the starting frequency point power is greater than or equal to the average power spectrum, and the starting frequency point power is greater than the minimum power, entering the analysis state for the sinusoidal audio signal; when the starting frequency point power is less than the average power spectrum, and the starting frequency point power is less than or equal to the minimum power, not entering the analysis state for the sinusoidal audio signal.

4. The method of processing acoustic wave information according to Claim 1, wherein In the step of obtaining the sinusoidal audio signal, the sinusoidal audio signal is a time domain signal. Before performing the multiple scanning processes, the step of determining the frequency array corresponding to the sinusoidal audio signal based on the sinusoidal audio signal further comprises: converting the sinusoidal audio signal from a time domain signal to a frequency domain signal by using a fast Fourier transform.

5. The method of processing acoustic wave information according to Claim 1, wherein In the step of obtaining the sinusoidal audio signal, the sinusoidal audio signal comprises an end signal and one or more data signals distributed between the start signal and the end signal, and the start signal, the data signals, and the end signal all have an amplitude from left to right with a second period as a time length; The step of performing multiple scanning processes on the sinusoidal audio signal by using the analysis window with the first period as the step size comprises: performing multiple scanning processes on the start signal from left to right by using the analysis window with the first period as the step size, and the second period is an integer multiple of the first period, and the integer multiple is at least greater than 2 times; In the step of sequentially analyzing the sinusoidal audio signal, when the sequential analysis reaches the end signal, the analysis window stops analyzing.

6. The method of processing acoustic wave information according to Claim 1, wherein The step of obtaining the optimal analysis window starting point based on the frequency point power of the start signal comprises: comparing the obtained multiple frequency point powers in value; the analysis window corresponding to the frequency point power with the maximum value is regarded as an ideal analysis window; performing cross-correlation calculation on the start signal scanned by the ideal analysis window and the start signal obtained from an encoding end to obtain a correlation function, obtaining a maximum correlation peak value and a time delay corresponding to the maximum correlation peak value based on the correlation function; The start point of the ideal analysis window is moved on the time axis corresponding to the first period, and the time metric of the movement is equal to the time delay, and the start point of the moved ideal analysis window is taken as the optimal analysis window start point.

7. The method of processing acoustic wave information according to Claim 1, wherein In the step of obtaining the sinusoidal audio signal, the sinusoidal audio signal includes a start signal, one or more data signals distributed between the start signal and an end signal, and the start signal, the data signal and the end signal all have a second period as the length from left to right in amplitude; The step of sequentially analyzing the sinusoidal audio signal includes: the optimal analysis window sequentially analyzes the data signal from left to right; In each analysis process, it also includes filtering the residual wave of the previous data signal.

8. The method of processing acoustic wave information according to Claim 1, wherein, After determining the frequency array corresponding to the sinusoidal audio signal, the processing method of the sound wave information further includes: reflecting the frequency array to the data encoding array corresponding thereto.

9. The method of processing acoustic wave information according to Claim 8, wherein, In the process of reflecting the frequency array to the data encoding array corresponding thereto, it also includes: checking the data encoding array by Reed-Solomon decoding algorithm, for detecting and correcting errors in the signal transmission process.

10. The method of processing acoustic wave information according to Claim 8, wherein, After reflecting the frequency array to the data encoding array corresponding thereto, the processing method of the sound wave information further includes: converting the numbers in the data encoding array to corresponding characters according to the ASCII code table; and splicing the converted ASCII characters to form an ASCII string corresponding to the data encoding array.

11. The method of processing acoustic wave information according to Claim 10, wherein, After forming the ASCII string, the processing method of the sound wave information further includes: obtaining a string text information corresponding to the ASCII string, and the string text information includes connection information of network configuration; Based on the connection information of network configuration, the WIFI module is configured for network; The WIFI connection between the decoding end and the encoding end is established.

12. A method for processing acoustic wave information, for an encoding end, characterized in that, It includes: Based on the ASCII string corresponding to the sound wave information, the ASCII string is converted to the data encoding array corresponding thereto, and the step of converting the ASCII string to the data encoding array corresponding thereto includes: converting each character in the ASCII string to the ASCII code value corresponding thereto, taking the first value in the ASCII code value as a start signal package, taking the last value in the ASCII code value as an end signal package, and taking the middle value of the ASCII code value as an effective information signal package; the effective information signal package is divided into one or more data packages; and the data package is Reed-Solomon encoded; The data encoding array is converted to the frequency array corresponding thereto; The frequency array is converted to the sinusoidal audio signal corresponding thereto.

13. The method of processing acoustic wave information according to Claim 12, wherein, Before the step of dividing the effective information signal package into one or more data packages, it also includes adding an encoding signal to the start signal package.

14. The method of processing acoustic wave information according to Claim 12, wherein, In the step of converting the frequency array into a sinusoidal wave audio signal corresponding thereto, the sinusoidal wave audio signal is a time domain signal.

15. The method of processing acoustic wave information according to Claim 12, wherein, After converting the frequency array into a sinusoidal wave audio signal corresponding thereto, further comprising: multiplying the sinusoidal wave audio signal by a window function.

16. The method of processing acoustic wave information according to Claim 15, wherein The window function comprises one or more of a rectangular window, a Hanning window, a Hamming window, a Blackman window, and a Kaiser window.

17. An apparatus for processing acoustic wave information for decoding, characterized by comprising: The method comprises: The acquisition module is configured to acquire a sinusoidal wave audio signal, the sinusoidal wave audio signal comprising a start signal; The determination module is configured to determine a frequency array corresponding to the sinusoidal wave audio signal based on the sinusoidal wave audio signal, and the determination module comprises: a scanning unit configured to perform multiple scanning processes on the sinusoidal wave audio signal with a first period as a step size, and to acquire a frequency point power of the start signal in each scanning process; a first acquisition unit configured to acquire an optimal analysis window start point based on the frequency point power of the start signal; and an analysis unit configured to sequentially analyze the sinusoidal wave audio signal based on the optimal analysis window start point.

18. An apparatus for processing acoustic wave information for encoding, characterized by comprising: The method comprises: The first conversion module is configured to convert an ASCII string corresponding to the sound wave information into a data encoding array corresponding thereto based on the ASCII string, and the first conversion module comprises: a first conversion unit configured to convert each character in the ASCII string into an ASCII code value corresponding thereto, to take a first value in the ASCII code values as a start signal package, to take a last value in the ASCII code values as an end signal package, and to take intermediate values in the ASCII code values as valid information signal packages; a segmentation unit configured to segment the valid information signal packages into one or more data packages; and an encoding unit configured to perform Reed-Solomon encoding on the data packages; The second conversion module is configured to convert the data encoding array into a frequency array corresponding thereto. The third conversion module is configured to convert the frequency array into a sinusoidal wave audio signal corresponding thereto.

19. An apparatus, comprising: The apparatus comprises at least one memory and at least one processor, the memory storing one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method for processing sound wave information according to any one of claims 1-11 or 12-16.

20. A storage medium, characterized by The storage medium stores one or more computer instructions, and the one or more computer instructions are used to implement the method for processing sound wave information according to any one of claims 1-11 or 12-16.

21. A computer program product comprising computer instructions, characterized in that, The computer instructions are executed by the processor to implement the method for processing sound wave information according to any one of claims 1-11 or 12-16.

Citation Information

Patent Citations

  • Data transmission method and system based on multi-frequency sound wave

    CN105790852A

  • Information transmission method and mobile terminal

    CN106059681A

  • Sound wave communication method and system based on multi-system chirp-rate keying modulation

    CN106375023A

  • Equipment wireless parameter configuration method based on acoustic wave

    CN108289037A

  • Information processing method and device, electronic equipment and storage medium

    CN115276827A