Quantization coding method, apparatus, device, and storage medium

EP4693279A4Pending Publication Date: 2026-06-03BEIJING XIAOMI MOBILE SOFTWARE CO LTD

Patent Information

Authority / Receiving Office
EP · EP
Patent Type
Applications
Current Assignee / Owner
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
Filing Date
2023-03-27
Publication Date
2026-06-03

AI Technical Summary

Technical Problem

Existing quantization coding methods for sound source orientation information in spatial audio processing result in either wastage of encoding rate or insufficient accuracy due to the use of uniform quantization encoding, which does not account for varying perceptual sensitivity of sound listening objects to sound source orientation changes.

Method used

A quantization coding method that determines a target quantization bit number based on sound cone information and the relative location of the sound source object to the sound listening object, allowing for adaptive fine or coarse quantization encoding to match the perceptual sensitivity, thereby optimizing encoding efficiency and accuracy.

Benefits of technology

This method ensures efficient encoding by reducing unnecessary bitstream usage when perceptual sensitivity is low and maintaining rendering quality when sensitivity is high, thus optimizing resource utilization and audio quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure IMGAF001_ABST
    Figure IMGAF001_ABST
Patent Text Reader

Abstract

A quantization coding method, an apparatus, a device, and a storage medium. The method comprises: determining a target number of quantization bits of sound source orientation information on the basis of at least one of sound cone information of a sound source object and an area where the sound source object is located relative to a listening object (201); and performing quantization coding on the sound source orientation information on the basis of the target number of quantization bits and obtaining a code stream signal (202). On the basis of the current sensitivity of a listening object for a change in the orientation of a sound source object, a suitable quantization coding mode can be selected in a targeted manner, and high flexibility is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the field of communication technology, and specifically to a quantization coding method, apparatus, device and storage medium.BACKGROUND

[0002] Spatial audio processing technology has been widely applied due to its ability to provide users with a realistic sense of space and orientation. One effective method for implementing spatial audio is object-based spatial audio technology. In this object-based spatial audio technology, the encoding device not only needs to transmit its encoded audio signal to the decoding device, but also needs to determine the sound source orientation information (such as the horizontal angle and / or elevation angle of the sound source object relative to the sound listening object), and perform quantization encoding on the sound source orientation information before transmitting it to the decoding device. Moreover, the decoding device can perform decoding and inverse quantization on the received information to obtain the sound source orientation information and the audio signal, and render the audio signal based on the sound source orientation information before playing it back to the sound listening object, thereby restoring the sense of space and orientation of the audio signal.SUMMARY

[0003] The present disclosure provides a quantization coding method, apparatus, device and storage medium.

[0004] In a first aspect, embodiments of the present disclosure provide a quantization coding method, including: determining a target quantization bit number of sound source orientation information based on at least one of sound cone information of a sound source object, or an area where the sound source object is located relative to a sound listening object; and performing quantization encoding on the sound source orientation information based on the target quantization bit number, to obtain a bitstream signal.

[0005] In a second aspect, embodiments of the present disclosure provide a quantization coding method, comprising: receiving a bitstream signal sent by an encoding device, wherein the bitstream signal is obtained by performing quantization encoding on sound source orientation information based on a target quantization bit number, wherein the target quantization bit number is determined based on at least one of sound cone information of a sound source object, or an area where the sound source object is located relative to a sound listening object; and performing decoding and inverse quantization on the bitstream signal, to obtain the sound source orientation information.

[0006] In a third aspect, embodiments of the present disclosure provide a communication device, including: a processing module, configured to determine a target quantization bit number of sound source orientation information based on at least one of sound cone information of a sound source object, or an area where the sound source object is located relative to a sound listening object; wherein the processing module is further configured to perform quantization encoding on the sound source orientation information based on the target quantization bit number, to obtain a bitstream signal.

[0007] In a fourth aspect, embodiments of the present disclosure provide a communication device, including: a transceiver module, configured to receive a bitstream signal sent by an encoding device, wherein the bitstream signal is obtained by performing quantization encoding on sound source orientation information based on a target quantization bit number, wherein the target quantization bit number is determined based on at least one of sound cone information of a sound source object, or an area where the sound source object is located relative to a sound listening object; and a processing module, configured to perform decoding and inverse quantization on the bitstream signal, to obtain the sound source orientation information.

[0008] In a fifth aspect, embodiments of the present disclosure provide a communication device. The communication device includes a processor. When the processor calls a computer program stored in a memory, the method described in the first aspect or the second aspect is implemented.

[0009] In a sixth aspect, embodiments of the present disclosure provide a communication device. The communication device includes a processor and a memory. The memory stores a computer program. The processor is configured to execute the computer program stored in the memory, to cause the communication device to implement the method described in the first aspect or the second aspect.

[0010] In a seventh aspect, embodiments of the present disclosure provide a communication device. The communication device includes a processor and an interface circuit. The interface circuit is configured to receive code instructions and transmit the code instructions to the processor. The processor is configured to run the code instructions, to cause the device to implement the method described in the first aspect or the second aspect.

[0011] In an eighth aspect, embodiments of the present disclosure provide a communication system. The system includes the communication devices as described in the third to fourth aspects, or the system includes communication devices as described in the fifth aspect, or the system includes communication devices as described in the sixth aspect, or the system includes communication devices as described in the seventh aspect.

[0012] In a ninth aspect, embodiments of the present disclosure provide a computer-readable storage medium for storing instructions for use by the network device, and when the instructions are executed, the terminal is caused to implement the method described in the first or second aspect.

[0013] In a tenth aspect, the present disclosure also provides a computer program product including a computer program that, when executed on a computer, causes the computer to perform the method described in the first or second aspect.

[0014] In an eleventh aspect, the present disclosure provides a chip system including at least one processor and an interface for supporting the network device to implement the functions involved in the methods described in the first or second aspect, such as determining or processing at least one of the data and information involved in the above methods. In a possible design, the chip system further includes a memory for storing computer programs and data necessary for the source secondary node. This chip system can be composed of chips or include chips and other discrete components.

[0015] In a twelfth aspect, the present disclosure provides a computer program that, when executed on a computer, causes the computer to perform the method described in the first or second aspect.BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The above and / or additional aspects and advantages of the present disclosure will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings. Fig. 1 is a schematic diagram of architecture of a communication system provided in an embodiment of the present disclosure. Fig. 2a is a schematic flowchart of a quantization coding method provided in an embodiment of the present disclosure. Fig. 2b is a schematic diagram illustrating an inner angle of a sound cone, an outer angle of a sound cone and an attenuation amplitude of an audio signal provided in an embodiment of the present disclosure. Fig. 3a is a schematic flowchart of a quantization coding method provided in another embodiment of the present disclosure. Fig. 3b is a schematic diagram illustrating a sound source object located in different areas relative to a sound listening object provided in an embodiment of the present disclosure. Fig. 4 is a schematic flowchart of a quantization coding method provided in another embodiment of the present disclosure. Fig. 5 is a schematic flowchart of a quantization coding method provided in another embodiment of the present disclosure. Fig. 6 is a schematic flowchart of a quantization coding method provided in another embodiment of the present disclosure. Fig. 7 is a schematic flowchart of a quantization coding method provided in another embodiment of the present disclosure. Fig. 8 is a schematic flowchart of a quantization coding method provided in another embodiment of the present disclosure. Fig. 9 is a schematic flowchart illustrating interaction in a quantization coding method provided in an embodiment of the present disclosure. Fig. 10 is a block diagram of a communication device provided in an embodiment of the present disclosure. Fig. 11 is a block diagram of a communication device provided in an embodiment of the present disclosure. Fig. 12 is a block diagram of a communication device provided in an embodiment of the present disclosure. Fig. 13 is a block diagram of another communication device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0017] The illustrative embodiments will be described in detail here, with examples shown in the accompanying drawings. When referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following illustrative embodiments do not represent all implementations consistent with the embodiments of the present disclosure. On the contrary, they are only examples of devices and methods consistent with some aspects of the embodiments of the present disclosure as described in the accompanying claims.

[0018] The terms used in embodiments of the present disclosure are only for the purpose of describing specific embodiments and are not intended to limit the embodiments of the present disclosure. The singular forms of "a" and "the" used in embodiments of the present disclosure and the accompanying claims are also intended to include the majority form, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used in this article refers to and includes any or all possible combinations of one or more associated listed items.

[0019] It should be understood that although the terms first, second, third, etc. may be used to describe various information in embodiments of the present disclosure, these information should not be limited by the terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of the embodiments of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words 'if ' and 'when' used here can be interpreted as 'in a case' or 'upon' or 'in response to determining'.

[0020] The following provides a detailed description of the embodiments of the present disclosure, examples of which are shown in the accompanying drawings, where the same or similar reference numerals throughout indicate the same or similar elements. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the present disclosure, and should not be construed as limiting the present disclosure.

[0021] In the related art, a unified quantization coding method is used to uniformly quantize and encode the sound source orientation information of different sound source objects at different times. The method in the related art often results in wastage of encoding rate or insufficient quantization encoding accuracy, which subsequently affects the rendering effect of the audio signal. The specific reasons are mainly as follows.

[0022] In different situations, when the orientation of the sound source object is different, the perceptual sensitivity of the sound listening object to the audio signal will also vary. For example, in some cases, the sound listening object has a low sensitivity to changes in the orientation of the sound source object, and cannot easily perceive changes in the orientation of the sound source object; in other cases, the audio listening object is more sensitive to changes in the orientation of the sound source object, and can easily perceive changes in the orientation of the sound source object. When the perceptual sensitivity of the listening object to the orientation change of the sound source object is low, the encoding device can roughly render the audio object based on the sound source orientation information without the need for fine rendering, as the sound listening object cannot easily perceive the orientation change of the sound source object. When the encoding device performs quantization encoding on the sound source orientation information, it can also use coarse quantization encoding to perform the quantization encoding accordingly, thereby reducing the encoded bitstream without affecting the subsequent rendering effect. Moreover, when the sound listening object has a high sensitivity to changes in the orientation of the sound source object, since the sound listening object can easily perceive changes in the orientation of the sound source object, the encoding device should subsequently render the audio object finely based on the sound source orientation information. When the encoding device performs quantization encoding on the sound source orientation information, it also needs to use fine quantization encoding to ensure the subsequent rendering effect.

[0023] Based on this, when using the method in the related art to perform quantization coding on the sound source orientation information, a unified quantization encoding method is adopted to uniformly quantize and encode the sound source orientation information of different sound source objects at different times. If the unified quantization encoding method is the fine quantization encoding method, there may be a situation where "when the perceptual sensitivity of the sound listening object to the orientation change of the sound source object is low, the fine quantization encoding method is used to quantize the sound source orientation information", which will result in unnecessary waste of encoding rate. If the unified quantization encoding method is coarse quantization encoding, there may be a situation where "when the perceptual sensitivity of the sound listening object to the orientation change of the sound source object is high, coarse quantization encoding is used to quantize the sound source orientation information", which will result in insufficient quantization encoding accuracy and affect the subsequent rendering effect of the audio signal.

[0024] Therefore, there is an urgent need for a quantization coding method to select an appropriate quantization coding method in a targeted manner based on the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object in different situations for quantization encoding of the sound source orientation information. Thus, this disclosure provides a quantization coding method.

[0025] In order to better understand the quantization coding method disclosed in embodiments of the present disclosure, the following first describes the communication system to which embodiments of the present disclosure are applicable.

[0026] Please refer to Fig. 1, which is a schematic diagram of architecture of a communication system provided in an embodiment of the present disclosure. The communication system may include but is not limited to at least one encoding device and at least one decoding device. The encoding device may be a network device or a terminal, and the decoding device may also be a network device or a terminal. The number and form of devices shown in Fig. 1 are for example only and do not constitute a limitation on the embodiments of the present disclosure. In applications, it may include one or more than one encoding device, or one or more than one terminal. The communication system shown in Fig. 1 takes the example of including one encoding device, which is a network device, and one decoding device, which is a terminal.

[0027] It should be noted that the technical solution disclosed in the embodiments of the present disclosure can be applied to various communication systems, for example, Long Term Evolution (LTE) systems, 5th generation (5G) mobile communication systems, 5G new radio (NR) systems, or other future new mobile communication systems.

[0028] The network device (such as the first network device or the second network device mentioned above) in the embodiments of the present disclosure is an entity on the network side used for transmitting or receiving signals. For example, the network device may be an evolved NodeB (eNB), a transmission reception point (TRP), a radio remote head (RRH), a next generation NodeB (gNB) in an NR system, a base station in other future mobile communication systems, or an access node in a wireless fidelity (Wi-Fi) system. The specific technology and device form adopted by the base station is not limited in the embodiments of the present disclosure. The base station provided in the embodiments of the present disclosure may be composed of a central unit (CU) and distributed units (DUs), where the CU may also be referred to as a control unit. The CU-DU structure can be used to separate the base station, such as the protocol layers of the base station, with some protocol layer functions centrally controlled by the CU and the remaining or all protocol layer functions distributed in the DUs, which are centrally controlled by the CU.

[0029] The terminal in the embodiments of the present disclosure is an entity on the user side used for receiving or transmitting signals, such as a mobile phone. The terminal may also be referred to as terminal device, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The terminal may be communication enabled car, smart car, mobile phone, wearable device, tablet, computer with wireless transmission and reception capabilities, virtual reality (VR) terminal, augmented reality (AR) terminal, wireless terminal in industrial control, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city and wireless terminal in smart home, etc. The specific technology and device form adopted by the terminal is not limited in the embodiments of the present disclosure.

[0030] It can be understood that the communication system described in the embodiments of the present disclosure is for a clearer explanation of the technical solution provided in the embodiments of the present disclosure, and does not constitute a limitation on the technical solution provided in the embodiments of the present disclosure. Those skilled in the art know that with the evolution of system architecture and the emergence of new business scenarios, the technical solution provided in the embodiments of the present disclosure is also applicable to similar technical problems.

[0031] Furthermore, for the convenience of understanding the embodiments of the present disclosure, the following explanations are made.

[0032] Firstly, in this disclosure, each step in any implementation or embodiment can be implemented as an independent embodiment without contradiction, and the steps can be arbitrarily combined. For example, a solution obtained by removing some steps in a certain implementation or embodiment can also be implemented as an independent embodiment, and the order of the steps in a certain implementation or embodiment can be arbitrarily exchanged. In addition, optional methods or examples in a certain implementation or embodiment can be arbitrarily combined. In addition, various implementations or embodiments can be combined arbitrarily, for example, some or all steps of different implementations or embodiments can be combined arbitrarily, and a certain implementation or embodiment can be combined arbitrarily with optional methods or examples of other implementations or embodiments.

[0033] Secondly, regarding the disclosure of "A or B", "A and / or B", "at least one of A or B", "A in one situation, B in another situation", "in response to one situation, A, in response to another situation, B", etc., depending on the situation, at least one of the following schemes may be included: execute A independently of B, that is, in some embodiments A; execute B independently of A, that is, in some embodiments B; selectively execute A or B, that is, selectively execute A or B in some embodiments; execute both A and B, that is, in some embodiments both A and B.

[0034] Thirdly, each element, row, or column in the table disclosed herein can be implemented as an independent embodiment, and any combination of elements, rows, or columns can also be implemented as an independent embodiment.

[0035] Fourthly, in some embodiments or implementations, the terms "including A", "comprising A", "used to indicate A", and "carrying A" in this disclosure can be interpreted as directly carrying A or indirectly indicating A.

[0036] Fifthly, in some embodiments or implementations, the terms "in response to...", "in the case of...", "when...", "upon...", "if...", "in the case where...", etc. in this disclosure may be replaced with each other.

[0037] Fig. 2a is a schematic flowchart of a quantization coding method provided in an embodiment of the present disclosure. The method is performed by an encoding device. As shown in Fig. 2a, the quantization coding method may include the following steps.

[0038] In step 201, a target quantization bit number of sound source orientation information is determined based on at least one of sound cone information of a sound source object, or an area where a sound source object is located relative to a sound listening object.

[0039] Optionally, the quantization coding method disclosed herein can be applied to quantization encoding of "object-based audio signals". For example, the object-based audio signal may include at least one of the following: audio to be played from a terminal, audio to be played from a home theater, or audio to be played from a virtual reality (VR) device. That is to say, the method of the present disclosure can be applied to scenarios such as "playing audio on terminals, playing movies in home theaters, and using VR devices for gaming and audiovisual entertainment".

[0040] Optionally, in an embodiment of the present disclosure, the sound cone information of the sound source object may include at least one of: an inner angle of the sound source object; an outer angle of the sound source object; or a maximum attenuation amplitude of an audio signal emitted by the sound source object.

[0041] Optionally, the inner angle of the sound cone means that the audio signal emitted by the sound source object and located within an inner angle range of the sound cone of the sound source object is considered as having no attenuation caused by the orientation, that is, the intensity of the audio signal located within the inner angle range of the sound cone remains unchanged.

[0042] Optionally, the outer angle of the sound cone means that the audio signal emitted by the sound source object and located between an edge of the inner angle of the sound cone and an edge of the outer angle of the sound cone of the sound source object is considered as having attenuation caused by the orientation, wherein the intensity of the audio signal between the edge of the inner angle of the sound cone and the edge of the outer angle of the sound cone of the sound source object attenuates linearly with the exit angle of the audio signal, which is the angle between the audio signal and the orientation of the sound source object (such as absolute orientation).

[0043] Optionally, the maximum attenuation amplitude of the audio signal emitted by the sound source object may be the attenuation amplitude of the audio signal emitted by the sound source object and located outside the outer angle range of the sound cone of the sound source object.

[0044] Optionally, Fig. 2b is schematic diagram illustrating an inner angle of a sound cone, an outer angle of a sound cone, and an attenuation amplitude of an audio signal provided in an embodiment of the present disclosure, wherein Fig. 2b (1) is a structural diagram of the inner angle of the sound cone (i.e., the inner angle of the sound cone in the figure) and the outer angle of the sound cone (i.e., the outer angle of the sound cone in the figure), and Fig. 2b (2) shows the correspondence relationship between the exit angle of the audio signal (i.e., the angle in Fig. 2b (2)) and the attenuation amplitude of the audio signal (i.e., the gain value in Fig. 2b (2)). As shown in Fig. 2b (1), the inner angle of the sound cone of the sound source object is 30°, and the outer angle of the sound cone is 90°. As shown in Fig. 2b (2), the maximum attenuation amplitude of the audio signal emitted by the sound source object is 0.6. Optionally, in Fig. 2b (1), the intensity of the sound emitted by the sound source object in the area contained by the edge of the inner angle of the sound cone remains unchanged, so the attenuation amplitude of the audio signal with an exit angle between [-15, 15] in Fig. 2b (2) is 1. In Fig. 2b (1), the intensity of the audio signal emitted by the sound source object in the area between the edge of the inner angle and the edge of the outer angle of the sound cone shows linear attenuation. Therefore, in Fig. 2b (2), the attenuation amplitude of the audio signal with an exit angle between [-45, -15] and [15, 45] varies linearly with the exit angle of the audio signal. In Fig. 2b (1), the intensity of the audio signal emitted by the sound source object in the area outside the edge of the outer angle of the sound cone has attenuated to the maximum attenuation amplitude, and it is considered that the intensity of the sound no longer changes. Therefore, the attenuation amplitude of the corresponding area in Fig. 2b (2) is 0.6. It should be noted that the data for the inner angle of the sound cone, the outer angle of the sound cone, and the maximum attenuation amplitude shown in Fig. 2b are only for illustration purposes and are not fixed.

[0045] Optionally, in an embodiment of the present disclosure, the sound cone information corresponding to different sound source objects may be the same or different. For example, the inner angle of the sound cone of different sound source objects may be the same or different, the outer angle of the sound cone of different sound source objects may be the same or different, and the maximum attenuation amplitude of different sound source objects may be the same or different.

[0046] Optionally, the cone information of the sound source object mentioned above may be predetermined by the encoding device. Alternatively, the encoding device can use existing methods to determine the cone information of the sound source object, which will not be described in detail in this disclosure.

[0047] Optionally, in an embodiment of the present disclosure, the area where the sound source object is located relative to the sound listening object may be determined by the encoding device based on at least one of an orientation of the sound listening object or a relative location of the sound source object relative to the sound listening object. Optionally, the method for determining the area where the sound source object is located relative to the sound listening object by the encoding device may include the following steps.

[0048] In the first step, the orientation of the sound listening object is determined.

[0049] Optionally, in an embodiment of the present disclosure, the orientation of the sound listening object may be an absolute orientation of the sound listening object. Optionally, the absolute orientation of the sound listening object may be, for example, due south orientation. Alternatively, the orientation of the sound listening object may be a relative orientation of the sound listening object relative to the sound source object. Optionally, the relative orientation of the sound listening object relative to the sound source object may be, for example, 30° southeast of the sound listening object relative to the sound source object.

[0050] Optionally, in an embodiment of the present disclosure, the orientation of the sound listening object may be sent from the decoding device to the encoding device. Optionally, when the encoding device needs to determine the absolute orientation of the sound listening object, the decoding device can directly send the absolute orientation of the sound listening object to the encoding device. When the encoding device needs to determine the relative orientation of the sound listening object, the decoding device can directly send the relative orientation of the sound listening object to the sound source object, or the decoding device can send the absolute orientation of the sound listening object to the encoding device, and then the encoding device determines the relative orientation of the sound listening object based on the absolute orientation of the sound source object itself and the absolute orientation of the sound listening object it receives.

[0051] Optionally, in another embodiment of the present disclosure, the orientation of the sound listening object may also be manually input into the encoding device.

[0052] In the second step, the relative location of the sound source object relative to the sound listening object is determined.

[0053] Optionally, in an embodiment of the present disclosure, the encoding device may first determine the absolute location of the sound source object and the absolute location of the sound listening object, and then determine the relative location of the sound source object relative to the sound listening object based on the absolute location of the sound source object and the absolute location of the sound listening object. Optionally, the absolute location of the sound source object can be autonomously determined by the encoding device, or can be manually input into the encoding device. The absolute location of the sound listening object can be sent from the decoding device to the encoding device, or can be manually input to the encoding device.

[0054] Optionally, in another embodiment of the present disclosure, the encoding device may not need to determine the absolute location of the sound source object and the absolute location of the sound listening object, but may directly receive the relative location of the sound source object relative to the sound listening object sent by the decoding device, or the relative location of the sound source object relative to the sound listening object may also be manually input to the encoding device.

[0055] It should be noted that the method for determining the orientation of the sound listening object and the relative location of the sound source object relative to the sound listening object mentioned in the above content is only an exemplary description of this disclosure. It should be understood that other methods for determining the orientation of the sound listening object and the relative location of the sound source object relative to the sound listening object are also within the scope of protection of this disclosure.

[0056] It can be understood that the first and second steps in this embodiment of the present disclosure only limit different operations and do not limit the order of the two operations. That is, the operation of determining the relative location of the sound source object relative to the sound listening object can be performed first, and then the operation of determining the orientation of the sound listening object can be performed. This is not limited in the embodiments of the present disclosure.

[0057] In the third step, the area where the sound source object is located relative to the sound listening object is determined based on at least one of the orientation of the sound listening object, or the relative location of the sound source object relative to the sound listening object.

[0058] Optionally, the area where the sound source object is located relative to the sound listening object may be an area where an projection location of the sound source object on a horizontal plane where the sound listening object is located is located relative to the sound listening object after the sound source object is projected onto the horizontal plane where the sound listening object is located. For example, the area where the sound source object is located relative to the sound listening object may be that the sound source object (also known as the projection location of the sound source object on the horizontal plane where the sound listening object is located) is located in the front, back, left, or right area of the sound listening object.

[0059] Optionally, in an embodiment of the present disclosure, when the encoding device obtains the relative orientation of the sound listening object relative to the sound source object in the first step, there is no need to perform the second step, and the area where the sound source object is located relative to the sound listening object can be directly determined based on the relative orientation of the sound listening object relative to the sound source object.

[0060] Optionally, in another embodiment of the present disclosure, when the encoding device obtains the absolute orientation of the sound listening object in the first step, the second step needs to be executed to determine the relative location of the sound source object relative to the sound listening object. Then, based on the absolute orientation of the sound listening object and the relative location of the sound source object relative to the sound listening object, the area where the sound source object is located relative to the sound listening object is determined.

[0061] Optionally, in an embodiment of the present disclosure, the sound source orientation information may include at least one of: a horizontal angle between the sound source object and the sound listening object; or an elevation angle between the sound source object and the sound listening object.

[0062] Optionally, the horizontal angle between the sound source object and the sound listening object can be understood as the relative deviation angle between the sound source object and the sound listening object in the horizontal plane, and the elevation angle between the sound source object and the sound listening object can be understood as the relative deviation angle between the sound source object and the sound listening object in the vertical plane.

[0063] Optionally, the target quantization bit number mentioned above may be the bit number of the quantized encoded sound source orientation information. Optionally, when the target quantization bit number is large, it indicates that the quantization encoding method for the sound source orientation information is fine quantization encoding. When the target quantization bit number is small, it indicates that the quantization encoding method for the sound source orientation information is coarse quantization encoding.

[0064] The following provides an example introduction to the reason why in step 201, the target quantization bit number of sound source orientation information is determined based on at least one of the sound cone information of the sound source object, or the area where the sound source object is located relative to the sound listening object.

[0065] As can be seen from the introduction of the embodiment in Fig. 1 above, the method disclosed in this disclosure is mainly aimed at achieving "the ability of the encoding device to select an appropriate quantization encoding method (such as coarse quantization encoding method (i.e., with fewer target quantization bits) or fine quantization encoding method (i.e., with more target quantization bits) in a targeted manner to quantize and encode the sound source orientation information based on the perceptual sensitivity of the sound listening object to the orientation change of the sound source object in different situations". For example, when the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object is low, coarse quantization encoding can be used for quantization encoding to reduce the encoded bitstream without affecting the subsequent rendering effect. When the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object is high, fine quantization encoding is used for quantization encoding to ensure the subsequent rendering effect.

[0066] Based on this, since the cone information of the sound source object and the area where the sound source object is located relative to the sound listening object can reflect the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object, embodiments of the present disclosure will determine the target quantization bit number of the sound source orientation information based on at least one of the cone information of the sound source object and the area where the sound source object is located relative to the sound listening object. This enables the encoding device to select an appropriate quantization encoding method for the sound source orientation information in a targeted manner based on the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object in different situations, thereby improving the flexibility of quantization encoding.

[0067] Optionally, the sound cone information of the sound source object can reflect the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object. Specifically, as described in the introduction to the sound cone information above, the sound cone information can reflect the rate of change in sound intensity of the sound source object, where the rate of change in sound intensity is the rate of change in the intensity of the audio signal emitted by the sound source object with respect to the exit angle of the audio signal, which can be understood as the amplitude of sound attenuation. When the rate of change in sound intensity indicated by the sound cone information of the sound source object is large, it indicates that when the orientation of the sound source object changes, the intensity change and attenuation amplitude of the audio signal it emits will be large. Moreover, the sound listening object is more sensitive to (i.e. easier to perceive) audio signals with large intensity changes or attenuation amplitudes, and thus it indicates that when the rate of change in sound intensity indicated by the sound cone information of the sound source object is large, the sound listening object has a higher sensitivity to the orientation change of the sound source object. Moreover, when the rate of change in sound intensity indicated by the sound cone information of the sound source object is small, it indicates that when the orientation of the sound source object changes, the intensity change and attenuation amplitude of the audio signal it emits will be small. Moreover, the sound listening object is not sensitive to (i.e. difficult to perceive) audio signals with small intensity changes or attenuation amplitudes, and thus it indicates that when the rate of change in sound intensity indicated by the sound cone information of the sound source object is small, the perceptual sensitivity of the sound listening object to the orientation change of the sound source object is low.

[0068] From this, it can be inferred that the rate of change in sound intensity of the sound source object can be determined based on the sound cone information mentioned above, thereby determining the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object.

[0069] Optionally, the area where the sound source object is located relative to the sound listening object can reflect the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object. This may include: when the sound source object is located in different areas of the sound listening object, it will cause the sound listening object to have different perceptual sensitivities to the audio signal emitted by the sound source object, thereby causing the sound listening object to have different perceptual sensitivities to changes in the orientation of the sound source object in different areas. For example, when the sound source object is located in the left or right area of the sound listening object, the sound listening object has a lower perceptual sensitivity to changes in the orientation of the sound source object, and when the sound source object is located in the front or rear area of the sound listening object, the sound listening object has a higher perceptual sensitivity to changes in the orientation of the sound source object.

[0070] Optionally, in an embodiment of the present disclosure, the method of "determining the target quantization bit number of the sound source orientation information based on at least one of the sound cone information of the sound source object or the area where the sound source object is located relative to the sound listening object" may include: determining the target quantization bit number of the sound source orientation information based on the sound cone information of the sound source object and the area where the sound source object is located relative to the sound listening object. Alternatively, in another embodiment of the present disclosure, when the encoding device is unable to determine the area where the sound source object is located relative to the sound listening object, the encoding device may determine the target quantization bit number of the sound source orientation information based on the sound cone information of the sound source object. The specific method for determining the target quantization bit number of the sound source orientation information in step 201 will be described in subsequent embodiments.

[0071] Based on the above content, it can be seen that in embodiments of the present disclosure, the target quantization bit number of the sound source orientation information will be determined based on at least one of the sound cone information of the sound source object or the area where the sound source object is located relative to the sound listening object. The sound cone information of the sound source object and the area where the sound source object is located relative to the sound listening object can reflect the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object. The target quantization bit number is the number of bits of the quantized encoded sound source orientation information, which can reflect the specific quantization encoding method. For example, when the determined target quantization bit number is large, it indicates that the corresponding quantization encoding method is fine quantization encoding, and when the determined target quantization bit number is small, it indicates that the corresponding quantization encoding method is coarse quantization encoding. From this, it can be seen that in this disclosure, when determining the target quantization bit number of the sound source orientation information based on at least one of the sound cone information of the sound source object or the area where the sound source object is located relative to the sound listening object, an appropriate quantization encoding method will be determined in a targeted manner based on the current perceptual sensitivity of the sound listening object to the orientation change of the sound source object. This ensures that when at least one of the sound cone information of the sound source object and the area where the sound source object is located relative to the sound listening object indicates that the perceptual sensitivity of the sound listening object to the orientation change of the sound source object is low, the determined target quantization bit number is small, and a coarse quantization encoding method is used to quantize and encode the sound source orientation information, which ensures that the encoded bitstream is reduced without affecting the subsequent rendering effect, avoiding resource waste. Moreover, when at least one of the sound cone information of the sound source object and the area where the sound source object is located relative to the sound listening object indicates that the sound listening object has a high perceptual sensitivity to changes in the orientation of the sound source object, the determined target quantization bit number is large, and a fine quantization encoding method is used to quantize and encode the sound source orientation information, thereby ensuring the subsequent rendering effect.

[0072] In step 202, quantization encoding is performed on the sound source orientation information based on the target quantization bit number, to obtain a bitstream signal.

[0073] Optionally, in an embodiment of the present disclosure, the bitstream signal may include at least one of: an encoded audio signal; quantized encoded sound source orientation information; the target quantization bit number; the sound cone information of the sound source object; an indication index corresponding to the sound cone information; an absolute location of the sound source object; an absolute location of the sound listening object; or a relative location of the sound source object relative to the sound listening object.

[0074] The detailed method of "performing quantization encoding on the sound source orientation information based on the target quantization bit number to obtain the bitstream signal" will be introduced in subsequent embodiments.

[0075] It should be noted that in an embodiment of the present disclosure, after the initial quantization encoding of the sound source orientation information of the sound source object, if the sound source orientation information of the sound source object has not changed, there is no need to repeat the quantization encoding of the sound source orientation information, and indication information indicating that the sound source orientation information has not changed can be sent to the decoding device; if the sound source orientation information of the sound source object changes compared to before, quantization encoding of the changed sound source orientation information can be performed, which can avoid unnecessary repeated quantization encoding of the same sound source orientation information by the encoding device, saving resources and improving quantization encoding efficiency.

[0076] In summary, in the quantization coding method provided in embodiments of the present disclosure, the encoding device determines the target quantization bit number of the sound source orientation information based on at least one of the sound cone information of the sound source object or the area where the sound source object is located relative to the sound listening object; and based on the target quantization bit number, performs quantization encoding on the sound source orientation information to obtain the bitstream signal. The sound cone information of the sound source object and the area where the sound source object is located relative to the sound listening object can reflect the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object. The target quantization bit number can reflect the specific quantization encoding method (such as fine quantization encoding or coarse quantization encoding). From this, it can be seen that the encoding device in this disclosure will select an appropriate quantization encoding method in a targeted manner based on the current perceptual sensitivity of the sound listening object to the orientation change of the sound source object, so that when the perceptual sensitivity of the sound listening object to the orientation change of the sound source object is low, a coarse quantization encoding method will be selected to quantize and encode the sound source orientation information, ensuring that the encoded bitstream is reduced without affecting the subsequent rendering effect, and avoiding resource waste; when the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object is high, a fine quantization encoding method is selected to quantize and encode the sound source orientation information to ensure the subsequent rendering effect. Meanwhile, the disclosed quantization encoding method has high flexibility.

[0077] Fig. 3a is a schematic flowchart of a quantization coding method provided in an embodiment of the present disclosure. The method is performed by an encoding device, and as shown in Fig. 3a, the quantization coding method may include the following steps.

[0078] In step 301, a first quantization bit number is determined based on the sound cone information of the sound source object.

[0079] Optionally, the embodiment in Fig. 3a is used to introduce a method for determining the target quantization bit number of the sound source orientation information based on the sound cone information of the sound source object and the area where the sound source object is located relative to the sound listening object.

[0080] Optionally, in an embodiment of the present disclosure, the following formulas may be used to calculate the first quantization bit number. The formulas may include: gap = 2 × A max out angle − in angle quan int = percep gap quan bit = ceil log 2 range quan int ; where, in angle represents an inner angle of a sound cone; out angle represents an outer angle of a sound cone; A max represents a maximum attenuation amplitude; gap represents a rate of change in sound intensity between the inner angle and the outer angle, wherein the rate of change in sound intensity is a rate of change in an intensity of an audio signal emitted by the sound source object with respect to an exit angle of the audio signal; percep represents a minimum rate of change in sound intensity perceivable to human ears; quan int represents a quantization interval; range represents a quantization range, optionally, the quantization range of the horizontal angle may be [0°, 360°], and the quantization range of the elevation angle may be [0°, 180°]; quan bit represents the first quantization bit number; and ceil represents a rounding up function.

[0081] In step 302, the target quantization bit number is determined based on the area where the sound source object is located relative to the sound listening object and the first quantization bit number.

[0082] Optionally, in an embodiment of the present disclosure, the above-mentioned "determining the target quantization bit number based on the area where the sound source object is located relative to the sound listening object and the first quantization bit" may include: when the sound source object is in the first area of the sound listening object, determining the first quantization bit number as the target quantization bit number; when the sound source object is in the second area of the sound listening object, determining a difference between the first quantization bit number and a preset value (such as 1) as the target quantization bit number. Optionally, the perceptual sensitivity of the sound listening object to the audio signal in the first area is higher than the perceptual sensitivity of the sound listening object to the audio signal in the second area. In other words, the first area may be the area where the sound listening object has a higher perceptual sensitivity to the audio signal, such as the front and rear areas of the sound listening object, and the second area may be the area where the sound listening object has a lower perceptual sensitivity to the audio signal, such as the left and right areas of the sound listening object.

[0083] For example, Fig. 3b is a schematic diagram illustrating a sound source object located in different areas relative to a sound listening object provided in an embodiment of the present disclosure. As shown in Fig. 3b, if the first quantization bit number # 1 is determined based on the sound cone information of sound source object 1 (i.e., sound source 1 in Fig. 3b) in step 301, and if the first quantization bit number # 2 is determined based on the sound cone information of sound source object 2 (i.e., sound source 2 in Fig. 3b) in step 301, since sound source object 1 is located in the less sensitive right area (i.e., area 2 in Fig. 3b) of the sound listening object (e.g., human ear), the value obtained from the first quantization bit number -1 may be determined as the target quantization bit number; moreover, since the sound source object 2 is located in the more sensitive front area (i.e. area 3 in Fig. 3b) of the sound listening object (such as the human ear), the first quantization bit number can be directly determined as the target quantization bit number.

[0084] As can be seen from the above content, in embodiments of the present disclosure, after the encoding device determines the first quantization bit number based on the sound cone information of the sound source object, it can further update the first quantization bit number based on whether the area where the sound source object is located relative to the sound listening object is a "perceptual sensitive area of the sound listening object to the audio signal". For example, when the area where the sound source object is located relative to the sound listening object is not a perceptual sensitive area of the sound listening object to the audio signal, the difference between the first quantization bit number and the preset value can be determined as the target quantization bit number, in order to reduce the target quantization bit number and ensure that it does not affect the subsequent rendering effect while maximizing the savings of the encoded bitstream; when the area where the sound source object is located relative to the sound listening object is a perceptual sensitive area of the sound listening object to the audio signal, in order to ensure the subsequent rendering effect, the first quantization bit number can be directly determined as the target quantization bit number.

[0085] In summary, in the quantization coding method provided in embodiments of the present disclosure, the encoding device will select an appropriate quantization encoding method in a targeted manner based on the current perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object. When the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object is low, a coarse quantization encoding method will be selected to quantize and encode the sound source orientation information, ensuring that the encoded bitstream is reduced without affecting the subsequent rendering effect, and avoiding resource waste. When the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object is high, a fine quantization encoding method is selected to quantize and encode the sound source orientation information to ensure the subsequent rendering effect. Meanwhile, the disclosed quantization encoding method has high flexibility.

[0086] Fig. 4 is a schematic flowchart of a quantization coding method provided in an embodiment of the present disclosure. The method is performed by an encoding device. As shown in Fig.4, the quantization coding method may include the following steps.

[0087] In step 401, the target quantization bit number is determined based on the sound cone information of the sound source object.

[0088] Optionally, the embodiment in Fig. 4 is used to introduce a method for determining the target quantization bit number of the sound source orientation information based on the sound cone information of the sound source object when the encoding device cannot obtain the area where the sound source object is located relative to the sound listening object.

[0089] Optionally, in an embodiment of the present disclosure, the following formulas may be used to calculate the target quantization bit number. The formulas may include: gap = 2 × A max out angle − in angle quan int = percep gap quan bit = ceil log 2 range quan int ; where, in angle represents an inner angle of a sound cone; out angle represents an outer angle of a sound cone; A max represents a maximum attenuation amplitude; gap represents a rate of change in sound intensity between the inner angle and the outer angle, wherein the rate of change in sound intensity is a rate of change in an intensity of an audio signal emitted by the sound source object with respect to an exit angle of the audio signal; percep represents a minimum rate of change in sound intensity perceivable to human ears; quan int represents a quantization interval; range represents a quantization range, optionally, the quantization range of the horizontal angle may be [0°, 360°], and the quantization range of the elevation angle may be [0°, 180°]; quan bit represents the target quantization bit number; and ceil represents a rounding up function.

[0090] In summary, in the quantization coding method provided in embodiments of the present disclosure, the encoding device will select an appropriate quantization encoding method in a targeted manner based on the current perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object, so that when the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object is low, a coarse quantization encoding method will be selected to quantize and encode the sound source orientation information, ensuring that the encoded bitstream is reduced without affecting the subsequent rendering effect, and avoiding resource waste; when the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object is high, a fine quantization encoding method is selected to quantize and encode the sound source orientation information to ensure the subsequent rendering effect. Meanwhile, the disclosed quantization encoding method has high flexibility.

[0091] Fig. 5 is a schematic flowchart of a quantization coding method provided in an embodiment of the present disclosure. The method is performed by an encoding device, and as shown in Fig. 5, the quantization coding method may include the following steps.

[0092] In step 501, a corresponding codebook is determined based on the target quantization bit number.

[0093] Optionally, the embodiment in Fig. 5 is used to introduce the method of "how the encoding device specifically performs quantization encoding on the sound source orientation information based on the target quantization bit number".

[0094] Optionally, in an embodiment of the present disclosure, different codebooks correspond to different quantization bit numbers. Optionally, each codebook may include at least one code word, with each code word corresponding to a bit value.

[0095] Optionally, in an embodiment of the present disclosure, the encoding device may determine a codebook corresponding to the target quantization bit number, in order to subsequently perform quantization encoding on the sound source orientation information based on the codebook.

[0096] In step 502, quantization encoding is performed on the sound source orientation information based on the codebook, to obtain quantized encoded sound source orientation information.

[0097] Optionally, performing the quantization encoding on the sound source orientation information based on the codebook to obtain the quantized encoded sound source orientation information may include at least one of the following methods.

[0098] The first method is to determine the quantization interval (i.e., quan int in the previous embodiment) corresponding to the target quantization bit number, based on which the quantization range of the sound source orientation information is quantized (such as uniform quantization) to obtain at least one quantization value, the quantization value closest to the value of the sound source orientation information in the at least one quantization value is determined as the target quantization value, and then the bit value corresponding to the code word closest to the target quantization value in the determined codebook is determined as the quantized encoded sound source orientation information.

[0099] Optionally, the "closest to" mentioned above may be, for example, having the minimum absolute difference.

[0100] For example, assuming that the sound source orientation information is the elevation angle 35° of the sound source object, and assuming that the quantization interval determined in step 301 is 20°, the code book determined in step 501 is: (0°, 45, 90°, 135°, 180°), where the bit values corresponding to each code word in the codebook are: 000, 001, 010, 011, and 100, respectively. The process of using the first method to quantize and encode the elevation angle 35° of the sound source object can be as follows: first, based on the quantization interval of 20°, the quantization range [0°, 180°] of the elevation angle (as mentioned above) is quantized to obtain 9 quantization values, which are 0°, 20°, 40°, 60°, 80°, 100°, 120°, 140°, 160°, and 180°; the quantization value closest to the elevation angle 35° of the sound source object among the nine quantization values is 40 °, which means the target quantization value is 40°; and the code word in the codebook (0°, 45°, 90°, 135°, 180°) that is closest to the target quantization value of 40° is 45°, and thus the bit value 001 corresponding to the code word 45° can be determined as the quantized and encoded sound source orientation information.

[0101] The second method is to determine the determine the bit value corresponding to the code word in the determined codebook that is closest to the value of the sound source orientation information as the quantized encoded sound source orientation information.

[0102] For example, assuming the sound source orientation information is the elevation angle 35° of the sound source object, and assuming that the codebook determined in step 501 above is: (0°, 45°, 90°, 135°, 180°), where the bit values corresponding to each code word in the codebook are: 000, 001, 010, 011, and 100, respectively. The process of using the second method mentioned above to quantize and encode the elevation angle 35° of the sound source object can be as follows: from the codebook (0°, 45°, 90°, 135°, 180°), the closest code word to the elevation angle 35° of the sound source object is determined to be 45°, and the bit value 001 corresponding to the code word 45° can be determined as the quantized encoded sound source orientation information.

[0103] In summary, in the quantization coding method provided in embodiments of the present disclosure, the encoding device will select an appropriate quantization encoding method in a targeted manner based on the current perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object, so that when the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object is low, a coarse quantization encoding method will be selected to quantize and encode the sound source orientation information, ensuring that the encoded bitstream is reduced without affecting the subsequent rendering effect, and avoiding resource waste; when the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object is high, a fine quantization encoding method is selected to quantize and encode the sound source orientation information to ensure the subsequent rendering effect. Meanwhile, the disclosed quantization encoding method has high flexibility.

[0104] Fig. 6 is a schematic flowchart of a quantization coding method provided in an embodiment of the present disclosure. The method is performed by an encoding device, and as shown in Fig. 6, the quantization coding method may include the following steps.

[0105] In step 601, the bitstream signal is sent to a decoding device.

[0106] Optionally, in an embodiment of the present disclosure, the bitstream signal may include at least one of: an encoded audio signal; the quantized encoded sound source orientation information; the target quantization bit number; the sound cone information of the sound source object; an indication index corresponding to the sound cone information; an absolute location of the sound source object; an absolute location of the sound listening object; or a relative location of the sound source object relative to the sound listening object.

[0107] Optionally, in an embodiment of the present disclosure, after the encoding device obtains the bitstream signal, the encoding device can send the bitstream signal to the decoding device, so that the decoding device can perform decoding and inverse quantization on the bitstream signal to obtain the sound source orientation information and the decoded audio signal, and further render and play the decoded audio signal to the sound listening object based on the sound source orientation information.

[0108] In summary, in the quantization coding method provided in embodiments of the present disclosure, the encoding device will select an appropriate quantization encoding method in a targeted manner based on the current perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object, so that when the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object is low, a coarse quantization encoding method will be selected to quantize and encode the sound source orientation information, ensuring that the encoded bitstream is reduced without affecting the subsequent rendering effect, and avoiding resource waste; when the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object is high, a fine quantization encoding method is selected to quantize and encode the sound source orientation information to ensure the subsequent rendering effect. Meanwhile, the disclosed quantization encoding method has high flexibility.

[0109] Fig. 7 is a schematic flowchart of a quantization coding method provided in an embodiment of the present disclosure. The method is performed by a decoding device, and as shown in Fig. 7, the method may include the following steps.

[0110] In step 701, a bitstream signal sent by an encoding device is received.

[0111] Optionally, the bitstream signal may be obtained by performing quantization encoding on sound source orientation information based on a target quantization bit number, wherein the target quantization bit number is determined based on at least one of sound cone information of a sound source object, or an area where the sound source object is located relative to a sound listening object.

[0112] The bitstream signal may include at least one of: an encoded audio signal; quantized encoded sound source orientation information; the target quantization bit number; the sound cone information of the sound source object; an indication index corresponding to the sound cone information; an absolute location of the sound source object; an absolute location of the sound listening object; or a relative location of the sound source object relative to the sound listening object.

[0113] For the detailed description of step 701, please refer to the description in the embodiments above.

[0114] In step 702, decoding and inverse quantization is performed on the bitstream signal to obtain sound source orientation information.

[0115] Optionally, in an embodiment of the present disclosure, the method of "performing decoding and inverse quantization on the bitstream signal to obtain sound source orientation information" may include at least one of the following methods.

[0116] Method 1: When the bitstream signal obtained by the decoding device includes the target quantization bit number, the decoding device can directly perform decoding and inverse quantization on the quantized encoded sound source orientation information in the bitstream signal based on the target quantization bit number to restore the sound source orientation information.

[0117] Optionally, the method for performing decoding and inverse quantization on the quantized encoded sound source orientation information in the bitstream signal based on the target quantization bit number may include: determining the corresponding codebook based on the target quantization bit number, and performing decoding and inverse quantization on the quantized encoded sound source orientation information based on the codebook.

[0118] It should be noted that the process of performing decoding and inverse quantization on the quantized encoded sound source orientation information in the bitstream signal based on the target quantization bit number by the decoding device mentioned above is essentially the inverse process of performing the quantization encoding on the sound source orientation information based on the target quantization bit number by the encoding device mentioned above. For the detailed process of this part reference can be made to the description of the embodiments above, and details will not be repeated here.

[0119] Method 2: When the bitstream signal obtained by the decoding device does not include the target quantization bit number, the decoding device can first determine the target quantization bit number, and then perform decoding and inverse quantization on the quantized encoded sound source orientation information in the bitstream signal based on the target quantization bit number, to restore the sound source orientation information.

[0120] Optionally, the method for determining the target quantization bit number by the decoding device may include: first determining the sound cone information of the sound source object based on the information included in the bitstream signal (such as the sound cone information of the sound source object and / or the indication index corresponding to the sound cone information included in the stream signal); afterwards, determining the area where the sound source object is located relative to the sound listening object; and based on at least one of the sound cone information of the sound source object or the area where the sound source object is located relative to the sound listening object, determining the target quantization bit number of the sound source orientation information.

[0121] Optionally, the method for determining the area where the sound source object is located relative to the sound listening object by the decoding device mentioned above may include at least one of the following: determining, by the decoding device, the area where the sound source object is located relative to the sound listening object based on the information included in the bitstream signal (such as at least one of the absolute location of the sound source object, the absolute location of the sound listening object, or the relative location of the sound source object relative to the sound listening object) and the orientation of the sound listening object; determining the area where the sound source object is located relative to the sound listening object by the decoding device autonomously. For example, the decoding device autonomously determines at least one of the absolute location of the sound source object, the absolute location of the sound listening object, and the relative location of the sound source object relative to the sound listening object, and determines the area where the sound source object is located relative to the sound listening object in combination with the orientation of the sound listening object.

[0122] Optionally, for the detailed processes of "determining the target quantization bit number of the sound source orientation information based on at least one of the sound cone information of the sound source object or the area where the sound source object is located relative to the sound listening object" and "performing decoding and inverse quantization on the quantized encoded sound source orientation information in the bitstream signal based on the target quantization bit number to restore the sound source orientation information" reference can be made to the previous embodiments.

[0123] In summary, in the quantization coding method provided in embodiments of the present disclosure, the decoding device receives the bitstream signal sent by the encoding device, wherein the bitstream signal is obtained by performing quantization encoding on the sound source orientation information based on the target quantization bit number, and the target quantization bit number is determined based on at least one of the sound cone information of the sound source object or the area where the sound source object is located relative to the sound listening object; afterwards, the decoding device performs decoding and inverse quantization on the bitstream signal to obtain the sound source orientation information. From this, it can be seen that the encoding device in this disclosure will select an appropriate quantization encoding method in a targeted manner based on the current perceptual sensitivity of the sound listening object to the orientation change of the sound source object, so that when the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object is low, a coarse quantization encoding method will be selected to quantize and encode the sound source orientation information, ensuring that the encoded bitstream is reduced without affecting the subsequent rendering effect, and avoiding resource waste; when the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object is high, a fine quantization encoding method is selected to quantize and encode the sound source orientation information to ensure the subsequent rendering effect. Meanwhile, the disclosed quantization encoding method has high flexibility.

[0124] Fig. 8 is a schematic flowchart of a quantization coding method provided in an embodiment of the present disclosure. The method is performed by a decoding device, and as shown in Fig. 8, the quantization coding method may include the following steps.

[0125] In step 801, when the bitstream signal includes the target quantization bit number, decoding and inverse quantization is performed on the quantized encoded sound source orientation information in the bitstream signal based on the target quantization bit number.

[0126] A detailed introduction to step 801 can be found in the previous embodiments.

[0127] In summary, in the quantization coding method provided in embodiments of the present disclosure, the encoding device will select an appropriate quantization encoding method in a targeted manner based on the current perceptual sensitivity of the sound listening object to the orientation change of the sound source object, so that when the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object is low, a coarse quantization encoding method will be selected to quantize and encode the sound source orientation information, ensuring that the encoded bitstream is reduced without affecting the subsequent rendering effect, and avoiding resource waste; when the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object is high, a fine quantization encoding method is selected to quantize and encode the sound source orientation information to ensure the subsequent rendering effect. Meanwhile, the disclosed quantization encoding method has high flexibility.

[0128] Fig. 9 is a schematic flowchart of a quantization coding method provided in an embodiment of the present disclosure. The method is performed by a decoding device, and as shown in Fig. 9, the quantization coding method may include the following steps.

[0129] In step 901, when the bitstream signal does not include the target quantization bit number, the sound cone information of the sound source object is determined based on information included in the bitstream, the area where the sound source object is located relative to the sound listening object is determined, and the target quantization bit number of the sound source orientation information is determined based on at least one of the sound cone information of the sound source object, or the area where the sound source object is located relative to the sound listening object.

[0130] In step 902, decoding and inverse quantization is performed on the quantized encoded sound source orientation information in the bitstream signal based on the target quantization bit number.

[0131] A detailed introduction to step 901 and step 902 can be found in the previous embodiments.

[0132] In summary, in the quantization coding method provided in embodiments of the present disclosure, the encoding device will select an appropriate quantization encoding method in a targeted manner based on the current perceptual sensitivity of the sound listening object to the orientation change of the sound source object, so that when the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object is low, a coarse quantization encoding method will be selected to quantize and encode the sound source orientation information, ensuring that the encoded bitstream is reduced without affecting the subsequent rendering effect, and avoiding resource waste; when the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object is high, a fine quantization encoding method is selected to quantize and encode the sound source orientation information to ensure the subsequent rendering effect. Meanwhile, the disclosed quantization encoding method has high flexibility.

[0133] Fig. 10 is a block diagram of a communication device provided in an embodiment of the present disclosure. As shown in Fig. 10, the device may include a processing module.

[0134] The processing module is configured to determine a target quantization bit number of sound source orientation information based on at least one of sound cone information of a sound source object, or an area where the sound source object is located relative to a sound listening object.

[0135] The processing module is further configured to perform quantization encoding on the sound source orientation information based on the target quantization bit number, to obtain a bitstream signal.

[0136] In summary, in the communication device provided in embodiments of the present disclosure, the encoding device will determine the target quantization bit number of the sound source orientation information based on at least one of the sound cone information of the sound source object or the area where the sound source object is located relative to the sound listening object; and based on the target quantization bit number, perform quantization encoding on the sound source orientation information to obtain the bitstream signal. The sound cone information of the sound source object and the area where the sound source object is located relative to the sound listening object can reflect the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object. The target quantization bit number can reflect the specific quantization encoding method (such as fine quantization encoding or coarse quantization encoding). From this, it can be seen that the encoding device in this disclosure will select an appropriate quantization encoding method in a targeted manner based on the current perceptual sensitivity of the sound listening object to the orientation change of the sound source object, so that when the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object is low, a coarse quantization encoding method will be selected to quantize and encode the sound source orientation information, ensuring that the encoded bitstream is reduced without affecting the subsequent rendering effect, and avoiding resource waste; when the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object is high, a fine quantization encoding method is selected to quantize and encode the sound source orientation information to ensure the subsequent rendering effect. Meanwhile, the disclosed quantization encoding method has high flexibility.

[0137] Optionally, in an embodiment of the present disclosure, the sound cone information of the sound source object includes at least one of: an inner angle of a sound cone of the sound source object; an outer angle of a sound cone of the sound source object; or a maximum attenuation amplitude of an audio signal emitted by the sound source object.

[0138] Optionally, in an embodiment of the present disclosure, the sound source orientation information includes at least one of: a horizontal angle between the sound source object and the sound listening object; or an elevation angle between the sound source object and the sound listening object.

[0139] Optionally, in an embodiment of the present disclosure, the device is further configured to: determine an orientation of the sound listening object; determine a relative location of the sound source object relative to the sound listening object; and determine the area where the sound source object is located relative to the sound listening object based on at least one of the orientation of the sound listening object, or the relative location.

[0140] Optionally, in an embodiment of the present disclosure, the processing module is further configured to: determine a first quantization bit number based on the sound cone information of the sound source object; and determine the target quantization bit number based on the area where the sound source object is located relative to the sound listening object, and the first quantization bit number.

[0141] Optionally, in an embodiment of the present disclosure, the processing module is further configured to: determine the target quantization bit number based on the sound cone information of the sound source object.

[0142] Optionally, in an embodiment of the present disclosure, the processing module is further configured to: calculate the first quantization bit number or the target quantization bit number using the following formulas: gap = 2 × A max out angle − in angle quan int = percep gap quan bit = ceil log 2 range quan int ; where, in angle represents an inner angle of a sound cone; out angle represents an outer angle of a sound cone; A max represents a maximum attenuation amplitude; gap represents a rate of change in sound intensity between the inner angle and the outer angle, wherein the rate of change in sound intensity is a rate of change in an intensity of an audio signal emitted by the sound source object with respect to an exit angle of the audio signal; percep represents a minimum rate of change in sound intensity perceivable to human ears; quan int represents a quantization interval; range represents a quantization range; quan bit represents the first quantization bit number or the target quantization bit number; and ceil represents a rounding up function.

[0143] Optionally, in an embodiment of the present disclosure, the processing module is further configured to: determine the first quantization bit number as the target quantization bit number when the sound source object is located within a first area of the sound listening object; and determine a difference between the first quantization bit number and a preset value as the target quantization bit number when the sound source object is located within a second area of the sound listening object, wherein a perceptual sensitivity of the sound listening object to an audio signal in the first area is higher than a perceptual sensitivity of the sound listening object to an audio signal in the second area.

[0144] Optionally, in an embodiment of the present disclosure, the processing module is further configured to: determine a corresponding codebook based on the target quantization bit number; and perform the quantization encoding on the sound source orientation information based on the corresponding codebook, to obtain quantized encoded sound source orientation information.

[0145] Optionally, in an embodiment of the present disclosure, the bitstream signal includes at least one of: quantized encoded sound source orientation information; the target quantization bit number; the sound cone information of the sound source object; an indication index corresponding to the sound cone information; an absolute location of the sound source object; an absolute location of the sound listening object; or a relative location of the sound source object relative to the sound listening object.

[0146] Optionally, in an embodiment of the present disclosure, the device is further configured to: send the bitstream signal to a decoding device.

[0147] Fig. 11 is a block diagram of a communication device provided in an embodiment of the present disclosure. As shown in Fig. 11, the device may include a transceiver module and a processing module.

[0148] The transceiver module is configured to receive a bitstream signal sent by an encoding device, wherein the bitstream signal is obtained by performing quantization encoding on sound source orientation information based on a target quantization bit number, wherein the target quantization bit number is determined based on at least one of sound cone information of a sound source object, or an area where the sound source object is located relative to a sound listening object.

[0149] The processing module is configured to perform decoding and inverse quantization on the bitstream signal, to obtain the sound source orientation information.

[0150] In summary, in the communication device provided in embodiments of the present disclosure, the decoding device receives the bitstream signal sent by the encoding device, wherein the bitstream signal is obtained by performing quantization encoding on the sound source orientation information based on the target quantization bit number, and the target quantization bit number is determined based on at least one of the sound cone information of the sound source object or the area where the sound source object is located relative to the sound listening object; afterwards, the decoding device performs decoding and inverse quantization on the bitstream signal to obtain the sound source orientation information. From this, it can be seen that the encoding device in this disclosure will select an appropriate quantization encoding method in a targeted manner based on the current perceptual sensitivity of the sound listening object to the orientation change of the sound source object, so that when the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object is low, a coarse quantization encoding method will be selected to quantize and encode the sound source orientation information, ensuring that the encoded bitstream is reduced without affecting the subsequent rendering effect, and avoiding resource waste; when the perceptual sensitivity of the sound listening object to changes in the orientation of the sound source object is high, a fine quantization encoding method is selected to quantize and encode the sound source orientation information to ensure the subsequent rendering effect. Meanwhile, the disclosed quantization encoding method has high flexibility.

[0151] Optionally, in an embodiment of the present disclosure, the bitstream signal comprises at least one of: quantized encoded sound source orientation information; the target quantization bit number; the sound cone information of the sound source object; an indication index corresponding to the sound cone information; an absolute location of the sound source object; an absolute location of the sound listening object; or a relative location of the sound source object relative to the sound listening object.

[0152] Optionally, in an embodiment of the present disclosure, the bitstream signal includes the target quantization bit number, and the processing module is further configured to: perform the decoding and inverse quantization on quantized encoded sound source orientation information in the bitstream signal based on the target quantization bit number.

[0153] Optionally, in an embodiment of the present disclosure, the bitstream signal does not include the target quantization bit number, and the processing module is further configured to: determine the sound cone information of the sound source object based on information contained in the bitstream signal; determine the area where the sound source object is located relative to the sound listening object; determine the target quantization bit number of the sound source orientation information based on at least one of the sound cone information of the sound source object, or the area where the sound source object is located relative to the sound listening object; and perform the decoding and inverse quantization on quantized encoded sound source orientation information in the bitstream signal based on the target quantization bit number.

[0154] Optionally, in an embodiment of the present disclosure, the processing module is further configured to perform at least one of: determining the area where the sound source object is located relative to the sound listening object based on the information contained in the bitstream signal and an orientation of the sound listening object; or determining the area where the sound source object is located relative to the sound listening object by the decoding device autonomously.

[0155] Optionally, in an embodiment of the present disclosure, the processing module is further configured to: determine a corresponding codebook based on the target quantization bit number; and perform the decoding and inverse quantization on the quantized encoded sound source orientation information based on the codebook.

[0156] Please refer to Fig. 12, which is a block diagram of an communication device 1200 provided in an embodiment of the present disclosure. The communication device 1200 may be a base station, or a terminal, or a chip, chip system, or processor that supports the base station to implement the above methods, or a chip, chip system, or processor that supports the terminal to implement the above methods. The device can be used to implement the method described in the above method embodiments. For details, please refer to the description in the above method embodiments.

[0157] The communication device 1200 may include one or more processors 1201. The processor 1201 may be a general-purpose processor or a dedicated processor, etc. For example, it may be a baseband processor or a central processor. The baseband processor can be used to process communication protocols and communication data, while the central processor can be used to control communication devices (such as network side devices, baseband chips, terminals, terminal chips, DU or CU, etc.), execute computer programs, and process data from computer programs.

[0158] Optionally, the communication device 1200 may also include one or more memories 1202, on which computer programs 1204 may be stored. The processor 1201 executes the computer programs 1204 to enable the communication device 1200 to perform the methods described in the above method embodiments. Optionally, the memory 1202 may also store data. The communication device 1200 and the memory 1202 can be set separately or integrated together.

[0159] Optionally, the communication device 1200 may also include a transceiver 1205 and an antenna 1206. The transceiver 1205 can be referred to as a transceiver unit, transceiver machine, or transceiver circuit, etc., used to implement the sending and receiving function. The transceiver 1205 may include a receiver and a transmitter, where the receiver can be referred to as a receiver machine or receiving circuit, etc., used to implement the receiving function; the transmitter can be referred to as a transmitter machine or a transmission circuit, etc., used to implement the sending function.

[0160] Optionally, the communication device 1200 may also 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 cause the communication device 1200 to perform the method described in the above method embodiments.

[0161] In an implementation, the processor 1201 may include a transceiver for implementing receiving and sending functions. For example, the transceiver may be a transceiver circuit, or an interface, or an interface circuit. The transceiver circuit, interface, or interface circuit used to implement the receiving and sending functions can be separate or integrated together. The above-mentioned transceiver circuit, interface or interface circuit can be used for reading and writing code / data, or the above-mentioned transceiver circuit, interface or interface circuit can be used for signal transmission or transfer.

[0162] In an implementation, the processor 1201 may store computer program 1203, which when run on the processor 1201, enables the communication device 1200 to perform the method described in the above method embodiments. The computer program 1203 may be fixed in the processor 1201, in which case the processor 1201 may be implemented by hardware.

[0163] In an implementation, the communication device 1200 may include a circuit that can perform the functions of sending, receiving, or communicating as described in the aforementioned method embodiments. The processor and transceiver described in this disclosure can be implemented on integrated circuits (ICs), analog ICs, radio frequency integrated circuits (RFICs), mixed signal ICs, application specific integrated circuits (ASICs), printed circuit boards (PCBs), electronic devices, 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 (NMOS), positive channel metal oxide semiconductor (PMOS), bipolar junction transistor (BJT), bipolar CMOS, silicon germanium (SiGe), gallium arsenide (GaAs), etc.

[0164] The communication device described in the above embodiments may be a base station, or a terminal, but the scope of the communication device described in this disclosure is not limited to this, and the structure of the communication device may not be limited by Fig. 12. The communication device may be a standalone device or a part of a larger device. For example, the communication device may be: (1) Independent integrated circuit IC, or chip, or chip system or subsystem; (2) A set of one or more ICs, optionally including storage components for storing data and computer programs; (3) ASIC, such as modems; (4) Modules that can be embedded in other devices; (5) Receiver, terminal device, intelligent terminal device, cellular phone, wireless device, handheld device, mobile unit, vehicle-mounted device, network device, cloud device, artificial intelligence device, etc; (6) Others and so on.

[0165] For the case where the communication device may be a chip or a chip system, please refer to the block diagram of the chip shown in Fig. 13. The chip shown in Fig. 13 includes a processor 1301 and an interface 1302. The number of processors 1301 may be one or more, and the number of interfaces 1302 may be multiple.

[0166] Optionally, the chip also includes a memory 1303, which is used to store necessary computer programs and data.

[0167] Technicians in this field can also understand that various illustrative logical blocks and steps listed in the embodiments of the present disclosure can be implemented through electronic hardware, computer software, or a combination of both. Whether such functionality is implemented through hardware or software depends on the specific application and the design requirements of the entire system. Technicians in this field can use various methods to implement the described functions for each specific application, but such implementation should not be understood as exceeding the scope of protection of the disclosed embodiments.

[0168] The present disclosure also provides a readable storage medium storing instructions that, when executed by a computer, implement the functions of any of the method embodiments described above.

[0169] The present disclosure also provides a computer program product that, when executed by a computer, implements the functions of any of the method embodiments described above.

[0170] In the above embodiments, it can be fully or partially implemented through software, hardware, firmware, or any combination thereof. When implemented using software, it can be fully or partially implemented in the form of a computer program product. The computer program product includes one or more computer programs. When loading and executing the computer program on a computer, all or part of the process or function described in the embodiments of the present disclosure is generated. The computer may be a general-purpose computer, a specialized 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. For example, the computer program can be transmitted from a website site, computer, server, or data center to another website site, computer, server, or data center via wired (such as coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access, or a data storage device such as a server or data center that integrates one or more available media. The available media can be magnetic media (such as floppy disks, hard disks, magnetic tapes), optical media (such as high-density digital video discs (DVDs)), or semiconductor media (such as solid state disks (SSDs)).

[0171] Those skilled in the art can understand that the first, second, and other numerical numbers mentioned in this disclosure are only for the convenience of description and are not intended to limit the scope of the disclosed embodiments, but also indicate the order of occurrence.

[0172] "At least one" in the present disclosure can also be described as one or more, and "multiple" \can be two, three, four, or more, without limitation in this disclosure. In embodiments of the present disclosure, for a type of technical feature, the technical features in the type of technical feature are distinguished by "first", "second", "third", "A", "B", "C", and "D", etc. The technical features described by "first", "second", "third", "A", "B", "C", and "D" have no order of priority or size.

[0173] The correspondence relationships shown in each table in this disclosure can be configured or predefined. The values of the information in each table are only examples and can be configured as other values, which are not limited by this disclosure. When configuring the correspondence between information and various parameters, it is not necessarily required to configure all the correspondence relationships shown in each table. For example, in the table disclosed herein, the correspondence relationships shown in certain rows may not be configured. For another example, appropriate deformation adjustments can be made based on the above table, such as splitting, merging, and so on. The names of the parameters shown in titles in the above tables can also be other names that the communication device can understand, and the values or representations of the parameters can also be other values or representations that the communication device can understand. The above tables can also be implemented using other data structures, such as arrays, queues, containers, stacks, linear tables, pointers, linked lists, trees, graphs, structures, classes, heaps, hash tables, etc.

[0174] The predefined in this disclosure can be understood as defined, defined in advance, stored, pre-stored, pre-negotiated, pre-configured, solidified, or pre-fired.

[0175] Ordinary technical personnel in this field can realize that the units and algorithm steps described in combination with the embodiments disclosed in this article can be implemented using electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to achieve the described functionality for each specific application, but such implementation should not be considered beyond the scope of this disclosure.

[0176] Technicians in the relevant field can clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices, and units described above reference can be made to the corresponding processes in the aforementioned method embodiments, and details will not be repeated here.

[0177] The above is only a specific implementation of the present disclosure, but the scope of protection of the present disclosure is not limited to this. Any skilled person familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the present disclosure, which should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of this disclosure should be based on the scope of protection of the claims.

Claims

1. A quantization coding method, performed by an encoding device, comprising: determining a target quantization bit number of sound source orientation information based on at least one of sound cone information of a sound source object, or an area where the sound source object is located relative to a sound listening object; and performing quantization encoding on the sound source orientation information based on the target quantization bit number, to obtain a bitstream signal.

2. The method of claim 1, wherein the sound cone information of the sound source object comprises at least one of: an inner angle of a sound cone of the sound source object; an outer angle of a sound cone of the sound source object; or a maximum attenuation amplitude of an audio signal emitted by the sound source object.

3. The method of claim 1, wherein the sound source orientation information comprises at least one of: a horizontal angle between the sound source object and the sound listening object; or an elevation angle between the sound source object and the sound listening object.

4. The method of claim 1, further comprising: determining an orientation of the sound listening object; determining a relative location of the sound source object relative to the sound listening object; and determining the area where the sound source object is located relative to the sound listening object based on at least one of the orientation of the sound listening object, or the relative location.

5. The method of any of claims 1-4, wherein determining the target quantization bit number of sound source orientation information based on at least one of the sound cone information of the sound source object, or the area where the sound source object is located relative to the sound listening object comprises: determining a first quantization bit number based on the sound cone information of the sound source object; and determining the target quantization bit number based on the area where the sound source object is located relative to the sound listening object, and the first quantization bit number.

6. The method of any of claims 1-4, wherein determining the target quantization bit number of sound source orientation information based on at least one of the sound cone information of the sound source object, or the area where the sound source object is located relative to the sound listening object comprises: determining the target quantization bit number based on the sound cone information of the sound source object.

7. The method of claim 5 or 6, wherein determining the first quantization bit number or the target quantization bit number based on the sound cone information of the sound source object comprises: calculating the first quantization bit number or the target quantization bit number using the following formulas: gap = 2 × A max out angle − in angle quan int = percep gap quan bit = ceil log 2 range quan int ; where, inangle represents an inner angle of a sound cone; outangle represents an outer angle of a sound cone; Amax represents a maximum attenuation amplitude; gap represents a rate of change in sound intensity between the inner angle and the outer angle, wherein the rate of change in sound intensity is a rate of change in an intensity of an audio signal emitted by the sound source object with respect to an exit angle of the audio signal; percep represents a minimum rate of change in sound intensity perceivable to human ears; quanint represents a quantization interval; range represents a quantization range; quanbit represents the first quantization bit number or the target quantization bit number; and ceil represents a rounding up function.

8. The method of claim 5, wherein determining the target quantization bit number based on the area where the sound source object is located relative to the sound listening object, and the first quantization bit number comprises: determining the first quantization bit number as the target quantization bit number when the sound source object is located within a first area of the sound listening object; and determining a difference between the first quantization bit number and a preset value as the target quantization bit number when the sound source object is located within a second area of the sound listening object, wherein a perceptual sensitivity of the sound listening object to an audio signal in the first area is higher than a perceptual sensitivity of the sound listening object to an audio signal in the second area.

9. The method of any of claims 1-8, wherein performing quantization encoding on the sound source orientation information based on the target quantization bit number comprises: determining a corresponding codebook based on the target quantization bit number; and performing the quantization encoding on the sound source orientation information based on the corresponding codebook, to obtain quantized encoded sound source orientation information.

10. The method of any of claims 1-9, wherein the bitstream signal comprises at least one of: quantized encoded sound source orientation information; the target quantization bit number; the sound cone information of the sound source object; an indication index corresponding to the sound cone information; an absolute location of the sound source object; an absolute location of the sound listening object; or a relative location of the sound source object relative to the sound listening object.

11. The method of any of claims 1-10, further comprising: sending the bitstream signal to a decoding device.

12. A quantization coding method, performed by a decoding device, comprising: receiving a bitstream signal sent by an encoding device, wherein the bitstream signal is obtained by performing quantization encoding on sound source orientation information based on a target quantization bit number, wherein the target quantization bit number is determined based on at least one of sound cone information of a sound source object, or an area where the sound source object is located relative to a sound listening object; and performing decoding and inverse quantization on the bitstream signal, to obtain the sound source orientation information.

13. The method of claim 12, wherein the bitstream signal comprises at least one of: quantized encoded sound source orientation information; the target quantization bit number; the sound cone information of the sound source object; an indication index corresponding to the sound cone information; an absolute location of the sound source object; an absolute location of the sound listening object; or a relative location of the sound source object relative to the sound listening object.

14. The method of claim 12 or 13, wherein the bitstream signal comprises the target quantization bit number, and performing the decoding and inverse quantization on the bitstream signal comprises: performing the decoding and inverse quantization on quantized encoded sound source orientation information in the bitstream signal based on the target quantization bit number.

15. The method of claim 12 or 13, wherein the bitstream signal does not comprise the target quantization bit number, and performing the decoding and inverse quantization on the bitstream signal comprises: determining the sound cone information of the sound source object based on information contained in the bitstream signal; determining the area where the sound source object is located relative to the sound listening object; determining the target quantization bit number of the sound source orientation information based on at least one of the sound cone information of the sound source object, or the area where the sound source object is located relative to the sound listening object; and performing the decoding and inverse quantization on quantized encoded sound source orientation information in the bitstream signal based on the target quantization bit number.

16. The method of claim 15, wherein determining the area where the sound source object is located relative to the sound listening object comprises at least one of: determining the area where the sound source object is located relative to the sound listening object based on the information contained in the bitstream signal and an orientation of the sound listening object; or determining the area where the sound source object is located relative to the sound listening object by the decoding device autonomously.

17. The method of claim 14 or 15, wherein performing the decoding and inverse quantization on quantized encoded sound source orientation information in the bitstream signal based on the target quantization bit number comprises: determining a corresponding codebook based on the target quantization bit number; and performing the decoding and inverse quantization on the quantized encoded sound source orientation information based on the codebook.

18. A communication device, comprising: a processing module, configured to determine a target quantization bit number of sound source orientation information based on at least one of sound cone information of a sound source object, or an area where the sound source object is located relative to a sound listening object; wherein the processing module is further configured to perform quantization encoding on the sound source orientation information based on the target quantization bit number, to obtain a bitstream signal.

19. A communication device, comprising: a transceiver module, configured to receive a bitstream signal sent by an encoding device, wherein the bitstream signal is obtained by performing quantization encoding on sound source orientation information based on a target quantization bit number, wherein the target quantization bit number is determined based on at least one of sound cone information of a sound source object, or an area where the sound source object is located relative to a sound listening object; and a processing module, configured to perform decoding and inverse quantization on the bitstream signal, to obtain the sound source orientation information.

20. A communication device, comprising a processor and a memory, wherein the memory stores a computer program, and the processor is configured to execute the computer program stored in the memory, so as to cause the device to implement the method of any of claims 1-11, or implement the method of any of claims 12-17.

21. A communication device, comprising an interface circuit and a processor, wherein the interface circuit is configured to receive code instructions and transmit the code instructions to the processor; the processor is configured to run the code instructions, to implement the method of any of claims 1-11, or implement the method of any of claims 12-17.

22. A computer readable storage medium, configured to store instructions which, when executed, cause the method of any of claims 1-11 to be implemented, or cause the method of any of claims 12-17 to be implemented.