Audio signal processing method, and apparatus
By determining the appropriate audio signal processing mode in XR devices and optimizing audio signal processing and distribution, the problem of audio signal processing delay and uneven function distribution in XR devices is solved, and the user experience and device efficiency are improved.
Patent Information
- Application Number
- PCT/CN2023/087423
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-10
- Publication Date
- 2024-10-17
AI Technical Summary
When existing extended reality (XR) devices provide immersive audio services, there are problems such as large delays in audio signal processing and uneven distribution of function processing between devices, which affects the user's immersive experience.
By determining the appropriate audio signal processing mode between the service device, the first terminal device and the second terminal device, based on the performance parameters and application scenario information of each device, the processing and distribution of the audio signal is optimized, reducing the delay and balancing the equipment. function to handle the load.
It effectively reduces the delay from the detection of the user's head rotation and position movement in the XR device to the change of the audio service, improves the real-time performance and user experience of the audio service, and optimizes the distribution of function processing between devices, reducing the power of the device. Consumption and complexity.
Smart Images

Figure CN2023087423_17102024_PF_FP_ABST
Abstract
Description
Audio signal processing method and device Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to an audio signal processing method and device. Background Art
[0002] With the advancement of communication technologies and extended reality (XR) technologies such as augmented reality (AR), virtual reality (VR), and mixed reality (MR), immersive audio services provided by XR devices are becoming increasingly popular. Typical XR devices, such as AR glasses, are subject to strict restrictions on their appearance, structure, and weight for ease of wear. Therefore, to ensure audio rendering and playback on XR devices, the entire decoding and rendering process of the received audio stream signal, from decoding to binaural rendering, must be properly distributed across devices.
[0003] Summary of the Invention
[0004] The embodiments of the present disclosure provide an audio signal processing method and apparatus. By adopting an audio signal processing mode that conforms to the service device, the capabilities of the first terminal device, the capabilities of the second terminal device, and the requirements of the scenario, this method not only minimizes the time delay from the time when the head tracking device in the XR device detects the rotation and / or movement of the user's head to the time when the user perceives the change in the audio service, but also balances the distribution of the functional processing required for the XR device to provide the XR audio service among all devices.
[0005] In a first aspect, an embodiment of the present disclosure provides an audio signal processing method, which is executed by a service device, and the method includes: obtaining a current audio signal processing mode, wherein the current audio signal processing mode is determined based on a first performance parameter of a first terminal device, a second performance parameter of the service device, a third performance parameter of the second terminal device, an application scenario parameter of the first terminal device, and at least one of a preset rule; processing an audio signal based on the current audio signal processing mode to obtain first data; and sending the first data to a first terminal device or a second terminal device, wherein the first terminal device is an audio playback device, the first terminal device is connected to the service device via the second terminal device, or the first terminal device is directly connected to the service device.
[0006] In a second aspect, an embodiment of the present disclosure provides another audio signal processing method, which is executed by a first terminal device, and the method includes: obtaining a current audio signal processing mode, wherein the current audio signal processing mode is determined based on a first performance parameter of the first terminal device, a second performance parameter of the service device, a third performance parameter of the second terminal device, an application scenario parameter of the first terminal device, and at least one of a preset rule, the first terminal device is an audio playback device, the first terminal device is connected to the service device through the second terminal device, or the first terminal device is directly connected to the service device; receiving first data, wherein the first data is obtained by the service device and / or the second terminal device processing the first audio signal based on the current audio signal processing mode; processing the first data based on the current audio signal processing mode to obtain a second audio signal to be played; and playing the second audio signal.
[0007] In a third aspect, an embodiment of the present disclosure provides another audio signal processing method, which is executed by a second terminal device, and the method includes: obtaining a current audio signal processing mode, wherein the current audio signal processing mode is determined based on a first performance parameter of the first terminal device, a second performance parameter of the service device, a third performance parameter of the second terminal device, an application scenario parameter of the first terminal device, and at least one of a preset rule, the first terminal device is an audio playback device, the first terminal device is connected to the service device through the second terminal device, or the first terminal device is directly connected to the service device.
[0008] In a fourth aspect, an embodiment of the present disclosure provides a communication device that implements some or all of the functions of the terminal device described in the method described in the first aspect above. For example, the functions of the communication device may include the functions of some or all of the embodiments of the present disclosure, or may include the functions of implementing any one of the embodiments of the present disclosure separately. The functions may be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more units or modules corresponding to the above functions.
[0009] In one implementation, the communication device may include a transceiver module and a processing module, wherein the processing module is configured to support the communication device in performing corresponding functions in the above method. The transceiver module is used to support communication between the communication device and other devices.
[0010] The communication device may further include a storage module, which is coupled to the transceiver module and the processing module and stores computer programs and data necessary for the communication device.
[0011] In one implementation, the communication device includes:
[0012] a transceiver module, configured to obtain a current audio signal processing mode, wherein the current audio signal processing mode is determined based on at least one of a first performance parameter of the first terminal device, a second performance parameter of the service device, a third performance parameter of the second terminal device, an application scenario parameter of the first terminal device, and a preset rule;
[0013] a processing module, configured to process the audio signal based on the current audio signal processing mode to obtain first data;
[0014] The transceiver module is further used to send the first data to a first terminal device or a second terminal device, wherein the first terminal device is an audio playback device, the first terminal device is connected to the service device through the second terminal device, or the first terminal device is directly connected to the service device.
[0015] In a fifth aspect, an embodiment of the present disclosure provides another communication device that has some or all of the functions of the network device in the method example described in the second aspect above. For example, the functions of the communication device may have some or all of the functions in the embodiments of the present disclosure, or may have the functions of implementing any one of the embodiments of the present disclosure alone. The functions may be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more units or modules corresponding to the above functions.
[0016] In one implementation, the communication device may include a transceiver module and a processing module, the processing module being configured to support the communication device in performing the corresponding functions of the above-described method. The transceiver module is configured to support communication between the communication device and other devices. The communication device may also include a storage module, coupled to the transceiver module and the processing module, which stores computer programs and data necessary for the communication device.
[0017] In one implementation, the communication device includes:
[0018] a transceiver module, configured to obtain a current audio signal processing mode, wherein the current audio signal processing mode is determined based on at least one of a first performance parameter of a first terminal device, a second performance parameter of the service device, a third performance parameter of a second terminal device, an application scenario parameter of the first terminal device, and a preset rule, wherein the first terminal device is an audio playback device, the first terminal device is connected to the service device via the second terminal device, or the first terminal device is directly connected to the service device;
[0019] The transceiver module is further configured to receive first data, wherein the first data is obtained by the service device and / or the second terminal device processing the first audio signal based on the current audio signal processing mode;
[0020] a processing module, configured to process the first data based on the current audio signal processing mode to obtain a second audio signal to be played;
[0021] The transceiver module is further configured to play the second audio signal.
[0022] In a sixth aspect, an embodiment of the present disclosure provides another communication device, which has some or all of the functions of the network device in the method example described in the second aspect above. For example, the functions of the communication device may have some or all of the functions in the embodiments of the present disclosure, or may have the functions of implementing any one of the embodiments of the present disclosure separately. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units or modules corresponding to the above functions.
[0023] In one implementation, the communication device may include a transceiver module and a processing module, the processing module being configured to support the communication device in performing the corresponding functions of the above-described method. The transceiver module is configured to support communication between the communication device and other devices. The communication device may also include a storage module, coupled to the transceiver module and the processing module, which stores computer programs and data necessary for the communication device.
[0024] In one implementation, the communication device includes:
[0025] A transceiver module is used to obtain a current audio signal processing mode, wherein the current audio signal processing mode is determined based on a first performance parameter of a first terminal device, a second performance parameter of the service device, a third performance parameter of a second terminal device, an application scenario parameter of the first terminal device, and at least one of preset rules; the first terminal device is an audio playback device, the first terminal device is connected to the service device through the second terminal device, or the first terminal device is directly connected to the service device.
[0026] In a seventh aspect, an embodiment of the present disclosure provides a communication device, which includes a processor. When the processor calls a computer program in a memory, it executes the method described in the first aspect above.
[0027] In an eighth aspect, an embodiment of the present disclosure provides a communication device, which includes a processor. When the processor calls a computer program in a memory, the method described in the second aspect is executed.
[0028] In a ninth aspect, an embodiment of the present disclosure provides a communication device, which includes a processor. When the processor calls a computer program in a memory, the method described in the third aspect is executed.
[0029] In the tenth aspect, an embodiment of the present disclosure provides a communication device, which includes a processor and a memory, in which a computer program is stored; the processor executes the computer program stored in the memory so that the communication device executes the method described in the first aspect above.
[0030] In the eleventh aspect, an embodiment of the present disclosure provides a communication device, which includes a processor and a memory, in which a computer program is stored; the processor executes the computer program stored in the memory so that the communication device executes the method described in the second aspect above.
[0031] In the twelfth aspect, an embodiment of the present disclosure provides a communication device, which includes a processor and a memory, in which a computer program is stored; the processor executes the computer program stored in the memory so that the communication device executes the method described in the second aspect above.
[0032] In a thirteenth aspect, an embodiment of the present disclosure provides a communication device, which includes a processor and an interface circuit, wherein the interface circuit is used to receive code instructions and transmit them to the processor, and the processor is used to run the code instructions to enable the device to execute the method described in the first aspect above.
[0033] In a fourteenth aspect, an embodiment of the present disclosure provides a communication device, which includes a processor and an interface circuit, wherein the interface circuit is used to receive code instructions and transmit them to the processor, and the processor is used to run the code instructions to enable the device to execute the method described in the second aspect above.
[0034] In a fifteenth aspect, an embodiment of the present disclosure provides a communication device, which includes a processor and an interface circuit, wherein the interface circuit is used to receive code instructions and transmit them to the processor, and the processor is used to run the code instructions to enable the device to execute the method described in the third aspect above.
[0035] In the sixteenth aspect, an embodiment of the present disclosure provides a communication system, which includes the communication device described in aspects four to six, or the system includes the communication device described in aspects seven to nine, or the system includes the communication device described in aspects ten to twelfth, or the system includes the communication device described in aspects thirteen to fifteenth.
[0036] In the seventeenth aspect, an embodiment of the present invention provides a computer-readable storage medium for storing instructions for the above-mentioned receiving end, and when the instructions are executed, the receiving end executes the method described in the first aspect.
[0037] In the eighteenth aspect, an embodiment of the present invention provides a computer-readable storage medium for storing instructions for the above-mentioned receiving end, and when the instructions are executed, the receiving end executes the method described in the above-mentioned second aspect.
[0038] In the nineteenth aspect, an embodiment of the present invention provides a computer-readable storage medium for storing instructions for the above-mentioned transmitter, and when the instructions are executed, the transmitter executes the method described in the third aspect.
[0039] In a twentieth aspect, the present disclosure further provides a computer program product comprising a computer program, which, when executed on a computer, enables the computer to execute the method described in the first aspect above.
[0040] In a twenty-first aspect, the present disclosure further provides a computer program product comprising a computer program, which, when executed on a computer, enables the computer to execute the method described in the second aspect above.
[0041] In a twenty-second aspect, the present disclosure further provides a computer program product comprising a computer program, which, when executed on a computer, enables the computer to execute the method described in the second aspect above.
[0042] In a twenty-third aspect, the present disclosure provides a chip system comprising at least one processor and an interface for supporting a service device in implementing the functions described in the first aspect, such as determining or processing at least one of the data and information described in the aforementioned method. In one possible design, the chip system further comprises a memory for storing computer programs and data necessary for the receiving end. The chip system may consist solely of a chip or may include a chip and other discrete components.
[0043] In a twenty-fourth aspect, the present disclosure provides a chip system comprising at least one processor and an interface, configured to support a first terminal device in implementing the functions described in the second aspect, such as determining or processing at least one of the data and information involved in the aforementioned method. In one possible design, the chip system further comprises a memory configured to store computer programs and data necessary for the transmitter. The chip system may consist solely of a chip or may include a chip and other discrete components.
[0044] In aspect 25, the present disclosure provides a chip system comprising at least one processor and an interface, configured to support a second terminal device in implementing the functions described in aspect 3, such as determining or processing at least one of the data and information involved in the aforementioned method. In one possible design, the chip system further comprises a memory configured to store computer programs and data necessary for the transmitter. The chip system may consist solely of a chip or may include a chip and other discrete components.
[0045] In a twenty-sixth aspect, the present disclosure provides a computer program which, when executed on a computer, enables the computer to execute the method described in the first aspect above.
[0046] In aspect 27, the present disclosure provides a computer program which, when executed on a computer, enables the computer to execute the method described in aspect 2 above.
[0047] In a twenty-eighth aspect, the present disclosure provides a computer program which, when executed on a computer, enables the computer to execute the method described in the third aspect above. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the background technology, the drawings required for use in the embodiments of the present disclosure or the background technology will be described below.
[0049] FIG1 is a schematic diagram of the architecture of a communication system provided by the present disclosure;
[0050] FIG2 is a process diagram of an audio signal processing method in the related art;
[0051] FIG3 is a flowchart of an audio signal processing method provided by an embodiment of the present disclosure;
[0052] FIG4 is a schematic diagram of the process of each candidate audio signal processing mode provided by an embodiment of the present disclosure
[0053] FIG5 is a flowchart of another audio signal processing method provided by an embodiment of the present disclosure;
[0054] FIG6 is a flowchart of another audio signal processing method provided by an embodiment of the present disclosure;
[0055] FIG7 is a flowchart of another audio signal processing method provided by an embodiment of the present disclosure;
[0056] FIG8 is a flowchart of another audio signal processing method provided by an embodiment of the present disclosure;
[0057] FIG9 is a flowchart of another audio signal processing method provided by an embodiment of the present disclosure;
[0058] FIG10 is a flowchart of another audio signal processing method provided by an embodiment of the present disclosure;
[0059] FIG11 is a structural diagram of a communication device provided by an embodiment of the present disclosure;
[0060] FIG12 is a structural diagram of another communication device provided in an embodiment of the present disclosure;
[0061] FIG13 is a schematic structural diagram of a chip provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0062] To facilitate understanding of the technical solutions of the present disclosure, some terms involved in the embodiments of the present disclosure are briefly introduced below.
[0063] 1. Service equipment
[0064] In this disclosure, a service device refers to any device that can provide services for an XR device, which can be a cloud device or an edge device.
[0065] 2. 3 Degrees of Freedom (3DoF)
[0066] In 3DoF, the device can detect the rotation of the head in the three coordinate axes (X, Y, Z), such as tilting the head and leaning back, and thus perceive the changes in the field of view angle caused by the head rotation.
[0067] 3. 6 Degree of Freedom (6DoF)
[0068] In 6DoF, in addition to sensing the user's head rotation along the X, Y, and Z axes, the device can also sense the user's body movement along three parallel axes (up and down, left and right, and front and back). Therefore, 6DoF XR devices allow users to perform a wider variety of movements, such as walking, jumping, and squatting.
[0069] In order to better understand the audio signal processing method and apparatus disclosed in the embodiments of the present disclosure, a communication system to which the embodiments of the present disclosure are applicable is first described below.
[0070] Please refer to Figure 1, which is a schematic diagram of the architecture of a communication system provided in an embodiment of the present disclosure. The communication system may include, but is not limited to, one network device and one terminal device. The number and configuration of devices shown in Figure 1 are for example purposes only and do not constitute a limitation on the embodiments of the present disclosure. In actual applications, two or more network devices and two or more terminal devices may be included. The communication system shown in Figure 1 includes a service device 101, a first terminal device 102, and a second terminal device 103.
[0071] It should be noted that the technical solutions of the embodiments of the present disclosure can be applied to various communication systems, such as Long Term Evolution (LTE) systems, fifth-generation (5G) mobile communication systems, 5G New Radio (NR) systems, or other future new mobile communication systems.
[0072] The service device 101 in the embodiment of the present disclosure may be an entity on the network side for transmitting or receiving signals and a device for communicating with a terminal device. The service device 101 may be a base transceiver station (BTS) in a global system for mobile communications (GSM) or a code division multiple access (CDMA) system, a base station B (nodeB, NB) in a wideband code division multiple access (WCDMA) system, an evolved NodeB (eNB or eNodeB) in an LTE system, a wireless controller in a cloud radio access network (CRAN) scenario, a radio network controller (RNC), a base station controller (BSC), a home base station (for example, a home evolved nodeB or home nodeB, HNB), a baseband unit (BBU), or a baseband controller. The network-side device may be a baseband unit (BBU), or the network-side device may be a relay station, an access point, an in-vehicle device, a wearable device, a network-side device in a 5G network, or a network-side device in a future-evolved PLMN network, etc. It may be an access point (AP) in a WLAN, a wireless relay node, a wireless backhaul node, a transmission point (TP), or a transmission and reception point (TRP), etc. It may be a gNB or a transmission point (TRP or TP) in a new radio (NR) system, or one or a group of antenna panels (including multiple antenna panels) of a base station in a 5G system, or it may also be a network node constituting a gNB or a transmission point, such as a baseband unit (BBU) or a distributed unit (DU), etc. The embodiments of the present disclosure do not limit the specific technology and specific device form adopted by the network-side device.The network side device provided by the embodiment of the present disclosure may be composed of a centralized unit (CU) and a distributed unit (DU), wherein the CU may also be referred to as a control unit (Control Unit). The CU-DU structure may be used to split the network side device, such as the protocol layer of the network side device, and the functions of some protocol layers may be centrally controlled by the CU, while the functions of the remaining part or all of the protocol layers may be distributed in the DU, and the DU may be centrally controlled by the CU.
[0073] In the embodiments of the present disclosure, the first terminal device 102 and the second terminal device 103 can each be a device that provides voice / data connectivity to a user, such as a handheld device or an in-vehicle device with wireless connection capabilities. Some examples of the first terminal device 102 include wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, etc. Some examples of the second terminal device 103 may be: a mobile phone, a tablet computer, a laptop computer, a PDA, a mobile Internet device (MID), a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, a terminal device in a 5G network or a terminal device in a future evolved Public Land Mobile Network (PLMN) and / or any other suitable device for communicating on a wireless communication system, and the embodiments of the present disclosure are not limited to this.
[0074] Wearable devices, also known as wearable smart devices, are a general term for wearable devices that use wearable technology to intelligently design and develop wearable devices for daily wear, such as glasses, bracelets, watches, clothing, and shoes. Wearable devices are portable devices that are worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not just hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. In a broad sense, wearable smart devices include those that are fully functional, large in size, and can achieve full or partial functions without relying on smartphones, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.
[0075] It should be noted that the technical solutions of the embodiments of the present disclosure can be applied to various communication systems, such as Long Term Evolution (LTE) systems, fifth-generation (5G) mobile communication systems, 5G New Radio (NR) systems, or other future new mobile communication systems.
[0076] Among them, the service device 101 provided in the embodiment of the present disclosure can execute the method shown in the embodiments of Figures 3 to 6, the first device 102 can execute the method shown in the embodiments of Figures 7 to 8, and the second device 103 can execute the method shown in the embodiments of Figures 9 to 10.
[0077] 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. Ordinary technicians in this field 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.
[0078] In addition, in order to facilitate understanding of the embodiments of the present disclosure, the following points are explained.
[0079] First, the first, second, and various numbers in this disclosure are only used for the convenience of description and are not intended to limit the scope of the embodiments of this disclosure, for example, to distinguish different information, different terminal devices, etc.
[0080] Second, the "protocol" involved in the embodiments of the present disclosure may refer to a standard protocol in the communication field, for example, it may include an LTE protocol, a NR protocol, and related protocols used in future communication systems, and the present disclosure does not limit this.
[0081] Third, the embodiments of the present disclosure list multiple implementation methods to clearly illustrate the technical solutions of the embodiments of the present disclosure. Of course, those skilled in the art will understand that the multiple embodiments provided in the embodiments of the present disclosure can be implemented individually, combined with the methods of other embodiments of the embodiments of the present disclosure, or implemented individually or in combination with some methods in other related technologies; the embodiments of the present disclosure are not limited to this.
[0082] FIG2 is a process diagram of an audio signal processing method in related art. As shown in FIG2a, a service device (cloud device or edge device) can be used to decode and render the audio code stream signal. The rendered binaural signal is encoded and sent to the first terminal device (such as XR Device). The first terminal device receives the code stream signal and decodes and outputs the binaural signal. The user obtains an immersive audio experience service through the binaural signal. Among them, the rendering process is to render the decoded output signal based on the head rotation (3DoF) information output by the head tracking device in the first terminal device, or the head rotation information and the user's latest position (6DoF) information. It takes a certain amount of time for the information output by the head tracking device in the first terminal device to be transmitted to the service device. A delay exceeding the threshold will make the binaural rendering signal unable to track the user's head rotation and / or position information in real time, resulting in the binaural rendering signal received by the user not being able to fully match the signal that the user should hear at the current moment.
[0083] Alternatively, as shown in Figure 2b, after receiving the code stream signal, the service device can also directly transmit it to the first terminal device (such as XR Device). The first terminal device renders the decoded output signal based on the head rotation information (3DoF) output by the head tracking device or the head rotation information and the user's latest position information (6DoF). The rendered binaural signal is output to the playback device (such as headphones). The user obtains an immersive audio experience service through the binaural signal played by the playback device. However, this method requires the first terminal device (such as XR Device) to undertake decoding and rendering processing, requires the first terminal device to have strong computing power and storage space, and also places high demands on the battery capacity of the first terminal device.
[0084] Alternatively, as shown in FIG2c , after receiving the audio code stream signal, the service device first performs decoding processing, and then performs a first-level rendering processing (such as rendering processing 1 in the figure). The first-level rendering processing is to render the decoded signal based on the information output by the head tracking device. The signal after the first-level rendering processing is encoded to obtain a code stream signal and sent to the first terminal device (such as: XR Device). The first terminal device receives the code stream signal and first decodes it and then performs a second-level rendering processing on the output signal based on the real-time information output by the head tracking device. The rendered binaural signal is output to the playback device (such as headphones). The user obtains an immersive audio experience through the binaural signal played by the playback device. However, this two-level rendering processing method adds a segmentation step from the received code stream signal to the binaural signal acquisition process. At the same time, the encoding and decoding processing of the rendering processing results at each level may increase the complexity and latency of the system.
[0085] The audio signal processing method proposed in this disclosure first determines the current audio signal processing mode based on information such as the computing power, storage space, and application scenario of the service device, the first terminal device, and the second terminal device, and then performs audio signal processing. This ensures that the current audio signal processing mode is consistent with the capabilities of the service device, the first terminal device, the second terminal device, and the application scenario, while minimizing latency and complexity.
[0086] The following describes in detail an audio signal processing method and apparatus provided by the present disclosure with reference to the accompanying drawings.
[0087] Please refer to Figure 3, which is a flow chart of an audio signal processing method provided by an embodiment of the present disclosure. As shown in Figure 3, the method is applied to a service device, and the method may include but is not limited to the following steps:
[0088] Step 301, obtain the current audio signal processing mode, wherein the current audio signal processing mode is determined based on the first performance parameter of the first terminal device, the second performance parameter of the service device, the third performance parameter of the second terminal device, the application scenario parameter of the first terminal device and at least one of the preset rules.
[0089] Among them, the first terminal device is an audio playback device, such as XR glasses, which can be directly connected to the service device, or the first terminal device can be connected to the service device through the second terminal device.
[0090] In this disclosure, the current audio signal processing mode is used to describe which device performs the decoding and rendering of the current audio signal. For example, the decoding and rendering of the audio signal may be performed by the service device, or by the first terminal device, or by the second terminal device, or by the service device and the first terminal device together; or by the service device and the second terminal device together, etc. This disclosure does not limit this.
[0091] In some possible implementations, the preset rule is pre-set on the service device and is used to indicate which device should perform decoding and rendering processing on the audio signal. For example, the preset rule may indicate that the service device should perform decoding and rendering processing on the audio signal, or that the first terminal device should perform decoding and rendering processing on the audio signal, etc. Thus, the service device can determine the current audio signal processing mode based on the preset rule without considering the capabilities of each device.
[0092] In some possible implementation forms, the first performance parameter, the second performance parameter and the third performance parameter respectively include at least one of the following: central processing unit (CPU) performance, memory space, hard disk space, and network resource amount; the application scenario parameter includes at least one of the following: the movement rate of the first terminal device, the degree of freedom of movement of the first terminal device, and the rotation rate of the first terminal device.
[0093] In some possible implementations, the current audio signal processing mode may be received by the service device from the second terminal device. That is, the second terminal device first determines the current audio signal processing mode based on the performance parameters of each device and scenario information, and then sends it to the service device.
[0094] In some possible implementation forms, the current audio signal processing mode may also be determined by the service device based on at least one of the first performance parameter, the second performance parameter, the third performance parameter, the application scenario parameter of the first terminal device, and a preset rule.
[0095] In some possible implementations, if the preset rule is not empty, the service device may determine the processing mode indicated in the preset rule as the current audio signal processing mode; alternatively, if the preset rule is empty, the service device may first determine a first ratio between the processing loads carried by each device under each candidate processing mode, and a second ratio between the first performance parameter, the second performance parameter, and the third performance parameter of the second terminal device; and then determine the candidate processing mode corresponding to the first ratio that is most correlated with the second ratio as the current audio signal processing mode. For example, the candidate processing mode with the first ratio that is closest to the second ratio may be determined as the current audio signal processing mode.
[0096] Among them, each candidate processing mode includes the following items: the service device completes the decoding and rendering processing of the audio signal (corresponding to Figure 2a); the first terminal device completes the decoding and rendering processing of the audio signal (corresponding to Figure 2b); the second terminal device completes the decoding and rendering processing of the audio signal (corresponding to Figure 4a); the service device completes the decoding and initial rendering processing of the audio signal, and the first terminal device completes the rendering calibration of the initial rendering processing result (corresponding to Figure 2c); the service device completes the decoding and initial rendering processing of the audio signal, and the second terminal device completes the rendering calibration of the initial rendering processing result (corresponding to Figure 4b); the second terminal device completes the decoding and initial rendering processing of the audio signal, and the first terminal device completes the rendering calibration of the initial rendering processing result (corresponding to Figure 4c); the service device completes the decoding and initial rendering processing of the audio signal, the second terminal device completes the correction of the initial rendering processing result, and the first terminal device completes the rendering calibration of the corrected data (corresponding to Figure 4d). Figure 4 is a process schematic diagram of each candidate audio signal processing mode provided in an embodiment of the present disclosure.
[0097] For example, under each of the candidate modes, the first ratios of the processing load carried by each device (service device: first terminal device: second terminal device) are: 3:0:0 (first candidate processing mode), 0:3:0 (second candidate processing mode), 0:0:3 (third candidate processing mode), 2:1:0 (fourth candidate processing mode), 2:0:1 (fifth candidate processing mode), 0:1:2 (sixth candidate processing mode), and 1:1:1 (sixth candidate processing mode). Based on the second performance parameter, the first performance parameter, and the third performance parameter (CPU performance, memory space, and hard disk space), the second ratio is determined to be 10:1:7. Comparison shows that the first ratio (2:0:1) corresponding to the fifth candidate processing mode is most correlated with the second ratio, thus determining the fifth candidate processing mode as the current audio signal processing mode. In other words, the current audio signal processing mode is: the service device performs audio signal decoding and initial rendering processing, and the second terminal device performs rendering calibration of the initial rendering processing results.
[0098] It should be noted that the values of the above-mentioned first ratios are for illustrative purposes only and do not represent the actual processing capacity carried by each device in the corresponding candidate mode. The specific reference to the first ratio can be determined by the serving device or the second device based on the actual performance parameters of each device, and this disclosure does not limit this.
[0099] It should be noted that when multiple devices perform time-sharing rendering processing on an audio signal, the motion parameters used by different devices are collected at different times. For example, in the fourth candidate processing mode, when the service device performs initial rendering processing, the motion parameters used are those sent to it by the first terminal device before the service device performs rendering processing. Subsequently, when the first terminal device performs rendering calibration on the initial rendering processing result, the motion parameters used are those obtained in real time by the head tracking device in the first terminal device. These parameters better reflect the user's current motion state, and thus the audio signal rendered and calibrated based on the latest motion parameters better matches the user's head rotation and / or position information.
[0100] The motion parameter includes at least one of the following: rotation rate, position coordinates, and movement rate.
[0101] In some possible implementations, the service device may determine the computing power of the first and second terminal devices based on their respective CPU performance, memory space, and hard disk space. It then determines the network transmission capacity based on their respective network resources and the amount of motion parameters to be transmitted based on the first terminal device's movement rate, degrees of freedom of movement, and rotation rate. The current audio signal processing mode is then determined based on a comprehensive consideration of the respective computing power, network transmission capacity, and the amount of motion information to be transmitted. This ensures that the current audio signal processing mode is determined to minimize latency and avoid impacting the use of the first terminal device.
[0102] For example, if the computing power of the first terminal device meets the computational requirements, the first terminal device can be directly responsible for decoding and rendering the audio signal, thereby ensuring that the rendered audio signal can track the user's head movement in real time. Alternatively, if the computing power of the first terminal device does not meet the requirements, but the computing power of other devices does, and the network transmission capacity is relatively good, the service device or the second terminal device can be responsible for decoding and rendering the audio signal, thereby reducing the power consumption of the first terminal and minimizing the delay of the rendered binaural signal.
[0103] In some possible implementation forms, after determining the current audio signal processing mode, the service device may further send the current audio signal processing mode to the first terminal device and the second terminal device respectively.
[0104] In some possible implementation forms, if the first terminal device is connected to the service device through the second terminal device, then the service device can only send the current audio signal processing mode to the second terminal device, so that the current audio signal processing mode can be sent to the first terminal device through the second terminal device. This disclosure does not limit this.
[0105] Step 302: Process the audio signal based on the current audio signal processing mode to obtain first data.
[0106] It is understandable that the first data may be the data obtained by decoding and rendering the audio signal by the service device based on the current audio signal processing mode, or it may be the audio signal directly transmitted by the service device based on the current audio signal processing mode, etc.
[0107] Step 303: Send the first data to the first terminal device or the second terminal device.
[0108] In some possible implementations, if the first terminal device is directly connected to the service device and the first data does not need to be processed by the second terminal device, that is, the first terminal device is directly connected to the service device and the second terminal device is not included in the current audio signal processing mode, then the service device can send the first data only to the first terminal device.
[0109] In some possible implementations, if the first terminal device is connected to the service device through the second terminal device, the service device needs to send the first data to the second terminal device regardless of whether the first data requires the second terminal device to participate in processing.
[0110] In some possible implementations, the first data needs to be processed by the second terminal device, that is, the current audio signal processing mode includes the second terminal device, and the service device also needs to send the first data to the second terminal device.
[0111] In summary, the service device first obtains the current audio signal processing mode determined based on at least one of the performance parameters of each device, the application scenario parameters, and preset rules. It then processes the audio signal based on the current audio signal processing mode to obtain first data, and then sends the first data to the first terminal device or the second terminal device. Thus, by adopting an audio signal processing mode that meets the service device, the capabilities of the first terminal device, the capabilities of the second terminal device, and the scenario requirements, not only can the time delay from the time the head tracking device in the XR device detects the user's head rotation and / or position movement to the time the user perceives the change in audio service be minimized, but the distribution of the functional processing required for the XR device to provide the XR audio service across all devices can also be balanced as much as possible.
[0112] Please refer to Figure 5, which is a flow chart of another audio signal processing method provided by an embodiment of the present disclosure. As shown in Figure 5, the method is applied to a service device, and the method may include but is not limited to the following steps:
[0113] Step 501: Receive a first performance parameter and an application scenario parameter sent by a first terminal device, and / or receive a third performance parameter sent by a second terminal device.
[0114] In some possible implementation forms, the service device may directly receive the first performance parameter and application scenario parameter sent by the first terminal device.
[0115] In some possible implementation forms, the service device may also receive the first performance parameter and the application scenario parameter through the second terminal device.
[0116] In some possible implementation forms, after receiving the first performance parameters and application scenario parameters, the second service determines that the first terminal device can complete the decoding and rendering processing of the audio signal. In this case, the third performance parameter may not be sent to the service device, that is, the service device may not receive the third performance parameter.
[0117] In some possible implementation forms, after receiving the first performance parameters and application scenario parameters, the second service determines that the first terminal device cannot participate in the decoding and rendering processing of the audio signal, then it may not send the first performance parameters to the service device, that is, the service device may not receive the first performance parameters.
[0118] Step 502: Determine a current audio signal processing mode according to at least one of the first performance parameter, the second performance parameter, the third performance parameter, the application scenario parameter, and a preset rule.
[0119] Step 503: If the second terminal device is not included in the current audio signal processing mode and the first terminal device is directly connected to the service device, the current audio signal processing mode is sent to the first terminal device.
[0120] The specific implementation of the above steps 502 and 503 can refer to the detailed description of other embodiments of the present disclosure and will not be repeated here.
[0121] Step 504: Receive motion parameters sent by the first terminal device, where the motion parameters are acquired by a head tracking device in the first terminal device.
[0122] The motion parameter includes at least one of the following: rotation rate, position coordinates, and movement rate.
[0123] In some possible implementation forms, if the first terminal device is directly connected to the service device, the service device may directly receive the motion parameters sent by the first terminal device.
[0124] In some possible implementation forms, if the first terminal device is connected to the service device through the second terminal device, the service device can receive the motion parameters transparently transmitted by the second terminal device.
[0125] Step 505 : Based on the current audio signal processing mode, the audio signal is decoded and rendered using the motion parameters to obtain first data.
[0126] In some possible implementations, if the current audio signal processing mode is that the service device completes decoding and rendering of the audio signal, the obtained first data is rendered data.
[0127] In some possible implementations, if the current audio signal processing mode is for the first terminal device to complete decoding and rendering of the audio signal, the first data is an unprocessed audio signal. In other words, the service device directly outputs the received audio signal.
[0128] In some possible implementation forms, if the current audio signal processing mode is decoding and initial rendering processing of the audio signal by the service device, and the rendering calibration of the initial rendering processing result is completed by the first terminal device, then the first data is the initial rendering processing result.
[0129] Step 506: Send the first data to the first terminal device.
[0130] The specific implementation of step 506 can refer to the detailed description of other embodiments of the present disclosure and will not be repeated here.
[0131] In summary, the service device first determines the current audio signal processing mode based on the performance parameters, application scenario parameters and at least one of the preset rules of each device, and then sends the current audio signal processing mode to the first terminal device. After receiving the motion parameters sent by the first terminal device, based on the current audio signal processing mode, the motion parameters are used to process the audio signal to obtain first data, and then the first data is sent to the first terminal device. Thus, through simple performance parameter interaction, an audio signal processing mode that meets the service device capabilities, the first terminal device capabilities, the second terminal device capabilities and the scenario requirements can be obtained, so that the audio signal is processed based on the determined audio signal processing mode. This not only minimizes the delay from the time when the head tracking device in the XR device detects the rotation and / or position movement of the user's head to the time when the user feels the change in audio service, but also balances the distribution of the functional processing processes required for the XR device to provide XR audio services among all devices.
[0132] Please refer to Figure 6, which is a flowchart of an audio signal processing method provided by an embodiment of the present disclosure. As shown in Figure 5, the method is applied to a service device. In the embodiment of the present disclosure, the current audio signal processing mode is determined by the second terminal device and distributed to the service device and the first terminal device. The method may include but is not limited to the following steps:
[0133] Step 601: Receive the current audio signal processing mode sent by the second terminal device.
[0134] Step 602: Receive motion parameters sent by the first terminal device, where the motion parameters are acquired by a head tracking device in the first terminal device.
[0135] The motion parameters may be sent directly to the service device by the first terminal device, or may be transparently transmitted to the service device by the second terminal device, which is not limited in this disclosure.
[0136] Step 603 : Based on the current audio signal processing mode, the audio signal is decoded and rendered using the motion parameters to obtain first data.
[0137] Step 604 : When the first terminal device is connected to the service device through the second terminal device, or when the second terminal device is included in the current audio signal processing mode, the first data is sent to the second terminal device.
[0138] Step 605 : When the first terminal device is directly connected to the service device and the second terminal device is not included in the current audio signal processing mode, the first data is sent to the first terminal device.
[0139] The specific implementation of steps 601 to 605 can refer to the detailed description of other embodiments of the present disclosure and will not be repeated here.
[0140] In summary, the service device first receives the current audio signal processing mode sent by the second terminal device, and then, after receiving the motion parameters sent by the first terminal device, processes the audio signal based on the current audio signal processing mode using the motion parameters to obtain first data, and then sends the first data to the second terminal device. Therefore, by adopting an audio signal processing mode that meets the service device, the capabilities of the first terminal device, the capabilities of the second terminal device, and the scenario requirements, not only can the time delay from the head tracking device in the XR device detecting the user's head rotation and / or position movement to the user feeling the change in audio service be minimized, but the distribution of the functional processing required for the XR device to provide XR audio services among all devices can also be balanced as much as possible.
[0141] Please refer to Figure 7, which is a flow chart of an audio signal processing method provided by an embodiment of the present disclosure. As shown in Figure 7, the method is applied to a first terminal device, and the method may include but is not limited to the following steps:
[0142] Step 701, obtain the current audio signal processing mode, wherein the current audio signal processing mode is determined based on the first performance parameter of the first terminal device, the second performance parameter of the service device, the third performance parameter of the second terminal device, the application scenario parameter of the first terminal device and at least one of the preset rules.
[0143] The first terminal device is an audio playback device, and the first terminal device is connected to the service device through the second terminal device, or the first terminal device is directly connected to the service device.
[0144] In this disclosure, the current audio signal processing mode is used to describe which device performs the decoding and rendering of the current audio signal. For example, the decoding and rendering of the audio signal may be performed by the service device, or by the first terminal device, or by the second terminal device, or by the service device and the first terminal device together; or by the service device and the second terminal device together, etc. This disclosure does not limit this.
[0145] In some possible implementations, the preset rule is pre-set in a device (e.g., a service device, a first terminal device, or a second terminal device) and is used to indicate which device is to perform decoding and rendering processing of the audio signal. For example, the preset rule may indicate that the service device is to perform decoding and rendering processing of the audio signal, or that the first terminal device is to perform decoding and rendering processing of the audio signal, etc., so that the service device or the second terminal device can determine the current audio signal processing mode directly based on the preset rule without considering the capabilities of each device.
[0146] In some possible implementation forms, the first performance parameter, the second performance parameter and the third performance parameter respectively include at least one of the following: central processing unit (CPU) performance, memory space, hard disk space, and network resource amount; the application scenario parameter includes at least one of the following: the movement rate of the first terminal device, the degree of freedom of movement of the first terminal device, and the rotation rate of the first terminal device.
[0147] In some possible implementations, the current audio signal processing mode may be received by the first terminal device from the second terminal device. In other words, the second terminal device first determines the current audio signal processing mode based on the performance parameters of each device and scenario information, and then sends it to the service device.
[0148] In some possible implementations, the current audio signal processing mode may also be received by the first terminal device from the service device. That is, the service device first determines the current audio signal processing mode based on the performance parameters of each device and scenario information, and then sends it to the service device.
[0149] In some possible implementation forms, if the first terminal device is connected to the service device through the second terminal device, then the current audio signal processing mode sent by the second terminal device and received by the first terminal device may also be determined by the service device and transmitted to the first terminal device through the second terminal device. This disclosure does not limit this.
[0150] Step 702: Receive first data, where the first data is obtained by the service device and / or the second terminal device processing the first audio signal based on the current audio signal processing mode.
[0151] In some possible implementations, if a first terminal is connected to a service device via a second terminal device, the first data received by the first terminal device from the second terminal device may be data transparently transmitted by the second terminal device. In other words, the first data is obtained by the service device after processing the first audio signal and then transparently transmitted by the second terminal device to the first terminal device.
[0152] Step 703: Process the first data based on the current audio signal processing mode to obtain a second audio signal to be played.
[0153] In some possible implementation forms, the first terminal device processes the first data, which may be decoding the first data, or decoding and rendering the first data, or decoding and rendering calibration processing of the first data, etc. This disclosure does not limit this.
[0154] In some possible implementations, when the first terminal device is not included in the current audio signal processing mode, that is, the first terminal device is not required to render the audio signal, then the first terminal device can directly decode the first data to obtain the second audio signal.
[0155] In some possible implementations, when the current audio signal processing mode indicates that the first terminal device completes decoding and rendering of the audio signal, the first data is decoded and rendered based on the current motion parameters to obtain the second audio signal.
[0156] The motion parameter includes at least one of the following: rotation rate, position coordinates, and movement rate.
[0157] In some possible implementations, when the current audio signal processing mode indicates that the first terminal device completes rendering calibration of the audio signal, the first data is rendered and calibrated based on the current motion parameters to obtain the second audio signal.
[0158] It should be noted that when the first terminal device performs rendering and calibration on the first data, the first data may be sent by the second terminal device or the service device.
[0159] Step 704: play the second audio signal.
[0160] In summary, the first terminal device first obtains the current audio signal processing mode determined based on at least one of the performance parameters, application scenario parameters, and preset rules of each device. Then, after receiving the first data, it processes the first data based on the current audio signal processing mode to obtain a second audio signal, and then plays the second audio signal. Therefore, by adopting an audio signal processing mode that conforms to the service device capabilities, the first terminal device capabilities, the second terminal device capabilities, and the scenario requirements, not only can the time delay from the head tracking device in the XR device detecting the user's head rotation and / or position movement to the user perceiving the change in audio service be minimized, but the distribution of the functional processing required for the XR device to provide the XR audio service among all devices can also be balanced as much as possible.
[0161] Please refer to Figure 8, which is a flow chart of an audio signal processing method provided by an embodiment of the present disclosure. As shown in Figure 8, the method is applied to a first terminal device, and the method may include but is not limited to the following steps:
[0162] Step 801: Send first performance parameters and application scenario parameters of a first terminal device to a second terminal device or to a service device.
[0163] In some possible implementation forms, if the first terminal device is directly connected to the service device, the first performance parameter and the application scenario parameter can be directly sent to the service device.
[0164] In some possible implementation forms, if the first terminal device is connected to the service device through the second terminal device, then the first performance parameter and the application scenario parameter need to be sent to the service device through the second terminal device.
[0165] In some possible implementation forms, if the current audio signal processing mode is determined by the second terminal device, the first terminal device may only send the first performance parameter and the application scenario parameter to the second terminal device.
[0166] In some possible implementation forms, if the current audio signal processing mode is determined by the service device, the first terminal device may only send the first performance parameter and the application scenario parameter to the service device.
[0167] Step 802: Receive the current audio signal processing mode sent by the second terminal device or the service device.
[0168] Step 803: Acquire motion parameters, where the motion parameters are acquired by a head tracking device in the first terminal device.
[0169] The specific implementation of the above steps 802 and 803 can refer to the detailed description of any embodiment of the present disclosure and will not be repeated here.
[0170] Step 804: Send the motion parameters to the service device and / or the second terminal device.
[0171] In the present disclosure, since each device needs to complete the rendering processing of the audio signal based on the motion parameters, the first terminal device can determine whether the motion parameters need to be sent to the service device and the second terminal device according to the current audio signal processing mode.
[0172] In some possible implementations, if the current audio signal processing mode does not include the service device and the second terminal device, that is, the service device and the second terminal device are not currently required to participate in the rendering of the audio signal, then the first terminal device may not send the motion parameters to the service device and the second terminal device.
[0173] In some possible implementation forms, when the current audio signal processing mode indicates that the service device participates in decoding and rendering processing of the first audio signal, the motion parameter is sent to the service device.
[0174] In some possible implementation forms, when the current audio signal processing mode indicates that the second terminal device participates in decoding and rendering processing of the first audio signal, the motion parameter is sent to the second terminal device.
[0175] In some possible implementation forms, when the current audio signal processing mode indicates that both the service device and the second terminal device participate in rendering processing of the first audio signal, motion parameters corresponding to different acquisition times are sent to the service device and the second terminal device respectively.
[0176] In the present disclosure, since the first audio signal must first pass through the service device before reaching the second terminal device, the first terminal device can send the previously collected motion parameters to the service device, and the service device will perform initial rendering processing on the first audio signal based on the motion parameters. At the same time, after sending the motion parameters to the service device, the first terminal device is still performing motion parameter collection, and it can send the later collected motion parameters to the second terminal device. After that, the second terminal device can correct or calibrate the result of the initial rendering processing based on the obtained motion parameters, so that the first data processed by the second terminal device is more consistent with the user's head motion information and has a smaller delay.
[0177] Step 805: Receive first data.
[0178] Step 806: Process the first data based on the current audio signal processing mode to obtain a second audio signal to be played.
[0179] Step 807: Play the second audio signal.
[0180] The specific implementation process of the above steps 805 to 807 can refer to the detailed description of other embodiments of the present disclosure and will not be repeated here.
[0181] In summary, the first terminal device sends the first performance parameters and application scenario parameters to the service device and / or the second terminal device, and then receives the current audio signal processing mode. After obtaining the motion parameters, the motion parameters can be sent to the second terminal device and / or the service device, and after receiving the first data, the first data is processed based on the current audio signal processing mode to obtain the second audio signal, and then the second audio signal is played. Thus, through simple performance parameter interaction, an audio signal processing mode that meets the service device capabilities, the first terminal device capabilities, the second terminal device capabilities and the scenario requirements can be obtained, so that the audio signal is processed based on the determined audio signal processing mode. This not only minimizes the delay from the time the head tracking device in the XR device detects the user's head rotation and / or position movement to the time the user feels the change in audio service, but also balances the distribution of the functional processing processes required for the XR device to provide XR audio services among all devices.
[0182] Please refer to Figure 9. Figure 8 is a flowchart of an audio signal processing method provided by an embodiment of the present disclosure. As shown in Figure 9, the method is applied to the second terminal device, and the method may include but is not limited to the following steps:
[0183] Step 901, obtain the current audio signal processing mode, wherein the current audio signal processing mode is determined based on the first performance parameter of the first terminal device, the second performance parameter of the service device, the third performance parameter of the second terminal device, the application scenario parameter of the first terminal device and at least one of the preset rules.
[0184] Among them, the first terminal device is an audio playback device, such as XR glasses, which can be directly connected to the service device, or the first terminal device can be connected to the service device through the second terminal device.
[0185] In this disclosure, the current audio signal processing mode is used to describe which device performs the decoding and rendering of the current audio signal. For example, the decoding and rendering of the audio signal may be performed by the service device, or by the first terminal device, or by the second terminal device, or by the service device and the first terminal device together; or by the service device and the second terminal device together, etc. This disclosure does not limit this.
[0186] In some possible implementations, the preset rule is pre-set on the second terminal device and is used to indicate which device should perform decoding and rendering of the audio signal. For example, the preset rule may indicate that the service device should perform decoding and rendering of the audio signal, or that the first terminal device should perform decoding and rendering of the audio signal, etc. Thus, the second terminal device can determine the current audio signal processing mode based on the preset rule without considering the capabilities of each device.
[0187] In some possible implementation forms, the first performance parameter, the second performance parameter and the third performance parameter respectively include at least one of the following: central processing unit (CPU) performance, memory space, hard disk space, and network resource amount; the application scenario parameter includes at least one of the following: the movement rate of the first terminal device, the degree of freedom of movement of the first terminal device, and the rotation rate of the first terminal device.
[0188] In some possible implementations, the current audio signal processing mode may be received by the second terminal device from the service device. That is, the service device first determines the current audio signal processing mode based on the performance parameters of each device and scenario information, and then sends it to the second terminal device.
[0189] In some possible implementation forms, the current audio signal processing mode can also be determined by the second terminal device based on at least one of the first performance parameter, the second performance parameter, the third performance parameter, the application scenario parameter of the first terminal device and a preset rule.
[0190] In some possible implementations, if the preset rule is not empty, the second terminal device may determine the processing mode indicated in the preset rule as the current audio signal processing mode. Alternatively, if the preset rule is empty, the second terminal device may first determine a first ratio between the processing loads carried by each device under each candidate processing mode, and a second ratio between the first performance parameter, the second performance parameter, and the third performance parameter of the second terminal device; and then determine the candidate processing mode corresponding to the first ratio that is most correlated with the second ratio as the current audio signal processing mode. For example, the candidate processing mode with the first ratio that is closest to the second ratio may be determined as the current audio signal processing mode.
[0191] Among them, each candidate processing mode includes the following items: the service device completes the decoding and rendering processing of the audio signal (corresponding to Figure 2a); the first terminal device completes the decoding and rendering processing of the audio signal (corresponding to Figure 2b); the second terminal device completes the decoding and rendering processing of the audio signal (corresponding to Figure 4a); the service device completes the decoding and initial rendering processing of the audio signal, and the first terminal device completes the rendering calibration of the initial rendering processing result (corresponding to Figure 2c); the service device completes the decoding and initial rendering processing of the audio signal, and the second terminal device completes the rendering calibration of the initial rendering processing result (corresponding to Figure 4b); the second terminal device completes the decoding and initial rendering processing of the audio signal, and the first terminal device completes the rendering calibration of the initial rendering processing result (corresponding to Figure 4c); the service device completes the decoding and initial rendering processing of the audio signal, the second terminal device completes the correction of the initial rendering processing result, and the first terminal device completes the rendering calibration of the corrected data (corresponding to Figure 4d). Figure 4 is a process schematic diagram of each candidate audio signal processing mode provided in an embodiment of the present disclosure.
[0192] For example, under each of the candidate modes, the first ratios of the processing load carried by each device (service device: first terminal device: second terminal device) are: 3:0:0 (first candidate processing mode), 0:3:0 (second candidate processing mode), 0:0:3 (third candidate processing mode), 2:1:0 (fourth candidate processing mode), 2:0:1 (fifth candidate processing mode), 0:1:2 (sixth candidate processing mode), and 1:1:1 (sixth candidate processing mode). Based on the second performance parameter, the first performance parameter, and the third performance parameter (CPU performance, memory space, and hard disk space), the second ratio is determined to be 10:1:7. By comparison, it can be seen that the first ratio (2:0:1) corresponding to the fifth candidate processing mode is most correlated with the second ratio, thus determining the fifth candidate processing mode as the current audio signal processing mode. In other words, the current audio signal processing mode is: the service device performs audio signal decoding and initial rendering processing, and the second terminal device performs rendering calibration of the initial rendering processing results.
[0193] It should be noted that the values of the above-mentioned first ratios are for illustrative purposes only and do not represent the actual processing capacity carried by each device in the corresponding candidate mode. The specific reference to the first ratio can be determined by the serving device or the second device based on the actual performance parameters of each device, and this disclosure does not limit this.
[0194] It should be noted that when multiple devices perform time-sharing rendering processing on an audio signal, the motion parameters used by different devices are collected at different times. For example, in the fourth candidate processing mode, when the service device performs initial rendering processing, the motion parameters used are those sent to it by the first terminal device before the service device performs rendering processing. Subsequently, when the first terminal device performs rendering calibration on the initial rendering processing result, the motion parameters used are those obtained in real time by the head tracking device in the first terminal device. These parameters better reflect the user's current motion state, and thus the audio signal rendered and calibrated based on the latest motion parameters better matches the user's head rotation and / or position information.
[0195] The motion parameter includes at least one of the following: rotation rate, position coordinates, and movement rate.
[0196] In some possible implementations, the second terminal device may determine the computing power of the first terminal device, the service device, and its own CPU performance, memory space, and hard disk space. It then determines the network transmission capacity based on the respective network resources and the amount of motion parameters to be transmitted based on the first terminal device's movement rate, degrees of freedom of movement, and rotation rate. The current audio signal processing mode is then determined based on a comprehensive consideration of the respective computing power, network transmission capacity, and the amount of motion information to be transmitted. This ensures that the current audio signal processing mode is determined to minimize latency and avoid impacting the use of the first terminal device.
[0197] For example, if the computing power of the first terminal device meets the computational requirements, the first terminal device can be directly responsible for decoding and rendering the audio signal, thereby ensuring that the rendered audio signal can track the user's head movement in real time. Alternatively, if the computing power of the first terminal device does not meet the requirements, but the computing power of other devices does, and the network transmission capacity is relatively good, the service device or the second terminal device can be responsible for decoding and rendering the audio signal, thereby reducing the power consumption of the first terminal and minimizing the delay of the rendered binaural signal.
[0198] In some possible implementation forms, after determining the current audio signal processing mode, the second terminal device may further send the current audio signal processing mode to the first terminal device and the service device respectively.
[0199] In the present disclosure, if the current audio signal processing mode determined by the second terminal device does not include itself, that is, the second terminal device does not need to participate in the rendering processing process of the audio signal, and the first terminal device and the service device can be directly connected, then during the actual use of the first terminal device, the second terminal device does not need to perform any data processing and transparent transmission work.
[0200] In summary, by determining the current audio signal processing mode based on the performance parameters, application scenario parameters and at least one of the preset rules of each device, not only can the delay from the time when the head tracking device in the XR device detects the rotation and / or movement of the user's head to the time when the user feels the change in audio service be minimized, but also the distribution of the functional processing processes required for the XR device to provide XR audio services among all devices can be balanced as much as possible.
[0201] Please refer to Figure 10, which is a flow chart of an audio signal processing method provided by an embodiment of the present disclosure. As shown in Figure 10, the method is applied to the second terminal device, and the method may include but is not limited to the following steps:
[0202] Step 1001: Receive first performance parameters and application scenario parameters sent by a first terminal device.
[0203] Step 1002: Receive a second performance parameter sent by a service device.
[0204] Among them, the above steps 1001 and 1002 can also be performed in parallel, or step 1002 can be performed first and then step 1001, which is not limited in this disclosure.
[0205] Step 1003: Determine a current audio signal processing mode according to at least one of the first performance parameter, the second performance parameter, the third performance parameter, the application scenario parameter, and a preset rule.
[0206] Step 1004: Send the current audio signal processing mode to the first terminal device and the service device respectively.
[0207] The specific implementation process of the above steps 1001 to 1004 can refer to the detailed description of other embodiments of the present disclosure and will not be repeated here.
[0208] Step 1005: Receive first data sent by the service device, wherein the first data is obtained after the service device processes the first audio signal based on the current audio signal processing mode.
[0209] In some possible implementations, the first data may be a first audio signal directly transparently transmitted by the service device. In other words, the current audio signal processing mode does not include the service device, so the service device only encodes the first audio signal according to the communication protocol between the service device and the second terminal device.
[0210] Step 1006: Receive motion parameters sent by the first terminal device.
[0211] The motion parameter includes at least one of the following: rotation rate, position coordinates, and movement rate.
[0212] The above steps 1005 and 1006 may be performed simultaneously, or step 1006 may be performed first and then step 1005.
[0213] Step 1007 : Based on the current audio signal processing mode, the motion parameters are used to render the first data to obtain rendered data.
[0214] In some possible implementations, if the current audio signal processing mode indicates that the second terminal device completes the rendering processing of the audio signal, then the second terminal device can render the first data based on the obtained motion parameters to obtain rendered data.
[0215] In some possible implementations, if the current audio signal processing mode indicates that the second terminal device completes the correction processing of the first data sent by the service device, then the second terminal device can render and correct the first data based on the obtained motion parameters to obtain the rendered corrected data.
[0216] In some possible implementations, if the current audio signal processing mode does not include the second terminal device (that is, the second terminal device does not participate in the rendering of the audio signal), and the first terminal device can be directly connected to the service device, then the second terminal device may not receive the motion parameters sent by the first terminal device. In this case, after receiving the first data, the second terminal device can encode the first data based on the communication protocol between the second terminal device and the first terminal device, and then directly transmit it to the first terminal device.
[0217] It should be noted that the rendered data obtained by the second terminal device may be an audio signal that can be played directly, or it may be an audio signal that still needs to be rendered and calibrated by the first terminal device. This disclosure does not limit this.
[0218] Step 1008: Send the rendered data to the first terminal device.
[0219] In summary, after receiving the first performance parameters, application scenario parameters and second performance parameters sent by the first terminal device and the service device respectively, the second terminal device can determine the current audio signal processing mode based on the performance parameters, scenario parameters and at least one of the preset rules of each device, and then after obtaining the motion parameters and the first data, it can render the first data based on the current audio signal processing mode to obtain the rendered result, and then send the rendered result to the first terminal device. Thus, through simple performance parameter interaction, an audio signal processing mode that meets the service device capabilities, the first terminal device capabilities, the second terminal device capabilities and the scenario requirements can be obtained, so that the audio signal can be processed based on the determined audio signal processing mode, which can not only minimize the latency of the XR service, but also minimize the complexity of the XR service and the requirements for the XR device.
[0220] The audio signal processing method provided by the present disclosure is further described below in conjunction with the following practical application scenarios.
[0221] Application scenario 1:
[0222] The first terminal device currently held by the user is a lightweight device with limited computing resources. The network resources in the application environment are relatively good. The user uses the first terminal device to visit a museum. The user hopes to appreciate various exhibits quietly and leisurely during the visit. Therefore, the speed of the user's body movement and head rotation is also expected to be relatively slow. The parameter information is summarized in the following Table 1:
[0223] Table 1
[0224] In this state, the second terminal device or the service device can choose to have the service device complete the rendering of the audio signal.
[0225] Application scenario 2:
[0226] The first terminal device currently held by the user is a heavyweight device with rich computing resources. The network resources in the environment are average. The user uses the terminal device to watch a car race. During the viewing process, the user needs to keep turning his head to appreciate each speeding car. In addition, the user also needs to keep changing his position to obtain the best viewing angle. The parameter information is summarized in the following Table 2:
[0227] Table 2
[0228] In this state, the second terminal device or service device can choose to have the first terminal device complete the binaural rendering processing of the audio signal.
[0229] Application scenario three:
[0230] The first terminal device currently held by the user is a medium-level device with average computing resources and average network resources in the environment. The user uses the terminal device to visit a park. During the visit, the user needs to observe the flowers, plants and trees in the park by turning his head. In addition, he also needs to appreciate the various landscapes in the park by changing his position. The parameter information is summarized in the following Table 3:
[0231] Table 3
[0232] In this state, the second terminal device or service device can choose to have the first terminal device complete the rendering processing of the audio signal.
[0233] It should be noted that the above-mentioned scenarios and the ultimately determined audio signal processing modes are merely illustrative descriptions and cannot be used as restrictive descriptions of the publicly provided audio signal processing methods.
[0234] Please refer to Figure 11, which is a schematic diagram of the structure of a communication device provided in an embodiment of the present disclosure. The communication device 1100 shown in Figure 11 may include a transceiver module 1101 and a processing module 1102. The transceiver module may include a sending module and / or a receiving module. The sending module is used to implement a sending function, and the receiving module is used to implement a receiving function. The transceiver module can implement the sending function and / or the receiving function.
[0235] The communication device 1100 may be a service device, a device in a service device, or a device that can be used in conjunction with the service device.
[0236] The communication device 1100 is on the service device side, wherein:
[0237] The transceiver module 1101 is used to obtain the current audio signal processing mode, wherein the current audio signal processing mode is based on
[0238] Determined by at least one of a first performance parameter of the first terminal device, a second performance parameter of the service device, a third performance parameter of the second terminal device, an application scenario parameter of the first terminal device, and a preset rule;
[0239] A processing module 1102 is configured to process the audio signal based on the current audio signal processing mode to obtain first data;
[0240] The transceiver module 1101 is further used to send the first data to a first terminal device or a second terminal device, wherein the first terminal device is an audio playback device, the first terminal device is connected to the service device through the second terminal device, or the first terminal device is directly connected to the service device.
[0241] In some possible implementation forms, the transceiver module 1101 is further configured to receive the current audio signal processing mode sent by the second terminal device; or,
[0242] The processing module 1102 is further configured to determine the current audio signal processing mode according to at least one of the first performance parameter, the second performance parameter, the third performance parameter, the application scenario parameter, and a preset rule.
[0243] In some possible implementation forms, the first performance parameter, the second performance parameter and the third performance parameter respectively include at least one of the following: central processing unit performance, memory space, hard disk space, and network resource amount; the application scenario parameter includes at least one of the following: the movement rate of the first terminal device, the degree of freedom of movement of the first terminal device, and the rotation rate of the first terminal device.
[0244] In some possible implementation forms, the transceiver module 1101 is further configured to send the current audio signal processing mode to the first terminal device and the second terminal device respectively.
[0245] In some possible implementations, the transceiver module 1101 is further configured to:
[0246] receiving the first performance parameter and application scenario parameter sent by the first terminal device; and / or,
[0247] Receive the third performance parameter sent by the second terminal device.
[0248] In some possible implementations, the processing module 1102 is further configured to:
[0249] If the preset rule is not empty, determining the processing mode indicated in the preset rule as the current audio signal processing mode; or
[0250] When the preset rule is empty, determine a first ratio between the processing volume carried by each device under each candidate processing mode, and a second ratio between the first performance parameter, the second performance parameter and the third performance parameter of the second terminal device; and determine the candidate processing mode corresponding to the first ratio that is most relevant to the second ratio as the current audio signal processing mode.
[0251] In some possible implementations, the candidate processing modes include the following:
[0252] The service device completes the decoding and rendering of the audio signal;
[0253] The first terminal device completes decoding and rendering of the audio signal;
[0254] The second terminal device completes decoding and rendering of the audio signal;
[0255] The service device completes decoding and initial rendering processing of the audio signal, and the first terminal device completes rendering calibration of the initial rendering processing result;
[0256] The service device completes decoding and initial rendering processing of the audio signal, and the second terminal device completes rendering calibration of the initial rendering processing result;
[0257] The second terminal device completes decoding and initial rendering processing of the audio signal, and the first terminal device completes rendering calibration of the initial rendering processing result;
[0258] The service device completes decoding and initial rendering processing of the audio signal, the second terminal device completes correction of the initial rendering processing result, and the first terminal device completes rendering calibration of the corrected data.
[0259] In some possible implementations, the transceiver module 1101 is further configured to:
[0260] When the first terminal device is directly connected to the service device and the second terminal device is not included in the current audio signal processing mode, sending the first data to the first terminal device; or
[0261] When the first terminal device is connected to the service device through the second terminal device, sending the first data to the second terminal device; or
[0262] In a case where the second terminal device is included in the current audio signal processing mode, the first data is sent to the second terminal device.
[0263] In some possible implementations, the transceiver module 1101 is further configured to receive motion parameters sent by the first terminal device, where the motion parameters are acquired by a head tracking device in the first terminal device;
[0264] The processing module 1102 is further configured to decode and render the audio signal using the motion parameters based on the current audio signal processing mode to obtain first data.
[0265] In some possible implementation forms, the motion parameter includes at least one of the following: rotation rate, position coordinates, and movement rate.
[0266] In summary, the service device first obtains the current audio signal processing mode determined based on at least one of the performance parameters of each device, the application scenario parameters, and preset rules. It then processes the audio signal based on the current audio signal processing mode to obtain first data, and then sends the first data to the first terminal device or the second terminal device. Thus, by adopting an audio signal processing mode that meets the service device, the capabilities of the first terminal device, the capabilities of the second terminal device, and the scenario requirements, not only can the time delay from the time the head tracking device in the XR device detects the user's head rotation and / or position movement to the time the user perceives the change in audio service be minimized, but the distribution of the functional processing required for the XR device to provide the XR audio service across all devices can also be balanced as much as possible.
[0267] The communication device 1100 may also be a first terminal device, or a device in the first terminal device, or a device that can be used in conjunction with the first terminal device.
[0268] The communication device 1100 is on the first terminal device side, wherein:
[0269] The transceiver module 1101 is configured to obtain a current audio signal processing mode, where the current audio signal processing mode is determined based on at least one of a first performance parameter of a first terminal device, a second performance parameter of the service device, a third performance parameter of a second terminal device, an application scenario parameter of the first terminal device, and a preset rule, wherein the first terminal device is an audio playback device, the first terminal device is connected to the service device via the second terminal device, or the first terminal device is directly connected to the service device;
[0270] The transceiver module 1101 is further configured to receive first data, wherein the first data is obtained by the service device and / or the second terminal device processing the first audio signal based on the current audio signal processing mode;
[0271] The processing module 1102 is configured to process the first data based on the current audio signal processing mode to obtain a second audio signal to be played;
[0272] The transceiver module 1101 is further configured to play the second audio signal.
[0273] In some possible implementations, the transceiver module 1101 is further configured to:
[0274] receiving the current audio signal processing mode sent by the second terminal device; or,
[0275] Receive the current audio signal processing mode sent by the service device.
[0276] In some possible implementation forms, the transceiver module 1101 is further configured to send the first performance parameter and application scenario parameter of the first terminal device to the second terminal device or to the service device.
[0277] In some possible implementation forms, the first performance parameter includes at least one of the following:
[0278] CPU performance, memory space, hard disk space, and network resources;
[0279] The application scenario parameters include at least one of the following: the moving speed of the first terminal device, the first terminal device
[0280] degrees of freedom of movement, the rotation rate of the first terminal device.
[0281] In some possible implementations, the processing module 1102 is further configured to:
[0282] When the current audio signal processing mode does not include the first terminal device, decoding the first data to obtain the second audio signal; or
[0283] When the current audio signal processing mode indicates that the first terminal device completes decoding and rendering of the audio signal, decoding and rendering the first data based on the current motion parameters to obtain the second audio signal; or
[0284] When the current audio signal processing mode indicates that the first terminal device completes the rendering calibration of the audio signal, the first data is rendered and calibrated based on the current motion parameters to obtain the second audio signal.
[0285] In some possible implementations, the transceiver module 1101 is further configured to:
[0286] Acquiring motion parameters, wherein the motion parameters are acquired by a head tracking device in the first terminal device;
[0287] The motion parameters are sent to the service device and / or the second terminal device.
[0288] In some possible implementations, the transceiver module 1101 is further configured to:
[0289] When the current audio signal processing mode indicates that the service device participates in decoding and rendering processing of the first audio signal, sending the motion parameter to the service device;
[0290] When the current audio signal processing mode indicates that the second terminal device participates in decoding and rendering processing of the first audio signal, sending the motion parameter to the second terminal device;
[0291] When the current audio signal processing mode indicates that both the service device and the second terminal device participate in rendering processing of the first audio signal, motion parameters corresponding to different acquisition times are sent to the service device and the second terminal device respectively.
[0292] In some possible implementation forms, the motion parameter includes at least one of the following: rotation rate, position coordinates, and movement rate.
[0293] In summary, the first terminal device first obtains the current audio signal processing mode determined based on at least one of the performance parameters of each device, the application scenario parameters, and the preset rules. Then, based on the current audio signal processing mode, it processes the received first data to obtain the second audio signal, and then plays the second audio signal. Therefore, by adopting an audio signal processing mode that conforms to the service device, the capabilities of the first terminal device, the capabilities of the second terminal device, and the scenario requirements, not only can the time delay from the head tracking device in the XR device detecting the rotation and / or movement of the user's head to the user's perception of the change in audio service be minimized, but the distribution of the functional processing required for the XR device to provide the XR audio service among all devices can also be balanced as much as possible.
[0294] The communication device 1100 may also be a second terminal device, or a device in the second terminal device, or a device that can be used in conjunction with the second terminal device.
[0295] The communication device 1100 is on the second terminal device side, wherein:
[0296] The transceiver module 1101 is used to obtain the current audio signal processing mode, wherein the current audio signal processing mode is determined based on the first performance parameter of the first terminal device, the second performance parameter of the service device, the third performance parameter of the second terminal device, the application scenario parameter of the first terminal device and at least one of the preset rules, the first terminal device is an audio playback device, the first terminal device is connected to the service device through the second terminal device, or the first terminal device is directly connected to the service device.
[0297] In some possible implementation forms, the transceiver module 1101 is further configured to receive the current audio signal processing mode sent by the service device; or,
[0298] The processing module 1102 is configured to determine the current audio signal processing mode according to at least one of the first performance parameter, the second performance parameter, the third performance parameter, the application scenario parameter, and a preset rule.
[0299] In some possible implementation forms, the first performance parameter, the second performance parameter, and the third performance parameter each include at least one of the following: CPU performance, memory space, hard disk space, and network resource amount;
[0300] The application scenario parameter includes at least one of the following: a movement rate of the first terminal device, a degree of freedom of movement of the first terminal device, and a rotation rate of the first terminal device.
[0301] In some possible implementation forms, the transceiver module 1101 is further configured to send the current audio signal processing mode to the first terminal device and the service device respectively.
[0302] In some possible implementations, the transceiver module 1101 is further configured to:
[0303] Receiving the first performance parameter and application scenario parameter sent by the first terminal device;
[0304] Receive the second performance parameter sent by the service device.
[0305] In some possible implementations, the processing module 1102 is further configured to:
[0306] If the preset rule is not empty, determining the processing mode indicated in the preset rule as the current audio signal processing mode; or
[0307] When the preset rule is empty, determine a first ratio between the processing volume carried by each device under each candidate processing mode, and a second ratio between the first performance parameter, the second performance parameter and the third performance parameter of the second terminal device; and determine the candidate processing mode corresponding to the first ratio that is most relevant to the second ratio as the current audio signal processing mode.
[0308] In some possible implementations, the candidate processing modes include the following:
[0309] The service device completes the decoding and rendering of the audio signal;
[0310] The first terminal device completes decoding and rendering of the audio signal;
[0311] The second terminal device completes decoding and rendering of the audio signal;
[0312] The service device completes decoding and initial rendering processing of the audio signal, and the first terminal device completes rendering calibration of the initial rendering processing result;
[0313] The service device completes decoding and initial rendering processing of the audio signal, and the second terminal device completes rendering calibration of the initial rendering processing result;
[0314] The second terminal device completes decoding and initial rendering processing of the audio signal, and the first terminal device completes rendering calibration of the initial rendering processing result;
[0315] The service device completes decoding and initial rendering processing of the audio signal, the second terminal device completes correction of the initial rendering processing result, and the first terminal device completes rendering calibration of the corrected data.
[0316] In some possible implementations, the transceiver module 1101 is further configured to receive first data sent by the service device, where the first data is obtained by the service device processing the first audio signal based on the current audio signal processing mode; and receive motion parameters sent by the first terminal device;
[0317] The processing module 1102 is further configured to render the first data using the motion parameters based on the current audio signal processing mode to obtain rendered data;
[0318] The transceiver module 1101 is further configured to send the corrected data to the first terminal device.
[0319] In some possible implementation forms, the motion parameter includes at least one of the following: rotation rate, position coordinates, and movement rate.
[0320] In summary, by determining the current audio signal processing mode based on at least one of the performance parameters, application scenario parameters and preset rules of each device, when performing audio signal processing based on the current audio signal processing mode, not only can the delay from the time when the head tracking device in the XR device detects the rotation and / or movement of the user's head to the time when the user feels the change in audio service be minimized, but also the distribution of the functional processing processes required for the XR device to provide XR audio services among all devices can be balanced as much as possible.
[0321] Please refer to Figure 12, which is a schematic diagram of the structure of another communication device 1200 provided in an embodiment of the present disclosure. Communication device 1200 can be a terminal device or a network device, or a chip, chip system, or processor that supports the terminal device to implement the above method, or a chip, chip system, or processor that supports the network device to implement the above method. Communication device 1200 can be used to implement the method described in the above method embodiment. For details, please refer to the description of the above method embodiment.
[0322] The communication device 1200 may include one or more processors 1201. The processor 1201 may be a general-purpose processor or a dedicated processor. For example, it may be a baseband processor or a central processing unit. The baseband processor may be used to process communication protocols and communication data, and the central processing unit may be used to control the communication device (e.g., network-side equipment, baseband chips, terminal equipment, terminal equipment chips, DU or CU, etc.), execute computer programs, and process computer program data.
[0323] In some possible implementations, the communication device 1200 may further include one or more memories 1202, on which a computer program 1204 may be stored. The memories 1202 execute the computer program 1204, causing the communication device 1200 to perform the methods described in the above method embodiments. In some possible implementations, the memories 1202 may also store data. The communication device 1200 and the memories 1202 may be provided separately or integrated together.
[0324] In some possible implementations, the communication device 1200 may further include a transceiver 1205 and an antenna 1206. The transceiver 1205 may be referred to as a transceiver unit, a transceiver, or a transceiver circuit, and is configured to implement transceiver functions. The transceiver 1205 may include a receiver and a transmitter. The receiver may be referred to as a receiver or a receiving circuit, and is configured to implement a receiving function; the transmitter may be referred to as a transmitter or a transmitting circuit, and is configured to implement a transmitting function.
[0325] In some possible implementations, the communication device 1200 may further include one or more interface circuits 1207. The interface circuit 1207 is configured to receive code instructions and transmit them to the processor 1201. The processor 1201 executes the code instructions to enable the communication device 1200 to perform the method described in the above method embodiment.
[0326] In one implementation, processor 1201 may include a transceiver for implementing receiving and transmitting functions. For example, the transceiver may be a transceiver circuit, an interface, or an interface circuit. The transceiver circuit, interface, or interface circuit for implementing the receiving and transmitting functions may be separate or integrated. The transceiver circuit, interface, or interface circuit may be used for reading and writing code / data, or may be used for transmitting or delivering signals.
[0327] In one implementation, processor 1201 may store a computer program 1203. Computer program 1203, when executed on processor 1201, enables communication device 1200 to perform the method described in the above method embodiment. Computer program 1203 may be embedded in processor 1201, in which case processor 1201 may be implemented by hardware.
[0328] In one implementation, the communication device 1200 may include a circuit that can implement the functions of sending, receiving, or communicating in the aforementioned method embodiments. The processor and transceiver described in the present disclosure can be implemented on an integrated circuit (IC), an analog IC, a radio frequency integrated circuit RFIC, a mixed signal IC, an application specific integrated circuit (ASIC), a printed circuit board (PCB), an electronic device, etc. The processor and transceiver can also be manufactured using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), N-type metal oxide semiconductor (nMetal-oxide-semiconductor, NMOS), P-type metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (bipolar junction transistor, BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
[0329] The communication device described in the above embodiments may be a terminal device, but the scope of the communication device described in this disclosure is not limited thereto, and the structure of the communication device may not be limited to FIG12. The communication device may be an independent device or may be part of a larger device. For example, the communication device may be:
[0330] (1) An independent integrated circuit (IC), or chip, or chip system or subsystem;
[0331] (2) having a set of one or more ICs, which, in some possible implementations, may also include a storage component for storing data and computer programs;
[0332] (3) ASIC, such as modem;
[0333] (4) Modules that can be embedded in other devices;
[0334] (5) Receivers, terminal devices, intelligent terminal devices, cellular phones, wireless devices, handheld devices, mobile units, vehicle-mounted devices, network devices, cloud devices, artificial intelligence devices, etc.;
[0335] (6)Others, etc.
[0336] For the case where the communication device may be a chip or a chip system, please refer to FIG13 , which is a structural diagram of a chip provided in an embodiment of the present disclosure.
[0337] The chip 1300 includes a processor 1301 and an interface 1303. The number of the processor 1301 can be one or more, and the number of the interface 1303 can be multiple.
[0338] In some possible implementations, the chip 1200 further includes a memory 1302 , which is used to store necessary computer programs and data.
[0339] Those skilled in the art will also appreciate that the various illustrative logical blocks and steps listed in the embodiments of the present disclosure may be implemented by electronic hardware, computer software, or a combination of both. Whether such functionality is implemented by hardware or software depends on the specific application and the design requirements of the entire system. Those skilled in the art may use various methods to implement the described functionality for each specific application, but such implementation should not be construed as exceeding the scope of protection of the embodiments of the present disclosure.
[0340] An embodiment of the present disclosure also provides a communication system, which includes the communication device as a service device in the embodiment of Figure 11 above, the communication device as a first terminal device, and the communication device as a second terminal device, or the system includes the communication device as a service device in the embodiment of Figure 12 above, the communication device as a first terminal device, and the communication device as a second terminal device.
[0341] The present disclosure also provides a readable storage medium having instructions stored thereon, which implement the functions of any of the above method embodiments when executed by a computer.
[0342] The present disclosure also provides a computer program product, which implements the functions of any of the above method embodiments when executed by a computer.
[0343] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented using software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer programs. When the computer program is loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present disclosure are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer program can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a high-density digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).
[0344] Those skilled in the art will understand that the various numerical numbers such as first and second involved in the present disclosure are only for the convenience of description and are not used to limit the scope of the embodiments of the present disclosure, and also indicate the order of precedence.
[0345] At least one in the present disclosure can also be described as one or more, and multiple can be two, three, four or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b and c can represent: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c. Wherein a, b and c can be single or multiple, respectively. This disclosure is not limited. In the embodiments of the present disclosure, for a technical feature, the technical features in the technical feature are distinguished by "first", "second", "third", "A", "B", "C" and "D", and there is no order of precedence or size between the technical features described by "first", "second", "third", "A", "B", "C" and "D".
[0346] The correspondences shown in the tables of the present disclosure can be configured or predefined. The values of the information in each table are merely examples and can be configured to other values, which are not limited by the present disclosure. When configuring the correspondences between information and parameters, it is not necessarily required to configure all the correspondences shown in each table. For example, in the tables of the present disclosure, the correspondences shown in certain rows may not be configured. For another example, appropriate deformation adjustments can be made based on the above tables, such as splitting, merging, etc. The names of the parameters shown in the titles of the above tables may also adopt other names that can be understood by the communication device, and the values or representations of the parameters may also adopt other values or representations that can be understood by the communication device. When implementing the above tables, other data structures may also be used, such as arrays, queues, containers, stacks, linear lists, pointers, linked lists, trees, graphs, structures, classes, heaps, hash tables or hash tables, etc.
[0347] The predefined in the present disclosure may be understood as defined, predefined, stored, pre-stored, pre-negotiated, pre-configured, solidified, or pre-burned.
[0348] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this disclosure.
[0349] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0350] The above description is merely a specific embodiment of the present disclosure, but the scope of protection of the present disclosure is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this disclosure should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.
Claims
1. An audio signal processing method, characterized in that: Executed by a service device, the method includes: Obtaining a current audio signal processing mode, wherein the current audio signal processing mode is determined based on at least one of a first performance parameter of the first terminal device, a second performance parameter of the service device, a third performance parameter of the second terminal device, an application scenario parameter of the first terminal device, and a preset rule; Based on the current audio signal processing mode, the audio signal is processed to obtain first data; The first data is sent to a first terminal device or a second terminal device, wherein the first terminal device is an audio playback device, the first terminal device is connected to the service device through the second terminal device, or the first terminal device is directly connected to the service device.
2. The method according to claim 1, characterized in that The obtaining of the current audio signal processing mode includes: receiving the current audio signal processing mode sent by the second terminal device; or, The current audio signal processing mode is determined according to at least one of the first performance parameter, the second performance parameter, the third performance parameter, the application scenario parameter, and a preset rule.
3. The method according to claim 2, characterized in that The first performance parameter, the second performance parameter and the third performance parameter respectively include at least one of the following: CPU performance, memory space, hard disk space, network resource volume; The application scenario parameters include at least one of the following: the moving speed of the first terminal device, the first terminal device The freedom of movement, the rotation rate of the first terminal device.
4. The method according to claim 2, characterized in that After determining the current audio signal processing mode, the method further includes: The current audio signal processing mode is sent to the first terminal device and the second terminal device respectively.
5. The method according to claim 2, characterized in that Also includes: Receiving the first performance parameter and application scenario parameter sent by the first terminal device; and / or, Receive the third performance parameter sent by the second terminal device.
6. The method according to claim 2, characterized in that The determining the current audio signal processing mode according to at least one of the first performance parameter, the second performance parameter, the third performance parameter, the application scenario parameter, and a preset rule includes: In the case where the preset rule is not empty, determining the processing mode indicated in the preset rule as the current audio signal processing mode; or, When the preset rule is empty, determine a first ratio between the processing volume borne by each device under each candidate processing mode, and a second ratio between the first performance parameter, the second performance parameter and the third performance parameter of the second terminal device; and determine a candidate processing mode corresponding to a first ratio that is most relevant to the second ratio as the current audio signal processing mode.
7. The method according to claim 6, characterized in that The candidate processing modes include the following: The service device completes the decoding and rendering of the audio signal; The first terminal device completes decoding and rendering of the audio signal; The second terminal device completes decoding and rendering of the audio signal; The service device completes decoding and initial rendering processing of the audio signal, and the first terminal device completes rendering calibration of the initial rendering processing result; The service device completes decoding and initial rendering processing of the audio signal, and the second terminal device completes rendering calibration of the initial rendering processing result; The second terminal device completes decoding and initial rendering processing of the audio signal, and the first terminal device completes rendering calibration of the initial rendering processing result; The service device completes the decoding and initial rendering processing of the audio signal, the second terminal device completes the correction of the initial rendering processing result, and the first terminal device completes the rendering calibration of the corrected data.
8. The method according to claim 7, characterized in that The sending the first data to the first terminal device or the second terminal device includes: When the first terminal device is directly connected to the service device and the second terminal device is not included in the current audio signal processing mode, sending the first data to the first terminal device; or, When the first terminal device is connected to the service device through the second terminal device, sending the first data to the second terminal device; or, In a case where the second terminal device is included in the current audio signal processing mode, the first data is sent to the second terminal device.
9. The method according to any one of claims 1 to 8, characterized in that: The step of processing the audio signal based on the current audio signal processing mode to obtain first data includes: receiving motion parameters sent by the first terminal device, wherein the motion parameters are acquired by a head tracking device in the first terminal device; Based on the current audio signal processing mode, the audio signal is decoded and rendered using the motion parameters to obtain first data.
10. The method according to claim 9, characterized in that The motion parameter includes at least one of the following: rotation rate, position coordinates, and movement rate.
11. An audio signal processing method, characterized in that: The method is performed by a first terminal device and includes: Obtaining a current audio signal processing mode, wherein the current audio signal processing mode is determined based on a first performance parameter of a first terminal device, a second performance parameter of the service device, a third performance parameter of a second terminal device, an application scenario parameter of the first terminal device, and at least one of a preset rule, the first terminal device is an audio playback device, the first terminal device is connected to the service device through the second terminal device, or the first terminal device is directly connected to the service device; receiving first data, wherein the first data is obtained after the service device and / or the second terminal device processes the first audio signal based on the current audio signal processing mode; Based on the current audio signal processing mode, the first data is processed to obtain a second audio signal to be played; The second audio signal is played.
12. The method according to claim 11, characterized in that The obtaining of the current audio signal processing mode includes: receiving the current audio signal processing mode sent by the second terminal device; or, The current audio signal processing mode sent by the service device is received.
13. The method according to claim 12, characterized in that Also includes: The first performance parameter and the application scenario parameter of the first terminal device are sent to the second terminal device or to the service device.
14. The method according to claim 13, characterized in that The first performance parameter includes at least one of the following: CPU performance, memory space, hard disk space, network resources; The application scenario parameter includes at least one of the following: a moving speed of the first terminal device, a degree of freedom of movement of the first terminal device, and a rotation speed of the first terminal device.
15. The method according to any one of claims 11 to 14, characterized in that: The processing of the first data based on the current audio signal processing mode to obtain a second audio signal to be played includes: In a case where the first terminal device is not included in the current audio signal processing mode, decoding the first data to obtain the second audio signal; or When the current audio signal processing mode indicates that the first terminal device completes decoding and rendering of the audio signal, the first data is decoded and rendered based on the current motion parameters to obtain the second audio signal; or When the current audio signal processing mode indicates that the first terminal device completes the rendering calibration of the audio signal, the first data is rendered and calibrated based on the current motion parameters to obtain the second audio signal.
16. The method according to claim 15, characterized in that Also includes: Acquiring motion parameters, wherein the motion parameters are acquired by a head tracking device in the first terminal device; The motion parameter is sent to the service device and / or the second terminal device.
17. The method according to claim 16, characterized in that The sending the motion parameter to the service device and / or the second terminal device includes: In a case where the current audio signal processing mode indicates that the service device participates in decoding and rendering processing of the first audio signal, sending the motion parameter to the service device; When the current audio signal processing mode indicates that the second terminal device participates in decoding and rendering processing of the first audio signal, sending the motion parameter to the second terminal device; When the current audio signal processing mode indicates that both the service device and the second terminal device participate in rendering processing of the first audio signal, motion parameters corresponding to different acquisition times are sent to the service device and the second terminal device respectively.
18. The method according to claim 16, characterized in that The motion parameter includes at least one of the following: rotation rate, position coordinates, and movement rate.
19. An audio signal processing method, characterized in that: The method is performed by a second terminal device and includes: Obtain a current audio signal processing mode, wherein the current audio signal processing mode is determined based on a first performance parameter of a first terminal device, a second performance parameter of the service device, a third performance parameter of a second terminal device, an application scenario parameter of the first terminal device, and at least one of a preset rule, the first terminal device is an audio playback device, the first terminal device is connected to the service device via the second terminal device, or the first terminal device is directly connected to the service device.
20. The method of claim 19, wherein: The obtaining of the current audio signal processing mode includes: receiving the current audio signal processing mode sent by the service device; or, The current audio signal processing mode is determined according to at least one of the first performance parameter, the second performance parameter, the third performance parameter, the application scenario parameter, and a preset rule.
21. The method of claim 20, wherein: The first performance parameter, the second performance parameter and the third performance parameter respectively include at least one of the following: CPU performance, memory space, hard disk space, network resource volume; The application scenario parameters include at least one of the following: the moving speed of the first terminal device, the first terminal device The freedom of movement, the rotation rate of the first terminal device.
22. The method of claim 20, wherein: After determining the current audio signal processing mode, the method further includes: The current audio signal processing mode is sent to the first terminal device and the service device respectively.
23. The method of claim 22, wherein: Also includes: Receiving the first performance parameter and application scenario parameter sent by the first terminal device; The second performance parameter sent by the service device is received.
24. The method according to any one of claims 20 to 23, characterized in that: The determining the current audio signal processing mode according to at least one of the first performance parameter, the second performance parameter, the third performance parameter, the application scenario parameter, and a preset rule includes: In the case where the preset rule is not empty, determining the processing mode indicated in the preset rule as the current audio signal processing mode; or, When the preset rule is empty, determine a first ratio between the processing volume borne by each device under each candidate processing mode, and a second ratio between the first performance parameter, the second performance parameter and the third performance parameter of the second terminal device; and determine a candidate processing mode corresponding to a first ratio that is most relevant to the second ratio as the current audio signal processing mode.
25. The method of claim 24, wherein: The candidate processing modes include the following: The service device completes the decoding and rendering of the audio signal; The first terminal device completes decoding and rendering of the audio signal; The second terminal device completes decoding and rendering of the audio signal; The service device completes decoding and initial rendering processing of the audio signal, and the first terminal device completes rendering calibration of the initial rendering processing result; The service device completes decoding and initial rendering processing of the audio signal, and the second terminal device completes rendering calibration of the initial rendering processing result; The second terminal device completes decoding and initial rendering processing of the audio signal, and the first terminal device completes rendering calibration of the initial rendering processing result; The service device completes the decoding and initial rendering processing of the audio signal, the second terminal device completes the correction of the initial rendering processing result, and the first terminal device completes the rendering calibration of the corrected data.
26. The method of claim 25, wherein: Also includes: receiving first data sent by the service device, wherein the first data is obtained after the service device processes the first audio signal based on the current audio signal processing mode; Receiving motion parameters sent by the first terminal device; Based on the current audio signal processing mode, rendering the first data using the motion parameters to obtain rendered data; The corrected data is sent to the first terminal device.
27. The method of claim 26, wherein: The motion parameter includes at least one of the following: rotation rate, position coordinates, and movement rate.
28. A service device, characterized in that: include: a transceiver module, configured to obtain a current audio signal processing mode, wherein the current audio signal processing mode is determined based on at least one of a first performance parameter of the first terminal device, a second performance parameter of the service device, a third performance parameter of the second terminal device, an application scenario parameter of the first terminal device, and a preset rule; A processing module, configured to process the audio signal based on the current audio signal processing mode to obtain first data; The transceiver module is further used to send the first data to a first terminal device or a second terminal device, wherein the first terminal device is an audio playback device, the first terminal device is connected to the service device through the second terminal device, or the first terminal device is directly connected to the service device.
29. A first terminal device, characterized in that: include: a transceiver module, configured to obtain a current audio signal processing mode, wherein the current audio signal processing mode is determined based on a first performance parameter of a first terminal device, a second performance parameter of the service device, a third performance parameter of a second terminal device, an application scenario parameter of the first terminal device, and at least one of a preset rule, the first terminal device is an audio playback device, the first terminal device is connected to the service device via the second terminal device, or the first terminal device is directly connected to the service device; The transceiver module is further used to receive first data, wherein the first data is obtained after the service device and / or the second terminal device processes the first audio signal based on the current audio signal processing mode; A processing module, configured to process the first data based on the current audio signal processing mode to obtain a second audio signal to be played; The transceiver module is further used to play the second audio signal.
30. A second terminal device, characterized in that: include: A transceiver module is used to obtain a current audio signal processing mode, wherein the current audio signal processing mode is determined based on a first performance parameter of a first terminal device, a second performance parameter of a service device, a third performance parameter of a second terminal device, an application scenario parameter of the first terminal device, and at least one of preset rules; the first terminal device is an audio playback device, the first terminal device is connected to the service device via the second terminal device, or the first terminal device is directly connected to the service device.
31. A communication device, characterized in that: The device includes a processor and a memory, wherein a computer program is stored in the memory, and the processor executes the computer program stored in the memory so that the device performs the method according to any one of claims 1 to 10, or the processor executes the computer program stored in the memory so that the device performs the method according to any one of claims 11 to 18, or the processor executes the computer program stored in the memory so that the device performs the method according to any one of claims 19 to 27.
32. A communication device, characterized in that: include: processor and interface circuits; The interface circuit is used to receive code instructions and transmit them to the processor; The processor is used to run the code instructions to execute the method as claimed in any one of claims 1 to 10, or to run the code instructions to execute the method as claimed in any one of claims 11 to 18, or to run the code instructions to execute the method as claimed in any one of claims 19 to 27.
33. A communication system, characterized in that: including a service device, a first terminal device and a second terminal device; The service device is used to execute the method according to any one of claims 1 to 10, the first device is used to execute the method according to any one of claims 11 to 18, and the second device is used to execute the method according to any one of claims 19 to 27.
34. A computer-readable storage medium storing instructions, which, when executed, implement the method according to any one of claims 1 to 10, or implement the method according to any one of claims 11 to 18, or implement the method according to any one of claims 19 to 27.
Citation Information
Patent Citations
Audio signal rendering method and device
CN114067810A
Video rendering cooperation method and device, equipment and storage medium
CN114501062A
Codec negotiation and switching method
CN115223579A
Adaptive audio transmission and rendering
CN115701777A
Method and Apparatus for Communication Audio Handling in Immersive Audio Scene Rendering
US20230090246A1
