Audio processing method, system and device, storage medium and program product

The audio server converts multi-channel audio data into mono-channel data in the smart speaker and transmits it, which solves the problem of high bandwidth usage of smart speakers and network lag, and achieves lower cost and more stable audio playback.

CN118612628APending Publication Date: 2024-09-06ZHEJIANG FUTURE ELF ARTIFICIAL INTELLIGENCE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410557738.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-07
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Smart speakers occupy more bandwidth resources in playback scenarios, leading to high operating costs and the risk of network lag, especially when transmitting multi-channel audio data.

Method used

After receiving the audio playback request, the audio server converts the multi-channel audio data into monophonic audio data according to the mode of the audio playback device, and transmits it to the device, or when the device requests it, converts it into mono according to the device mode. channel data to save bandwidth.

Benefits of technology

Through mono-channel audio data transmission, bandwidth usage and the risk of network lag are reduced without affecting the sound quality, achieving a lower-cost audio playback effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118612628A
    Figure CN118612628A
Patent Text Reader

Abstract

The embodiment of the invention provides an audio processing method, system and device, a storage medium and a program product. The method is suitable for an audio server. The method comprises the following steps: receiving an audio playing request sent by audio playing equipment; obtaining target audio data requested by the audio playing device and an audio playing mode of the audio playing device according to the audio playing request; when the audio playing mode is a monaural playing mode and the target audio data is multichannel audio data, converting the target audio data into monaural audio data; and sending the monaural audio data to the audio playing device. According to the technical scheme provided by the embodiment of the invention, the transmission bandwidth can be saved, the operation cost can be reduced, and the risk of network jamming can be effectively reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the development of technology, smart audio playback devices (such as smart speakers) have become common products in daily life.

[0003] Through smart speakers, users can listen to music, books, sketches, etc. In the playback scenario, the audio data played by smart speakers usually comes from a third party. The audio data is sent from the third-party server to the smart speaker, which requires a certain amount of bandwidth resources.

[0004] At present, smart speakers need to occupy a lot of bandwidth resources in playback scenarios, and this part of bandwidth resources brings high operating costs. Summary of the invention

[0005] In view of the above problems, the present application is proposed to provide an audio processing method, system, device, storage medium and program product that solve the above problems or at least partially solve the above problems.

[0006] In a first aspect of the present application, an audio processing method is provided, the method being applicable to an audio server; the method comprising:

[0007] Receiving an audio playback request sent by an audio playback device;

[0008] According to the audio playback request, obtaining the target audio data requested by the audio playback device and the audio playback mode of the audio playback device;

[0009] When the audio playback mode is a mono playback mode and the target audio data is multi-channel audio data, converting the target audio data into mono audio data;

[0010] The mono audio data is sent to the audio playback device.

[0011] In the technical solution provided in the embodiment of the present application, the audio playback mode of the audio playback device is a mono playback mode. Before transmitting the audio data to the audio playback device, the audio server converts the multi-channel audio data into mono audio data in advance. In this way, the transmission of mono audio data is realized between the audio server and the audio playback device, which saves the transmission bandwidth (that is, the operating cost) and effectively reduces the risk of network lag.

[0012] Furthermore, since the audio playback mode of the audio playback device itself is a mono playback mode, the use of the technical solution provided in the embodiment of the present application does not affect the sound quality of the final playback on the device side. In other words, the same audio playback effect is obtained at a lower transmission bandwidth (or lower operating cost), and the risk of playback jamming is effectively reduced.

[0013] In an implementation manner provided by the first aspect of the present application, when the audio playback mode is a mono playback mode and the target audio data is multi-channel audio data, converting the target audio data into mono audio data includes:

[0014] The audio signals of two or more channels included in the target audio data are mixed to obtain mono audio data.

[0015] In an implementation manner provided by the first aspect of the present application, when the audio playback mode is a mono playback mode and the target audio data is multi-channel audio data, converting the target audio data into mono audio data includes:

[0016] When the audio playback mode is a mono playback mode, the target audio data is multi-channel audio data, and the audio signals of two or more channels included in the target audio data are the same, selecting an audio signal of a target channel from the audio signals of the two or more channels;

[0017] Generate mono audio data according to the audio signal of the target channel.

[0018] In one implementation manner provided in the first aspect of the present application, the method further includes:

[0019] When the audio playback mode is a multi-channel playback mode and the two or more channel audio signals included in the target audio data are the same, the target audio data is converted into mono audio data.

[0020] In an implementation manner provided by the first aspect of the present application, the audio playback request carries an audio playback mode of the audio playback device.

[0021] In an implementation manner provided by the first aspect of the present application, the audio playback request carries device information of the audio playback device;

[0022] Acquiring the audio playback mode of the audio playback device according to the audio playback request, including:

[0023] Get the correspondence between preset device information and audio playback mode;

[0024] The corresponding relationship is searched according to the device information of the audio playback device to obtain the audio playback mode of the audio playback device.

[0025] A second aspect of the present application provides an audio processing method, which is applicable to an audio server; the method comprises: receiving an audio playback request sent by an audio playback device;

[0026] According to the audio playback request, obtaining the target audio data requested by the audio playback device and the audio playback mode of the audio playback device;

[0027] When the audio playback mode is a multi-channel playback mode and the two or more channel audio signals included in the target audio data are the same, converting the target audio data into mono audio data;

[0028] The mono audio data is sent to the audio playback device.

[0029] In an embodiment of the present application, the audio playback mode of the audio playback device is a multi-channel playback mode. When the two or more channel audio signals contained in the requested audio data are the same, only one of the channel audio signals needs to be transmitted, which saves transmission bandwidth and effectively reduces the risk of network lag.

[0030] Furthermore, although the audio playback mode of the audio playback device is a multi-channel playback mode, the audio playback device can obtain a multi-channel audio signal by copying the transmitted mono audio signal, which does not affect the sound quality of the final playback on the device side. In other words, the same audio playback effect can be obtained at a lower transmission bandwidth (or lower operating cost), and the risk of playback freezes is effectively reduced.

[0031] The third aspect of the present application provides an audio processing system, comprising: an audio playback device and an audio server; wherein:

[0032] The audio playback device is used to send an audio playback request to the audio server;

[0033] The audio server is used to implement any of the above methods;

[0034] The audio playback device is further used to receive the mono audio data returned by the audio playback device and play the mono audio data.

[0035] In a fourth aspect of the present application, an electronic device is provided. The electronic device comprises: a memory and a processor, wherein:

[0036] The memory is used to store programs;

[0037] The processor is coupled to the memory, and is used to execute the program stored in the memory to implement any of the methods described above.

[0038] According to a fifth aspect of the present application, a computer-readable storage medium storing a computer program is provided, and when the computer program is executed by a computer, the computer program can implement any of the above-mentioned numerical methods.

[0039] In a sixth aspect of the present application, a computer program product is provided, comprising a computer program, which implements any of the methods described above when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0041] Figure 1 A schematic diagram of the structure of an audio processing system provided in one embodiment of the present application;

[0042] Figure 2 A flowchart of an audio processing method provided in one embodiment of the present application;

[0043] Figure 3 A flowchart of an audio processing method provided in yet another embodiment of the present application;

[0044] Figure 4 A structural block diagram of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0045] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below according to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0046] In addition, some of the processes described in the specification, claims and the above-mentioned figures of the present application include multiple operations that appear in a specific order, and these operations may not be executed in the order in which they appear in this article or may be executed in parallel. The serial numbers of the operations, such as 101, 102, etc., are only used to distinguish between different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.

[0047] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0048] First, the vocabulary involved in the embodiments of the present application is explained. It can be understood that this explanation is for a clearer understanding of the embodiments of the present application, and does not necessarily constitute a limitation on the embodiments of the present application.

[0049] Sound Channel: refers to the independent audio signals collected or played back at different spatial locations when recording or playing sound. Therefore, the number of channels is the number of sound sources when recording sound or the number of corresponding speakers when playing back sound.

[0050] Mono audio signal: refers to an audio signal with only one channel.

[0051] Multi-channel audio signal: refers to an audio signal including at least two channels. When a multi-channel audio signal includes two channel audio signals (i.e., a left channel audio signal and a right channel audio signal), it can be called a dual-channel audio signal. Exemplarily, the multi-channel can be 2.0 channels, 2.1 channels, 4.1 channels, 5.1 channels, 7.1 channels and the like. Among them, the 2.0 channel includes a left channel and a right channel. The 2.1 channel includes a left channel, a right channel and a bass channel. The 4.1 channel includes a right front channel, a left front channel, a right rear channel, a left rear channel and a bass channel. The 5.1 channel includes a right front channel, a left front channel, a right rear channel, a left rear channel, a center channel and a bass channel. The 7.1 channel is different from the 5.1 channel in that it adds a rear center sound field channel on the basis of the 5.1 channel.

[0052] Mono playback device: refers to a device that can only play sound through one speaker.

[0053] In practical applications, typical audio data stored on the server is multi-channel audio data, such as dual-channel audio data. Moreover, through analysis, it can be seen that some multi-channel audio data contain two or more channel audio signals that are the same, such as audio novels; some multi-channel audio data contain two or more channel audio signals that are different, such as music.

[0054] In addition, the current audio playback mode of smart speakers is mono playback mode. That is to say, after the server sends multi-channel audio data to the smart speaker, the smart speaker needs to mix the multiple signals in the multi-channel audio data into one signal, and then perform subsequent signal processing and playback.

[0055] The bandwidth resources required to transmit audio data are related to the format of the audio data, the number of channels, etc. Generally speaking, the more channels there are, the more bandwidth resources are occupied. This is because: the amount of multi-channel audio data is larger than that of mono audio data, and more bandwidth resources are required for transmission. A large amount of bandwidth resources will inevitably bring about a large operating cost. In addition, due to the large amount of multi-channel audio data, it is easy to cause a freeze problem due to network quality.

[0056] Before introducing the audio processing method provided in the embodiment of the present application, the system architecture involved in the method is introduced. Figure 1 As shown, the audio processing system includes: an audio playback device 1 and an audio server 2. Among them,

[0057] The audio playback device refers to a device that has the function of playing audio, such as a smart speaker, a car speaker, a mobile phone, a computer, a virtual reality (VR) device, an augmented reality (AR) device, etc. The embodiment of the present application does not specifically limit the specific form of the audio playback device.

[0058] The above-mentioned audio server 2 refers to a server that provides audio data, for example: a server that provides music, a server that provides audio novels, and a server that provides sketch audio. The server can be one or more servers, and the server can also be a physical server or a virtual server. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network) and big data and artificial intelligence platforms.

[0059] The following will be combined Figure 1 The audio processing method provided in the embodiment of the present application is described in detail:

[0060] 101. Audio playback device 1 sends an audio playback request to audio server 2.

[0061] Among them, the audio playback mode of the audio playback device is a mono playback mode.

[0062] Exemplarily, the audio playback request may carry device information of the audio playback device, such as device name, device model, device identification information, etc.

[0063] Exemplarily, the audio playback request may carry the audio playback mode of the audio playback device.

[0064] 102. The audio server 2 obtains the audio data requested by the audio playback device 1.

[0065] Exemplarily, the audio data is multi-channel audio data.

[0066] 103. The audio server 2 decodes the multi-channel audio data to obtain N channel audio signals included in the multi-channel audio data.

[0067] Exemplarily, the N channel audio signals include: first channel audio information, second channel audio signal, ..., Nth channel audio signal. Wherein, N is an integer greater than 1. Exemplarily, when N is 2, the multi-channel audio data is dual-channel audio data. The dual-channel audio data includes a left channel audio signal and a right channel audio signal.

[0068] In actual applications, in order to reduce the consumption of storage space, the audio server 2 will compress (i.e. encode) the audio data to obtain compressed audio data (i.e. encoded audio data). In other words, the audio data stored in the audio server 2 is usually encoded audio data, such as audio encoding formats such as mp3 and wav. Therefore, the audio data in such audio encoding formats needs to be decoded to obtain the channel audio signals contained therein.

[0069] Of course, if the audio server 2 stores uncoded audio data, the N channel audio signals contained therein can be obtained without decoding.

[0070] 104. The audio server 2 mixes the N channel audio signals included in the multi-channel audio data to obtain a mono audio signal.

[0071] That is, N-channel audio signals are combined into a mono audio signal by mixing. Mixing is an audio processing process that combines multiple audio signals into a single audio signal for output. Optionally, the N-channel audio signals can be averaged or weighted to generate a mono audio signal.

[0072] Take the example of converting a two-channel audio signal to a mono audio signal: the mixer takes the audio signals of the left and right channels and combines them in some way. The simplest way is to use an average mix, that is, to take the average of the two channel signals as the output. But it is more common to use weighted addition, which means that the signals of each channel may have different weights when combined, depending on their importance in the original stereo signal.

[0073] For example, consider a concert recording where the left channel captures the sound of the guitar and the right channel captures the lead vocal. When merging to mono, if we want to preserve the dominance of the lead vocal, we can give the right channel a higher weight. In this way, the lead vocal will stand out more than the guitar in the mono output.

[0074] It is also worth noting that when combining two channels into mono, some stereo information is lost. This is because mono cannot reproduce the spatial difference between the left and right channels, resulting in a reduced sense of depth and width of the audio scene.

[0075] Optionally, when the N channel audio signals included in the multi-channel audio data are the same, an audio signal of one channel may be selected from the N channel audio signals as a mono audio signal. In other words, when the N channel audio signals included in the multi-channel audio data are the same, mixing processing is not required, and one of the N channel audio signals may be selected, thereby saving consumption of computing resources.

[0076] 105. The audio server 2 encodes the mono audio signal to obtain mono audio data.

[0077] Coding, also known as compression, can compress the amount of data and reduce transmission bandwidth consumption.

[0078] The audio encoding format of the mono audio data can also be mp3, wav and other audio encoding formats

[0079] 106 . The audio server 2 returns mono audio data to the audio playback device 1 .

[0080] The audio server 2 can send the mono audio data to the audio playback device 1 via the network.

[0081] Exemplarily, the audio playing device 1 can be connected to the network via Wi-Fi.

[0082] 107. The audio playback device 1 decodes the mono audio data to obtain a mono audio signal.

[0083] 108. The audio playback device 1 processes the mono audio signal and plays the signal.

[0084] The signal processing may include one or more of the following items: software gain processing, DSP (Digital Signal Processing, digital signal processing technology) audio effect processing, and digital to analog converter (DAC, Digital to analog converter) processing.

[0085] Among them, the DSP audio effect processing algorithm may include: parameter equalizer (Equalizer, EQ), dynamic range compression (Dynamic Range Compression, DRC) and other audio effect processing algorithms.

[0086] The audio playback device 1 inputs the mono audio signal after signal processing to the speaker of the audio playback device 1 for playback.

[0087] In actual applications, in addition to providing audio data to a mono audio playback device (that is, the audio playback mode is mono playback mode, that is, the device only includes one speaker), the above-mentioned audio server also needs to provide audio data to a multi-channel audio playback device (that is, the audio playback mode is multi-channel playback mode, that is, the device includes multiple speakers). Therefore, when the audio server receives an audio playback request, it can obtain the audio playback mode of the audio playback device according to the audio playback request. When the audio playback mode of the audio playback device is mono playback mode, execute Figure 1 When the audio playback mode of the audio playback device is a dual-channel playback mode, the audio server does not need to perform Figure 1 In step 103, step 104 and step 105, the multi-channel audio data is directly sent to the audio playback device 1.

[0088] In addition, when the audio server stores both multi-channel audio data and mono audio data, the audio server can further determine whether the audio data requested by the audio playback device is multi-channel audio data. When the audio playback mode of the audio playback device is mono playback mode and the audio data requested by the audio playback device is multi-channel audio data, the audio data requested by the audio playback device is converted into mono audio data.

[0089] When the audio playback mode of the audio playback device is a multi-channel playback mode and the N channel audio signals contained in the audio data requested by the audio playback device are the same, the audio data requested by the audio playback device is converted into mono audio data. At this time, the mono audio data can be obtained by mixing the N channel audio signals; or, one channel audio signal is selected from the N channel audio signals to generate mono audio data. After receiving the mono audio data, the audio playback device decodes the mono audio signal and can copy the mono audio signal to obtain a multi-channel audio signal. Exemplarily, the mono audio signal can be copied (M-1) times to obtain M channel audio signals, and sent to M speakers for playback. Wherein, M is the number of speakers possessed by the audio playback device.

[0090] The audio server can use the following methods to determine the audio playback mode of the audio playback device:

[0091] Method 1: When the audio playback request carries the audio playback mode of the audio playback device, the audio playback mode of the audio playback device is obtained from the request.

[0092] Method 2: When the audio playback request carries the device information of the audio playback device, obtain the correspondence between the preset device information and the audio playback mode; search for the correspondence according to the device information of the audio playback device to obtain the audio playback mode of the audio playback device.

[0093] The corresponding relationship between the preset device information and the audio play mode may specifically be: a corresponding relationship between a device name and / or a device model and the audio play mode.

[0094] Exemplarily, the audio server side may maintain a whitelist, in which the device name and / or device model whose audio playback mode is a mono playback mode is recorded.

[0095] In the technical solution provided in the embodiment of the present application, mono audio data transmission is realized between the audio server and the audio playback device, which saves the transmission bandwidth and effectively reduces the risk of network jamming. In addition, the technical solution provided in the embodiment of the present application does not affect the sound quality of the final playback on the device side. In other words, the same audio playback effect is obtained under a lower transmission bandwidth (or lower operating cost), and the risk of playback jamming is effectively reduced.

[0096] Figure 2 A flowchart of an audio processing method provided in an embodiment of the present application is shown below. The execution subject of the method may be Figure 1 The audio server 2 in Figure 2 As shown, the method may include:

[0097] 201. Receive an audio playback request sent by an audio playback device.

[0098] 202. According to the audio playback request, obtain target audio data requested by the audio playback device and an audio playback mode of the audio playback device.

[0099] 203. When the audio playback mode is a mono playback mode and the target audio data is multi-channel audio data, convert the target audio data into mono audio data.

[0100] 204. Send the mono audio data to the audio playback device.

[0101] The specific implementation of the above steps 201 to 204 can refer to the corresponding contents in the above embodiments, which will not be repeated here.

[0102] In the technical solution provided in the embodiment of the present application, the audio playback mode of the audio playback device is a mono playback mode. Before transmitting the audio data to the audio playback device, the audio server converts the multi-channel audio data into mono audio data in advance. In this way, the transmission of mono audio data is realized between the audio server and the audio playback device, which saves the transmission bandwidth and effectively reduces the risk of network lag.

[0103] Furthermore, since the audio playback mode of the audio playback device itself is a mono playback mode, the use of the technical solution provided in the embodiment of the present application does not affect the sound quality of the final playback on the device side. In other words, the same audio playback effect is obtained at a lower transmission bandwidth (or lower operating cost), and the risk of playback jamming is effectively reduced.

[0104] In an optional implementation, in the above step 203, "when the audio playback mode is a mono playback mode and the target audio data is multi-channel audio data, converting the target audio data into mono audio data" can be implemented by the following steps:

[0105] 2031a. Mix the audio signals of two or more channels included in the target audio data to obtain mono audio data.

[0106] In another optional implementation, in the above step 203, "when the audio playback mode is a mono playback mode and the target audio data is multi-channel audio data, converting the target audio data into mono audio data" can be implemented by the following steps:

[0107] 2031b. When the audio playback mode is a mono playback mode, the target audio data is multi-channel audio data, and the audio signals of two or more channels included in the target audio data are the same, select an audio signal of a target channel from the audio signals of the two or more channels.

[0108] 2032b. Generate mono audio data according to the audio signal of the target channel.

[0109] Optionally, the above method may further include:

[0110] 205. When the audio playback mode is a dual-channel playback mode and the two or more channel audio signals included in the target audio data are the same, convert the target audio data into monophonic audio data.

[0111] Optionally, the audio playback request carries the audio playback mode of the audio playback device. In this way, the audio server can obtain the audio playback mode of the audio playback device from the request.

[0112] Optionally, the audio playback request carries device information of the audio playback device. The above 202 "according to the audio playback request, obtaining the audio playback mode of the audio playback device" can be implemented by the following steps:

[0113] 2021. Obtain the correspondence between preset device information and audio playback mode.

[0114] 2022. Search the corresponding relationship according to the device information of the audio playback device to obtain the audio playback mode of the audio playback device.

[0115] It should be noted here that: for the contents of each step not fully described in detail in the method provided in the embodiment of the present application, please refer to the corresponding contents in the above embodiment, which will not be repeated here. In addition, in addition to the above steps, the method provided in the embodiment of the present application may also include other parts or all of the steps in the above embodiments, which can be specifically referred to the corresponding contents in the above embodiments, which will not be repeated here.

[0116] Figure 3 A flowchart of an audio processing method provided in an embodiment of the present application is shown below. The execution subject of the method may be Figure 1 The audio server 3 in Figure 3 As shown, the method may include:

[0117] 301. Receive an audio playback request sent by an audio playback device;

[0118] 302. Acquire target audio data requested by the audio playback device and an audio playback mode of the audio playback device according to the audio playback request;

[0119] 303. When the audio playback mode is a multi-channel playback mode and the two or more channel audio signals included in the target audio data are the same, convert the target audio data into mono audio data;

[0120] 304. Send the mono audio data to the audio playback device.

[0121] In an embodiment of the present application, the audio playback mode of the audio playback device is a multi-channel playback mode. When the two or more channel audio signals contained in the requested audio data are the same, only one of the channel audio signals needs to be transmitted, which saves transmission bandwidth and effectively reduces the risk of network lag.

[0122] Furthermore, although the audio playback mode of the audio playback device is a multi-channel playback mode, the audio playback device can obtain a multi-channel audio signal by copying the transmitted mono audio signal, which does not affect the sound quality of the final playback on the device side. In other words, the same audio playback effect can be obtained at a lower transmission bandwidth (or lower operating cost), and the risk of playback freezes is effectively reduced.

[0123] In an optional implementation, in the above 303, "when the audio playback mode is a multi-channel playback mode and the two or more channel audio signals included in the target audio data are the same, converting the target audio data into mono audio data" can be implemented by the following steps:

[0124] 3031. When the audio playback mode is a multi-channel playback mode and the two or more channel audio signals included in the target audio data are the same, select a target channel audio signal from the two or more channel audio signals.

[0125] 3032. Generate mono audio data according to the target channel audio signal.

[0126] The target channel audio signal is encoded to obtain mono audio data.

[0127] It should be noted here that: for the contents of each step not fully described in detail in the method provided in the embodiment of the present application, please refer to the corresponding contents in the above embodiment, which will not be repeated here. In addition, in addition to the above steps, the method provided in the embodiment of the present application may also include other parts or all of the steps in the above embodiments, which can be specifically referred to the corresponding contents in the above embodiments, which will not be repeated here.

[0128] The present application embodiment provides an audio processing system. Figure 1 As shown, the system includes: an audio playback device and an audio server; wherein,

[0129] The audio playback device 1 is used to send an audio playback request to the audio server 2;

[0130] The audio server 2 is used to receive an audio playback request sent by an audio playback device; according to the audio playback request, obtain the target audio data requested by the audio playback device and the audio playback mode of the audio playback device; when the audio playback mode is a mono playback mode and the target audio data is multi-channel audio data, convert the target audio data into mono audio data; and send the mono audio data to the audio playback device;

[0131] The audio playback device 1 is further configured to receive the mono audio data returned by the audio playback device 2 and play the mono audio data.

[0132] The respective processing flows and interaction flows of the audio playback device and the audio server can be found in the corresponding contents of the above embodiments, which will not be described in detail here.

[0133] Figure 4 FIG. 1 is a schematic diagram showing the structure of an electronic device provided by an embodiment of the present application. Figure 4 As shown, the electronic device includes a memory 1101 and a processor 1102. The memory 1101 can be configured to store various other data to support operations on the electronic device. Examples of these data include instructions for any application or method for operating on the electronic device. The memory 1101 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read only memory (EEPROM), an erasable programmable read only memory (EPROM), a programmable read only memory (PROM), a read only memory (ROM), a magnetic memory, a flash memory, a magnetic disk or an optical disk.

[0134] The memory 1101 is used to store programs;

[0135] The processor 1102 is coupled to the memory 1101 and is used to execute the program stored in the memory 1101 to implement the methods provided by the above-mentioned method embodiments.

[0136] Further, if Figure 4 As shown, the electronic device also includes: a communication component 1103, a display 1104, a power component 1105, an audio component 1106 and other components. Figure 4 Only some components are shown schematically, which does not mean that the electronic device only includes Figure 4 Components shown.

[0137] Accordingly, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a computer, the steps or functions of the methods provided in the above-mentioned method embodiments can be implemented.

[0138] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, can implement the steps or functions of the methods provided in the above-mentioned method embodiments.

[0139] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0140] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM (Read Only Memory) / RAM (Random Access Memory), a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0141] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. An audio processing method, characterized in that: The method is applicable to an audio server; the method comprises: Receiving an audio playback request sent by an audio playback device; According to the audio playback request, obtaining the target audio data requested by the audio playback device and the audio playback mode of the audio playback device; When the audio playback mode is a mono playback mode and the target audio data is multi-channel audio data, converting the target audio data into mono audio data; The mono audio data is sent to the audio playback device.

2. The method according to claim 1, characterized in that: When the audio playback mode is a mono playback mode and the target audio data is multi-channel audio data, converting the target audio data into mono audio data comprises: The audio signals of two or more channels included in the target audio data are mixed to obtain mono audio data.

3. The method according to claim 1, characterized in that When the audio playback mode is a mono playback mode and the target audio data is multi-channel audio data, converting the target audio data into mono audio data comprises: When the audio playback mode is a mono playback mode, the target audio data is multi-channel audio data, and the audio signals of two or more channels included in the target audio data are the same, selecting an audio signal of a target channel from the audio signals of the two or more channels; Generate mono audio data according to the audio signal of the target channel.

4. The method according to claim 1, characterized in that: Also includes: When the audio playback mode is a multi-channel playback mode and the two or more channel audio signals included in the target audio data are the same, the target audio data is converted into mono audio data.

5. The method according to claim 1, characterized in that The audio playback request carries the audio playback mode of the audio playback device.

6. The method according to claim 1, characterized in that The audio playback request carries the device information of the audio playback device; Acquiring the audio playback mode of the audio playback device according to the audio playback request, including: Get the correspondence between preset device information and audio playback mode; The corresponding relationship is searched according to the device information of the audio playback device to obtain the audio playback mode of the audio playback device.

7. An audio processing method, characterized in that: The method is applicable to an audio server; the method comprises: Receiving an audio playback request sent by an audio playback device; According to the audio playback request, obtaining the target audio data requested by the audio playback device and the audio playback mode of the audio playback device; When the audio playback mode is a multi-channel playback mode and the two or more channel audio signals included in the target audio data are the same, converting the target audio data into mono audio data; The mono audio data is sent to the audio playback device.

8. The method according to claim 7, characterized in that When the audio playback mode is a dual-channel playback mode and the two or more channel audio signals included in the target audio data are the same, converting the target audio data into monophonic audio data comprises: When the audio playback mode is a dual-channel playback mode and the two or more channel audio signals included in the target audio data are the same, selecting a target channel audio signal from the two or more channel audio signals; Generate mono audio data according to the target channel audio signal.

9. An audio processing system, characterized in that: include: Audio playback device and audio server; wherein, The audio playback device is used to send an audio playback request to the audio server; The audio server is used to implement the method described in any one of claims 1 to 8 above; The audio playback device is further used to receive the mono audio data returned by the audio playback device and play the mono audio data.

10. An electronic device, characterized in that: include: A memory and a processor, wherein The memory is used to store programs; The processor is coupled to the memory, and is configured to execute the program stored in the memory to implement the method according to any one of claims 1 to 8.

11. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a computer, the method according to any one of claims 1 to 8 can be implemented.

12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.