Cross-device data transmission method, device, system, and medium

By converting data into floating-point audio sample data and transmitting the audio between devices, the problem of low reliability in cross-network partition transmission in the Internet of Things is solved, and efficient and reliable cross-device data transmission is achieved.

WO2026016492A1PCT designated stage Publication Date: 2026-01-22BEIJING JINFENG HUINENG TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/080379
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-07-19
Filing Date
2025-03-04
Publication Date
2026-01-22

AI Technical Summary

Technical Problem

In the Internet of Things (IoT), data transmission between physical devices across network partitions is unreliable, communication is interrupted when network isolation devices fail, and bandwidth is limited, restricting network requests and transmission speed.

Method used

By converting notification information, header information, and business information into floating-point audio sample data, generating target audio using an audio conversion device, and transmitting it between the sending and receiving ends, the receiving end then converts the audio back into floating-point audio sample data to restore the original information, thus achieving cross-device data transmission.

Benefits of technology

It can improve data transmission reliability and performance without the need for network isolation equipment, avoid communication interruptions, and increase transmission bandwidth and request limit.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025080379_22012026_PF_FP_ABST
    Figure CN2025080379_22012026_PF_FP_ABST
Patent Text Reader

Abstract

The present application belongs to the field of data processing, and relates to a cross-device data transmission method, a device, a system, and a medium. The method comprises: according to a conversion rule for floating-point audio data, converting notification information, data header information and collected service information into floating-point audio sample data, one piece of floating-point audio sample data corresponding to an N-bit binary number, N being a positive integer, the notification information being used for a receiving end device to distinguish valid information, and the data header information comprising encoding-related information; using an audio conversion apparatus to obtain target audio on the basis of the converted floating-point audio sample data; and propagating the target audio outwards. On the basis of an embodiment of the present application, it is possible to improve the reliability of data transmission between physical devices.
Need to check novelty before this filing date? Find Prior Art

Description

Data transmission method, device, system and medium across devices

[0001] Cross-reference to Related Applications

[0002] This application claims priority to Chinese Patent Application No. 202410977218.6, filed on July 19, 2024, entitled “Data transmission method, device, system and medium across devices,” the entire contents of which are incorporated herein by reference. TECHNICAL FIELD

[0003] The present application relates to the field of data processing, and in particular to a data transmission method, device, system and medium across devices. BACKGROUND

[0004] The Internet of Things can be a network that enables the interconnection and intercommunication of independently addressable physical objects based on information carriers such as the Internet and a telecommunications network. The deployment of multiple physical devices is involved in the Internet of Things. In various business scenarios such as power, transportation, and finance, network partitions are set up to ensure business safety and stability. Physical devices in the Internet of Things can be distributed in different network partitions, and physical devices in different network partitions need to transmit data across network partitions. In order to realize data transmission of physical devices across network partitions, network isolation devices need to be set up to realize data transmission between physical devices across network partitions through network isolation devices. However, in the process of transmitting data, if the network isolation device fails, all communications through the network isolation device will be interrupted, resulting in low reliability of data transmission between physical devices.

[0005] SUMMARY

[0006] The embodiments of the present application provide a supporting transportation tool, a transportation system, a wind farm, and a wind turbine generator, which can meet the transportation of blades under different working conditions, have good versatility, do not need to repeatedly disassemble and assemble the blades, and can reduce the probability of blade damage.

[0007] In a first aspect, the embodiments of the present application provide a data transmission method across devices, applied to a sending device, the method comprising: converting notification information, data header information, and collected service information into floating-point audio sample data according to a conversion rule of floating-point audio data, one floating-point audio sample data corresponding to N-bit binary number, N being a positive integer, the notification information being used by a receiving device to distinguish valid information, and the data header information including encoding-related information; obtaining target audio based on the converted floating-point audio sample data by using an audio conversion device; and propagating the target audio outward.

[0008] In some possible embodiments, the notification information, the data header information and the collected service information are converted into floating-point audio sample data according to a conversion rule of floating-point audio data, including: according to an arrangement order of binary data of the notification information, binary data of the data header information and binary data of the service information, each N-bit binary number in the binary data is converted into a floating-point audio sample data according to the conversion rule.

[0009] In some possible embodiments, the target audio is obtained based on the converted floating-point audio sample data by using the audio conversion device, including: performing a smoothing processing on the converted floating-point audio sample data to obtain first floating-point audio sample data; shifting a center frequency of the first floating-point audio sample data from an original frequency to a preset audio transmission frequency range to obtain target floating-point audio sample data; and converting the target floating-point audio sample data into the target audio by using the audio conversion device.

[0010] In some possible embodiments, the smoothing processing is performed on the converted floating-point audio sample data to obtain first floating-point audio sample data, including: inserting one or more than one smoothing value between adjacent two floating-point audio sample data according to a gap between the adjacent two floating-point audio sample data to obtain the first floating-point audio sample data; or, inserting one or more than one smoothing value between adjacent two floating-point audio sample data according to a gap between the adjacent two floating-point audio sample data, and performing a polynomial smoothing processing on the floating-point audio sample data after the smoothing value is inserted to obtain the first floating-point audio sample data.

[0011] In some possible embodiments, the target audio is converted from the target floating-point audio sample data by using the audio conversion device, including: grouping a plurality of target floating-point audio sample data to obtain a target data group according to a data processing quantity of the audio conversion device; and converting each target data group by using the audio conversion device to obtain the target audio.

[0012] In some possible embodiments, the encoding related information includes a check sum of the service information, or the encoding related information includes the check sum of the service information and a check sum of the data header information; the floating-point audio sample data is carried in a data frame; and the method further includes: adding redundant information to the data frame by using a forward error correction method.

[0013] In a second aspect, the embodiments of the present application provide a cross-device data transmission method, applied to a receiving end device, the method comprising: receiving target audio; obtaining floating-point audio sample data based on the target audio by using an audio conversion device, one floating-point audio sample data corresponding to N-bit binary data, N being a positive integer; converting the floating-point audio sample data into notification information, data header information and collected service information according to a conversion rule of the floating-point audio data, the notification information being used for the receiving end device to distinguish valid information, and the data header information comprising encoding related information.

[0014] In some possible embodiments, obtaining the floating-point audio sample data based on the target audio by using the audio conversion device comprises: converting the target audio into target floating-point audio sample data by using the audio conversion device; shifting a center frequency of the target floating-point audio sample data to a preset original frequency to obtain first floating-point audio sample data; and performing restoration processing on the first floating-point audio sample data to obtain a plurality of floating-point audio sample data.

[0015] In some possible embodiments, performing the restoration processing on the first floating-point audio sample data to obtain the plurality of floating-point audio sample data comprises: discarding one or more than one flat value inserted between each adjacent two floating-point audio sample data to obtain the plurality of floating-point audio sample data.

[0016] In some possible embodiments, converting the floating-point audio sample data into the notification information, the data header information and the collected service information according to the conversion rule of the floating-point audio data comprises: converting each floating-point audio sample data into N-bit binary data according to the conversion rule; and obtaining the notification information, the data header information and the service information according to an arrangement order of the binary data.

[0017] In some possible embodiments, obtaining the floating-point audio sample data based on the target audio by using the audio conversion device comprises: grouping the target audio according to a data processing quantity of the audio conversion device to obtain a target audio group; and converting each target audio group by using the audio conversion device to obtain a target data group, the target data group comprising corresponding floating-point audio sample data.

[0018] In some possible embodiments, the encoding related information comprises a check sum of the service information, or the encoding related information comprises the check sum of the service information and a check sum of the data header information; and the floating-point audio sample data is borne in a data frame.

[0019] Converting the floating-point audio sample data into the notification information, the data header information and the collected service information according to the conversion rule of the floating-point audio data further comprises: processing redundant information in the data frame by using a forward error correction method to obtain a forward error correction data frame.

[0020] The method further comprises: parsing the data header information, and checking the service information by using the check sum in the data header information, or checking the service information and the data header information by using the check sum in the data header information.

[0021] In a third aspect, a sending end device is provided. The sending end device comprises: a first digital data conversion module, configured to convert notification information, data header information and collected service information into floating-point audio sample data according to a conversion rule of floating-point audio data, one floating-point audio sample data corresponding to N-bit binary number, N being a positive integer, the notification information being used for distinguishing valid information by a receiving end device, and the data header information comprising encoding related information; a first audio conversion module, configured to obtain target audio based on the converted floating-point audio sample data; and a sending module, configured to send the target audio.

[0022] In a fourth aspect, a receiving end device is provided. The receiving end device comprises: a receiving module, configured to receive target audio; a second audio conversion module, configured to obtain floating-point audio sample data based on the target audio by using an audio conversion device, one floating-point audio sample data corresponding to N-bit binary number, N being a positive integer; and a second digital data conversion module, configured to convert the floating-point audio sample data into notification information, data header information and collected service information according to a conversion rule of floating-point audio data, the notification information being used for distinguishing valid information by the receiving end device, and the data header information comprising encoding related information.

[0023] In a fifth aspect, a sending end device is provided. The sending end device comprises: a processor and a memory storing computer program instructions; and the processor implements the cross-device data transmission method of the first aspect when executing the computer program instructions.

[0024] In a sixth aspect, a receiving end device is provided. The receiving end device comprises: a processor and a memory storing computer program instructions; and the processor implements the cross-device data transmission method of the second aspect when executing the computer program instructions.

[0025] In a seventh aspect, a cross-device data transmission system is provided. The cross-device data transmission system comprises: the sending end device of the fifth aspect; and the receiving end device of the sixth aspect.

[0026] In an eighth aspect, a computer readable storage medium is provided. The computer readable storage medium stores computer program instructions, and the computer program instructions are executed by a processor to implement the cross-device data transmission method of the first aspect or the cross-device data transmission method of the second aspect.

[0027] The embodiment of the present application provides a cross-device data transmission method, device, system and medium. A sending end device can convert service information to be sent, communication information used for distinguishing valid information and data header information containing coding related information into standard floating point type audio sample data, convert the floating point type audio sample data into audio, and spread the audio. A receiving end device can receive the audio, convert the audio into floating point type audio sample data, and restore the floating point type audio sample data into notification information, data header information and service information. The sending end device and the receiving end device transmit service information through audio, and do not need to set a network isolation device, so that the reliability of data transmission between physical devices can be improved. BRIEF DESCRIPTION OF DRAWINGS

[0028] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments of the present application will be briefly introduced. Other drawings can be obtained by those skilled in the art without creative labor on the basis of the drawings.

[0029] Fig. 1 is a structural schematic diagram of a cross-device data transmission system provided by an embodiment of the present application;

[0030] Fig. 2 is a structural schematic diagram of a cross-device data transmission system provided by another embodiment of the present application;

[0031] Fig. 3 is a flowchart of a cross-device data transmission method applied to a sending end device and provided by an embodiment of the present application;

[0032] Fig. 4 is a flowchart of a cross-device data transmission method applied to a sending end device and provided by another embodiment of the present application;

[0033] Fig. 5 is a flowchart of a cross-device data transmission method applied to a receiving end device and provided by an embodiment of the present application;

[0034] Fig. 6 is a flowchart of a cross-device data transmission method applied to a receiving end device and provided by another embodiment of the present application;

[0035] Fig. 7 is a structural schematic diagram of a sending end device provided by an embodiment of the present application;

[0036] Fig. 8 is a structural schematic diagram of a receiving end device provided by an embodiment of the present application;

[0037] Fig. 9 is a structural schematic diagram of a sending end device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0038] Features and exemplary embodiments of various aspects of the present application will be described below in detail. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present application. However, it will be apparent to one skilled in the art that the present application can be practiced without some or all of these specific details. The description of the embodiments is merely intended to provide a better understanding of the present application by showing examples of the present application. In the drawings and the following description, well-known structures and techniques are not shown in order to avoid unnecessary obscuring of the present application; and, for clarity, the dimensions of some structures can be exaggerated. Furthermore, features, structures or characteristics described below can be combined in any suitable manner in one or more embodiments.

[0039] The Internet of Things can be a network that enables the interconnection and intercommunication of independently addressable physical objects based on information carriers such as the Internet and a telecommunications network. In the Internet of Things, multiple physical devices can be deployed. In various business scenarios such as power, transportation, and finance, network partitions can be set up to ensure business safety and stability. Physical devices in the Internet of Things can be distributed in different network partitions, and physical devices in different network partitions need to transmit data across network partitions. To achieve data transmission of physical devices across network partitions, network isolation devices need to be set up to achieve data transmission between physical devices across network partitions. In some scenarios where the network transmission link is long, a large number of network isolation devices are set up as intermediate nodes between physical devices across network partitions. In the process of transmitting data, if any network isolation device serving as an intermediate node fails, all communications through the network isolation device will be interrupted, resulting in low reliability of data transmission between physical devices. Moreover, all network requests need to pass through the network isolation device, but the bandwidth of the network isolation device is limited, which also limits the number of network requests and transmission bandwidth.

[0040] The present application provides a cross-device data transmission method, device, system, and medium. The sending device can convert text data and the like that need to be transmitted into standard floating-point audio sample data, and convert the floating-point audio sample data into audio propagation. The receiving device receives the audio, converts the audio into floating-point audio sample data, and then restores the floating-point audio sample data into text data and the like. The data transmission process is audio propagation. In the case where the sending device and the receiving device are physical devices across network partitions, network isolation devices do not need to be set up, and data transmission between the sending device and the receiving device can also be achieved, improving the reliability of data transmission between physical devices. Moreover, since network isolation devices do not need to be set up, the number of network requests and transmission bandwidth will not be limited, and the performance of data transmission can also be improved.

[0041] For the convenience of understanding, the application scenario of the cross-device data transmission method in the embodiments of the present application is described first. FIG. 1 and FIG. 2 are structural schematic diagrams of a cross-device data transmission system provided by an embodiment of the present application, as shown in FIG. 1 and FIG. 2, the cross-device data transmission system can include a sending end device 11 and a receiving end device 12.

[0042] Any device that needs to send data can be regarded as the sending end device 11, and any device that needs to receive data can be regarded as the receiving end device 12. The identity of the same device can be switched when it sends data and receives data, that is, the same device can be both the sending end device 11 and the receiving end device 12. The network partition where the sending end device 11 is located can be different from the network partition where the receiving end device 12 is located, but the cross-device data transmission method, device, system and medium provided by the present application can also be applied to the sending end device 11 and the receiving end device 12 located in the same network partition.

[0043] In order to convert the floating-point audio sample data into audio and convert the audio into floating-point audio sample data, an audio conversion device capable of converting the floating-point audio sample data and the audio is needed, which can include a sound card and other devices capable of realizing the conversion function, which is not limited here. As shown in FIG. 1, a first audio conversion device 111 can be independently arranged in the sending end device 11, and a second audio conversion device 121 can be independently arranged in the receiving end device 12. Alternatively, as shown in FIG. 2, the first audio conversion device 111 can be arranged in the sending end device 11 and the second audio conversion device 121 can be arranged in the receiving end device 12.

[0044] In addition, an audio transmission device for transmitting audio can also be arranged, which can include a loudspeaker and other devices capable of outputting audio, a microphone and other devices capable of inputting audio, and can also include a cable and other devices capable of transmitting audio, which is not limited here. As shown in FIG. 1, a first audio transmission device 112 can be independently arranged in the sending end device 11, and a second audio transmission device 122 can be independently arranged in the receiving end device 12. Alternatively, as shown in FIG. 2, the first audio transmission device 112 can be arranged in the sending end device 11 and the second audio transmission device 122 can be arranged in the receiving end device 12.

[0045] The sending end device 11 can convert data files, data instructions and other data into floating-point audio sample data, convert the floating-point audio sample data into audio through the audio conversion device of the sending end, and output through the audio transmission device of the sending end. The audio transmission device of the receiving end receives the audio, and the receiving end device 12 can control the audio conversion device of the receiving end to cyclically listen to the audio received by the audio transmission device of the receiving end, and convert the audio into floating-point audio sample data, and the receiving end device 12 restores the floating-point audio sample data into data files, data instructions and other data.

[0046] The cross-device data transmission method, device, system and medium provided in the present application are described below.

[0047] The first aspect of the present application provides a cross-device data transmission method applied to a sending device, that is, the cross-device data transmission method can be executed by the sending device. FIG. 3 is a flowchart of the cross-device data transmission method applied to the sending device according to an embodiment of the present application. As shown in FIG. 3, the cross-device data transmission method can include steps S201 to S203.

[0048] In step S201, according to the conversion rule of the floating-point audio data, the notification information, the data header information and the collected service information are converted into floating-point audio sample data.

[0049] The notification information is used by the receiving device to distinguish valid information. The notification information can be regarded as an identification information. When the receiving device identifies the notification information, it can be determined that valid information has been received and subsequent processing is required. The notification information can effectively distinguish valid information and invalid information. In the embodiment of the present application, the notification information, the data header information and the service information all belong to valid data. The data header information is a description part of the valid data and can include encoding related information. The encoding related information can include information related to the encoding of the floating-point audio sample data. The encoding related information can be used for restoring information and checking information, etc. For example, the encoding related information can include checking information of the information and a conventional encoding method of the data, etc. The service information is the main information that needs to be transmitted and can carry various types of service data. For example, the service information can include power data, traffic data, payment data, etc.

[0050] The notification information, the data header information and the service information are all digital information and can be presented as a series of binary numbers. The conversion rule of the floating-point audio data predefines that every N-bit binary number of the notification information, the data header information and the service information is converted into a floating-point audio sample data, that is, one floating-point audio sample data corresponds to N-bit binary number, and N is a positive integer. The floating-point audio sample data is 32-bit floating-point data, and the sampling rate of the floating-point audio sample data can be 44100. The smaller N is, the higher the data conversion accuracy is, and the more accurate the information restored by the subsequent receiving device is, but the slower the data transmission speed is. The larger N is, the lower the data conversion accuracy is, and the less accurate the information restored by the subsequent receiving device is, but the faster the data transmission speed is. The value of N can be pre-set according to specific scenes, requirements, etc., which is not limited herein.

[0051] In some examples, the sending end device can convert each N-bit binary number in the binary data into a floating-point audio sample data according to the conversion rule and the arrangement order of the binary data of the notification information, the binary data of the data header information and the binary data of the service information.

[0052] In the case where the value of N is determined, the floating-point audio sample data converted from different N-bit binary numbers is different, and the floating-point audio sample data converted from different N-bit binary numbers can be pre-set, and the sum of the floating-point audio sample data converted from different N-bit binary numbers can be within a pre-set balance range, which is equivalent to performing a normalization and can reduce the error of data conversion. In some examples, N can be any value from 1 to 8.

[0053] For example, the binary number of the notification information, the data header information and the service information is 001101011001, if N = 1, each bit of the binary number will be converted into a floating-point audio sample data, and a bit can only be 0 or 1, the floating-point audio sample data converted from 0 is different from the floating-point audio sample data converted from 1, and the sum of the floating-point audio sample data converted from 0 and the floating-point audio sample data converted from 1 can be within a pre-set balance range, for example, the sum of the floating-point audio sample data converted from 0 and the floating-point audio sample data converted from 1 is 0, the floating-point audio sample data converted from 0 is -1.0f, and the floating-point audio sample data converted from 1 is 1.0f, where f indicates a floating-point data, the binary number 001101011001 can be converted into 12 floating-point sample data, and the 12 floating-point sample data converted from the binary number 001101011001 of the notification information, the data header information and the service information are -1.0f, -1.0f, 1.0f, 1.0f, -1.0f, 1.0f, -1.0f, 1.0f, 1.0f, -1.0f, -1.0f and 1.0f in sequence.

[0054] For example, the binary number of the notification information, the data header information and the service information is 001101011001, if N=2, each two-bit binary number in the binary number will be converted to obtain a floating-point audio sample data, and the two-bit binary number can only be 00, 01, 10 or 11, the floating-point audio sample data converted from 00, the floating-point audio sample data converted from 01, the floating-point audio sample data converted from 10, and the floating-point audio sample data converted from 11 are different, and the sum of the floating-point audio sample data converted from 00, the floating-point audio sample data converted from 01, the floating-point audio sample data converted from 10, and the floating-point audio sample data converted from 11 can be within a preset balance range, for example, the sum of the floating-point audio sample data converted from 00, the floating-point audio sample data converted from 01, the floating-point audio sample data converted from 10, and the floating-point audio sample data converted from 11 is 0, the floating-point audio sample data converted from 00 is -1.0f, the floating-point audio sample data converted from 01 is -0.5f, the floating-point audio sample data converted from 10 is 0.5f, and the floating-point audio sample data converted from 11 is 1.0f, where f represents a floating-point data, -1.0f is expanded to 32 bits and represented as 10111111100000000000000000000000, -0.5f is expanded to 32 bits and represented as 10111111000000000000000000000000, 0.5f is expanded to 32 bits and represented as 00111111000000000000000000000000, and 1.0f is expanded to 32 bits and represented as 00111111100000000000000000000000, the binary number 001101011001 can be converted to obtain six floating-point sample data, and the six floating-point sample data converted from the binary number 001101011001 of the notification information, the data header information and the service information are -1.0f, 1.0f, -0.5f, -0.5f, 0.5f and -0.5f in sequence. If the value of N is larger, more floating-point audio sample data can be obtained by interpolation within the range of the converted floating-point audio sample data to correspond to different N-bit binary numbers.

[0055] In step S202, the target audio is obtained based on the converted floating-point audio sample data by using the audio conversion device.

[0056] The floating-point audio sample data is digital data, and the floating-point audio sample data needs to be converted into audio by an audio conversion device. The frequency of the target audio can be adjusted according to the scene and requirements. For example, the frequency of the target audio can be adjusted to between 20 Hz and 20 kHz, and at this time, the target audio is audio that can be heard by the human ear. For another example, the frequency of the target audio can be adjusted to more than 20 kHz, so that it becomes an ultrasonic wave, and at this time, the target audio is audio that cannot be heard by the human ear.

[0057] In step S203, the target audio is propagated outward.

[0058] The sending end device can transmit the target audio to the receiving end device through a cable. The sending end device can also transmit the target audio to the receiving end device through an air medium. In the case of using an air medium to propagate the target audio, the target audio can be in the form of an ultrasonic wave to reduce the impact on the environment.

[0059] In the embodiments of the present application, the sending end device can convert the service information to be sent, together with the communication information for distinguishing valid information and the data header information containing the encoding related information, into standard floating-point audio sample data, and convert the floating-point audio sample data into audio, and propagate the audio outward. The receiving end device can receive the audio, convert the audio into floating-point audio sample data, and restore the floating-point audio sample data into notification information, data header information and service information. The sending end device and the receiving end device transmit service information through audio, and do not need to set a network isolation device between the sending end device and the receiving end device, which can improve the reliability of data transmission between physical devices. Moreover, since the network isolation device is not needed to be set, the number of network requests and the transmission bandwidth will not cause limitation, and the performance of data transmission can also be improved.

[0060] In some embodiments, in the process of converting the floating-point audio sample data into target audio, the floating-point audio sample data can be subjected to smoothing processing and frequency conversion processing to reduce the possibility of data loss and further improve the performance of data transmission. FIG. 4 is a flowchart of a data transmission method applied to a sending end device across devices according to another embodiment of the present application. The difference between FIG. 4 and FIG. 3 is that step S202 shown in FIG. 3 can be specifically refined into steps S2021 to S2023 shown in FIG. 4.

[0061] In step S2021, the plurality of floating-point audio sample data converted is subjected to smoothing processing to obtain first floating-point audio sample data.

[0062] The audio conversion device has a processing trend in the conversion process of the floating-point audio sample data and the audio. If the data changes too fast, the audio conversion device is likely to filter out the data that changes too fast. Therefore, in order to reduce the possibility of data loss caused by filtering, the floating-point audio sample data obtained by conversion can be smoothed. The smoothing can limit the change speed of the data, so that the audio conversion device will not filter out the effective data in the conversion process. The first floating-point audio sample data is the floating-point audio sample data after smoothing.

[0063] In some examples, the smoothing can include, but is not limited to, interpolation, polynomial smoothing, etc.

[0064] For example, one or more than one smoothing value can be inserted between the adjacent two floating-point audio sample data according to the gap between the adjacent two floating-point audio sample data obtained by conversion, to obtain the first floating-point audio sample data. Specifically, the smoothing value can be inserted between the adjacent two floating-point audio sample data when the gap between the adjacent two floating-point audio sample data exceeds the smoothing range, i.e., the gap between the adjacent two floating-point audio sample data is large. The smoothing value can be 0, and the number of smoothing values between the adjacent two floating-point audio sample data can be determined according to the size of the gap between the adjacent two floating-point audio sample data. For example, the larger the gap between the adjacent two floating-point audio sample data, the more the number of smoothing values inserted between the two floating-point audio sample data; the smaller the gap between the adjacent two floating-point audio sample data, the less the number of smoothing values inserted between the two floating-point audio sample data, or even no smoothing value can be inserted between the two floating-point audio sample data. The number of smoothing values inserted between the adjacent two floating-point audio sample data can also be set according to the requirements of data reliability and transmission rate. If the data reliability requirement is higher, more smoothing values can be inserted between the adjacent two floating-point audio sample data; if the transmission rate requirement is higher, fewer smoothing values can be inserted between the adjacent two floating-point audio sample data, or even no smoothing value can be inserted.

[0065] For another example, one or more than one smoothing value can be inserted between the adjacent two floating-point audio sample data according to the gap between the adjacent two floating-point audio sample data obtained by conversion, and the floating-point audio sample data after inserting the smoothing value can be subjected to polynomial smoothing to obtain the first floating-point audio sample data. The specific content of the inserted smoothing value can be referred to the related description in the above embodiments, which will not be described here. The polynomial smoothing approximates the original data points by fitting a polynomial, which can reduce the noise of the data. The polynomial smoothing after inserting the smoothing value can further make the data change smaller and improve the reliability of the data.

[0066] In step S2022, the center frequency of the first floating-point audio sample data is shifted from the original frequency to a preset audio transmission frequency range, to obtain target floating-point audio sample data.

[0067] After the smoothing process, the first floating-point audio sample data has a longer length and a longer period, and the frequency is lower. However, the frequency of the target audio obtained by conversion is required to be within the preset audio transmission frequency range. In order to make the frequency of the target audio within the audio transmission frequency range, the center frequency of the first floating-point audio sample data can be shifted to the audio transmission frequency range. The target floating-point audio sample data is the first floating-point audio sample data after the center frequency is shifted. For example, if the original frequency is 0 Hz, and the audio transmission frequency range is 8 kHz to 12 kHz, or the audio transmission frequency range is 18 kHz to 20 kHz, the center frequency of the first floating-point audio sample data can be shifted from 0 Hz to the range of 8 kHz to 12 kHz, or to the range of 18 kHz to 20 kHz.

[0068] In step S2023, the target floating-point audio sample data is converted into target audio by using the audio conversion device.

[0069] The audio conversion device itself has a data processing quantity, which is the number of data that the audio conversion device can process in one batch. The plurality of target floating-point audio sample data can be grouped according to the data processing quantity of the audio conversion device, to obtain a target data group; and each target data group is converted by using the audio conversion device to obtain target audio. Each target data group is the data processed by the audio conversion device in one batch. For example, if the audio conversion device includes a sound card, the number of data that the sound card can process in one batch is any one of 2 raised to the power of M, where M is an integer greater than or equal to 8 and less than or equal to 16. In order to match the data processing quantity of the sound card, every 2 raised to the power of M target floating-point audio sample data can be divided into a target data group for conversion.

[0070] The floating-point type audio sample data in the above embodiments is carried in a data frame, and each data frame is a completely independent data packet. In the embodiments of the present application, the floating-point type audio sample data is transmitted in the form of frames, and a synchronization sequence can be set in the header of each data frame to identify the data frame, thereby facilitating decoding by the receiving end device. In some examples, the encoding related information in the data header information can include a checksum of the service information, and the checksum algorithm for checking the checksum can include, but is not limited to, CRC32, MD5 and the like. The checksum of the service information can be used for integrity checking of the service information by the receiving end device, and the checksum of the service information can be used to determine the data frame with transmission error. In other examples, the encoding related information in the data header information can include a checksum of the service information and a checksum of the data header information. The specific content of the checksum of the service information can be referred to the related description in the above embodiments, which will not be described here. The checksum of the data header information can be used for integrity checking of the data header information by the receiving end device, and the checksum of the data header information can be used to determine the data frame with transmission error. In order to ensure the correctness of the data, the data frame with transmission error determined according to the checksum of the service information and the checksum of the data header information will be discarded. However, in order to avoid the decrease of data reliability caused by discarding too many data frames, the sending end device can add redundant information to the data frame by using a forward error correction method, so that the receiving end device can restore the accurate data according to the redundant information added in the data frame. For example, the forward error correction method used by the sending end device can be to repeat each bit in the data frame three times, and the receiving end device can select the most frequently appearing bit as the reliable data bit when receiving the data frame. For example, if two of the three bits received by the receiving end device are 1 and one is 0, the receiving end device can select 1 as the reliable data bit. For another example, the forward error correction method used by the sending end device can include, but is not limited to, convolution code. The forward error correction method can further improve the reliability of data transmission.

[0071] The second aspect of the present application provides a cross-device data transmission method, which can be applied to a receiving end device, i.e., the cross-device data transmission method is executed by the receiving end device. FIG. 5 is a flowchart of the cross-device data transmission method applied to the receiving end device according to an embodiment of the present application. As shown in FIG. 5, the cross-device data transmission method can include steps S301 to S303.

[0072] In step S301, a target audio is received.

[0073] In step S302, a floating-point type audio sample data is obtained based on the target audio by using an audio conversion device.

[0074] One floating-point type audio sample data corresponds to an N-bit binary number, and N is a positive integer.

[0075] In step S303, the floating-point type audio sample data is converted into the notification information, the data header information and the collected service information according to the conversion rule of the floating-point type audio data.

[0076] The notification information is used by the receiving end device to distinguish valid information. The communication information can include, but is not limited to, an agreement identifier, data timing information and the like. In addition to the target audio, the receiving end device can also receive other invalid audios. The floating-point type data converted from the invalid audios does not include the communication information, the data header information and the service information. The receiving end device can determine where the valid data starts by detecting the agreement identifier. The data timing information can be used to represent the timing of the sending end device sending data. For example, the data timing information can represent how many floating-point type audio sample data are sent by the sending end device. The receiving end device can align the received floating-point type audio sample data according to the data timing information, thereby reversing the deviation problem caused by the channel.

[0077] The receiving end device can analyze and verify the floating-point type audio sample data according to the encoding related information in the data header information. During data transmission, the target audio can be lost. Similarly, the floating-point type audio sample data converted from the target audio can also be lost. The lost data can be restored to the closest standard value. For example, the floating-point type audio sample data converted from the target audio is [0.95, -0.8, 1], which can correspond to the restored data [1, 0, 1]. The data header information includes the encoding related information.

[0078] In some examples, the receiving end device can convert each floating-point type audio sample data into N-bit binary data according to the conversion rule; and obtain the notification information, the data header information and the service information according to the arrangement order of the binary data. The process of converting the floating-point type audio sample data into the notification information, the data header information and the service information is the inverse process of converting the notification information, the data header information and the service information into the floating-point type audio sample data in step S201 of the above embodiment. For details, refer to the related description in the above embodiment, which will not be repeated here.

[0079] In the embodiments of the present application, the sending end device can convert the service information to be sent, together with the communication information used to distinguish valid information and the data header information containing the encoding related information, into standard floating-point type audio sample data, convert the floating-point type audio sample data into audio, and spread the audio. The receiving end device can receive the audio, convert the audio into floating-point type audio sample data, and restore the floating-point type audio sample data into the notification information, the data header information and the service information. The service information is transmitted between the sending end device and the receiving end device through audio, and network isolation devices do not need to be set between the sending end device and the receiving end device, so that the reliability of data transmission between physical devices can be improved. Moreover, since network isolation devices do not need to be set, the number of network requests and the transmission bandwidth will not cause limitation, and the performance of data transmission can also be improved.

[0080] In some embodiments, the target audio is converted from the floating-point type audio sample data after smoothing processing and frequency raising processing, and the receiving end device also needs to perform part of the processing to obtain accurate floating-point type audio sample data. FIG. 6 is a flowchart of a cross-device data transmission method applied to a receiving end device according to another embodiment of the present application. The difference between FIG. 6 and FIG. 5 is that step S302 in FIG. 5 can be specifically refined as steps S3021 to S3023 in FIG. 6.

[0081] In step S3021, the audio conversion device is used to convert the target audio into target floating-point type audio sample data.

[0082] The process of converting the target audio into the target floating-point type audio sample data is the inverse process of the process described in step S2023 in the above embodiment, which will not be repeated here.

[0083] In step S3022, the center frequency of the target floating-point type audio sample data is shifted to a preset original frequency to obtain first floating-point type audio sample data.

[0084] The process of shifting the center frequency of the target floating-point type audio sample data to the original frequency is the inverse process of the process described in step S2022 in the above embodiment, which will not be repeated here.

[0085] In step S3023, the first floating-point type audio sample data is restored to obtain a plurality of floating-point type audio sample data.

[0086] In some examples, the restoration processing can include discarding one or more than one smoothing value inserted between each adjacent two floating-point type audio sample data to obtain a plurality of floating-point type audio sample data. The process of processing the first floating-point type audio sample data into a plurality of floating-point type audio sample data is the inverse process of the process described in step S2021 in the above embodiment, which will not be repeated here.

[0087] In some embodiments, the step S302 can be specifically refined as: grouping the target audio according to the data processing quantity of the audio conversion device to obtain a target audio group; and converting each target audio group by using the audio conversion device to obtain a target data group, the target data group including corresponding floating-point audio sample data. The process can be regarded as an inverse process of the process of obtaining the target data group from the target floating-point audio sample data and obtaining the target audio from the target data group in the above-mentioned embodiments, which will not be described herein again.

[0088] In some embodiments, the floating-point audio sample data is carried in a data frame. The encoding related information includes a checksum of the service information, or the encoding related information includes a checksum of the service information and a checksum of the data header information. The receiving end device can process the redundant information in the data frame by using a forward error correction method to obtain a forward error correction processed data frame. The receiving end device can also parse the data header information, and check the service information by using the checksum in the data header information, or check the service information and the data header information by using the checksum in the data header information.

[0089] It should be noted that the cross-device data transmission method applied to the sending end device in the second aspect embodiment is a method applied to the receiving end device corresponding to the cross-device data transmission method in the first aspect embodiment. All the implementation manners in the first aspect method embodiment are applicable to the second aspect method embodiment and can achieve the same technical effects, which will not be described herein again.

[0090] The third aspect of the present application provides a sending end device applied to a sending end device. FIG. 7 is a structural schematic diagram of a sending end device provided by an embodiment of the present application. As shown in FIG. 7, the sending end device 400 can include a first digital data conversion module 401, a first audio conversion module 402 and a sending module 403.

[0091] The first digital data conversion module 401 can be used to convert the notification information, the data header information and the collected service information into floating-point audio sample data according to the conversion rule of the floating-point audio data.

[0092] One floating-point audio sample data corresponds to an N-bit binary number, and N is a positive integer. The notification information is used for the receiving end device to distinguish valid information. The data header information includes encoding related information.

[0093] The first audio conversion module 402 can be used to obtain the target audio based on the converted floating-point audio sample data.

[0094] The sending module 403 can be used to propagate the target audio outward.

[0095] In some embodiments, the first digital data conversion module 401 can be specifically configured to: according to the arrangement order of the binary data of the notification information, the binary data of the data header information and the binary data of the service information, convert every N-bit binary number in the binary data into one floating-point audio sample data according to a conversion rule.

[0096] In some embodiments, the first audio conversion module 402 can be specifically configured to: perform a smoothing processing on the plurality of floating-point audio sample data obtained by the conversion to obtain first floating-point audio sample data; shift the center frequency of the first floating-point audio sample data from an original frequency to a preset audio transmission frequency range to obtain target floating-point audio sample data; and convert the target floating-point audio sample data into target audio.

[0097] In some examples, the first audio conversion module 402 can be specifically configured to: according to the gap between the adjacent two floating-point audio sample data obtained by the conversion, insert one or more than one smoothing value between the adjacent two floating-point audio sample data to obtain the first floating-point audio sample data; or, according to the gap between the adjacent two floating-point audio sample data obtained by the conversion, insert one or more than one smoothing value between the adjacent two floating-point audio sample data, and perform a polynomial smoothing processing on the floating-point audio sample data after the insertion of the smoothing value to obtain the first floating-point audio sample data.

[0098] In some examples, the first audio conversion module 402 can be specifically configured to: group the plurality of target floating-point audio sample data according to the data processing quantity of the audio conversion device to obtain a target data group; and convert each target data group by using the audio conversion device to obtain target audio.

[0099] In some embodiments, the encoding related information includes a check sum of the service information, or the encoding related information includes the check sum of the service information and a check sum of the data header information. The floating-point audio sample data is carried in a data frame. The first audio conversion module 402 can be further configured to add redundant information to the data frame by using a forward error correction method.

[0100] It should be noted that the sending end device 400 is a device corresponding to the data transmission method across devices in the first aspect of the embodiments, and all implementation manners in the method embodiments are applicable to the embodiments of the device and can achieve the same technical effects, which will not be described herein.

[0101] The fourth aspect of the present application provides a receiving end device, which can be applied to a receiving end device. FIG. 8 is a structural schematic diagram of a receiving end device provided by an embodiment of the present application. As shown in FIG. 8, the receiving end device 500 can include a receiving module 501, a second audio conversion module 502 and a second digital data conversion module 503.

[0102] The receiving module 501 can be configured to receive the target audio.

[0103] The second audio conversion module 502 can be configured to obtain floating-point audio sample data based on the target audio by using an audio conversion device.

[0104] One floating-point audio sample data corresponds to N-bit binary data, where N is a positive integer.

[0105] The second digital data conversion module 503 can be configured to convert the floating-point audio sample data into notification information, data header information and collected service information according to a conversion rule of the floating-point audio data.

[0106] The notification information is used by a receiving end device to distinguish valid information. The data header information includes encoding related information.

[0107] In some embodiments, the second audio conversion module 502 can be specifically configured to convert the target audio into target floating-point audio sample data by using an audio conversion device, shift a center frequency of the target floating-point audio sample data to a preset original frequency to obtain first floating-point audio sample data, and perform restoration processing on the first floating-point audio sample data to obtain a plurality of floating-point audio sample data.

[0108] In some examples, the second audio conversion module 502 can be specifically configured to discard one or more than one flat value inserted between each adjacent two floating-point audio sample data to obtain a plurality of floating-point audio sample data.

[0109] In some embodiments, the second digital data conversion module 503 can be specifically configured to convert each floating-point audio sample data into N-bit binary data according to the conversion rule, and obtain the notification information, the data header information and the service information according to an arrangement order of the binary data.

[0110] In some examples, the second audio conversion module 502 can be specifically configured to group the target audio according to a data processing quantity of the audio conversion device to obtain a target audio group, and convert each target audio group by using the audio conversion device to obtain a target data group, where the target data group includes corresponding floating-point audio sample data.

[0111] In some embodiments, the encoding related information includes a checksum of the service information, or the encoding related information includes the checksum of the service information and a checksum of the data header information. The floating-point audio sample data is borne in a data frame.

[0112] The second audio conversion module 502 can also be configured to process redundant information in the data frame by using a forward error correction method to obtain a forward error correction data frame.

[0113] The second digital data conversion module 503 can also be configured to parse the data header information, and check the service information or the service information and the data header information by using the check sum in the data header information.

[0114] It should be noted that the access receiving end device 500 in the fourth aspect embodiment is a device corresponding to the method for cross-device data transmission in the second aspect embodiment, and all implementation manners in the method embodiment are applicable to the device embodiment, and the same technical effects can be achieved, which will not be described herein.

[0115] The fifth aspect of the present application further provides a sending end device. FIG. 9 is a structural schematic diagram of a sending end device according to an embodiment of the present application. As shown in FIG. 9, the sending end device 600 includes a memory 601, a processor 602, and a computer program stored in the memory 601 and executable on the processor 602.

[0116] In some examples, the processor 602 can include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or can be configured as one or more integrated circuits that implement one or more embodiments of the present application.

[0117] The memory 601 can include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical, or other physical / tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (for example, memory devices) encoded with software including computer-executable instructions, and when the software is executed (for example, by one or more processors), it is operable to perform the operations described with reference to the method for cross-device data transmission according to the first aspect embodiment of the present application.

[0118] The processor 602 runs a computer program corresponding to an executable program code stored in the memory 601 by reading the executable program code, to implement the method for cross-device data transmission in the first aspect embodiment.

[0119] In some examples, the sending end device 600 can further include a communication interface 603 and a bus 604. As shown in FIG. 9, the memory 601, the processor 602, and the communication interface 603 are connected through the bus 604 and complete communication among each other.

[0120] The communication interface 603 is mainly used to realize the communication between the modules, devices, units and / or equipment in the embodiments of the present application. The input device and / or output device can also be connected through the communication interface 603.

[0121] The bus 604 includes hardware, software, or both, that couples the components of the transmitting device 600 to each other. By way of example, and not limitation, the bus 604 can include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-E) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or another suitable bus or a combination of two or more of these. Where appropriate, the bus 604 can include one or more buses. Although the present application is described and illustrated with a particular bus, it is not intended to be limited to this arrangement.

[0122] The sixth aspect of the present application provides a receiving device, which can include a memory, a processor, and a computer program stored in the memory and executable on the processor.

[0123] The memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software comprising computer-executable instructions and when the software is executed (e.g., by one or more processors) it is operable to perform the operations described with reference to the method of transmitting data across devices according to the embodiments of the second aspect of the present application.

[0124] The processor runs a computer program corresponding to the executable program code stored in the memory by reading the executable program code, to implement the cross-device data transmission method in the second aspect embodiment.

[0125] In some examples, the receiving end device can further include a communication interface and a bus, the memory, the processor, and the communication interface being connected through the bus and completing communication with each other.

[0126] The connection among the memory, the processor, the communication interface, and the bus in the receiving end device and the specific implementation can refer to the related description in the embodiment of the fifth aspect transmitting end device, and will not be repeated here.

[0127] The seventh aspect of the present application provides a cross-device data transmission system, which includes the transmitting end device and the receiving end device in the above embodiments, and the specific content can refer to the related description in the above embodiments and achieve the same technical effects. To avoid repetition, it will not be repeated here.

[0128] The eighth aspect of the present application provides a computer readable storage medium, which stores computer program instructions. When the computer program instructions are executed by a processor, the cross-device data transmission method in the first aspect embodiment or the cross-device data transmission method in the second aspect embodiment can be implemented, and the same technical effects can be achieved. To avoid repetition, it will not be repeated here. The computer readable storage medium can include a non-transitory computer readable storage medium, such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and is not limited here.

[0129] The embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the cross-device data transmission method in the first aspect embodiment or the cross-device data transmission method in the second aspect embodiment can be implemented, and the same technical effects can be achieved. To avoid repetition, it will not be repeated here.

[0130] It should be noted that each of the above-described examples can be implemented in a progressive manner, and the same or similar parts among the examples can be mutually referred to, and each of the examples focuses on the difference from other examples. For the sending device example, the receiving device example, the system example, the computer readable storage medium example, and the computer program product example, the relevant parts can be referred to the description of the method example. The present application is not limited to the specific steps and structures described above and shown in the drawings. Those skilled in the art can make various changes, modifications and additions, or change the order of the steps, after understanding the spirit of the present application. Moreover, for the sake of brevity, detailed description of known technology is omitted here.

[0131] The above-described aspects of the present application are described with reference to flowcharts and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the present application. It should be understood that each block of the flowchart and / or block diagram, and combinations of blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine, so that the instructions, which are executed via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / acts specified in one or more blocks of the flowchart and / or block diagram. The processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each block of the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, can also be implemented by special-purpose hardware to perform the specified functions or acts, or can be implemented by a combination of special-purpose hardware and computer instructions.

[0132] Those skilled in the art should understand that the above-described embodiments are exemplary rather than limiting. Different technical features appearing in different embodiments can be combined to achieve beneficial effects. Those skilled in the art can understand and implement other changed embodiments of the disclosed embodiments based on the drawings, the specification and the claims. In the claims, the term "comprising" does not exclude other devices or steps; the article is intended to include one or more articles and can be used interchangeably with "one or more articles"; the terms "first", "second" are used to indicate names and not to indicate any specific order. Any reference signs in the claims should not be understood as limiting the scope of protection. The functions of multiple parts appearing in the claims can be implemented by a single hardware or software module. The fact that certain technical features appear in different dependent claims does not mean that these technical features cannot be combined to achieve beneficial effects.

Claims

1. A method for data transmission across devices, applied to a sending device, the method comprising: converting, according to a conversion rule for floating-point audio data, notification information, data header information, and collected service information into floating-point audio sample data, one floating-point audio sample data corresponding to N binary digits, N being a positive integer, the notification information being used by a receiving device to distinguish valid information, the data header information including encoding-related information; obtaining, by an audio conversion device, target audio based on the converted floating-point audio sample data; transmitting the target audio externally.

2. The method of claim 1, wherein, The converting, according to a conversion rule for floating-point audio data, notification information, data header information, and collected service information into floating-point audio sample data comprises: According to the arrangement order of the binary data of the notification information, the binary data of the data header information, and the binary data of the service information, converting each N binary digits in the binary data into one floating-point audio sample data according to the conversion rule.

3. The method of claim 1, wherein, The obtaining, by an audio conversion device, target audio based on the converted floating-point audio sample data comprises: Performing smoothing processing on the converted floating-point audio sample data to obtain first floating-point audio sample data; Shifting the center frequency of the first floating-point audio sample data from an original frequency to a preset audio transmission frequency range to obtain target floating-point audio sample data; Converting, by the audio conversion device, the target floating-point audio sample data into the target audio.

4. The method of claim 3, wherein, The performing smoothing processing on the converted floating-point audio sample data to obtain first floating-point audio sample data comprises: According to the gap between adjacent two floating-point audio sample data, inserting more than one smoothing value between the adjacent two floating-point audio sample data to obtain the first floating-point audio sample data; Or, According to the gap between adjacent two floating-point audio sample data, inserting more than one smoothing value between the adjacent two floating-point audio sample data, and performing polynomial smoothing processing on the floating-point audio sample data after the insertion of the smoothing value to obtain the first floating-point audio sample data.

5. The method of claim 3, wherein, The converting, by the audio conversion device, the target floating-point audio sample data into the target audio comprises: Grouping a plurality of the target floating-point audio sample data according to the data processing quantity of the audio conversion device to obtain target data groups; Converting, by the audio conversion device, each target data group to obtain the target audio.

6. The method of claim 1, wherein, The encoding-related information includes a checksum of the service information, or the encoding-related information includes a checksum of the service information and a checksum of the data header information. The floating-point audio sample data is carried in a data frame. The method further comprises: Adding redundant information to the data frame by a forward error correction method.

7. A method of data transfer across devices, wherein, Applied to a receiving device, the method comprising: Receiving target audio; Obtaining, by an audio conversion device, floating-point audio sample data based on the target audio, one floating-point audio sample data corresponding to N binary digits, N being a positive integer. According to a conversion rule of the floating-point audio data, the floating-point audio sample data is converted into notification information, data header information and collected service information, the notification information is used for distinguishing valid information by the receiving end device, and the data header information includes encoding related information.

8. The method of claim 7, wherein, The audio conversion device is used to obtain floating-point audio sample data based on the target audio, and the method includes the following steps: The audio conversion device is used to convert the target audio into target floating-point audio sample data; The center frequency of the target floating-point audio sample data is shifted to a preset original frequency to obtain first floating-point audio sample data; The first floating-point audio sample data is restored to obtain a plurality of floating-point audio sample data.

9. The method of claim 8, wherein, The first floating-point audio sample data is restored to obtain a plurality of floating-point audio sample data. The identified more than one flat value inserted between every two adjacent floating-point audio sample data is discarded to obtain a plurality of floating-point audio sample data.

10. The method of claim 7, wherein, The conversion rule of the floating-point audio data is used to convert the floating-point audio sample data into notification information, data header information and collected service information, and the method includes the following steps: According to the conversion rule, each floating-point audio sample data is converted into N-bit binary data; According to the arrangement order of the binary data, the notification information, the data header information and the service information are obtained.

11. The method of claim 7, wherein, The audio conversion device is used to obtain floating-point audio sample data based on the target audio, and the method includes the following steps: According to the data processing quantity of the audio conversion device, the target audio is grouped to obtain a target audio group; The audio conversion device is used to convert each target audio group to obtain a target data group, and the target data group includes corresponding floating-point audio sample data.

12. The method of claim 7, wherein, The encoding related information includes a check sum of the service information, or the encoding related information includes a check sum of the service information and a check sum of the data header information; and the floating-point audio sample data is carried in a data frame. The conversion rule of the floating-point audio data is used to convert the floating-point audio sample data into notification information, data header information and collected service information, and the method includes the following steps: A forward error correction method is used to process redundant information in the data frame to obtain the data frame after forward error correction. The method further includes the following steps: The data header information is analyzed, and a check sum in the data header information is used to check the service information, or a check sum in the data header information is used to check the service information and the data header information.

13. A sending end device applied to a sending end device, the sending end device includes: A first digital data conversion module is used to convert notification information, data header information and collected service information into floating-point audio sample data according to a conversion rule of the floating-point audio data, one floating-point audio sample data corresponds to N-bit binary data, N is a positive integer, the notification information is used for distinguishing valid information by the receiving end device, and the data header information includes encoding related information; A first audio conversion module is used to obtain target audio based on the converted floating-point audio sample data. The sending module is configured to propagate the target audio to the outside.

14. A receiving end device applied to a receiving end equipment, the receiving end device comprising: a receiving module configured to receive a target audio; a second audio conversion module configured to obtain floating-point audio sample data based on the target audio by using an audio conversion device, one floating-point audio sample data corresponding to N-bit binary number, N being a positive integer; a second digital data conversion module configured to convert the floating-point audio sample data into notification information, data header information and collected service information according to a conversion rule of floating-point audio data, the notification information being used for the receiving end equipment to distinguish valid information, and the data header information including encoding related information.

15. A transmitting device, comprising: a processor and a memory storing computer program instructions; the processor executes the computer program instructions to implement the cross-device data transmission method in any one of claims 1 to 6.

16. A receiving end device, comprising: a processor and a memory storing computer program instructions; the processor executes the computer program instructions to implement the cross-device data transmission method in any one of claims 7 to 12.

17. A cross-device data transmission system comprising: the sending end equipment in claim 15; the receiving end equipment in claim 16.

18. A computer readable storage medium, the computer readable storage medium storing computer program instructions, the computer program instructions being executed by a processor to implement the cross-device data transmission method in any one of claims 1 to 12.

Citation Information

Patent Citations

  • Method and system for data communication based on audio or ultrasonic

    CN103312419A

  • Business processing method and device

    CN107329728A

  • Transmission system using audio as digital signal encoding and decoding and transmission method thereof

    CN111192596A

  • Audio data processing method, computing equipment and readable storage medium

    CN112040373A

  • Cross-device data transmission method, device, system and medium

    CN118509070A