Audio data transmission method, system and storage medium

By performing the segmentation and merging of audio data, the problem of low audio data transmission reliability caused by instability of mobile network signals is solved, and the reliability of audio data transmission in an unstable signal environment is improved.

CN114120959BActive Publication Date: 2025-02-25SHENZHEN POWER SUPPLY BUREAU
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111345871.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-15
Publication Date
2025-02-25
Estimated Expiration
2041-11-15

AI Technical Summary

Technical Problem

In the case of poor signal strength of mobile networks or complex electromagnetic environments, the reliability of audio data transmission is low, resulting in data loss, damage or confusion, affecting the ability of the backend server to receive complete audio data.

Method used

By performing data segmentation processing on the audio data to be transmitted, segmenting it into multiple sets of sub-data sets, and these sub-data sets are sent to the backend device in a preset transmission order. After receiving the sub-data set, the background device performs data merging processing to obtain feature data.

Benefits of technology

During this method, even if some subdata sets have data abnormalities, other subdata sets can be received normally, avoiding the lack of audio data, improving the reliability of audio data transmission, and ensuring the integrity and effectiveness of merged characteristic data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114120959B_ABST
    Figure CN114120959B_ABST
Patent Text Reader

Abstract

The present application relates to an audio data transmission method, system and storage medium thereof. The audio data transmission method comprises: performing data segmentation processing according to the data to be transmitted to obtain n groups of sub-data sets, wherein n≥2, and the data to be transmitted is used to characterize the audio data collected when the device under test is running; sending the n groups of sub-data sets to the background device respectively; performing data merging processing according to the sub-data sets sent to the background device to obtain characteristic data. The present invention improves the reliability of audio data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data transmission, and in particular to an audio data transmission method, system and storage medium. Background Art

[0002] With the continuous development of voiceprint recognition technology, voiceprint recognition technology has been widely used in the field of industrial equipment monitoring technology. Specifically, the background server monitors the operating status of the equipment according to the audio data (i.e., industrial voiceprint) during the operation of the equipment, or predicts possible failures of the equipment to achieve the purpose of industrial equipment monitoring. Here, the integrity of the audio data received by the background server directly determines the detection accuracy of industrial equipment monitoring. As for how to ensure the integrity of audio data, it is necessary to focus on the reliability of audio data transmission.

[0003] At present, industrial equipment is installed in various electricity-consuming occasions. Among them, some industrial equipment is located in a working area where there is no network demand, which makes it impossible for the front-end equipment installed in the working area without network demand to connect to the back-end server using a wired network or wireless WiFi. Therefore, the front-end equipment and the back-end server usually exchange data through the mobile network, and the audio data collected by the front-end equipment is directly sent to the back-end server through the mobile network.

[0004] However, since the stability of the mobile network is greatly affected by the signal strength of the local base station and the electromagnetic environment, when the signal strength of the mobile network is poor or the surrounding electromagnetic environment is complex, it is easy to cause the mobile network to be unstable, and even cause the communication connection between the front-end device and the back-end server to be disconnected, resulting in low reliability of audio data transmission, causing transmission abnormalities in the audio data collected in some time intervals (such as data loss, data corruption, data confusion, etc.), and thus making the back-end server unable to receive complete and valid audio data. Summary of the invention

[0005] Based on this, it is necessary to provide an audio data transmission method, system and storage medium to address the technical problem of low reliability of the above-mentioned audio data transmission.

[0006] The present invention provides an audio data transmission method, the method comprising:

[0007] Performing data segmentation processing on the data to be transmitted to obtain n groups of sub-data sets; wherein n≥2, the data to be transmitted is used to represent the audio data collected when the device under test is running;

[0008] Send n groups of sub-data sets to the background devices respectively;

[0009] Data merging processing is performed according to the sub-data sets sent to the background device to obtain feature data.

[0010] In one embodiment, the step of sending the n groups of sub-data sets to the background device respectively includes:

[0011] The n groups of sub-data sets are sent to the background device respectively according to a preset sending order.

[0012] In one embodiment, each group of the sub-data sets includes at least two sub-audio data, and the feature data includes at least two sub-feature data; the method further includes:

[0013] Marking the plurality of sub-audio data of each group of the sub-data sets as the first to the mth sub-audio data in sequence; wherein m≥1;

[0014] Sending the first to mth sub-audio data in each group of the sub-data sets to the background device in sequence;

[0015] The step of performing data merging processing according to the sub-data sets sent to the background device to obtain feature data includes:

[0016] The k-th sub-audio data in the sub-data sets of different groups are merged to obtain the k-th sub-feature data; wherein 1≤k≤m.

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

[0018] Identify unqualified data in each group of sub-data sets according to a preset verification rule, and delete the unqualified data; wherein the unqualified data is audio data in which data anomalies occur during the process of receiving data by the background device;

[0019] The step of performing data merging processing according to the sub-data sets sent to the background device to obtain feature data includes:

[0020] The audio data that has not been deleted in the n groups of sub-data sets are merged to obtain the feature data.

[0021] In one embodiment, the step of performing data segmentation processing on the data to be transmitted to obtain at least two sets of feature data sets includes:

[0022] The data to be transmitted is divided into n groups of sub-data sets according to the sampling rate of the data to be transmitted.

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

[0024] Performing encoding processing according to the plurality of groups of sub-data sets to obtain at least two frames of encoded data; wherein each frame of the encoded data is used to carry at least part of the audio data in any group of the sub-data sets;

[0025] The steps of sending n groups of sub-data sets to the background device include:

[0026] Send multiple frames of the encoded data to the background device in sequence.

[0027] In one embodiment, each frame of the encoded data includes a frame header part, a data part and a frame trailer part, the frame header part is used to carry control command information, the data part is used to carry at least part of the audio data in any group of the sub-data sets, and the frame trailer part is used to carry data verification information.

[0028] An audio data transmission system, the system comprising a data acquisition device and a background device connected to the data acquisition device, wherein:

[0029] The data acquisition device is used to perform data segmentation processing according to the data to be transmitted to obtain n groups of sub-data sets, wherein n≥2, and the data to be transmitted is used to represent the audio data collected when the device under test is running; and the n groups of sub-data sets are sent to the background device respectively;

[0030] The background device is used to merge the received n groups of sub-data sets to obtain feature data.

[0031] An audio data transmission system comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned audio data transmission method when executing the computer program.

[0032] A computer-readable storage medium stores a computer program, which implements the steps of the above-mentioned audio data transmission method when executed by a processor.

[0033] In the above-mentioned audio data transmission method, system and storage medium, first, data segmentation processing is performed according to the data to be transmitted to obtain n groups of sub-data sets, where n≥2, and the data to be transmitted is used to characterize the audio data collected when the device under test is running. Then, the n groups of sub-data sets are sent to the background device. Finally, data merging processing is performed according to the sub-data sets sent to the background device to obtain feature data; through the above-mentioned method, the audio data collected in the same time interval (i.e., the data to be transmitted) can be divided into multiple groups of sub-data sets, and the multiple groups of sub-data sets can be transmitted separately. During the transmission process, even if some sub-data sets in any time interval have data anomalies, other sub-data sets in the time interval are normally received by the background device, which can effectively avoid the loss of audio data in the time interval, thereby ensuring that the feature data obtained after merging is a complete and valid audio data, thereby improving the reliability of audio data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the conventional technology, the drawings required for use in the embodiments or the conventional technology description are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:

[0035] Figure 1 A schematic diagram of a flow chart of an audio data transmission method in one embodiment;

[0036] Figure 2 A schematic diagram of a flow chart of a data segmentation processing step in an embodiment;

[0037] Figure 3 A schematic diagram of a flow chart of a data merging process step in an embodiment;

[0038] Figure 4 A schematic diagram of a flow chart of a data merging process step in another embodiment;

[0039] Figure 5 A flowchart of the steps of obtaining and sending coded data in one embodiment;

[0040] Figure 6 FIG. 1 is a schematic diagram of the module structure of an audio data transmission system in one embodiment. Specific embodiments

[0041] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0042] like Figure 1 As shown, in one embodiment, the present invention provides an audio data transmission method, the audio data transmission method is applied to Figure 6 The audio data transmission system 610 is shown. The audio data transmission method is used to transmit audio data collected when the device under test is running.

[0043] It is worth mentioning that the specific structural form of the device under test is not limited. For example, in some embodiments, the device under test includes but is not limited to a transformer in a substation, a distribution cabinet in a distribution room, an electric energy router, and a charging cabinet in a charging station.

[0044] The above method comprises the following steps:

[0045] Step 102: Perform data segmentation processing according to the data to be transmitted to obtain n groups of sub-data sets.

[0046] Wherein, in step 102, n≥2, and the specific value of n can be set according to the actual use situation. For example, in some implementations, the data to be transmitted is divided into three groups of sub-data sets, and the three groups of sub-data sets are marked as A, B, and C respectively.

[0047] The data to be transmitted is used to represent the audio data collected when the device under test is running. Here, it should be noted that the audio data collected when the device under test is running can be obtained by collecting the sound information generated by the operation of the device under test itself, or by collecting the sound information generated by the surrounding environment of the device under test. For example, in some embodiments, when the device under test is a transformer, the data to be transmitted is obtained by collecting the sound information generated by the operation of the transformer itself.

[0048] Step 104: Send the n groups of sub-data sets to the background device.

[0049] Among them, in step 104, the background device is used to realize functions such as receiving, sending, processing, analyzing, storing and calling data, and sending control instructions. The control instructions include start instructions and end instructions. The start instruction is used to indicate the start of transmitting audio data to the background device, and the end instruction is used to indicate the stop of transmitting audio data to the background device.

[0050] Step 106, performing data merging processing according to the sub-data sets sent to the background device to obtain feature data.

[0051] Among them, in step 106, since some sub-data sets may have data anomalies (such as data loss, data damage, data confusion, etc.) during the data transmission process, all or part of the sub-audio data in the sub-data set with data anomalies cannot be used by the background device. Therefore, in this step, the background device will merge the available data to obtain feature data; for example, in some embodiments, sub-data sets A, B and C are sent to the background device. If sub-data set A has data anomalies, resulting in all the data of sub-data set A cannot be used by the background device, the background device merges the data according to sub-data sets B and C to obtain feature data. Of course, in other embodiments, if part of the data in at least one of the sub-data sets A, B and C cannot be used by the background device, the background device merges the data according to the available data in the sub-data sets A, B and C to obtain feature data.

[0052] In the above-mentioned audio data transmission method, system and storage medium, first, data segmentation processing is performed according to the data to be transmitted to obtain n groups of sub-data sets, where n≥2, and the data to be transmitted is used to characterize the audio data collected when the device under test is running. Then, the n groups of sub-data sets are sent to the background device. Finally, data merging processing is performed according to the sub-data sets sent to the background device to obtain feature data; through the above-mentioned method, the audio data collected in the same time interval (i.e., the data to be transmitted) can be divided into multiple groups of sub-data sets, and the multiple groups of sub-data sets can be transmitted separately. During the transmission process, even if some sub-data sets in any time interval have data anomalies, other sub-data sets in the time interval are normally received by the background device, which can effectively avoid the loss of audio data in the time interval, thereby ensuring that the feature data obtained after merging is a complete and valid audio data, thereby improving the reliability of audio data transmission.

[0053] It is worth mentioning that the sending method of n groups of sub-data sets is not limited. For example, in some embodiments, the steps of sending n groups of sub-data sets to the background device respectively include:

[0054] The n groups of sub-data sets are sent to the background device respectively according to the preset sending order.

[0055] Among them, in the above steps, in some embodiments, when the data to be transmitted is divided into 3 groups of sub-data sets, sub-data sets A, B and C are sent to the background device in sequence according to a preset sending order (i.e., sub-data set A is sent first, then sub-data set B, and finally sub-data set C).

[0056] Of course, in some embodiments, a set of sub-data sets may be sent at every preset delay time, so that n sets of sub-data are sent to the background device in sequence. The delay time is specifically selected according to the actual needs.

[0057] like Figure 2 As shown, in some embodiments, the above audio data transmission method further includes:

[0058] Step 202: collect sound information according to a preset sampling rate to obtain data to be transmitted.

[0059] In step 202, the sampling rate may be specifically set according to actual acquisition requirements. For example, in some embodiments, the sampling rate is preconfigured to 48 kHz, that is, the sampling rate of the acquired data to be transmitted is 48 kHz.

[0060] Furthermore, it is worth mentioning that the quantization accuracy of the sound information collected in the above step 202 is not limited. For example, in some embodiments, the quantization accuracy is pre-configured to 16 bits, that is, the quantization accuracy of the obtained data to be transmitted is 16 bits.

[0061] The step of performing data segmentation processing according to the data to be transmitted to obtain at least two sets of feature data sets includes:

[0062] Step 204 : Divide the data to be transmitted into n groups of sub-data sets according to the sampling rate of the data to be transmitted.

[0063] In the above steps, the sampling rates of the sub-data sets of each group may be the same. Specifically, according to the sampling rate of the data to be transmitted, the data to be transmitted is evenly divided into n groups of feature data sets with the same sampling rate; wherein the sampling rate of the sub-data sets of each group = the sampling rate of the data to be transmitted / n. For example, in some embodiments, the data to be transmitted with a sampling rate of 48kHz is divided into 3 groups of sub-data sets with a sampling rate of 16kHz.

[0064] Through the above-mentioned steps 202-204, conditions are provided for dividing the data to be transmitted into multiple groups of sub-data sets that can be used by the background device.

[0065] like Figure 3 As shown, in some embodiments, each group of the sub-data sets includes at least two sub-audio data, and the feature data includes at least two sub-feature data; the above audio data transmission method also includes:

[0066] Step 302: Mark the plurality of sub-audio data of each group of sub-data sets as the first to the mth sub-audio data in sequence, where m≥1.

[0067] In some embodiments, if the data to be transmitted is divided into sub-data sets A, B and C, and when each sub-data set includes 100 (n=100) sub-audio data, through the above-mentioned step 302, the 100 sub-audio data of the sub-data set A are sequentially marked as the first sub-audio data a1, the second sub-audio data a2, ..., the ninety-ninth sub-audio data a99 and the hundredth sub-audio data a100, the 100 sub-audio data of the sub-data set B are sequentially marked as the first sub-audio data b1, the second sub-audio data b2, ..., the ninety-ninth sub-audio data b99 and the hundredth sub-audio data b100, and the 100 sub-audio data of the sub-data set C are sequentially marked as the first sub-audio data c1, the second sub-audio data c2, ..., the ninety-ninth sub-audio data c99 and the hundredth sub-audio data c100.

[0068] Step 304: Send the first to mth sub-audio data in each group of sub-data sets to the background device in sequence.

[0069] Among them, in some embodiments, through the above step 304, the first to the one hundredth sub-audio data in sub-data set A are first sent in sequence, then the first to the one hundredth sub-audio data in sub-data set B are sent in sequence, and finally the first to the one hundredth sub-audio data in sub-data set C are sent in sequence.

[0070] The step of performing data merging processing according to the sub-data sets sent to the background device to obtain feature data includes:

[0071] Step 306: merge the k-th sub-audio data in the sub-data sets of different groups to obtain the k-th sub-feature data, 1≤k≤m.

[0072] Among them, in some embodiments, through the above step 306, the first sub-audio data a1 of the sub-data set A, the first sub-audio data b1 of the sub-data set B and the first sub-audio data c1 of the sub-data set C are merged to obtain the first sub-feature data d1. Of course, the principles for obtaining the other second sub-feature data d2 to the 100th sub-feature data d100 are the same, and they will not be elaborated one by one here. The 100 sub-feature data together constitute the feature data D.

[0073] Through the setting of the above steps 302-306, it can be ensured that the background device can systematically and orderly merge and process all the sub-audio data it receives under the preset merging rules, further ensuring the integrity and validity of the feature data, and better ensuring the reliability of audio data transmission, which is conducive to improving the subsequent judgment accuracy of the operating status and fault conditions of the device under test based on the feature data.

[0074] like Figure 4 As shown, in some embodiments, the steps include:

[0075] Step 402: Identify unqualified data in each group of sub-data sets according to a preset verification rule, and delete the unqualified data, m≥1.

[0076] Among them, in step 402, the unqualified data is audio data in which data anomalies occur during the process of receiving data by the background device; for example, in some embodiments, if the third to tenth sub-audio data in sub-data set A, the thirty-sixth to forty-eighth sub-audio data in sub-data set B, and the eighty-second to ninetieth sub-audio data in sub-data set C are all unqualified data, then all of the above unqualified data will be deleted.

[0077] It should be noted that the preset verification rules are not limited. For example, in some implementations, the connection status of the mobile network is verified through the TCP protocol. More specifically, the connection status of the mobile network is periodically verified through the heartbeat mechanism in the TCP protocol. If it is judged to be disconnected from the mobile network in any time interval, the audio data transmitted in the time interval is lost and cannot be used by the background device. The lost data is deemed to be unqualified data.

[0078] The step of performing data merging processing according to the sub-data sets sent to the background device to obtain feature data includes:

[0079] Step 404: merge the audio data that have not been deleted in the n groups of sub-data sets to obtain feature data.

[0080] In some embodiments, in step 404, if the third to tenth sub-audio data in sub-data set A, the thirty-sixth to forty-eighth sub-audio data in sub-data set B, and the eighty-second to ninetieth sub-audio data in sub-data set C are all deleted as unqualified data, then the multiple sub-audio data that have not been deleted in sub-data sets A, B and C are merged to obtain feature data D.

[0081] Through the configuration of steps 402-404, it is avoided that unqualified data has a bad influence on the subsequent data merging process of the background device, which is conducive to ensuring the validity of the feature data obtained after the data merging process.

[0082] like Figure 5 As shown, in some embodiments, the above audio data transmission method further includes:

[0083] Step 502 , performing encoding processing according to the multiple groups of sub-data sets to obtain at least two frames of encoded data, m≥1; wherein each frame of encoded data is used to carry at least part of the audio data in any group of sub-data sets.

[0084] The steps of sending n groups of sub-data sets to the background device include:

[0085] Step 504: Send multiple frames of encoded data to the background device in sequence.

[0086] In the above steps 502-504, there are no restrictions on the rules for encoding processing of sub-data sets, and the frame format of each frame of encoded data can be set according to actual usage. For example, in some embodiments, each frame of encoded data includes a frame header part, a data part and a frame trailer part. The frame header part is used to carry control command information, the data part is used to carry at least part of the audio data in any group of sub-data sets, and the frame trailer part is used to carry data verification information, and the data verification information here is CRC information.

[0087] More specifically, the above steps 502-504 are performed under the following protocol rules:

[0088] Table 1. Protocol specifications

[0089]

[0090]

[0091] For example, the following uses the communication process during registration to illustrate the detailed communication process between the data acquisition device and the background device, specifically:

[0092] (1) The frame format of the coded data when the data acquisition device sends a registration instruction is:

[0093]

[0094] (2) After receiving the coded data with the registration instruction, the background device returns the coded data with the registration status instruction (the registration status instruction is used to represent the registration status of the data acquisition device) to the data acquisition device. The registration status instruction includes an unregistered instruction, a registered instruction, a successful registration instruction, and a failed registration instruction, wherein:

[0095] The frame format for encoded data with unregistered instructions is:

[0096]

[0097] The frame format of the encoded data with registered instructions is:

[0098]

[0099] The frame format of the encoded data with the registration success instruction is:

[0100]

[0101] The frame format of the encoded data with the registration failure instruction is:

[0102]

[0103] (3) When the data acquisition device receives the coded data with the unregistered instruction, the front-end device sends the coded data with the registration reply instruction to the back-end device, and finally the back-end device sends the registration success instruction; the format of the coded data of the registration reply instruction is:

[0104]

[0105] For another example, the following is an example of the communication process during monitoring to illustrate the detailed communication process between the data acquisition device and the background equipment, specifically:

[0106] (1) The background device sends the coded data with real-time monitoring instructions to the data acquisition device. The frame format of the coded data with real-time monitoring instructions is:

[0107]

[0108] (2) After receiving the coded data with the real-time monitoring instruction, the data acquisition device starts to add the audio data and the monitoring start reply instruction to the coded data under the instruction of the real-time monitoring instruction. The frame format of the coded data with the audio data and the monitoring start reply instruction is:

[0109]

[0110]

[0111] (3) The background device sends the coded data with the monitoring end instruction to the data acquisition device. The frame format of the coded data with the monitoring end instruction is:

[0112]

[0113] (4) After receiving the coded data with the monitoring end instruction, the data acquisition device adds the monitoring end reply instruction to the coded data under the instruction of the monitoring end instruction. The frame format of the coded data with the monitoring end reply instruction is:

[0114]

[0115] For example, the following is an example of the communication process during monitoring to illustrate the detailed communication process between the data acquisition device and the background equipment, specifically:

[0116] (1) The data acquisition device sends the coded data with the alarm instruction to the background device. The frame format of the coded data with the alarm instruction is:

[0117]

[0118] (2) The data acquisition device sends the coded data with the alarm end instruction to the background device. The frame format of the coded data with the alarm end instruction is:

[0119]

[0120] (3) After the background device receives the coded data with the alarm end instruction, it sends the coded data with the alarm end reply instruction to the data acquisition device. The frame format of the coded data with the alarm end reply instruction is:

[0121]

[0122] It should be understood that although Figure 1-5 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1-5 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0123] See also Figure 6 As shown, in one embodiment, the present invention provides an audio data transmission system 600 to which the above-mentioned audio data transmission method can be applied. The audio data transmission system 600 includes a data acquisition device 610 and a background device 620 connected to the data acquisition device 610. The data acquisition device 610 is arranged on one side of the device under test 700.

[0124] in:

[0125] The data collection device 610 is used to perform data segmentation processing according to the data to be transmitted to obtain n groups of sub-data sets, where n≥2, and the data to be transmitted is used to represent the audio data collected when the device under test 700 is running; and send the n groups of sub-data sets to the background device 620 respectively;

[0126] The background device 620 is used to merge the received n groups of sub-data sets to obtain feature data.

[0127] In one of the embodiments, each group of sub-data sets includes at least two sub-audio data, and the feature data includes at least two sub-feature data;

[0128] The data collection device 610 is further used to mark the multiple sub-audio data of each group of sub-data sets as the first to the m-th sub-audio data in sequence, where m≥1; and send the first to the m-th sub-audio data in each group of sub-data sets to the background device 620 in sequence;

[0129] The background device 620 is further used to merge the k-th sub-audio data in the sub-data sets of different groups to obtain the k-th sub-feature data, where 1≤k≤m.

[0130] In one of the embodiments, the background device 620 is also used to identify unqualified data in each group of sub-data sets according to preset verification rules, and delete the unqualified data, wherein the unqualified data is audio data in which data anomalies occur during the process of data receiving by the background device 620; the audio data that has not been deleted in the n groups of sub-data sets are merged to obtain feature data.

[0131] In one embodiment, the data acquisition device 610 is further used to divide the data to be transmitted into n groups of sub-data sets according to the sampling rate of the data to be transmitted.

[0132] In one embodiment, the data acquisition device 610 is also used to perform encoding processing based on multiple groups of sub-data sets to obtain at least two frames of encoded data, wherein each frame of encoded data is used to carry at least part of the audio data in any group of sub-data sets; and the multiple frames of encoded data are sent to the background device 620 in sequence.

[0133] Those skilled in the art will understand that Figure 6 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the audio data transmission system to which the scheme of the present application is applied. The specific audio data transmission system may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0134] An audio data transmission system comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned audio data transmission method when executing the computer program.

[0135] A computer-readable storage medium stores a computer program, which implements the steps of the above-mentioned audio data transmission method when executed by a processor.

[0136] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0137] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0138] The above-mentioned embodiments only express several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. An audio data transmission method, characterized in that: The method comprises: Performing data segmentation processing on the data to be transmitted to obtain n groups of sub-data sets; wherein n≥2, the data to be transmitted is used to represent the audio data collected when the device under test is running; Send n groups of sub-data sets to the background devices respectively; Performing data merging processing according to the sub-data sets sent to the backend device to obtain feature data; The step of sending the n groups of sub-data sets to the background device respectively includes: The n groups of sub-data sets are respectively sent to the background device according to a preset sending order; each group of the sub-data sets includes at least two sub-audio data, and the feature data includes at least two sub-feature data; Marking the plurality of sub-audio data of each group of the sub-data sets as the first to the mth sub-audio data in sequence; wherein m≥1; Sending the first to mth sub-audio data in each group of the sub-data sets to the background device in sequence; The step of performing data merging processing according to the sub-data sets sent to the background device to obtain feature data includes: The k-th sub-audio data in the sub-data sets of different groups are merged to obtain the k-th sub-feature data; wherein 1≤k≤m.

2. The audio data transmission method according to claim 1, characterized in that: The method further comprises: Identify unqualified data in each group of sub-data sets according to a preset verification rule, and delete the unqualified data; wherein the unqualified data is audio data in which data anomalies occur during the process of receiving data by the background device; The step of performing data merging processing according to the sub-data sets sent to the background device to obtain feature data includes: The audio data that has not been deleted in the n groups of sub-data sets are merged to obtain the feature data.

3. The audio data transmission method according to claim 1, characterized in that: The step of performing data segmentation processing according to the data to be transmitted to obtain at least two sets of feature data sets includes: The data to be transmitted is divided into n groups of sub-data sets according to the sampling rate of the data to be transmitted.

4. The audio data transmission method according to claim 1, characterized in that: The method further comprises: Performing encoding processing according to the plurality of groups of sub-data sets to obtain at least two frames of encoded data; wherein each frame of the encoded data is used to carry at least part of the audio data in any group of the sub-data sets; The steps of sending n groups of sub-data sets to the background device include: Send multiple frames of the encoded data to the background device in sequence.

5. The audio data transmission method according to claim 4, characterized in that: Each frame of the encoded data includes a frame header part, a data part and a frame trailer part, the frame header part is used to carry control command information, the data part is used to carry at least part of the audio data in any group of the sub-data sets, and the frame trailer part is used to carry data verification information.

6. An audio data transmission system, characterized in that: The system includes a data acquisition device and a background device connected to the data acquisition device, wherein: The data acquisition device is used to perform data segmentation processing according to the data to be transmitted to obtain n groups of sub-data sets, wherein n≥2, and the data to be transmitted is used to represent the audio data collected when the device under test is running; and the n groups of sub-data sets are sent to the background device respectively; The background device is used to merge the received n groups of sub-data sets to obtain feature data; The step of the data collection device sending the n groups of sub-data sets to the background device respectively includes: The n groups of sub-data sets are respectively sent to the background device according to a preset sending order; each group of the sub-data sets includes at least two sub-audio data, and the feature data includes at least two sub-feature data; Marking the plurality of sub-audio data of each group of the sub-data sets as the first to the mth sub-audio data in sequence; wherein m≥1; Sending the first to mth sub-audio data in each group of the sub-data sets to the background device in sequence; The step of performing data merging processing according to the sub-data sets sent to the background device to obtain feature data includes: The k-th sub-audio data in the sub-data sets of different groups are merged to obtain the k-th sub-feature data; wherein 1≤k≤m.

7. An audio data transmission system, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the audio data transmission method according to any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the audio data transmission method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Audio coding method and device based on voice endpoint detection, equipment and medium

    CN112037802A

  • Data transmission method and device, electronic equipment and readable storage medium

    CN112671921A