Audio processing method, terminal device, cloud server and storage medium

Through audio data frame classification and processing path screening, the problem of low audio data transmission efficiency in intelligent medical health monitoring is solved and more efficient data transmission is achieved.

CN118715563APending Publication Date: 2024-09-27BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202480001138.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-11
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

In the process of intelligent medical health monitoring, due to the huge amount of data, there is a problem of low transmission efficiency. Especially when multiple users transmit data at the same time, the transmission efficiency has a greater impact.

Method used

The terminal device classifies the collected audio data into frames, determines the processing path based on the classification results, and selects valuable audio frames for compression processing to reduce redundant information and improve the efficiency of the bit stream transmitted to the cloud server.

Benefits of technology

It improves the efficiency of audio data transmission to the cloud server, reduces the amount of audio data transmitted, improves transmission efficiency and information capacity, and reduces bandwidth requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118715563A
    Figure CN118715563A
Patent Text Reader

Abstract

The invention relates to an audio processing method, terminal equipment, a cloud server and a storage medium. The method comprises the following steps: determining a processing path of each audio frame according to a classification result of a plurality of audio frames; wherein the plurality of audio frames are obtained by framing collected audio data; according to the processing path, compressing a part of the audio frames in the plurality of audio frames to obtain a bit stream; and sending the bit stream to a cloud server. In the method disclosed by the invention, after the terminal device frames the collected audio data, the obtained audio frames can be classified, and the processing paths of the audio frames can be screened based on the classification result, so that the more valuable audio frames can be compressed, redundant information can be reduced, and the efficiency of transmitting the bit stream to the cloud server can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of signal processing technology, and in particular to an audio processing method, a terminal device, a cloud server and a storage medium. Background Art

[0002] With the aging of society and the increase in the number of elderly and sub-healthy groups, the shortage of medical resources is becoming increasingly serious. The use of smart medical health monitoring and diagnosis (Smart Medical Healthcare Monitoring and Diagnostics) can improve the above contradictions, such as using artificial intelligence (AI) audio technology for health monitoring. Summary of the invention

[0003] In the process of intelligent medical health monitoring, there is a problem of low transmission efficiency due to the huge amount of data.

[0004] The embodiments of the present disclosure provide an audio processing method, a terminal device, a cloud server and a storage medium.

[0005] In a first aspect, an embodiment of the present disclosure provides an audio processing method, which is executed by a terminal device, and the method includes:

[0006] Determine a processing path for each audio frame according to classification results of the plurality of audio frames; wherein the plurality of audio frames are obtained by dividing the collected audio data into frames;

[0007] According to the processing path, compressing some audio frames among the multiple audio frames to obtain a bit stream;

[0008] The bitstream is sent to a cloud server.

[0009] In a second aspect, an embodiment of the present disclosure provides an audio processing method, which is executed by a cloud server, and the method includes:

[0010] A bit stream sent by a receiving terminal device is obtained by compressing some audio frames in multiple audio frames according to a processing path of the audio frames, the processing path of the audio frames is determined according to the classification results of the audio frames, and the multiple audio frames are obtained by framing the collected audio data.

[0011] In a third aspect, an embodiment of the present disclosure provides a terminal device, including:

[0012] A decision module, used to determine a processing path for each audio frame according to classification results of a plurality of audio frames; wherein the plurality of audio frames are obtained by dividing the collected audio data into frames;

[0013] A compression module, configured to compress some of the multiple audio frames according to the processing path to obtain a bit stream;

[0014] The transceiver module is used to send the bit stream to the cloud server.

[0015] In a fourth aspect, an embodiment of the present disclosure provides a cloud server, including:

[0016] The transceiver module is used to receive a bit stream sent by a terminal device, wherein the bit stream is obtained by compressing some audio frames in multiple audio frames according to a processing path of the audio frames, the processing path of the audio frames is determined according to the classification results of the audio frames, and the multiple audio frames are obtained by framing the collected audio data.

[0017] In a fifth aspect, an embodiment of the present disclosure provides a communication device, including:

[0018] one or more processors;

[0019] Wherein, the communication device is configured to implement the method described in the first aspect.

[0020] In a sixth aspect, an embodiment of the present disclosure provides a communication device, including:

[0021] one or more processors;

[0022] Wherein, the communication device is configured to implement the method as described in the second aspect.

[0023] In a seventh aspect, an embodiment of the present disclosure provides a storage medium, wherein the storage medium stores instructions, wherein:

[0024] When the instruction is executed on a communication device, the communication device is caused to execute the method according to the first aspect or the second aspect.

[0025] In an eighth aspect, an embodiment of the present disclosure provides a program product, wherein:

[0026] When the program product is executed by a communication device, the communication device is caused to execute the method as described in the first aspect or the second aspect.

[0027] In the disclosed embodiment, after the terminal device divides the collected audio data into frames, it can classify the obtained audio frames, and screen the processing path of each audio frame based on the classification results, so that more valuable audio frames can be compressed and processed, redundant information can be reduced, and the efficiency of transmitting bit streams to the cloud server can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings required for describing the embodiments are introduced below. The following drawings are only some embodiments of the present disclosure and do not impose specific limitations on the protection scope of the present disclosure.

[0029] Figure 1a to Figure 1b is an exemplary schematic diagram of the architecture of a communication system provided according to an embodiment of the present disclosure;

[0030] Figure 2a to Figure 2b is an exemplary interactive schematic diagram of a method provided according to an embodiment of the present disclosure;

[0031] Figure 2c to Figure 2m It is a process or processing schematic diagram provided according to an embodiment of the present disclosure;

[0032] Figure 2n to Figure 2s is a schematic diagram of a metadata structure provided according to an embodiment of the present disclosure;

[0033] Figure 3 is an exemplary flow chart of a method provided according to an embodiment of the present disclosure;

[0034] Figure 4 is an exemplary flow chart of a method provided according to an embodiment of the present disclosure;

[0035] Figure 5a is a schematic diagram of the structure of a terminal according to an embodiment of the present disclosure;

[0036] Figure 5b is a schematic diagram of the structure of a network device according to an embodiment of the present disclosure;

[0037] Figure 6a is a schematic diagram of a communication device according to an embodiment of the present disclosure;

[0038] Figure 6b It is a schematic diagram of a communication device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0039] The embodiments of the present disclosure provide an audio processing method, a terminal device, a cloud server and a storage medium.

[0040] In a first aspect, an embodiment of the present disclosure provides an audio processing method, which is executed by a terminal device, and the method includes:

[0041] Determine a processing path for each audio frame according to classification results of the multiple audio frames; wherein the multiple audio frames are obtained by dividing the collected audio data into frames;

[0042] Compressing some audio frames among the multiple audio frames according to the processing path to obtain a bit stream;

[0043] Send bitstream to cloud server.

[0044] In the above embodiment, after the terminal device frames the collected audio data, it can classify the obtained audio frames and filter the processing path of each audio frame based on the classification results, so that more valuable audio frames can be compressed and processed, reducing redundant information and improving the efficiency of transmitting bit streams to the cloud server.

[0045] In combination with the embodiment of the first aspect, in some embodiments, the classification result of the multiple audio frames is one of the following:

[0046] Useful frame;

[0047] Useless frames;

[0048] Among them, the useful frame includes the characteristics of the sound event, and the useless frame does not include the characteristics of the sound event.

[0049] In the above embodiment, based on the classification result of the audio frame, it can be indicated to a certain extent whether the audio frame is related to the sound event, which is convenient for screening useless audio frames.

[0050] In combination with the embodiments of the first aspect, in some embodiments, determining a processing path for each audio frame according to classification results of the plurality of audio frames includes:

[0051] A processing path corresponding to a useful frame among the multiple audio frames is determined to be a first path.

[0052] In combination with the embodiments of the first aspect, in some embodiments, determining a processing path for each audio frame according to classification results of the plurality of audio frames includes:

[0053] Determine that the processing path corresponding to the useless frame in the plurality of audio frames is the second path, or,

[0054] Among multiple audio frames, a processing path of the (m+1)th audio frame is determined based on the classification result of at least one frame before the (m+1)th audio frame and / or the classification result of at least one frame after the (m+1)th audio frame, where m is an integer and the (m+1)th audio frame is a useless frame.

[0055] In the above embodiment, useless frames can determine the processing path based on the classification results of their previous and subsequent frames, which helps to screen out audio frames at the edge of sound events, thereby ensuring the integrity of sound events and avoiding the problem of incomplete sound events due to classification errors.

[0056] In combination with the embodiments of the first aspect, in some embodiments, when the classification result of the mth audio frame is a useful frame or the classification result of the (m+2)th audio frame is a useful frame, the processing path of the (m+1)th audio frame is the first path.

[0057] In conjunction with the embodiment of the first aspect, in some embodiments, the method further includes:

[0058] Before determining the processing path of the (m+1)th frame, the classification result of the mth frame is cached.

[0059] In the above embodiment, based on the cache mechanism, the processing path of the audio frame can be determined more accurately, thereby ensuring the integrity of the sound event and improving the analysis accuracy.

[0060] In combination with the embodiments of the first aspect, in some embodiments, the processing paths of the multiple audio frames are identified by corresponding path flags, and the path flags are used to indicate that the processing path of the audio frames is a first path or a second path; wherein the path flag is carried in the bit stream.

[0061] In the above embodiment, the path flag enables the cloud server to obtain processing information in the encoding or compression process based on the flag, thereby improving the decoding or decompression efficiency.

[0062] In conjunction with the embodiments of the first aspect, in some embodiments, according to the processing path, compressing some audio frames in the multiple audio frames includes at least one of the following:

[0063] Preprocessing the audio frames in the first path and compressing the preprocessed frames;

[0064] The audio frames in the second path are discarded.

[0065] In the above embodiment, discarding the second path audio frame can reduce the amount of audio data transmitted to the cloud and improve transmission efficiency.

[0066] In conjunction with the embodiment of the first aspect, in some embodiments, preprocessing the audio frames in the first path includes:

[0067] A corresponding timestamp is generated for each audio frame in the first path.

[0068] In the above embodiment, the processing method is similar to the file processing method, and the transmitted audio frames may be discontinuous in time. Therefore, the time of the audio frames can be marked by the generated timestamp, so that the cloud server can obtain the time information of each audio frame.

[0069] In combination with the embodiments of the first aspect, in some embodiments, in at least one audio frame corresponding to a sound event, metadata is transmitted in a first audio frame in at least one audio frame, and the metadata is used to indicate a timestamp corresponding to the first audio frame.

[0070] In the above embodiment, metadata can be transmitted in a special frame in a sound event, so that the cloud server can obtain the time information of the entire sound event audio frame while saving data resources.

[0071] In conjunction with the embodiment of the first aspect, in some embodiments, the method further includes:

[0072] Compress the metadata corresponding to two audio frames whose interval is within the set time range.

[0073] In the above embodiment, the time information carried by the metadata has a certain degree of redundancy. By compressing the metadata, the redundancy can be reduced and the information capacity can be improved.

[0074] In combination with the embodiments of the first aspect, in some embodiments, the position of the audio frame corresponding to the metadata is determined according to a path mark; or, the position of the audio frame corresponding to the metadata is determined by a mark corresponding to the metadata;

[0075] The path flag or the flag corresponding to the metadata is carried in the bit stream.

[0076] In the above embodiment, the cloud server can obtain an indication of whether there is metadata from the bitstream through the path mark or the mark corresponding to the metadata, so as to facilitate determining the location of the metadata or obtaining the time information indicated by it.

[0077] In conjunction with the embodiments of the first aspect, in some embodiments, compressing some audio frames in the plurality of audio frames according to the processing path includes:

[0078] Replacing the audio frames in the second path with silence frames;

[0079] The silence frames and the audio frames in the first path are compressed.

[0080] In the above embodiment, silent frames are used to replace useless frames, which is beneficial to reducing the amount of information.

[0081] In combination with the embodiments of the first aspect, in some embodiments, the compression method of the silence frame and the compression method of the audio frame in the first path are identified by different method flags; wherein the method flag is carried in the bit stream.

[0082] In combination with the embodiments of the first aspect, in some embodiments, there is a delay duration when compressing the (m+1)th audio frame, and the delay duration is the length of at least one audio frame.

[0083] In the above embodiment, due to the delay caused by the cache mechanism, the terminal and the cloud server can take this delay into account in the processing to ensure correct decompression.

[0084] In conjunction with the embodiment of the first aspect, in some embodiments, the method further includes:

[0085] Receive audio analysis results sent by the cloud server, which are obtained based on the artificial intelligence AI model.

[0086] In the above embodiment, obtaining the analysis results based on the cloud server is beneficial to reducing the task load on the terminal side and has lower requirements on the terminal capabilities.

[0087] In a second aspect, an embodiment of the present disclosure provides an audio processing method, which is executed by a cloud server, and the method includes:

[0088] A bit stream sent by a receiving terminal device is obtained by compressing some audio frames in multiple audio frames according to a processing path of the audio frames. The processing path of the audio frames is determined according to the classification result of the audio frames. The multiple audio frames are obtained by framing the collected audio data.

[0089] In conjunction with the embodiment of the second aspect, in some embodiments, the method further includes:

[0090] Decompress the bit stream to obtain audio data;

[0091] Determine an audio analysis result of the audio data according to the AI ​​model;

[0092] Send audio analysis results to the terminal device.

[0093] In conjunction with the embodiment of the second aspect, in some embodiments, the classification result of the multiple audio frames is one of the following:

[0094] Useful frame;

[0095] Useless frames;

[0096] Among them, the useful frame includes the characteristics of the sound event, and the useless frame does not include the characteristics of the sound event.

[0097] In combination with the embodiments of the second aspect, in some embodiments, the processing path corresponding to the useful frames among the multiple audio frames is the first path.

[0098] In combination with the embodiment of the second aspect, in some embodiments, the processing path corresponding to the useless frame in the plurality of audio frames is the second path; or,

[0099] Among multiple audio frames, the processing path of the (m+1)th audio frame is determined based on the classification result of at least one frame before the (m+1)th audio frame and / or the classification result of at least one frame after the (m+1)th audio frame, where m is an integer and the (m+1)th audio frame is a useless frame.

[0100] In combination with the embodiments of the second aspect, in some embodiments, when the classification result of the mth audio frame is a useful frame or the classification result of the (m+2)th audio frame is a useful frame, the processing path of the (m+1)th audio frame is the first path.

[0101] In conjunction with the embodiment of the second aspect, in some embodiments, the method further includes:

[0102] Determining, based on a path flag carried in the bitstream, a processing path for the multiple audios;

[0103] The processing paths of the multiple audio frames are identified by corresponding path flags, and the path flags are used to indicate that the processing path of the audio frames is the first path or the second path, and the paths are carried in the bitstream.

[0104] In combination with the embodiments of the second aspect, in some embodiments, the bit stream is obtained by preprocessing and compressing the audio frames in the first path, wherein the audio frames in the second path are discarded.

[0105] In conjunction with the embodiment of the second aspect, in some embodiments, the method further includes:

[0106] Determine a timestamp corresponding to a corresponding audio frame according to metadata, wherein, in at least one audio frame corresponding to a sound event, the metadata is transmitted in a first audio frame in at least one audio frame, and the metadata is used to indicate a timestamp corresponding to the first audio frame.

[0107] In combination with the embodiments of the second aspect, in some embodiments, metadata corresponding to two audio frames whose interval is within a set range are transmitted after compression.

[0108] In conjunction with the embodiment of the second aspect, in some embodiments, the method further includes:

[0109] Determine the position of the audio frame corresponding to the metadata based on the path flag or the flag corresponding to the metadata carried in the bitstream;

[0110] The position of the audio frame corresponding to the metadata is determined according to a path flag; or, the position of the audio frame corresponding to the metadata is determined by a flag corresponding to the metadata, and the path flag or the flag corresponding to the metadata is carried in the bit stream.

[0111] In combination with the embodiments of the second aspect, in some embodiments, the bit stream is obtained by compressing the silence frames and the audio frames in the first path, wherein the silence frames are used to replace the audio frames in the second path.

[0112] In conjunction with the embodiment of the second aspect, in some embodiments, the method further includes:

[0113] Determine the compression method for different frames based on the method flag carried in the bitstream;

[0114] The compression method of the silence frame and the compression method of the audio frame in the first path are identified by different method flags, and the method flags are carried in the bit stream.

[0115] In combination with the embodiments of the second aspect, in some embodiments, there is a delay duration when decompressing the (m+1)th audio frame, and the delay duration is the length of at least one audio frame.

[0116] In a third aspect, an embodiment of the present disclosure provides a terminal device, including:

[0117] A decision module, used to determine a processing path for each audio frame according to classification results of the multiple audio frames; wherein the multiple audio frames are obtained by dividing the collected audio data into frames;

[0118] A compression module, used for compressing some audio frames among the multiple audio frames according to the processing path to obtain a bit stream;

[0119] The transceiver module is used to send bit streams to the cloud server.

[0120] In a fourth aspect, an embodiment of the present disclosure provides a cloud server, including:

[0121] The transceiver module is used to receive a bit stream sent by a terminal device. The bit stream is obtained by compressing some audio frames in multiple audio frames according to a processing path of the audio frames. The processing path of the audio frames is determined according to the classification results of the audio frames. The multiple audio frames are obtained by framing the collected audio data.

[0122] In a fifth aspect, an embodiment of the present disclosure provides a communication device, including:

[0123] one or more processors;

[0124] Wherein, the communication device is configured to implement the method of the first aspect.

[0125] In a sixth aspect, an embodiment of the present disclosure provides a communication device, including:

[0126] one or more processors;

[0127] Wherein, the communication device is configured to implement the method as described in the second aspect.

[0128] In a seventh aspect, an embodiment of the present disclosure provides a storage medium, wherein the storage medium stores instructions, wherein:

[0129] When the instruction is executed on a communication device, the communication device is caused to execute the method according to the first aspect or the second aspect.

[0130] In an eighth aspect, an embodiment of the present disclosure provides a program product, wherein:

[0131] When the program product is executed by a communication device, the communication device is caused to execute the method as described in the first aspect or the second aspect.

[0132] In a ninth aspect, an embodiment of the present disclosure provides a chip or a chip system, which includes a processing circuit configured to execute the method described in the optional implementation of the first and second aspects above.

[0133] It is understandable that the above-mentioned terminals, network devices, communication systems, storage media, program products, computer programs, chips or chip systems are all used to execute the methods proposed in the embodiments of the present disclosure. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods, which will not be repeated here.

[0134] The embodiments of the present disclosure are not exhaustive, but are only illustrative of some embodiments, and are not intended to be a specific limitation on the scope of protection of the present disclosure. In the absence of contradiction, each step in a certain embodiment can be implemented as an independent embodiment, and the steps can be arbitrarily combined. For example, a solution after removing some steps in a certain embodiment can also be implemented as an independent embodiment, and the order of the steps in a certain embodiment can be arbitrarily exchanged. In addition, the optional implementation methods in a certain embodiment can be arbitrarily combined; in addition, the embodiments can be arbitrarily combined, for example, some or all of the steps of different embodiments can be arbitrarily combined, and a certain embodiment can be arbitrarily combined with the optional implementation methods of other embodiments.

[0135] In each embodiment of the present disclosure, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between the embodiments are consistent and can be referenced to each other, and the technical features in different embodiments can be combined to form a new embodiment based on their internal logical relationships.

[0136] The terms used in the embodiments of the present disclosure are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure.

[0137] In the embodiments of the present disclosure, unless otherwise specified, elements expressed in the singular form, such as "a", "an", "the", "above", "said", "aforementioned", "this", etc., may mean "one and only one", or "one or more", "at least one", etc. For example, when using articles such as "a", "an", "the" in English in translation, the noun after the article may be understood as a singular expression or a plural expression.

[0138] In the embodiments of the present disclosure, “plurality” refers to two or more.

[0139] In some embodiments, the terms “at least one,” “one or more,” “a plurality of,” “multiple,” etc. may be used interchangeably.

[0140] In some embodiments, "at least one of A and B", "A and / or B", "A in one case, B in another case", "in response to one case A, in response to another case B", etc., may include the following technical solutions according to the situation: in some embodiments, A (A is executed independently of B); in some embodiments, B (B is executed independently of A); in some embodiments, execution is selected from A and B (A and B are selectively executed); in some embodiments, A and B (both A and B are executed). When there are more branches such as A, B, C, etc., the above is also similar.

[0141] In some embodiments, the recording method of "A or B" may include the following technical solutions according to the situation: in some embodiments, A (A is executed independently of B); in some embodiments, B (B is executed independently of A); in some embodiments, execution is selected from A and B (A and B are selectively executed). When there are more branches such as A, B, C, etc., the above is also similar.

[0142] The prefixes such as "first" and "second" in the embodiments of the present disclosure are only used to distinguish different description objects, and do not constitute restrictions on the position, order, priority, quantity or content of the description objects. The statement of the description object refers to the description in the context of the claims or embodiments, and should not constitute unnecessary restrictions due to the use of prefixes. For example, if the description object is a "field", the ordinal number before the "field" in the "first field" and the "second field" does not limit the position or order between the "fields", and the "first" and "second" do not limit whether the "fields" they modify are in the same message, nor do they limit the order of the "first field" and the "second field". For another example, if the description object is a "level", the ordinal number before the "level" in the "first level" and the "second level" does not limit the priority between the "levels". For another example, the number of description objects is not limited by the ordinal number, and can be one or more. Taking the "first device" as an example, the number of "devices" can be one or more. In addition, the objects modified by different prefixes may be the same or different. For example, if the description object is "device", then the "first device" and the "second device" may be the same device or different devices, and their types may be the same or different. For another example, if the description object is "information", then the "first information" and the "second information" may be the same information or different information, and their contents may be the same or different.

[0143] In some embodiments, “including A”, “comprising A”, “used to indicate A”, and “carrying A” can be interpreted as directly carrying A or indirectly indicating A.

[0144] In some embodiments, terms such as "in response to ...", "in response to determining ...", "in the case of ...", "at the time of ...", "when ...", "if ...", "if ...", etc. can be used interchangeably.

[0145] In some embodiments, terms such as "greater than", "greater than or equal to", "not less than", "more than", "more than or equal to", "not less than", "higher than", "higher than or equal to", "not lower than", and "above" can be replaced with each other, and terms such as "less than", "less than or equal to", "not greater than", "less than", "less than or equal to", "no more than", "lower than", "lower than or equal to", "not higher than", and "below" can be replaced with each other.

[0146] In some embodiments, devices and equipment may be interpreted as physical or virtual, and their names are not limited to the names recorded in the embodiments. In some cases, they may also be understood as "equipment", "device", "circuit", "network element", "node", "function", "unit", "section", "system", "network", "chip", "chip system", "entity", "subject", etc.

[0147] In some embodiments, "network" can be interpreted as devices included in the network, such as access network equipment, core network equipment, etc. Among them, "access network equipment (AN device)" can also be called "radio access network device (RAN device)", "base station (BS)", "radio base station (radio base station)", "fixed station (fixed station)", and in some embodiments, it can also be understood as "node (node)", "access point (access point)", "transmission point (TP)", "reception point (reception point, RP)", "transmission and / or reception point (transmission / reception point, TRP)", "panel (panel)", "antenna panel (antenna panel)", "antenna array (antenna array)", "cell (cell)", "macro cell (macro cell)", "small cell (small cell)", "femto cell (femto cell)", "pico cell (pico cell)", "sector (sector)", "cell group (cell group)", "serving cell (serving cell)", "carrier (carrier)", "component carrier (component carrier)", "bandwidth part (bandwidth part, BWP)" and the like.

[0148] In some embodiments, a "terminal" or "terminal device"

[0149] The term “terminal device” may be referred to as “user equipment (UE)”, “user terminal (user terminal)”, “mobile station (MS)”, “mobile terminal (MT)”, subscriber station, mobile unit, subscriber unit, wireless unit, remote unit, mobile device (mobile device), wireless device (wireless device), wireless communication device (wireless communication device), remote device (remote device), mobile subscriber station, access terminal (access terminal), mobile terminal (mobile terminal), wireless terminal (wireless terminal), remote terminal (remote terminal), handset, user agent, mobile client (mobile client), client, etc.

[0150] In some embodiments, acquisition of data, information, etc. may comply with the laws and regulations of the country where the data is obtained.

[0151] In some embodiments, data, information, etc. may be obtained with the user's consent.

[0152] In addition, each element, each row, or each column in the table of the embodiments of the present disclosure may be implemented as an independent embodiment, and the combination of any elements, any rows, and any columns may also be implemented as an independent embodiment.

[0153] Figure 1a FIG. 1 is a schematic diagram of the architecture of a communication system according to an embodiment of the present disclosure. Figure 1a As shown, the communication system 100 includes a terminal device 101 and a cloud server 102. The terminal device 101 may be referred to as an end side device (End Side Device), and the cloud server 102 may be referred to as a cloud side (Cloud Side).

[0154] In some embodiments, the terminal device 101 can be connected to the cloud server 102 via the Internet.

[0155] Figure 1bFIG. 1 is a schematic diagram of the architecture of a communication system according to an embodiment of the present disclosure. Figure 1b As shown, the communication system 100 includes a terminal device 101 and a cloud server 102 .

[0156] In some embodiments, the terminal device 101 may include a sensor unit and an edge processing unit, and the cloud server 102 may include a central processing unit. The structures on both sides are only for illustration, and they may also include other structural units for implementing different functions.

[0157] In some embodiments, the terminal device 101 can capture audio data (capturing audio data) through a sensor unit, and pre-process and compress the data (pre-processing and audio compression) through an edge processing unit to reduce storage space usage and improve transmission efficiency.

[0158] In some embodiments, based on the central processing unit, the cloud server 102 can have powerful computing and processing capabilities and can be used to deploy large AI models. The central processing unit can perform audio data analysis based on the AI ​​model.

[0159] In some embodiments, the terminal device 101 can be a wearable device, an Internet of Things device, a mobile phone, a car with communication function, a smart car, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in self-driving, a wireless terminal device in remote medical surgery, a wireless terminal device in a smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, and at least one of a wireless terminal device in a smart home, but not limited to these.

[0160] In some embodiments, the terminal device 101 can access the network through a network device, which may include at least one of an access network device and a core network device.

[0161] The access network device is, for example, a node or device that accesses a terminal to a wireless network. The access network device may include a base station in a 5G communication system, an evolved NodeB (eNB), a next generation evolved NodeB (ng-eNB), a next generation NodeB (gNB), a node B (NB), a home node B (HNB), a home evolved nodeB (HeNB), a wireless backhaul device, a radio network controller (RNC), a base station controller (BSC), a base transceiver station (BTS), a base band unit (BBU), a mobile switching center, a base station in a 6G communication system, an open base station (Open RAN), a cloud base station (Cloud RAN), a base station in other communication systems, and at least one of an access node in a wireless fidelity (WiFi) system, but is not limited thereto.

[0162] The access network equipment can be composed of a centralized unit (CU) and a distributed unit (DU), where the CU can also be called a control unit. The CU-DU structure can be used to split the protocol layer of the access network equipment. The functions of some protocol layers are centrally controlled by the CU, and the functions of the remaining part or all of the protocol layers are distributed in the DU, which is centrally controlled by the CU, but is not limited to this.

[0163] The core network device can be a device, including one or more network elements, or it can be multiple devices or device groups, each including all or part of one or more network elements. The network element can be virtual or physical. The core network, for example, includes at least one of the Evolved Packet Core (EPC), the 5G Core Network (5GCN), and the Next Generation Core (NGC). Alternatively, the core network device refers to a network element with specific functions, such as the Access Management Function (AMF), the Service Management Function (SMF), etc.

[0164] In some embodiments, the technical solution of the present disclosure may be applicable to the Open RAN architecture. In this case, the interfaces between or within the access network devices involved in the embodiments of the present disclosure may become internal interfaces of the Open RAN, and the processes and information interactions between these internal interfaces may be implemented through software or programs.

[0165] It can be understood that the communication system described in the embodiment of the present disclosure is for the purpose of more clearly illustrating the technical solution of the embodiment of the present disclosure, and does not constitute a limitation on the technical solution provided by the embodiment of the present disclosure. A person skilled in the art can know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solution provided by the embodiment of the present disclosure is also applicable to similar technical problems.

[0166] The following embodiments of the present disclosure can be applied to Figure 1a or Figure 1b The communication system 100, or a portion thereof, is shown but is not limited thereto.

[0167] Figure 1a or Figure 1b The various entities shown are examples, and the communication system may include Figure 1a or Figure 1b All or part of the subject, and may also include Figure 1a or Figure 1b For entities other than the above, the number and form of each entity are arbitrary, and the connection relationship between the entities is an example. The entities may be connected or disconnected, and the connection may be in any manner, which may be direct or indirect, and may be wired or wireless.

[0168] The embodiments of the present disclosure may be applied to Long Term Evolution (LTE), LTE-Advanced (LTE-A), LTE-Beyond (LTE-B), SUPER 3G, IMT-Advanced, 4th generation mobile communication system (4G), 5th generation mobile communication system (5G), 5G new radio (NR), future radio access (FRA), new radio access technology (RAT), new radio (NR), new radio access (NX), future generation radio access (FX), Global System for Mobile communications (GSM (registered trademark)), CDMA2000, Ultra Mobile Broadband (UMB), IEEE 802.11 (Wi-Fi (registered trademark)), IEEE 802.16 (WiMAX (registered trademark)), IEEE 802.20, Ultra-WideBand (UWB), Bluetooth (registered trademark), Public Land Mobile Network (PLMN) network, Device-to-Device (D2D) system, Machine-to-Machine (M2M) system, Internet of Things (IoT) system, Vehicle-to-Everything (V2X), systems using other communication processing methods, and next-generation systems based on them. In addition, multiple systems can also be combined (for example, a combination of LTE or LTE-A and 5G, etc.) for application.

[0169] AI-based intelligent medical diagnosis has great demand and market prospects. Among them, health monitoring based on AI audio technology can be applied to different scenarios.

[0170] For example, the Sleeping Quality Monitoring scenario. As the pressure of modern people's lives increases, the quality of sleep is generally poor. The AI-based sleep quality monitoring scenario can monitor and analyze sleep disorders for a long time. It can not only solve the problem of low efficiency of traditional diagnostic methods, but also avoid the disadvantages of traditional diagnostic methods that are time-consuming and require professionals to implement. Sleep quality monitoring can provide timely diagnostic services to patients with sleep disorders in a more timely manner, and automatically collect and analyze data based on AI technology. In addition, smart sleep monitoring equipment that supports AI audio technology is small in size and suitable for placement in the bedroom or bedside for close-range monitoring, providing monitoring methods for people with sleep monitoring needs, such as potential patients with sleep disorders or patients with sleep disorders.

[0171] Another example is the daily and long-term monitoring of patients scenario. In this scenario, monitors or medical staff are more needed to conduct real-time monitoring in order to understand the condition of the monitored person in real time, such as breathing sound, coughing sound, or cry for help, so as to deal with it in time. Alternatively, in this scenario, a condition record is needed, and the AI-based sound monitoring system can record the voice of the monitored person. If long-term observation is required, the recorded sound can be used to analyze the changes in the condition.

[0172] In AI audio technology, steps such as data collection, feature extraction, pattern recognition, and feedback and suggestions can be included. Among them, in data collection, audio data of the monitored person throughout the sleep process can be collected through a microphone. In feature extraction, the AI ​​algorithm can extract key features from the audio data, such as snoring frequency, breathing rhythm, sound discontinuity, etc. In pattern recognition, the extracted features can be analyzed by an AI model or a machine learning model to identify possible sleep disorders, such as sleep apnea. In feedback and suggestions, the AI ​​model can feed back the analysis results to the user or doctor, and provide possible improvement suggestions, such as suggesting seeking help from a doctor.

[0173] Smart medical monitoring applications (apps), handheld devices or wearable devices are usually monitored in real time to continuously collect and analyze data. If an abnormality is detected, a warning can be issued immediately to prompt the patient or doctor. Generally speaking, the computing power of the terminal device 101 is limited. If a more comprehensive and accurate analysis of the data is required, the data needs to be sent to the cloud server 102 for analysis. In the health monitoring scenario, sleep disorder events do not always exist. For example, events such as coughing or snoring do not always exist. If all the collected data is transmitted from the terminal device 101 to the cloud server 102 in real time for analysis, the transmission efficiency is low; especially when multiple users need to transmit data at the same time, the transmission efficiency is more affected and the bandwidth requirements are higher.

[0174] The embodiment of the present disclosure provides an audio processing method, which adopts an adaptive transmission and compression method to improve transmission efficiency.

[0175] Figure 2a FIG. 1 is an interactive schematic diagram of an audio processing method according to an embodiment of the present disclosure. Figure 2a As shown, the embodiment of the present disclosure relates to an audio processing method, which includes:

[0176] Step S2101, the terminal device 101 collects audio data (audio raw data).

[0177] In some embodiments, the terminal device 101 may be a wearable device or other device capable of collecting user data in real time at a close distance. For example, the terminal device 101 may collect audio data during the user's sleep.

[0178] In some embodiments, the terminal device 101 can collect audio data in the aforementioned different scenarios, such as sleep quality monitoring scenarios, or daily and long-term monitoring scenarios.

[0179] In some embodiments, reference Figure 2c In the architecture shown, the terminal device 101 can collect audio data through an audio collection (SoundCapture) unit, and the audio collection unit can send the collected audio data to a pre-processing (Pre-processing) unit.

[0180] In one example, the audio acquisition unit may include a sensor unit.

[0181] In some embodiments, reference Figure 2d In the architecture shown, the terminal device 101 can collect audio data through an audio collection unit, and the audio collection unit can send the collected audio data to a classifier unit.

[0182] In some embodiments, after the terminal device 101 collects audio data, the collected audio data can be framed by an audio collection unit so as to process the framed data later.

[0183] In one example, the audio data is divided into frames to obtain a plurality of audio frames, wherein the frame length of each frame, ie, each audio frame, may be between 10 milliseconds (ms) and 30 ms.

[0184] Step S2102: the terminal device 101 classifies multiple audio frames corresponding to the audio data to obtain a classification result.

[0185] In some embodiments, the terminal device 101 may classify multiple audio frames based on the analysis of the audio data.

[0186] In some embodiments, reference Figure 2d As shown, the terminal device 101 may classify multiple audio frames through a classification unit. Figure 2c As shown, the terminal device 101 may integrate the function of a classifier or a classification unit in a preprocessing unit to classify multiple audio frames.

[0187] In some embodiments, the terminal device 101 may classify the audio frames according to the characteristics of the sound events.

[0188] Optionally, the sound event may be a non-healthy event during sleep, such as coughing, snoring or talking in sleep.

[0189] Optionally, the characteristics of a sound event may refer to: frequency characteristics or sound characteristics of a specific sound event, etc., which may determine parameter characteristics of the specific sound event.

[0190] Optionally, a sound event may include multiple temporally consecutive audio frames.

[0191] In some embodiments, the classification result of the plurality of audio frames is one of the following:

[0192] Useful frame;

[0193] Useless frames;

[0194] Among them, the useful frame includes the characteristics of the sound event, and the useless frame does not include the characteristics of the sound event.

[0195] Optionally, the classification unit classifies each audio frame based on content recognition, for example, based on whether each audio frame contains features of a sound event, and can classify multiple audio frames into useful frames or useless frames.

[0196] Optionally, useful frames may be marked as "Y" frames, and useless frames may be marked as "N" frames.

[0197] Step S2103: the terminal device 101 determines a processing path for each audio frame according to the classification result.

[0198] In some embodiments, a processing path (path) for an audio frame may include a first path (path1) and a second path (path2).

[0199] In one example, reference Figure 2d As shown in the figure, the first path is to continue processing the audio frames, such as preprocessing or compression; the second path is to discard the audio frames and continue to collect new audio data. Among them, the audio frames of the second path will not be transmitted to the cloud, that is, no AI analysis will be performed. It is worth noting that the second path can also refer to Figure 2b In the embodiment Figure 2e As shown, the second path in this embodiment is Figure 2d Take this as an example for description.

[0200] In some embodiments, reference Figure 2d As shown, the terminal device 101 can determine the processing paths of multiple audio frames through a decision (Decider) unit. Figure 2c As shown, the terminal device 101 may integrate the functions of a decision maker or a decision unit in a pre-processing unit to determine a processing path for a plurality of audio frames.

[0201] In a possible implementation, the terminal device 101 may directly determine the processing path of the audio frame according to the classification result of the audio frame.

[0202] In one example, the terminal device 101 determines that the processing path corresponding to the useful frames among the multiple audio frames is the first path. The processing path corresponding to the useless frames among the multiple audio frames is determined to be the second path. In this example, the terminal 101 can continue to process the audio frames of the first path and discard the audio frames of the second path.

[0203] In another possible implementation, the terminal device 101 determines a processing path for each audio frame according to the integrity of the sound event.

[0204] In this implementation, for a sound event, the following situation may exist: a portion of the audio frames of the sound event contain the characteristics or target content of the sound event, while the remaining audio frames of the sound event are useless parts. During the classification process, the remaining audio frames will be classified as useless frames. If the processing path of the useless frames is determined to be the second path, they may not be transmitted, thereby losing some useful information of the sound event or losing the integrity of the sound event. The remaining audio frames may be edge audio frames of the sound event, such as audio frames located at the beginning or end of a sound event, which still have a role in the complete analysis of the sound event.

[0205] In this implementation, the terminal device 101 may adaptively determine the processing path of edge audio frames in such sound events.

[0206] In this implementation, it is determined that the processing path corresponding to the useful frame among the multiple audio frames is the first path. For the useless frame, its processing path may be the first path or the second path.

[0207] For example, among multiple audio frames, the processing path of the (m+1)th audio frame is determined based on the classification results of at least one frame before the (m+1)th audio frame and / or the classification results of at least one frame after the (m+1)th audio frame, where M is an integer and the (m+1)th audio frame is a useless frame.

[0208] Among them, the (m+1)th audio frame can be understood as the current frame. When the frame is classified as a useless frame, the decision unit needs to comprehensively determine the processing path of the (m+1)th audio frame based on the classification results of one or more frames before it and / or the classification results of one or more frames after it, so as to ensure that the edge audio frame of a sound event is not missed in the first path.

[0209] In one example, when the classification result of the mth audio frame is a useful frame or the classification result of the (m+2)th audio frame is a useful frame, the processing path of the (m+1)th audio frame is the first path. In this example, the processing path of the (m+1)th audio frame is determined based on the classification result of a frame before or after the (m+1)th audio frame.

[0210] In this example, reference Figure 2f As shown, Figure 2f The decision result of the (m+1)th audio frame is illustrated as a processing path, wherein the path of the (m+1)th audio frame depends on the classification result of the mth audio frame and the classification result of the (m+2)th audio frame.

[0211] In this embodiment, the decision unit may use a caching mechanism to accurately determine the processing path of the audio frame. The decision unit may include a buffer that can cache multiple audio frames.

[0212] For example, before determining the processing path of the (m+1)th frame, the terminal device 101 caches the classification result of the mth frame. Figure 2g As shown, Figure 2g In the example, m is equal to 1, Frame1 represents the mth frame, Frame2 represents the (m+1)th frame, and Frame3 represents the (m+2)th frame. Based on this cache mechanism, the decision unit can cache one or more frames. Figure 2g In the example in , we cache one frame.

[0213] Determining the processing path of the (m+1)th frame based on the cache may cause a delay in the subsequent processing flow. In this implementation, as in step S2105, there is a delay duration when compressing the (m+1)th audio frame, and the delay duration is the length of at least one audio frame. In addition, as in step S2104, the above-mentioned delay duration also exists when preprocessing the (m+1)th audio frame.

[0214] For example, combined with Figure 2g For example, when the decision unit determines the processing path of Frame2, it needs to cache Frame1. After the processing path of Frame2 is determined, Frame1 is transmitted to the pre-processing unit for pre-processing, so that the pre-processing unit and the audio compression unit will delay an audio frame, that is, the length of Frame1.

[0215] In some embodiments, the method may further include: adding a path flag to the audio frame according to the processing paths of the multiple audio frames, the path flag being used to indicate that the processing path of the audio frame is the first path or the second path. That is, the processing paths of the multiple audio frames are identified by corresponding path flags, and the path flag is used to indicate that the processing path of the audio frame is the first path or the second path.

[0216] Among them, the path flag needs to be carried in the bit stream.

[0217] In this embodiment, after determining the processing path of each audio frame, a path flag may be added to each audio frame to indicate its path, so that a decoding end such as a cloud server can know the processing path of each audio frame and perform adaptive processing. The path flag may be represented by, for example, 1 bit. When the value of the 1 bit is 1, the processing path corresponds to path1; when the value of the 1 bit is 0, the processing path corresponds to path2.

[0218] Step S2104: the terminal device 101 pre-processes the audio frames in the first path.

[0219] In some embodiments, reference Figure 2d As shown, the decision unit transmits the audio frames of the first path to the preprocessing unit. The terminal device 101 can preprocess the audio frames in the first path through the preprocessing unit.

[0220] In some embodiments, the terminal device 101 may discard the audio frames in the second path. Thus, the frames transmitted to the pre-processing unit may be discontinuous.

[0221] In some embodiments, preprocessing may include at least one of the following operations: performing noise reduction, noise suppression, echo suppression, sound source localization, sound source separation, and sound enhancement on the data before compressing the audio data to improve the accuracy of artificial intelligence analysis.

[0222] In some embodiments, the pre-processing unit further includes a local timestamp generation module (Local TimeStampGeneration module).

[0223] In one example, during the preprocessing process, the terminal device 101 can generate a corresponding timestamp for each audio frame in the first path through a local timestamp generation module. Thus, in a scenario where the received frames may be discontinuous, the preprocessing unit can obtain the time information of each audio frame based on the timestamp.

[0224] In some embodiments, metadata may be used to carry the timestamp, or the time information of each sound event may be carried in metadata.

[0225] In some embodiments, the local timestamp generation module generates timestamps every frame, but metadata is only transmitted in special frames.

[0226] In one example, in at least one audio frame corresponding to a sound event, metadata is transmitted in a first audio frame in the at least one audio frame, where the metadata is used to indicate a timestamp corresponding to the first audio frame.

[0227] In this example, reference Figure 2h As shown, the processing path of each audio frame is determined based on the classification results of different frames. Among them, in the audio frame corresponding to the audio data (data), the processing path corresponding to the m frame (frame) to the (m+2) frame is the first path (path1), and the processing path of the (m-1) frame before the m frame is the second path (path2), and the processing path of the (m+3) frame after the (m+2) frame is the second path, indicating that the m frame (frame) to the (m+2) frame corresponds to a complete sound event. The metadata (metadata) of the sound event can be transmitted in the first frame in the sound event, that is, the metadata can be transmitted in the m frame, or aligned with the (m-1) frame.

[0228] In some embodiments, metadata may be a set of integer values ​​used to describe detailed time information. For example, metadata may transmit all fields related to time information, such as "year / month / day / hour / minute / second / millisecond", or metadata may transmit high-precision fields related to time information, such as "day / hour / minute / second / millisecond".

[0229] In some embodiments, the location of the audio frame corresponding to the metadata is determined based on the path flag. If the metadata is transmitted in a special frame, such as the first audio frame of the sound event, the frame with the metadata can be determined based on the path flag of each audio frame. Figure 2h As shown, the path flag of the (m-1) frame indicates that its processing path is path2, the path flag of the (m+3) frame indicates that its processing path is path2, and the m frame to the (m+2) frame corresponds to a complete sound event. Based on the fact that the path flag of the m frame corresponds to path1, and the path flag of its adjacent previous frame (m-1) frame corresponds to path2, it can be determined that the metadata of the sound event is located on the m frame. Therefore, for the decoding end such as the cloud server 102, it can determine the frame where the metadata is located based on the path flag, and then obtain the time information indicated by the metadata.

[0230] In addition to the method of this embodiment, metadata can also be indicated by a separate flag, such as the position of the audio frame corresponding to the metadata is determined by the flag corresponding to the metadata. The cloud server 102 determines the frame where the metadata is located based on the flag corresponding to the metadata. Please refer to the description of the following embodiment.

[0231] The flag corresponding to the metadata includes: a metadata flag or a differential metadata flag, refer to the description of the following embodiments.

[0232] In some embodiments, Figure 2n As shown, the whole metadata structure may include: metadata flags and metadata data.

[0233] Combined with the description of the above embodiments, and with reference to Figure 2o and Figure 2p As shown, the metadata data and the metadata flag correspond to each other. The metadata data may be a set of time information transmitted by the metadata, such as time parameters of different granularities such as year, month, and day, etc., and corresponding metadata flags may be set. The metadata flag may be used to indicate an audio frame with metadata, so that a decoding end such as the cloud server 102 can know the location of the metadata, thereby knowing the time information based on the metadata in the audio frame.

[0234] In one example, if Figure 2o As shown in FIG. 1 , in a set of time information, if the values ​​of all metadata flags are 1, the entire metadata data is transmitted in the bitstream. Or, as Figure 2pAs shown, in a set of time information, if the value of the partial metadata flag is 1, the metadata data with the value of 1 is transmitted in the bitstream. In this example, the value of the metadata flag is 1 or 0, and the metadata flag can be transmitted in the bitstream.

[0235] In the above example, if the data of the metadata is 0, that is, any time parameter is 0, the value of the metadata flag corresponding to the data of the metadata is 0.

[0236] In some embodiments, Figure 2q As shown, the metadata structure may be a whole differential metadata structure, which includes: differential metadata flags and differential metadata data.

[0237] Combined with the description of the above embodiments, and with reference to Figure 2r and Figure 2s As shown, the differential metadata flag corresponds to the data of the differential metadata. The differential metadata flag is used to indicate whether the time information of the frame is different from the time information of the previous frame, and the data of the differential metadata can indicate the differential information between the time information of the frame and the time information of the previous frame. For different time parameters in a set of time information, such as year, month, and day, corresponding differential metadata flags can be set. Among them, the differential metadata flag is used to indicate whether the time information of the frame is different from the time information of the previous frame, so that the decoding end such as the cloud server can know the location of the metadata and the differential information of the frame, so as to know the time information of the current frame based on the metadata in the audio frame.

[0238] In one example, if Figure 2r As shown, in a set of time information, if the values ​​of all differential metadata flags are 1, the entire differential metadata data is transmitted in the bit stream. Figure 2s As shown, in a set of time information, if the value of some differential metadata flags is 1, the data of differential metadata with the differential metadata flag being 1 is transmitted in the bitstream. In this example, the value of the differential metadata flag is 1 or 0, and the differential metadata flag can be transmitted in the bitstream.

[0239] In the above example, if the data of the differential metadata is 0, that is, the difference between any time parameter of the frame and the time parameter of the previous frame is 0, the value of the differential metadata flag corresponding to the data of the differential metadata is 0.

[0240] In this embodiment, the differential data has a positive or negative sign (signed value), for example:

[0241] The data year of the differential metadata (differential_data_year) = the data year of the frame (data_year) - the data year of the most recent frame (data_year_last), or the data year of the differential metadata (differential_data_year) = the data year of the most recent frame (data_year_last) - the data year of the frame (data_year). The highest bit in the data can be used to represent a positive value (positive value) or a negative value (negative value).

[0242] In some embodiments, for sound events that occur at similar times, metadata between different sound events may have the same time information, such as the “year / month / day / hour” of adjacent sound times may be the same or very similar, so that redundancy may exist between different metadata.

[0243] In some embodiments, the terminal device 101 compresses metadata corresponding to two audio frames whose interval is within a set time range.

[0244] Optionally, the set time range can be determined in a predefined or configured manner. For example, the set time can be set to be in units of "years", and the metadata within the time range can be compressed and transmitted in "months / days / hours" when transmitted. The set time can be set to be in units of "months", and the metadata within the time range can be compressed and transmitted in "days / hours" when transmitted. The set time can be set to be in units of "days", and the metadata within the time range can be compressed and transmitted in "hours / minutes / seconds / milliseconds" when transmitted. Through the compressed transmission of metadata, most of the redundancy in the metadata frames of adjacent sound events can be removed.

[0245] Step S2105, the terminal device 101 compresses the preprocessed frame to obtain a bit stream.

[0246] In some embodiments, reference Figure 2d and Figure 2k As shown, the pre-processing unit transmits the pre-processed audio data and the metadata output by the local timestamp generation module to the audio compression unit, and the terminal device 101 compresses the audio data through the audio compression unit. The pre-processing unit may include a data pre-processing module and a local timestamp generation module.

[0247] In some embodiments, the position of the metadata in the audio frame corresponding to the audio data can be selected in a variety of ways. Figure 2hTaking the m frames shown in the figure as an example, its structure may include m frame headers, m frame metadata and m frame audio compression data, or its structure may include m frame headers, m frame metadata and m frame audio preprocessing data. In an optional manner, refer to Figure 2i As shown, the m-frame information structure includes m-frame headers, m-frame metadata, and m-frame audio compression data. In another optional manner, referring to FIG. Figure 2j As shown, the m-frame information structure includes m-frame headers, m-frame audio compression data and m-frame metadata.

[0248] The m frame header may include configuration information of the m frame (m frame configuration information), such as a synchronization field (sync word), control information (control information) or a cyclic redundancy check code (Cyclic Redundancy Check, CRC) and the like.

[0249] In some embodiments, the terminal device 101 can achieve compression through various compression methods such as lossy methods or lossless methods.

[0250] Optionally, lossy compression can be used. Lossy methods can filter the frequency of the input audio signal according to the frequency range audible to the human ear and the masking effect, and perform audio compression so that the human ear is not easily aware of the distortion. For example, the Advanced Audio Coding (AAC) compression algorithm in the Moving Picture Experts Group (MPEG) standard. The AAC compression algorithm uses a psychoacoustic model to achieve lossy compression. The compression algorithm considers the importance of audio components based on the sensitive frequency bands and masking effects of the human ear, and compresses signal components that are not obvious to the human ear.

[0251] Optionally, lossless compression can be used. For example, the Scalable to Lossless (SLS) algorithm in MPEG-4 implements lossless coding based on integer modified discrete cosine transform (IntMDCT). The IntMDCT spectrum data is encoded using two complementary layers, namely the core MPEG-4 AAC layer and the lossless enhancement (LLE) layer. The former generates an AAC compatible bitstream at a predefined bit rate of the minimum rate / quality unit constituting a lossless bitstream, and the latter uses a bit plane coding method to generate a lossless part that can be scaled to a lossless bitstream. Among them, the core layer AAC in MPEG-4 SLS follows the AAC coding specification. The information that has been encoded in the core AAC bitstream can be removed from the IntMDCT spectrum data through an error mapping process; and the resulting IntMDCT spectrum residual is encoded in the LLE encoder. This error mapping process maintains the probability distribution skew of the original IntMDCT coefficients in the IntMDCT residual (approximately Laplace distribution), which is conducive to efficient encoding by the entropy encoder used in the LLE layer. For high sampling rate (96kHz and higher) input, the performance of the SLS system is further enhanced by oversampling technology. The LLE encoder can operate at a longer transmission length, while the AAC core codec can operate at a lower sampling rate. For example, when the oversampling factor (osf) is 2, the AAC core can operate at a frequency of 48kHz, while the LLE encoder operates at a frequency of 96kHz, and the frame length is twice that of the AAC core (i.e., 2048 samples). The non-core mode can be achieved by disabling the AAC core used in the MPEG-4SLS codec. In this mode, the lossless compression performance of MPEG-4SLS will be improved by 1% to 5%, and the computational complexity and implementation cost will be significantly reduced.

[0252] Optionally, the MPEG-H Multi-channel Coding Tool (MCT) can be used to perform adaptive pairing and downmixing based on the correlation between channels. This method pairs the two channels with the greatest correlation, then searches for the two channels with the greatest correlation among the remaining channels, and iterates until all the remaining channels do not reach the pairing correlation threshold, effectively eliminating redundancy between channels.

[0253] Step S2106, the terminal device 101 sends a bit stream to the cloud server 102.

[0254] In some embodiments, the terminal device 101 may send the bit stream obtained in step S2106 to the cloud server 102 .

[0255] In some embodiments, the cloud server 102 receives the bit stream and may execute step S2107.

[0256] In step S2107, the cloud server 102 parses, decompresses and performs AI analysis on the bit stream to obtain audio analysis results.

[0257] Optionally, the audio analysis results are obtained based on an artificial intelligence (AI) model.

[0258] In some embodiments, the cloud server 102 decompresses the bit stream to obtain multiple audio frames corresponding to the audio data.

[0259] In some embodiments, combined with the description in step S2103, in the implementation of the cache mechanism, there is a delay in audio compression. In this embodiment, correspondingly, there is also a delay in the decompression process of the cloud server 102. Figure 2g As shown, there is a one-frame delay during the decompression process of the cloud server 102 .

[0260] In some embodiments, the cloud server 102 can determine the processing paths of multiple audios based on the path flags carried in the bitstream during the bitstream processing. In conjunction with the description of the aforementioned step S2104, the processing paths of multiple audio frames are identified by corresponding path flags, and the path flags are used to indicate that the processing path of the audio frame is the first path or the second path, and the paths are carried in the bitstream.

[0261] For example, in some embodiments, in combination with the description of the aforementioned step S2104, the cloud server 102 can determine whether the processing path of each audio frame is path1 or path2 based on the value corresponding to pathflag being 1 or 0, so as to facilitate adaptive decompression or decoding processing.

[0262] In some embodiments, the cloud server 102 may determine the position of the audio frame corresponding to the metadata based on the path flag or the flag corresponding to the metadata carried in the bitstream during the bitstream processing, or obtain information indicating whether there is metadata from the bitstream.

[0263] For example, the cloud server 102 can determine the frame corresponding to the metadata based on the path flag. For details, please refer to the description of step S2104, which will not be repeated here.

[0264] For another example, in some embodiments, in combination with the description of the aforementioned step S2104, the cloud server 102 can determine whether metadata is transmitted in the bitstream, the location of the metadata, and the time information indicated by the metadata based on the value of metadata flags or differential metadata flags being 1 or 0.

[0265] In some embodiments, the cloud server 102 may analyze the audio data based on the AI ​​model, such as analyzing sound events in the audio data, and provide analysis results and suggestions.

[0266] Step S2108 , the cloud server 102 sends the audio analysis result to the terminal device 101 .

[0267] In some embodiments, the terminal device 101 may receive the audio analysis result and provide the audio analysis result to the user for reference.

[0268] In some embodiments, the names of information, etc. are not limited to the names recorded in the embodiments, and terms such as "information", "message", "signal", "signaling", "report", "configuration", "indication", "instruction", "command", "channel", "parameter", "domain", and "field" can be used interchangeably.

[0269] In some embodiments, "obtain", "obtain", "get", "receive", "transmit", "bidirectional transmission", "send and / or receive" can be interchangeable, and can be interpreted as receiving from other entities, obtaining from protocols, obtaining from high levels, obtaining by self-processing, autonomous implementation, etc.

[0270] In some embodiments, terms such as "send", "transmit", "report", "download", "transmit", "bidirectional transmission", "send and / or receive" can be used interchangeably.

[0271] In some embodiments, terms such as "moment", "time point", "time", and "time position" can be interchangeable, and terms such as "duration", "period", "time window", "window", and "time" can be interchangeable.

[0272] In some embodiments, terms such as "certain", "preset", "preset", "set", "indicated", "some", "any", and "first" can be interchangeable, and "specific A", "preset A", "preset A", "set A", "indicated A", "some A", "any A", and "first A" can be interpreted as A pre-defined in a protocol, etc., or as A obtained through setting, configuration, or indication, etc., and can also be interpreted as specific A, some A, any A, or first A, etc., but is not limited to this.

[0273] The method involved in the embodiment of the present disclosure may include at least one of steps S2101 to S2108, such as the method includes steps S2102 to S2104.

[0274] In some embodiments, see Figure 2a Other optional implementations recorded before or after the corresponding description.

[0275] Figure 2b FIG. 1 is an interactive schematic diagram of an audio processing method according to an embodiment of the present disclosure. Figure 2b As shown, the embodiment of the present disclosure relates to an audio processing method, which includes:

[0276] Step S2201, the terminal device 101 collects audio data.

[0277] In some embodiments, the implementation of step S2201 can refer to Figure 2a The relevant implementation methods of step S2101 will not be repeated here.

[0278] Step S2202: the terminal device 101 classifies multiple audio frames corresponding to the audio data to obtain a classification result.

[0279] In some embodiments, the implementation of step S2202 can refer to Figure 2a The relevant implementation methods of step S2102 will not be repeated here.

[0280] Step S2203: the terminal device 101 determines a processing path for each audio frame according to the classification result.

[0281] In some embodiments, in the implementation of step S2203, the second path and Figure 2a The other implementations other than the second path can be found in Figure 2a The relevant implementation methods of step S2103 are not repeated here.

[0282] In this embodiment, reference Figure 2eAs shown, the first path is a path for further processing of the audio frame, such as preprocessing or compression; the second path is a path for performing replacement processing on the audio frame.

[0283] Step S2204: the terminal device 101 replaces the audio frame in the second path with a silent frame.

[0284] In some embodiments, the audio frames in the second path are useless frames. In this embodiment, the useless frames in the second path can be replaced with silent frames.

[0285] In some embodiments, reference Figure 2e As shown, the decision unit may transmit the audio frame of the second path to a silent frame replacement unit, and the silent frame replacement unit may replace the audio frame of the second path with a silent frame. Figure 2d Example, Figure 2e In the embodiment, a silent frame replacement unit is added, and the rest of the structure can still refer to Figure 2d Related description.

[0286] In some embodiments, for audio compression algorithms such as AAC, silent frames use fewer coding bits than useless frames, so replacing useless frames with silent frames can save bits, and more bits can be used to encode valuable information to achieve less distortion.

[0287] Step S2205: the terminal device 101 pre-processes the audio frames in the first path.

[0288] In some embodiments, the implementation of step S2205 can refer to Figure 2a For example, the implementation of metadata can be included in the description of step S2104, or metadata may not be carried in this embodiment.

[0289] Step S2206: The terminal device 101 compresses the silence frame and the audio frame in the first path to obtain a bit stream.

[0290] In some embodiments, the compression method in step S2206 and the location of the metadata can refer to the relevant implementation of step S2105 and will not be repeated here.

[0291] In some embodiments, Figure 2e As shown, the terminal device 101 can use the audio compression unit to compress the silence frame and the audio frame in the first path together.

[0292] In some embodiments, the compression method of the silence frame and the compression method of the audio frame in the first path can be identified by different method flags, and the method flags are carried in the bitstream.

[0293] For example, in some embodiments, Figure 2l As shown, the terminal device 101 can use different audio compression units to compress the silent frames and the audio frames in the first path respectively, and can mark different compression methods. For example, a flag mechanism is used to indicate the compression methods of different frames with a method flag, such as the flag of compression method 1 (compression method 1) of the silent frame is different from the flag of compression method 2 (compression method 2) of the audio frame in the first path. The terminal device 101 can carry the corresponding method flag after compressing the audio frame in the first path, and carry the corresponding method flag after compressing the silent frame, and the method flag is multiplexed in the bit stream together with the compressed data. The method flag can indicate the corresponding compression method, or indicate the path information using different compression methods.

[0294] In some embodiments, the terminal device 101 can determine whether the current frame is a silent frame by a silent detection algorithm, such as by calculating the energy or other characteristic parameters of the audio signal. If a silent frame is detected, the terminal device 101 can compress the silent frame by a special compression algorithm such as compression method 1. Since the amount of information in the silent frame is small, a higher compression ratio can be used to save bandwidth. In the compressed data stream, the silent frame is marked with a corresponding method flag so that the original silent frame can be correctly restored at the decoding end such as the cloud server 102.

[0295] In the above embodiment, if the terminal device 101 adopts the 3GPP Enhanced Voice Services (EVS) compression method, the silent frame processing method in the EVS method can be turned off in this embodiment. The EVS method is based on human-audible sound coding, and the silent frame processing method is for human-audible audio, which may damage machine-audible audio or lose some valuable information in machine audio coding.

[0296] In some embodiments, the audio compression unit in this embodiment is in a stream format that requires continuous input of audio data. Figure 2a In the embodiment, the file format may be similar.

[0297] Step S2207, the terminal device 101 sends a bit stream to the cloud server 102.

[0298] In some embodiments, the implementation of step S2207 can refer to Figure 2a The relevant implementation methods of step S2106 will not be repeated here.

[0299] In step S2208, the cloud server 102 parses, decompresses and performs AI analysis on the bit stream to obtain audio analysis results.

[0300] In some embodiments, the implementation of step S2208 can refer to Figure 2a The relevant implementation methods of step S2107 are not repeated here.

[0301] In some embodiments, if metadata is also carried in the embodiment, the cloud server 102 can obtain information indicating whether metadata is present from the bitstream, see the description of step S2107. If metadata is not carried in the embodiment, since the transmission of the embodiment is stream transmission, the cloud server 102 can also know the time domain order of each audio frame data.

[0302] In some embodiments, the cloud server 102 can determine the compression method of different frames based on the method flag carried in the bitstream during bitstream processing; wherein the compression method of the silent frame and the compression method of the audio frame in the first path are identified by different method flags, and the method flag is carried in the bitstream.

[0303] In this embodiment, the cloud server 102 can obtain the method flag from the bit stream to obtain the compression method of different frames.

[0304] For example, in some embodiments, in conjunction with the description of step S2206, Figure 2l In the corresponding embodiment, the cloud server 102 can distinguish compression method 1 and compression method 2 through the method flag after decompression, thereby determining the corresponding decompression method, such as decompression method 1 (Decompression method 1) and decompression method 2 (Decompression method 2), and then decompress to obtain the silent frame and the audio frame in the first path.

[0305] In some embodiments, Figure 2m As shown, the cloud server 102 can detect the silent frame based on the silence detection algorithm in step S2206, and use different decompression methods for the silent frame and the audio frame in the first path, and use the decompression method flag to identify the different decompression methods. Figure 2l and Figure 2mAfter decompression based on the method flag, the cloud server 102 uses the decompression method flag to identify different decompression methods. There is a corresponding relationship or mapping relationship between the compression method, the decompression method and the processing path.

[0306] Step S2209 , the cloud server 102 sends the audio analysis result to the terminal device 101 .

[0307] In some embodiments, the implementation of step S2209 can refer to Figure 2a The relevant implementation methods of step S2108 will not be repeated here.

[0308] The method involved in the embodiment of the present disclosure may include at least one of steps S2201 to S2209, such as the method includes steps S2202 to S2205.

[0309] In some embodiments, see Figure 2b Other optional implementations recorded before or after the corresponding description.

[0310] Figure 3 FIG. 1 is a flow chart of an audio processing method according to an embodiment of the present disclosure. Figure 3 As shown, the embodiment of the present disclosure relates to an audio processing method, which is executed by a terminal device 101, and the method includes:

[0311] Step S3101, determining a processing path for each audio frame according to the classification results of the multiple audio frames.

[0312] In some embodiments, the implementation of step S3101 can refer to Figure 2a The related implementation methods of steps S2101 to S2103 are not repeated here.

[0313] Step S3102: compress some audio frames in the plurality of audio frames according to the processing path to obtain a bit stream.

[0314] In some embodiments, the implementation of step S3102 can refer to Figure 2a The related implementation methods of steps S2104 to S2105 are not described here.

[0315] In some embodiments, the implementation of step S3102 can refer to Figure 2b The related implementation methods of steps S2204 to S2206 will not be repeated here.

[0316] Step S3103, sending the bit stream to the cloud server 102.

[0317] In some embodiments, the implementation of step S3103 can be seen in Figure 2a The relevant implementation methods of step S2207 are not repeated here.

[0318] The method involved in the embodiment of the present disclosure may include at least one of steps S3101 to S3303.

[0319] In some embodiments, see Figure 3 Other optional implementations recorded before or after the corresponding description.

[0320] Figure 4 1 is a flow chart of an audio processing method according to an embodiment of the present disclosure. As shown in the figure, the present disclosure embodiment relates to an audio processing method, which is executed by a cloud server 102, and the method includes:

[0321] Step S4101, receiving the bit stream sent by the terminal device 101.

[0322] In some embodiments, the implementation of step S4101 can refer to Figure 2a The relevant implementation methods of step S2207 are not repeated here.

[0323] In some embodiments, the bit stream can be obtained by referring to Figure 2a The related implementation methods of steps S2104 to S2105, or the related implementation methods of steps S2204 to S2206, are not described in detail here.

[0324] In some embodiments, see Figure 4 Other optional implementations recorded before or after the corresponding description.

[0325] To facilitate understanding of the audio processing method provided by the embodiments of the present disclosure, the following examples may be referred to:

[0326] Example 1:

[0327] like Figure 2c As shown, the sound capture module can divide the audio data collected by the sensor unit into frames, which is convenient for the later module to compress the data. Among them, the frame length is generally 10ms-30ms.

[0328] The pre-processing module can perform operations such as noise reduction, echo suppression, and sound enhancement on the data before compression to improve the accuracy of AI analysis.

[0329] The audio compression module can compress audio data and metadata into a bitstream using lossy or lossless compression methods. The lossy algorithm uses AAC or High-Efficiency Advanced Audio Coding (HEAAC), and the lossless algorithm uses SLS or Audio Lossless Coding (ALS).

[0330] The audio decompression module is used to decompress audio data from the bit stream.

[0331] The AI ​​analysis module is used to analyze audio data through the AI ​​model to obtain the physical condition of the monitored person.

[0332] Example 2:

[0333] Adaptive transmission is used to improve the transmission efficiency of Example 1. Since sound events occur occasionally, useless parts can be discarded without affecting AI analysis. In this example, the timestamp is transmitted together with the audio frame to carry the time and frequency of the sound event.

[0334] like Figure 2d As shown, the sound capture module can divide the audio data collected by the sensor unit into frames, which is convenient for the later module to compress the data. Among them, the frame length is generally 10ms-30ms.

[0335] The classification module can analyze the audio raw data to identify the content of the frame portion. If the frame is classified as a useful frame, it is marked as a "Y" frame. Correspondingly, if the frame is classified as a useless frame, it is marked as an "N" frame.

[0336] There is a buffer in the decision module that can store at least 2 frames. If the content includes the target sound event, the audio raw data will enter path1 to execute the preprocessing module and audio compression module. If the content does not include the target sound event, the audio raw data will enter path2. Entering path2 means that the audio raw data has no valuable information and will not be transmitted to the AI ​​analysis module.

[0337] The decision module uses a cache mechanism to avoid framing effects. Framing effects mean that only a small part of the classified frame is the target content of the sound event, but most of the content is useless. This frame may be misclassified and not transmitted, resulting in the loss of some useful information of the audio event and incomplete sound event data in the AI ​​analysis module. This happens at the beginning and end of the sound event when framing. This example uses a cache mechanism to avoid the above effects.

[0338] like Figure 2fAs shown, it illustrates the decision result depending on the classification result. The decision module caches the classification result of the most recent frame. After classifying the current frame, the decision maker determines the path of the most recent frame based on the classification result of the current frame. In other words, the path of the m+1th frame depends on the classification results of the mth frame and the m+2th frame.

[0339] like Figure 2g As shown, the example caches one frame. Depending on the classifier accuracy and system delay requirements, the decision module can cache multiple frames. In addition, the audio decompression module has the same delay introduced by the decision maker as the audio compression module.

[0340] like Figure 2k As shown, the preprocessing module includes a data preprocessing module and a local timestamp generation module. The data preprocessing module is used before data compression to improve the accuracy of artificial intelligence task analysis, including noise suppression, echo cancellation, sound source localization, sound source separation, etc. The local timestamp generation module generates a timestamp for each frame, but metadata is only transmitted in special frames, such as the first frame of the "NY" event. The timestamp of the metadata is aligned with the last "N" frame in the "NY" combination, such as Figure 2h The location of metadata can be found in Figure 2i and Figure 2j shown.

[0341] The format of metadata is a set of integer values. All fields can be transmitted, such as "year / month / day / hour / minute / second / millisecond", or only high-precision fields such as "day / hour / minute / second / millisecond". Metadata can be compressed, for example, subtracting two metadata frames can remove most redundancy because two adjacent metadata are very similar.

[0342] Example 3:

[0343] like Figure 2e As shown, compared with Example 2, the obvious feature of Example 3 is the addition of a silent frame replacement module, and the remaining modules are the same as Example 2.

[0344] In Example 3, the audio compression module is a streaming format that requires continuous input of audio data. When the "N" frame after the judge enters path2, the silent frame replacement module replaces the "N" frame with a silent frame. For the AAC and HEAAC algorithms in the audio compression module, the silent frame uses far fewer encoding bits than the "N" frame, and more bits are used to encode valuable information to achieve less distortion.

[0345] Example 4:

[0346] If the terminal device 101 adopts the 3GPP Enhanced Voice Services (EVS) compression method, the silent frame processing method in the EVS method can be turned off in this embodiment. The EVS method is based on human-audible sound coding, and the silent frame processing method is for human-audible audio, which may damage machine-audible audio or lose some valuable information in machine audio coding.

[0347] like Figure 2l As shown, a flag may be added to the terminal device 101 and / or the cloud server 102, and the flag is multiplexed in the bit stream together with the compressed data. The flag indicates the path information using different compression methods. Figure 2m As shown, a flag is added to the cloud server 102 to mark the decompression path.

[0348] The embodiments of the present disclosure also propose a device for implementing any of the above methods, for example, a device is proposed, the above device includes a unit or module for implementing each step performed by the terminal in any of the above methods. For another example, another device is also proposed, including a unit or module for implementing each step performed by a network device (such as an access network device, a core network function node, a core network device, etc.) in any of the above methods.

[0349] It should be understood that the division of the units or modules in the above device is only a division of logical functions, and in actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. In addition, the units or modules in the device can be implemented in the form of a processor calling software: for example, the device includes a processor, the processor is connected to a memory, and instructions are stored in the memory. The processor calls the instructions stored in the memory to implement any of the above methods or implement the functions of the units or modules of the above device, wherein the processor is, for example, a general-purpose processor, such as a central processing unit (CPU) or a microprocessor, and the memory is a memory inside the device or a memory outside the device. Alternatively, the units or modules in the device can be implemented in the form of hardware circuits, and the functions of some or all of the units or modules can be realized by designing the hardware circuits. The above hardware circuits can be understood as one or more processors; for example, in one implementation, the above hardware circuit is an application-specific integrated circuit (ASIC), and the functions of some or all of the above units or modules are realized by designing the logical relationship of the components in the circuit; for example, in another implementation, the above hardware circuit can be realized by a programmable logic device (PLD), taking a field programmable gate array (FPGA) as an example, which can include a large number of logic gate circuits, and the connection relationship between the logic gate circuits is configured by a configuration file, so as to realize the functions of some or all of the above units or modules. All units or modules of the above devices can be realized in the form of a processor calling software, or in the form of a hardware circuit, or in part by a processor calling software, and the rest by a hardware circuit.

[0350] In the disclosed embodiment, the processor is a circuit with signal processing capability. In one implementation, the processor may be a circuit with instruction reading and running capability, such as a central processing unit (CPU), a microprocessor, a graphics processing unit (GPU) (which may be understood as a microprocessor), or a digital signal processor (DSP), etc.; in another implementation, the processor may realize certain functions through the logical relationship of the hardware circuit, and the logical relationship of the above hardware circuit is fixed or reconfigurable, such as a hardware circuit implemented by a processor as an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document and realizing the configuration of the hardware circuit may be understood as the process of the processor loading instructions to realize the functions of some or all of the above units or modules. In addition, it may also be a hardware circuit designed for artificial intelligence, which may be understood as an ASIC, such as a neural network processing unit (NPU), a tensor processing unit (TPU), a deep learning processing unit (DPU), etc.

[0351] Figure 5a Schematic diagram of the structure of the terminal device proposed in the embodiment of the present disclosure. Figure 5a As shown, the terminal device 5100 may include at least one of: a decision module 5101, a compression module 5102, a transceiver module 5103, etc. In some embodiments, the decision module 5101 is used to determine the processing path of each audio frame according to the classification results of multiple audio frames; wherein the multiple audio frames are obtained by framing the collected audio data. The compression module 5102 is used to compress some audio frames in the multiple audio frames according to the processing path to obtain a bit stream. The transceiver module 5103 is used to send the bit stream to the cloud server.

[0352] Figure 5b Schematic diagram of the structure of the cloud server proposed in the embodiment of the present disclosure. Figure 5bAs shown, the cloud server 5200 may include: at least one of a transceiver module 5201, a processing module 5202, etc. In some embodiments, the transceiver module 5201 is used to receive a bit stream sent by a terminal device, the bit stream is obtained by compressing some audio frames in a plurality of audio frames according to a processing path of the audio frame, the processing path of the audio frame is determined according to the classification result of the audio frame, and the plurality of audio frames are obtained by framing the collected audio data.

[0353] In some embodiments, the transceiver module may include a sending module and / or a receiving module, and the sending module and the receiving module may be separate or integrated. Optionally, the transceiver module may be interchangeable with the transceiver.

[0354] In some embodiments, the processing module can be a module or include multiple submodules. Optionally, the multiple submodules respectively execute all or part of the steps required to be executed by the processing module. Optionally, the processing module can be replaced with the processor.

[0355] Figure 6a 6100 is a schematic diagram of the structure of the communication device 6100 proposed in the embodiment of the present disclosure. The communication device 6100 can be a network device (such as an access network device, a core network device, etc.), or a terminal (such as a user device, etc.), or a chip, a chip system, or a processor that supports the network device to implement any of the above methods, or a chip, a chip system, or a processor that supports the terminal to implement any of the above methods. The communication device 6100 can be used to implement the method described in the above method embodiment, and the details can be referred to the description in the above method embodiment.

[0356] like Figure 6a As shown, the communication device 6100 includes one or more processors 6101. The processor 6101 can be a general-purpose processor or a dedicated processor, for example, a baseband processor or a central processing unit. The baseband processor can be used to process the communication protocol and the communication data, and the central processing unit can be used to control the communication device (such as a base station, a baseband chip, a terminal device, a terminal device chip, a DU or a CU, etc.), execute the program, and process the data of the program. Optionally, the communication device 6100 is used to execute any of the above methods. Optionally, one or more processors 6101 are used to call instructions so that the communication device 6100 executes any of the above methods.

[0357] In some embodiments, the communication device 6100 further includes one or more transceivers 6102. When the communication device 6100 includes one or more transceivers 6102, the transceiver 6102 performs at least one of the communication steps such as sending and / or receiving in the above method, and the processor 6101 performs at least one of the other steps. In an optional embodiment, the transceiver may include a receiver and / or a transmitter, and the receiver and the transmitter may be separated or integrated. Optionally, the terms such as transceiver, transceiver unit, transceiver, transceiver circuit, interface circuit, interface, etc. may be replaced with each other, the terms such as transmitter, transmission unit, transmitter, transmission circuit, etc. may be replaced with each other, and the terms such as receiver, receiving unit, receiver, receiving circuit, etc. may be replaced with each other.

[0358] In some embodiments, the communication device 6100 further includes one or more memories 6103 for storing data. Optionally, all or part of the memories 6103 may also be outside the communication device 6100. In an optional embodiment, the communication device 6100 may include one or more interface circuits 6104. Optionally, the interface circuit 6104 is connected to the memory 6103, and the interface circuit 6104 may be used to receive data from the memory 6103 or other devices, and may be used to send data to the memory 6103 or other devices. For example, the interface circuit 6104 may read the data stored in the memory 6103 and send the data to the processor 6101.

[0359] The communication device 6100 described in the above embodiments may be a network device or a terminal, but the scope of the communication device 6100 described in the present disclosure is not limited thereto, and the structure of the communication device 6100 may not be limited thereto. Figure 6a The communication device may be an independent device or may be part of a larger device. For example, the communication device may be: 1) an independent integrated circuit IC, or a chip, or a chip system or subsystem; (2) a collection of one or more ICs, optionally, the above IC collection may also include a storage component for storing data and programs; (3) an ASIC, such as a modem; (4) a module that can be embedded in other devices; (5) a receiver, a terminal device, an intelligent terminal device, a cellular phone, a wireless device, a handheld device, a mobile unit, a vehicle-mounted device, a network device, a cloud device, an artificial intelligence device, etc.; (6) others, etc.

[0360] Figure 6b 6200 according to an embodiment of the present disclosure. Figure 6b The structure diagram of chip 6200 is shown, but is not limited to this.

[0361] The chip 6200 includes one or more processors 6201. The chip 6200 is configured to execute any of the above methods.

[0362] In some embodiments, the chip 6200 further includes one or more interface circuits 6202. Optionally, the terms such as interface circuit, interface, transceiver pin, etc. can be interchangeable. In some embodiments, the chip 6200 further includes one or more memories 6203 for storing data. Optionally, all or part of the memory 6203 can be outside the chip 6200. Optionally, the interface circuit 6202 is connected to the memory 6203, and the interface circuit 6202 can be used to receive data from the memory 6203 or other devices, and the interface circuit 6202 can be used to send data to the memory 6203 or other devices. For example, the interface circuit 6202 can read the data stored in the memory 6203 and send the data to the processor 6201.

[0363] In some embodiments, the interface circuit 6202 performs at least one of the communication steps such as sending and / or receiving in the above method. The interface circuit 6202 performs the communication steps such as sending and / or receiving in the above method, for example, means that the interface circuit 6202 performs data interaction between the processor 6201, the chip 6200, the memory 6203 or the transceiver device. In some embodiments, the processor 6201 performs at least one of the other steps.

[0364] The modules and / or devices described in the embodiments such as virtual devices, physical devices, chips, etc. can be combined or separated as needed. Optionally, some or all steps can also be performed by multiple modules and / or devices in collaboration, which is not limited here.

[0365] The present disclosure also proposes a storage medium, on which instructions are stored, and when the instructions are executed on the communication device 6100, the communication device 6100 executes any of the above methods. Optionally, the storage medium is an electronic storage medium. Optionally, the storage medium is a computer-readable storage medium, but is not limited to this, and it can also be a storage medium readable by other devices. Optionally, the storage medium can be a non-transitory storage medium, but is not limited to this, and it can also be a temporary storage medium.

[0366] The present disclosure also proposes a program product, which, when executed by the communication device 6100, enables the communication device 6100 to execute any of the above methods. Optionally, the program product is a computer program product.

[0367] The present disclosure also proposes a computer program, which, when executed on a computer, causes the computer to execute any one of the above methods.

[0368] Industrial Applicability

[0369] After the terminal device divides the collected audio data into frames, it can classify the obtained audio frames and filter the processing path of each audio frame based on the classification results, so that more valuable audio frames can be compressed and processed, redundant information can be reduced, and the efficiency of transmitting bit streams to the cloud server can be improved.

Claims

1. An audio processing method, executed by a terminal device, the method comprising: Determine a processing path for each audio frame according to classification results of the plurality of audio frames; wherein the plurality of audio frames are obtained by dividing the collected audio data into frames; According to the processing path, compressing some audio frames among the multiple audio frames to obtain a bit stream; The bitstream is sent to a cloud server.

2. The method of claim 1, wherein: The classification result of the multiple audio frames is one of the following: Useful frame; Useless frames; The useful frame includes the characteristics of the sound event, and the useless frame does not include the characteristics of the sound event.

3. The method of claim 2, wherein: Determining a processing path for each audio frame according to the classification results of the multiple audio frames includes: Determine that a processing path corresponding to a useful frame among the multiple audio frames is a first path.

4. The method according to claim 2 or 3, wherein: Determining a processing path for each audio frame according to the classification results of the multiple audio frames includes: Determine that the processing path corresponding to the useless frame in the multiple audio frames is the second path, or, Among the multiple audio frames, the processing path of the (m+1)th audio frame is determined based on the classification result of at least one frame before the (m+1)th audio frame and / or the classification result of at least one frame after the (m+1)th audio frame, wherein m is an integer and the (m+1)th audio frame is a useless frame.

5. The method of claim 4, wherein: When the classification result of the mth audio frame is a useful frame or the classification result of the (m+2)th audio frame is a useful frame, the processing path of the (m+1)th audio frame is the first path.

6. The method of claim 4, wherein: The method further comprises: Before determining the processing path of the (m+1)th frame, the classification result of the mth frame is cached.

7. The method according to any one of claims 3 to 6, wherein: The processing paths of the multiple audio frames are identified by corresponding path flags, where the path flag is used to indicate that the processing path of the audio frames is the first path or the second path; The path flag is carried in the bit stream.

8. The method according to any one of claims 3 to 7, wherein: The compressing, according to the processing path, some of the audio frames in the plurality of audio frames comprises at least one of the following: preprocessing the audio frames in the first path and compressing the preprocessed frames; The audio frames in the second path are discarded.

9. The method of claim 8, wherein: The preprocessing of the audio frames in the first path comprises: A corresponding timestamp is generated for each audio frame in the first path.

10. The method of claim 9, wherein: In at least one audio frame corresponding to a sound event, metadata is transmitted in a first audio frame in the at least one audio frame, where the metadata is used to indicate a timestamp corresponding to the first audio frame.

11. The method of claim 10, wherein: The method further comprises: Compress the metadata corresponding to two audio frames whose interval is within the set time range.

12. The method of claim 10, wherein: The position of the audio frame corresponding to the metadata is determined according to the path mark; or the position of the audio frame corresponding to the metadata is determined by the mark corresponding to the metadata; The path flag or the flag corresponding to the metadata is carried in the bit stream.

13. The method of claim 12, wherein: The metadata includes a metadata flag and metadata data, or the metadata includes a differential metadata flag and differential metadata data; wherein the flag corresponding to the metadata is the metadata flag or the differential metadata flag, and the metadata data or the differential metadata data is used to indicate time information.

14. The method according to any one of claims 4 to 7, wherein: The compressing part of the audio frames among the multiple audio frames according to the processing path includes: Replacing the audio frames in the second path with silence frames; The silence frame and the audio frame in the first path are compressed.

15. The method of claim 14, wherein: The compression method of the silence frame and the compression method of the audio frame in the first path are identified by different method flags; Wherein, the method flag is carried in the bit stream.

16. The method according to claim 8 or 13, wherein: There is a delay duration when compressing the (m+1)th audio frame, and the delay duration is the length of at least one audio frame.

17. The method according to any one of claims 1 to 16, wherein: The method further comprises: Receive audio analysis results sent by a cloud server, where the audio analysis results are obtained based on an artificial intelligence (AI) model.

18. An audio processing method, executed by a cloud server, the method comprising: A bit stream sent by a receiving terminal device is obtained by compressing some audio frames in multiple audio frames according to a processing path of the audio frames, the processing path of the audio frames is determined according to the classification results of the audio frames, and the multiple audio frames are obtained by framing the collected audio data.

19. The method of claim 18, wherein: The method further comprises: Decompressing the bit stream to obtain audio data; Determine an audio analysis result of the audio data according to the AI ​​model; Send the audio analysis result to the terminal device.

20. The method of claim 15 or 19, wherein: The classification result of the multiple audio frames is one of the following: Useful frame; Useless frames; The useful frame includes the characteristics of the sound event, and the useless frame does not include the characteristics of the sound event.

21. The method of claim 20, wherein: The processing path corresponding to the useful frame among the multiple audio frames is the first path.

22. The method of claim 20 or 21, wherein: The processing path corresponding to the useless frames in the multiple audio frames is the second path; or, Among the multiple audio frames, the processing path of the (m+1)th audio frame is determined based on the classification result of at least one frame before the (m+1)th audio frame and / or the classification result of at least one frame after the (m+1)th audio frame, wherein m is an integer and the (m+1)th audio frame is a useless frame.

23. The method of claim 22, wherein: When the classification result of the mth audio frame is a useful frame or the classification result of the (m+2)th audio frame is a useful frame, the processing path of the (m+1)th audio frame is the first path.

24. The method according to any one of claims 21 to 23, wherein: The method further comprises: Determining, based on a path flag carried in the bitstream, a processing path for the multiple audios; The processing paths of the multiple audio frames are identified by corresponding path flags, and the path flags are used to indicate that the processing path of the audio frames is the first path or the second path, and the paths are carried in the bitstream.

25. The method according to any one of claims 21 to 24, wherein: The bit stream is obtained by preprocessing and compressing the audio frames in the first path, wherein the audio frames in the second path are discarded.

26. The method of claim 25, wherein: The method further comprises: Determine a timestamp corresponding to a corresponding audio frame according to metadata, wherein, in at least one audio frame corresponding to a sound event, the metadata is transmitted in a first audio frame in the at least one audio frame, and the metadata is used to indicate a timestamp corresponding to the first audio frame.

27. The method of claim 26, wherein: Metadata corresponding to two audio frames whose interval is within a set range are transmitted after compression.

28. The method of claim 26, wherein: The method further comprises: Determine the position of the audio frame corresponding to the metadata based on the path flag or the flag corresponding to the metadata carried in the bitstream; The position of the audio frame corresponding to the metadata is determined according to a path flag; or, the position of the audio frame corresponding to the metadata is determined by a flag corresponding to the metadata, and the path flag or the flag corresponding to the metadata is carried in the bit stream.

29. The method according to any one of claims 21 to 24, wherein: The bit stream is obtained by compressing the silence frame and the audio frame in the first path, wherein the silence frame is used to replace the audio frame in the second path.

30. The method of claim 29, wherein: The method further comprises: Determine the compression method for different frames based on the method flag carried in the bitstream; The compression method of the silence frame and the compression method of the audio frame in the first path are identified by different method flags, and the method flags are carried in the bit stream.

31. The method of claim 25 or 29, wherein: There is a delay duration when decompressing the (m+1)th audio frame, and the delay duration is the length of at least one audio frame.

32. A terminal device, comprising: A decision module, used to determine a processing path for each audio frame according to classification results of a plurality of audio frames; wherein the plurality of audio frames are obtained by dividing the collected audio data into frames; A compression module, configured to compress some of the multiple audio frames according to the processing path to obtain a bit stream; The transceiver module is used to send the bit stream to the cloud server.

33. A cloud server, comprising: The transceiver module is used to receive a bit stream sent by a terminal device, wherein the bit stream is obtained by compressing some audio frames in multiple audio frames according to a processing path of the audio frames, the processing path of the audio frames is determined according to the classification results of the audio frames, and the multiple audio frames are obtained by framing the collected audio data.

34. A communication device, comprising: one or more processors; Wherein, the communication device is configured to implement the method according to any one of claims 1 to 17.

35. A communication device, comprising: one or more processors; The communication device is configured to implement the method according to any one of claims 18 to 31.

36. A storage medium storing instructions, wherein: When the instruction is executed on a communication device, the communication device is caused to execute the method according to any one of claims 1 to 17 or any one of claims 18 to 31.

37. A program product, wherein When the program product is executed by a communication device, the communication device is caused to execute the method according to any one of claims 1 to 17 or any one of claims 18 to 31.

Citation Information

Cited By

  • Data processing method, encoder, decoder, and communication system

    WO2026156562A1