Audio signal processing method and system, sound production equipment, vehicle and electronic equipment

By analyzing the audio data of the headrest sounding device of the vehicle seat headrest sounding device and outputting the piezoelectric sounding module, an audio signal with opposite phases is generated, which solves the privacy leakage problem of the headrest sounding device, and realizes the elimination of private audio data and normal playback of general audio data, reducing the risk of privacy leakage and improving the targeted data processing and sound field balance.

CN120282061APending Publication Date: 2025-07-08SHANGHAI PATEO ELECTRONIC EQUIPMENT MANUFACTURING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311868126.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

The headrest sounding device on the vehicle seat has a problem of privacy leakage when making sounds.

Method used

By analyzing the audio data to be played, a first sound signal and a second sound signal with opposite phases and same amplitude are generated, and outputted by a symmetric piezoelectric sound module, the device volume is reduced by using the piezoelectric sound element, and the identification information is determined and eliminated, so as to realize the elimination of audio data with higher privacy and normal playback of general audio data with normal privacy.

Benefits of technology

It effectively reduces the possibility of privacy leakage, reduces the impact on personnel at other locations, and improves the targeted data processing and the dynamic balance of sound field.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120282061A_ABST
    Figure CN120282061A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an audio signal processing method and system, sound production equipment, a vehicle and electronic equipment, and the method comprises the steps: carrying out the analysis of to-be-played audio data, and obtaining the identification information of the to-be-played audio data; in response to the identification information of the to-be-played audio data representing that elimination processing needs to be performed, generating a first sound signal and a second sound signal based on the to-be-played audio data; wherein the phase of the first sound signal is opposite to that of the second sound signal, and the amplitude of the first sound signal is the same as that of the second sound signal; controlling a first sound production module of a preset headrest sound production device to output a first sound signal; controlling a second sound production module of the headrest sound production device to output a second sound signal; wherein the first sound production module and the second sound production module produce sound based on the piezoelectric sound element, and the structure of the first sound production module and the structure of the second sound production module are symmetrical.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to, but is not limited to, the field of vehicle technologies, and in particular, to an audio signal processing method and system, a sound generating device, a vehicle, and an electronic device. Background Art

[0002] In related technologies, for a headrest sound generating device on a vehicle seat, there is a problem of privacy leakage when generating sound. Summary of the Invention

[0003] An object of the present application is to provide an audio signal processing method, which has the advantage that by parsing the audio data to be played, identification information of the audio data to be played is obtained; in response to the identification information of the audio data to be played indicating that elimination processing is required, based on the audio data to be played, a first sound signal and a second sound signal are generated; wherein, the phase of the first sound signal is opposite to the phase of the second sound signal, and the amplitude of the first sound signal is the same as the amplitude of the second sound signal; controlling a first sound generating module of a preset headrest sound generating device to output the first sound signal; controlling a second sound generating module of the headrest sound generating device to output the second sound signal; wherein, both the first sound generating module and the second sound generating module generate sound based on piezoelectric sound elements, and the structures of the first sound generating module and the second sound generating module are symmetrical. In this way, firstly, the headrest sound generating device uses piezoelectric sound elements to generate sound. Since the piezoelectric sound elements are small, the volume of the headrest sound generating device is reduced; secondly, it is determined whether to perform elimination processing on the audio data to be played through the identification information of the audio data to be played, so as to realize the elimination processing of audio data with high privacy, and at the same time, the audio data with general privacy is normally played, improving the pertinence of data processing; finally, by respectively outputting two sound signals with the same amplitude and opposite phases through two sound generating modules, the two sound signals will automatically cancel each other out when converging in front of the head, effectively reducing the possibility of privacy leakage and also reducing the impact on people in other positions.

[0004] Another object of the present application is to provide an audio signal processing method, which has the advantage that after parsing the audio data to be played to obtain the identification information of the audio data to be played, by responding to the identification information of the audio data to be played indicating that elimination processing is not required, controlling the first sound generating module and / or the second sound generating module to output the sound signal of the corresponding channel of the audio data to be played. In this way, the normal playback of audio data with general privacy is realized, and the pertinence of data processing is improved.

[0005] Another object of the present application is to provide an audio signal processing method, which has the advantage of determining a sound pressure change value based on a first reflected sound signal obtained by a preset first acquisition module and a second reflected sound signal obtained by a preset second acquisition module; adjusting the output power of the first sound generation module and the output power of the second sound generation module based on the sound pressure change value, so as to ensure that the sound pressure at the human ear always remains unchanged and achieve the dynamic balance of the sound fields on both sides.

[0006] Another object of the present application is to provide an audio signal processing method, which has the advantage that when the first sound pressure change value of the first acquisition module is positive and the second sound pressure change value of the second acquisition module is negative, the output power of the first sound generation module is reduced and the output power of the second sound generation module is increased; or, when the first sound pressure change value of the first acquisition module is negative and the second sound pressure change value of the second acquisition module is positive, the output power of the first sound generation module is increased and the output power of the second sound generation module is reduced. In this way, when the human head changes (for example, getting closer to the first sound generation module or getting closer to the second sound generation module), the output powers of the two sound generation modules are adjusted in a timely manner to ensure that the sound pressure at the human ears on both sides still remains unchanged and achieve the dynamic balance of the sound fields on both sides.

[0007] Another object of the present application is to provide an audio signal processing method, which has the advantage of determining a first distance and a second distance based on a third sound pressure change value; determining a first target output power of the first sound generation module based on the first distance and the reference output power of the first sound generation module, and adjusting the output power of the first sound generation module to the first target output power; determining a second target output power of the second sound generation module based on the second distance and the reference output power of the second sound generation module, and adjusting the output power of the second sound generation module to the second target output power. In this way, when the audio signal to be played changes, the output powers of the two sound generation modules are adjusted in a timely manner to ensure that the sound pressure at the human ears on both sides still remains unchanged and achieve the dynamic balance of the sound fields on both sides.

[0008] Another object of the present application is to provide an audio signal processing method, which has the advantage of adjusting the working state of the headrest sound generating device when the amplitudes of the first reflected sound signal and the second reflected sound signal are both not greater than a preset amplitude threshold. In this way, if the head is far from the headrest sound generating device, the working state of the headrest sound generating device is switched to a mute state or a closed state to further ensure the privacy of the sound signal.

[0009] Another object of the present application is to provide a sounding device, which has the advantage that the sounding device includes a headrest sounding device, and the headrest sounding device includes a first sounding module and a second sounding module after sound insulation treatment. The first sounding module includes a first sound cavity, a first sounding component located in the first sound cavity, and a first sound duct communicating with the first sound cavity. The first sounding component includes a first sounding panel and a first piezoelectric sound element located on the first sounding panel. The second sounding module includes a second sound cavity, a second sounding component located in the second sound cavity, and a second sound duct communicating with the second sound cavity. The second sounding component includes a second sounding panel and a second piezoelectric sound element located on the second sounding panel. The first sounding component is configured to generate a first sound signal by using the first piezoelectric sound element and transmit it to the first sound duct through the first sound cavity. One end of the first sound duct is connected to the first sound cavity, and the other end is formed with an opening for emitting sound to a second object, and is configured to transmit the first sound signal to the second object. The second sounding component is configured to generate a second sound signal by using the second piezoelectric sound element and transmit it to the second sound duct through the second sound cavity. One end of the second sound duct is connected to the second sound cavity, and the other end is formed with an opening for emitting sound to the second object, and is configured to transmit the second sound signal to the second object. Both the first sound signal and the second sound signal are generated based on the audio data to be played and are characterized by the identification information of the audio data to be played that needs to be eliminated. The phase of the second sound signal is opposite to that of the first sound signal, and the amplitude of the second sound signal is the same as that of the first sound signal. In this way, first, the headrest sounding device uses a piezoelectric sound element to generate sound. Since the piezoelectric sound element is small and compact, the volume of the headrest sounding device is reduced. Second, by performing sound insulation treatment on the sounding module, the possibility of sound wave interference is reduced. Third, by determining whether to perform elimination processing on the audio data to be played through the identification information of the audio data to be played, elimination processing is achieved for audio data with high privacy, while normal playback is performed on audio data with general privacy, improving the pertinence of data processing. Finally, by respectively outputting two sound signals with the same amplitude and opposite phases from the two sounding modules, the two sound signals will automatically cancel each other out when converging in front of the head, effectively reducing the possibility of privacy leakage and also reducing the impact on people in other positions.

[0010] Another object of the present application is to provide an audio signal processing system, which has the advantage that the audio signal processing system includes a control device and a sound generating device communicatively connected to the control device. The sound generating device includes a headrest sound generating device, and the control device is configured to execute any one of the above audio signal processing methods. Thus, firstly, the headrest sound generating device uses a piezoelectric sound element to generate sound. Since the piezoelectric sound element is small, the volume of the headrest sound generating device is reduced. Secondly, it is determined whether to perform elimination processing on the audio data to be played through the identification information of the audio data to be played, so as to realize the elimination processing of audio data with high privacy, and at the same time, the audio data with general privacy is normally played, improving the pertinence of data processing. Finally, two sound signal output modules respectively output two sound signals with the same amplitude and opposite phases, so that when these two sound signals converge in front of the head, they will automatically cancel each other out, effectively reducing the possibility of privacy leakage and also reducing the impact on people in other positions.

[0011] Another object of the present application is to provide an audio signal processing system, which has the advantage that the sound generating device further includes a first acquisition module and a second acquisition module. The first acquisition module is configured to acquire a first reflected sound signal; the second acquisition module is configured to acquire a second reflected sound signal; the control device is further configured to determine a sound pressure change value based on the first reflected sound signal and the second reflected sound signal, and adjust the output power of the first sound output module and the output power of the second sound output module based on the sound pressure change value. Thus, it is ensured that the sound pressure at the human ear always remains unchanged, and the dynamic balance of the sound fields on both sides is achieved.

[0012] Another object of the present application is to provide a vehicle, which has the advantage that the vehicle includes the above-mentioned sound generating device or any one of the above audio signal processing systems. Thus, firstly, the headrest sound generating device uses a piezoelectric sound element to generate sound. Since the piezoelectric sound element is small, the volume of the headrest sound generating device is reduced. Secondly, it is determined whether to perform elimination processing on the audio data to be played through the identification information of the audio data to be played, so as to realize the elimination processing of audio data with high privacy, and at the same time, the audio data with general privacy is normally played, improving the pertinence of data processing. Finally, two sound signal output modules respectively output two sound signals with the same amplitude and opposite phases, so that when these two sound signals converge in front of the head, they will automatically cancel each other out, effectively reducing the possibility of privacy leakage and also reducing the impact on people in other positions.

[0013] Another object of the present application is to provide an electronic device, which has the advantage that the electronic device includes a processor and a memory, the memory stores a computer program that can run on the processor, and when the processor executes the computer program, the above-mentioned any audio signal processing method is implemented. In this way, first, the headrest sound generating device uses a piezoelectric sound element to generate sound. Since the piezoelectric sound element is small, the volume of the headrest sound generating device is reduced; second, it is determined whether to perform elimination processing on the audio data to be played through the identification information of the audio data to be played, so as to implement the elimination processing on the audio data with higher privacy, and at the same time play the audio data with general privacy normally, improving the pertinence of data processing; finally, two sound signals with the same amplitude and opposite phases are respectively output by two sound generating modules, so that when these two sound signals converge in front of the head, they will automatically achieve reverse cancellation, effectively reducing the possibility of privacy leakage and at the same time reducing the impact on people in other positions.

[0014] Another object of the present application is to provide a computer-readable storage medium, which has the advantage that a computer program is stored thereon, and when the computer program is executed by a processor, the above-mentioned any audio signal processing method is implemented. In this way, first, the headrest sound generating device uses a piezoelectric sound element to generate sound. Since the piezoelectric sound element is small, the volume of the headrest sound generating device is reduced; second, it is determined whether to perform elimination processing on the audio data to be played through the identification information of the audio data to be played, so as to implement the elimination processing on the audio data with higher privacy, and at the same time play the audio data with general privacy normally, improving the pertinence of data processing; finally, two sound signals with the same amplitude and opposite phases are respectively output by two sound generating modules, so that when these two sound signals converge in front of the head, they will automatically achieve reverse cancellation, effectively reducing the possibility of privacy leakage and at the same time reducing the impact on people in other positions.

[0015] To achieve the above object, the technical solution of the embodiment of the present application is implemented as follows:

[0016] On the one hand, the embodiment of the present application provides an audio signal processing method, and the method includes:

[0017] Parse the audio data to be played to obtain the identification information of the audio data to be played;

[0018] In response to the identification information of the audio data to be played indicating that elimination processing is required, generate a first sound signal and a second sound signal based on the audio data to be played; wherein, the phase of the first sound signal is opposite to the phase of the second sound signal, and the amplitude of the first sound signal is the same as the amplitude of the second sound signal;

[0019] Control the first sound module of the preset headrest sound generating device to output the first sound signal;

[0020] Control the second sound module of the headrest sound generating device to output the second sound signal;

[0021] Wherein, both the first sound module and the second sound module generate sounds based on piezoelectric sound elements, and the structures of the first sound module and the second sound module are symmetrical.

[0022] On the other hand, an embodiment of the present application provides a sound generating device, including a headrest sound generating device, the headrest sound generating device includes a first sound module and a second sound module after sound insulation treatment, the first sound module includes a first sound cavity, a first sound generating component located in the first sound cavity, and a first sound duct communicating with the first sound cavity, the first sound generating component includes a first sound generating panel and a first piezoelectric sound element located on the first sound generating panel, the second sound module includes a second sound cavity, a second sound generating component located in the second sound cavity, and a second sound duct communicating with the second sound cavity, the second sound generating component includes a second sound generating panel and a second piezoelectric sound element located on the second sound generating panel, wherein:

[0023] The first sound generating component is configured to generate a first sound signal by using the first piezoelectric sound element and transmit it to the first sound duct through the first sound cavity;

[0024] One end of the first sound duct is connected to the first sound cavity, and the other end is formed with an opening for emitting sound to a second object, and is configured to transmit the first sound signal to the second object;

[0025] The second sound generating component is configured to generate a second sound signal by using the second piezoelectric sound element and transmit it to the second sound duct through the second sound cavity;

[0026] One end of the second sound duct is connected to the second sound cavity, and the other end is formed with an opening for emitting sound to the second object, and is configured to transmit the second sound signal to the second object;

[0027] Wherein, both the first sound signal and the second sound signal are generated based on the to-be-played audio data in response to the identification information indicating that elimination processing is required, the phase of the second sound signal is opposite to the phase of the first sound signal, and the amplitude of the second sound signal is the same as the amplitude of the first sound signal.

[0028] On the other hand, an embodiment of the present application provides an audio signal processing system, including a control device and a sound generating device communicatively connected to the control device. The sound generating device includes a headrest sound generating device, where:

[0029] The control device is configured to execute the audio signal processing method described in any one of the above.

[0030] On the other hand, an embodiment of the present application provides a vehicle, including the sound generating device described in any one of the above, or the audio signal processing system described in any one of the above.

[0031] On the other hand, an embodiment of the present application provides an electronic device, including a processor and a memory. The memory stores a computer program that can run on the processor, and when the processor executes the computer program, the above method is implemented.

[0032] On the other hand, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above method is implemented.

[0033] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and do not limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification. These drawings illustrate embodiments consistent with the present application and, together with the specification, are used to explain the technical solutions of the present application.

[0035] Figure 1 It is a schematic diagram of the implementation process of an audio signal processing method provided by an embodiment of the present application;

[0036] Figure 2 It is a schematic diagram of the implementation process of an audio signal processing method provided by an embodiment of the present application;

[0037] Figure 3 It is a schematic diagram of the implementation process of an audio signal processing method provided by an embodiment of the present application;

[0038] Figure 4 It is a schematic diagram of sound pressure provided by an embodiment of the present application;

[0039] Figure 5 It is a schematic diagram of sound pressure provided by an embodiment of the present application;

[0040] Figure 6 It is a schematic diagram of the implementation process of an audio signal processing method provided by an embodiment of the present application;

[0041] Figure 7Schematic diagram of the implementation process of an audio signal processing method provided by an embodiment of the present application;

[0042] Figure 8 Schematic diagram of the implementation process of an audio signal processing method provided by an embodiment of the present application;

[0043] Figure 9 Schematic diagram of the composition structure of a sound - producing device provided by an embodiment of the present application;

[0044] Figure 10 Schematic diagram of the composition structure of a sound - producing device provided by an embodiment of the present application;

[0045] Figure 11 Schematic diagram of the sound at the human ear provided by an embodiment of the present application;

[0046] Figure 12 Schematic diagram of the composition structure of an audio signal processing system provided by an embodiment of the present application;

[0047] Figure 13 Schematic diagram of the composition structure of an audio signal processing system provided by an embodiment of the present application. Detailed implementation manners

[0048] In order to make the objectives, technical solutions, and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on the present application. All other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of the present application.

[0049] In the following description, "some embodiments" are described, which represent a subset of all possible embodiments. However, it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and they can be combined with each other without conflict.

[0050] In the following description, the terms "first / second / third" are only used to distinguish similar objects and do not represent a specific order for the objects. It can be understood that "first / second / third" can be interchanged in a specific order or sequence when permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0051] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0052] In the related art, for a headrest sound - generating device on a vehicle seat, since the headrest sound - generating device can output various sound signals (for example, music, calls, voice messages, navigation, etc.), and when it generates sound, people in other positions can still hear the sound signal, there are problems such as privacy leakage and poor privacy.

[0053] In order to reduce the possibility of privacy leakage and reduce the impact on people in other positions, the present application provides an audio signal processing method, which can be processed and executed by an in - vehicle computer device. Here, the computer device can refer to a car machine, a laptop, a tablet computer, a desktop computer, a mobile device (such as a mobile phone, a portable video player, a personal digital assistant, a dedicated messaging device, a portable game device), etc., which are devices with data - processing capabilities.

[0054] Next, with reference to the accompanying drawings in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described.

[0055] Figure 1 It is a schematic flowchart of the implementation of an audio signal processing method provided by an embodiment of the present application. As Figure 1 shown, the method includes steps S11 to S14, where:

[0056] Step S11: Analyze the audio data to be played to obtain the identification information of the audio data to be played.

[0057] Here, the audio data to be played can be any suitable audio data. For example, music, radio, navigation, video, calls, etc. Among them, the call can include, but is not limited to, telephone, audio - video data of communication applications (such as audio - video calls, voice messages, etc.).

[0058] Different audio data can have the same identification information or different identification information. In some embodiments, different audio data can have different identification information. During implementation, corresponding identification information can be set for each audio data, and the identification information can be any suitable identification. For example, for music, its identification information can be the first identification; for radio, its identification information can be the second identification; for calls, its identification information can be the third identification; for video, its identification information can be the fourth identification.

[0059] In some embodiments, various audio data are classified according to privacy, and audio data of the same category has the same identification information, while audio data of different categories has different identification information. For example, for audio data with high privacy, its identification information can be the first identification; for audio data with relatively high privacy, its identification information can be the second identification; for audio data with general privacy, its identification information can be the third identification. In implementation, those skilled in the art can set the relationship between more or fewer levels and identification information according to actual needs, and the embodiments of the present application do not make limitations.

[0060] In some embodiments, the privacy of various audio data can be set through preset rules. Among them, the preset rules can include but are not limited to default configuration, customization, user preferences, etc. For example, a configuration interface is provided for setting the privacy of different audio data. For instance, if the privacy of the audio data of calls and navigation is set to high, then the audio data of calls and navigation has the same identification information; if the privacy of the audio data such as music, video, and radio is set to general, then the audio data such as music, video, and radio has the same identification information.

[0061] Step S12: In response to the identification information of the to-be-played audio data indicating that elimination processing is required, generate a first sound signal and a second sound signal based on the to-be-played audio data; wherein, the phase of the first sound signal is opposite to the phase of the second sound signal, and the amplitude of the first sound signal is the same as the amplitude of the second sound signal.

[0062] Here, the elimination processing means that it is necessary to perform reverse elimination processing on the sound signal generated by the audio data. In implementation, through this identification information, it can be determined whether the audio data needs to be subjected to elimination processing. In some embodiments, if the identification information is the preset identification information, it indicates that the audio data needs to be subjected to elimination processing; conversely, if the identification information is not the preset identification information, it indicates that the audio data does not need to be subjected to elimination processing. In implementation, generally, for audio data with high privacy, elimination processing is required, then this preset identification information can be the identification information of the audio data with high privacy.

[0063] The first sound signal and the second sound signal are the sound signals to be output. In implementation, the to-be-played audio data can be first converted into the corresponding sound signal, and then the first sound signal and the second sound signal are obtained based on this sound signal. Among them, the first sound signal can be this sound signal, that is: the amplitude and phase of the first sound signal are the same as those of this sound signal, and the second sound signal can be the reverse signal of this sound signal, that is: the amplitude of the second sound signal is the same as that of this sound signal, but the phase of the second sound signal is opposite to the phase of this sound signal.

[0064] Step S13: Control the first sound generating module of the preset headrest sound generating device to output the first sound signal.

[0065] Here, the headrest sound generating device at least includes the first sound generating module. The first sound generating module refers to the sound generating module on one side. For example, the left side or the right side. The first sound generating module can be any suitable module that generates sound based on a piezoelectric sound element. The embodiment of the present application does not limit the structure of the first sound generating module.

[0066] For example, the first sound generating module may include, but is not limited to, a first sound cavity, a first sound generating component located in the first sound cavity, and a first sound conduit communicating with the first sound cavity, etc. Among them, the first sound generating component generates the first sound signal by generating sound based on a piezoelectric sound element, and transmits it to the first sound conduit through the first sound cavity. The first sound cavity is mainly used to amplify and adjust the first sound signal, so that it is transmitted to the second object with a higher sound pressure, and enhance and compensate the frequency characteristics of the sound within the frequency response range. The first sound conduit is mainly used to concentrate and direct the first sound signal, and increase the loudness of the sound and improve the timbre characteristics acoustically. During implementation, one end of the first sound conduit is connected to the first sound cavity, and the other end is formed with an opening for emitting sound to the second object, and the first sound signal is transmitted to the second object through this opening. Among them, the second object can be any suitable object, for example, a human ear. In some implementation manners, the opening of the first sound conduit should be as close to and aligned with the second object as possible, and the size of the opening needs to be appropriate. If the opening is too large, the sound will escape outside the ear, and if the opening is too small, the sound cannot be sent to the second object when the head moves.

[0067] Step S14: Control the second sound generating module of the headrest sound generating device to output the second sound signal; wherein, both the first sound generating module and the second sound generating module generate sound based on piezoelectric sound elements, and the structures of the first sound generating module and the second sound generating module are symmetrical.

[0068] Here, the headrest sound generating device further at least includes the second sound generating module. The second sound generating module refers to the sound generating module on the other side. For example, the right side or the left side. During implementation, the first sound generating module and the second sound generating module refer to the sound generating modules on different sides. The second sound generating module can be any suitable module that generates sound based on a piezoelectric sound element. The embodiment of the present application does not limit the structure of the second sound generating module.

[0069] For example, the second sound - emitting module has the same structure as the first sound - emitting module, that is: the second sound - emitting module may include, but is not limited to, a second sound cavity, a second sound - emitting component located in the second sound cavity, and a second sound conduit communicating with the second sound cavity, etc. Among them, the second sound - emitting component generates a second sound signal based on a piezoelectric sound element and transmits it to the second sound conduit through the second sound cavity. The second sound cavity is mainly used to amplify and adjust the second sound signal so that it is transmitted to the second object with a higher sound pressure and enhance and compensate the frequency characteristics of the sound within the frequency response range. The second sound conduit is mainly used to concentrate and direct the second sound signal, increasing the loudness of the sound and improving the timbre characteristics acoustically. During implementation, one end of the second sound conduit is connected to the second sound cavity, and the other end is formed with an opening for emitting sound to the second object, and the second sound signal is transmitted to the second object through this opening. In some embodiments, the opening of the second sound conduit should be as close to and aligned with the second object as possible, and the size of the opening needs to be appropriate. If the opening is too large, the sound will escape outside the ear, and if the opening is too small, the sound cannot be sent to the second object when the head moves.

[0070] In the embodiments of the present application, by parsing the audio data to be played, the identification information of the audio data to be played is obtained; in response to the identification information of the audio data to be played indicating that elimination processing is required, based on the audio data to be played, a first sound signal and a second sound signal are generated; wherein, the phase of the first sound signal is opposite to the phase of the second sound signal, and the amplitude of the first sound signal is the same as the amplitude of the second sound signal; controlling the first sound - emitting module of the preset headrest sound - emitting device to output the first sound signal; controlling the second sound - emitting module of the headrest sound - emitting device to output the second sound signal; wherein, both the first sound - emitting module and the second sound - emitting module are based on piezoelectric sound elements for sound emission, and the structures of the first sound - emitting module and the second sound - emitting module are symmetrical. In this way, first, the headrest sound - emitting device uses piezoelectric sound elements for sound emission. Since piezoelectric sound elements are small, the volume of the headrest sound - emitting device is reduced; second, by determining whether to perform elimination processing on the audio data to be played through the identification information of the audio data to be played, the elimination processing of audio data with higher privacy is realized, and at the same time, the audio data with general privacy is normally played, improving the pertinence of data processing; finally, by respectively outputting two sound signals with the same amplitude and opposite phases by two sound - emitting modules, the two sound signals will automatically cancel each other out when converging in front of the head, effectively reducing the possibility of privacy leakage and also reducing the impact on people in other positions.

[0071] Figure 2 The implementation flow diagram of an audio signal processing method provided by the embodiments of the present application is based on Figure 1 After step S11,Figure 1 The method further includes step S15 of combining Figure 2 The steps shown will be described, where:

[0072] Step S15: In response to the identification information of the audio data to be played indicating that the cancellation process is not required, control the target sound generation module to output the sound signal of the corresponding channel of the audio data to be played; wherein, the target sound generation module includes at least one of the following: the first sound generation module, the second sound generation module.

[0073] Here, when the cancellation process is not required for the audio data to be played, the sound signal of the corresponding channel of the audio data to be played can be played normally. For example, if the audio data to be played is stereo music, the left and right channel sound signals can be output respectively by using the first sound generation module and the second sound generation module.

[0074] In the embodiment of the present application, when it is determined through the identification information of the audio data that the cancellation process is not required, the corresponding sound signal is normally output, realizing the normal playback of audio data with general privacy and improving the pertinence of data processing.

[0075] Figure 3 is a schematic flowchart of the implementation process of an audio signal processing method provided by an embodiment of the present application. Based on Figure 1 , Figure 1 The method further includes steps S161 to S162 of combining Figure 3 The steps shown will be described, where:

[0076] Step S161: Based on the first reflected sound signal obtained by a preset first acquisition module and the second reflected sound signal obtained by a preset second acquisition module, determine the sound pressure change value; wherein, the distance between the first acquisition module and the first sound generation module satisfies a preset condition, the first reflected sound signal is a signal formed after the first sound signal output by the first sound generation module is reflected by a first object, the distance between the second acquisition module and the second sound generation module satisfies the preset condition, the second reflected sound signal is a signal formed after the second sound signal output by the second sound generation module is reflected by the first object, the sound pressure change value includes the first sound pressure change value of the first acquisition module and the second sound pressure change value of the second acquisition module, or the third sound pressure change value between the first acquisition module and the second acquisition module.

[0077] Here, the acquisition module (including the first acquisition module and the second acquisition module) can be any suitable module capable of implementing the function of sound acquisition. For example, a microphone. The preset condition can be any suitable condition, such as not greater than a preset distance threshold. The distance threshold can be any suitable value, such as 3 cm, 5 cm or other values, etc. In some embodiments, the first acquisition module can be installed a few centimeters behind the opening of the first sound conduit in the first sound generation module, and the second acquisition module can be installed a few centimeters behind the opening of the second sound conduit in the second sound generation module. The first object can be any suitable object, such as a human face.

[0078] In some embodiments, the sound pressure at the human ear where the sound signal emitted by the sound generation module arrives is determined based on the sensitivity of the sound generation module, the output power of the sound generation module, and the distance between the opening of the sound conduit of the sound generation module and the corresponding human ear side. Among them, the sound generation module includes the first sound generation module or the second sound generation module. During implementation, the sound pressure at the human ear where the first sound signal emitted by the first sound generation module arrives is determined based on the sensitivity of the first sound generation module, the output power of the first sound generation module, and the distance between the opening of the first sound conduit of the first sound generation module and the corresponding human ear side. The sound pressure at the human ear where the second sound signal emitted by the second sound generation module arrives is determined based on the sensitivity of the second sound generation module, the output power of the second sound generation module, and the distance between the opening of the second sound conduit of the second sound generation module and the corresponding human ear side.

[0079] In some embodiments, the sound pressure SP at the human ear can be determined by the following formula (1-1), that is:

[0080] SP = SS + 10log 10 P - 20log 10 L (1-1);

[0081] Among them, SS is the sensitivity of the sound generation module, P is the output power of the sound generation module, and L is the distance between the opening of the sound conduit of the sound generation module and the corresponding human ear side.

[0082] In some embodiments, the sound pressure determined after the acquisition module obtains the reflected sound signal (i.e., the reflected sound pressure received by the acquisition module) is determined based on the sound pressure at the corresponding human ear, the reflection sensitivity of the corresponding side of the human face, and the distance between the side of the human face and the acquisition module. Among them, the acquisition module includes a first acquisition module or a second acquisition module. During implementation, the sound pressure determined after the first acquisition module obtains the first reflected sound signal (i.e., the reflected sound pressure received by the first acquisition module) is determined based on the sound pressure at the corresponding human ear, the reflection sensitivity of the corresponding side of the human face, and the distance between the side of the human face and the first acquisition module. The sound pressure determined after the second acquisition module (i.e., the reflected sound pressure received by the second acquisition module) obtains the second reflected sound signal is determined based on the sound pressure at the corresponding human ear, the reflection sensitivity of the corresponding side of the human face, and the distance between the side of the human face and the second acquisition module.

[0083] In some embodiments, the sound pressure SP1 determined after the acquisition module obtains the reflected sound signal can be determined by the following formula (1-2), that is:

[0084] SP1 = SP + SF - 20log 10 L1 (1-2);

[0085] Among them, SP is the sound pressure at the corresponding human ear, SF is the reflection sensitivity of the corresponding side of the human face, and L1 is the distance between the side of the human face and the acquisition module. The SF is related to the reflection material and the size of the side reflection area, and is generally negative.

[0086] In some embodiments, since the sound conduit of the acquisition module is close to the sound conduit of the sound generation module, therefore, the L1 can be the distance between the opening of the sound conduit of the sound generation module and the corresponding human ear side.

[0087] The sound pressure change value refers to the change value between two sound pressures. Among them, the first sound pressure change value can be the difference between the reflected sound pressure received by the first acquisition module and the first predicted sound pressure, that is: the reflected sound pressure received by the first acquisition module - the first predicted sound pressure. The second sound pressure change value can be the difference between the reflected sound pressure received by the second acquisition module and the second predicted sound pressure, that is: the transmitted sound pressure received by the second acquisition module - the second predicted sound pressure. The third sound pressure change value is the difference between the reflected sound pressure received by the first acquisition module and the reflected sound pressure received by the second acquisition module. Among them, the first predicted sound pressure refers to the reflected sound pressure predicted by the control device based on the distance between the head and the first acquisition module and the current output power of the first sound generation module. The second predicted sound pressure refers to the reflected sound pressure predicted by the control device based on the distance between the head and the second acquisition module and the current output power of the second sound generation module.

[0088] Figure 4Schematic diagram of sound pressure provided by an embodiment of the present application, as shown in Figure 4 shown, the head is located at the middle position (i.e., the center) of the headrest sound - generating device. The distance between the first sound - generating module 11 and the right ear of the head 12, and the distance between the first acquisition module and the right side of the face are both A. Then, according to the above formula (1 - 1), the sound pressure SP at the right ear 12 can be obtained as 右 :

[0089] SS 右 +10log 10 P 右 -20log 10 A;

[0090] According to the above formula (1 - 2), the reflected sound pressure SP1 received by the first acquisition module 13 can be obtained as 右 :

[0091] SP 右 +SF 右 -20log 10 A=SS 右 +10log 10 P 右 -20log 10 A+SF 右 -20log 10 A=SS 右 +10log 10 P 右 +SF 右 -40log 10 A.

[0092] Similarly, if the distance between the second sound - generating module and the left ear of the head, and the distance between the second acquisition module and the left side of the face are also both B, then, according to the above formula (1 - 1), the sound pressure SP at the left ear can be obtained as 左 :

[0093] SS 左 +10log 10 P 左 -20log 10 B;

[0094] According to the above formula (1 - 2), the reflected sound pressure SP1 received by the second acquisition module can be obtained as 左 :

[0095] SP 左 +SF 左 -20log 10 B=SS 左 +10log 10 P 左-20log 10 B + SF 左 -20log 10 B = SS 左 +10log 10 P 左 + SF 左 -40log 10 B。

[0096] When the head is located in the middle of the headrest sound - generating device, that is: A = B. Since the component structures of the first sound - generating module and the second sound - generating module are exactly the same, therefore, the sensitivities of the first sound - generating module and the second sound - generating module are the same, that is: SS 左 = SS 右 ; When the head is located in the middle of the headrest sound - generating device, the output powers of the first sound - generating module and the second sound - generating module can be set to be the same, that is: P 左 = P 右 ; Since it is the head of the same person, therefore, the reflection sensitivities on both sides of the left and right faces are also the same, that is: SF 左 = SF 右 , then, when the head is located in the middle of the headrest sound - generating device, the sound pressure SP1 determined after the first acquisition module obtains the first reflected sound signal 右 and the sound pressure SP1 determined after the second acquisition module obtains the second reflected sound signal 左 The difference ΔSP3 between them can be expressed as:

[0097] ΔSP3 = SP1 左 - SP1 右 =(SS 左 +10log 10 P 左 + SF 左 -40log 10 B)-(SS 右 +10log 10 P 右 + SF 右 -40log 10 A)=0。

[0098] When the head is located in the middle position of the headrest sound - generating device, the sound pressures determined after the two acquisition modules (that is: the first acquisition module and the second acquisition module) obtain the reflected sound signals are the same. If the head deviates (to the left or right), the sound pressures determined after the two acquisition modules obtain the reflected sound signals will change, making the two sound pressures different.

[0099] Step S162, based on the sound - pressure change value, adjust the output powers of the first sound - generating module and the second sound - generating module.

[0100] Here, the output power of the first sound - generating module can be increased, decreased, or remain unchanged. The output power of the second sound - generating module can also be increased, decreased, or remain unchanged.

[0101] In some embodiments, according to the above - mentioned formula (1 - 1) and formula (1 - 2), since the sensitivity SS of the sound - generating module and the face - corresponding side reflection sensitivity SF are fixed values, then, the reflected sound pressure SP1 received by the acquisition device is related to the distance L (i.e., the distance between the acquisition device and the corresponding side face) and the output power P of the sound - generating module.

[0102] According to Figure 4 the content shown, it can be known that the reflected sound pressure SP1 received by the first acquisition module 右 = SS 右 + 10log 10 P 右 + SF 右 - 40log 10 A. Since the control device knows this SS 右 , P 右 and SF 右 , then, according to the SP1 右 obtained by the first acquisition module, A can be calculated. During implementation, in order to ensure that the magnitude of the input sound pressure SP 右 at the right - ear of the person remains unchanged, that is: SP 右新 = SP 右原 , that is:

[0103] SP 右新 - SP 右原 = SS 右 + 10log 10 P 右新 - 20log 10 A-(SS 右 + 10log 10 P 右原 - 20log 10 A 原 ) = 10log 10 P 右新 - 10log 10 P 右原 + 20log 10 A 原 - 20log 10 A = 0;

[0104] Then, P 右新 * A 原 2 = P 右原 * A 2 , that is: Among them, P右原 is the reference output power of the first sound - generating module, A 原 When the output power of the first sound - generating module is the reference output power, it is the distance between the first sound - generating module 11 and the right ear of the head 12. The reference output power of the first sound - generating module is related to the sound - source signal corresponding to the audio data to be played. For example, the reference output power of the first sound - generating module can be a preset multiple of the volume of the sound - source signal.

[0105] Thus, it can be known that the control device can be based on P 右原 、A 原 and A, and then can estimate the target output power of the first acquisition module (i.e., P 右新 ), and thus, based on this SS 右 、the target output power of the first acquisition module, SF 右 and A, can obtain the first predicted sound pressure SP1 预测右 , that is:

[0106] SP1 预测右 =SS 右 +10log 10 P 目标右 +SF 右 -40log 10 A;

[0107] Then, during implementation, by comparing the transmitted sound pressure SP1 右 received by the first acquisition module with the first predicted sound pressure SP1 预测右 (i.e., the first sound - pressure change value), the adjustment direction of the output power of the first sound - generating module (i.e., turn up or turn down) can be obtained. For example, if the first sound - pressure change value is positive, it indicates that SP1 右 is greater than SP1 预测右 . At this time, the output power of the first sound - generating module can be turned down so that the first sound - pressure change value is not greater than the preset threshold; if the first sound - pressure change value is negative, it indicates that SP1 右 is less than SP1 预测右 . At this time, the output power of the first sound - generating module can be turned up so that the absolute value of the first sound - pressure change value is not greater than the preset threshold.

[0108] Similarly, according to Figure 4 as shown, it can be known that the reflected sound pressure SP1 左 received by the second acquisition module =SS 左 +10log 10 P 左 +SF 左 -40log 10 B. Since the control device already knows this SS 左 、P 左and SF 左 Then, according to SP1 obtained by the second acquisition module 左 , B can be calculated. During implementation, to ensure that the magnitude of the input sound pressure SP 左 at the left human ear remains unchanged, that is: SP 左新 = SP 左原 , that is:

[0109] SP 左新 - SP 左原 = SS 左 + 10log 10 P 左新 - 20log 10 B - (SS 左 + 10log 10 P 左原 - 20log 10 B 原 ) = 10log 10 P 左新 - 10log 10 P 左原 + 20log 10 B 原 - 20log 10 B = 0;

[0110] Then, P 左新 * B 原 2 = P 左原 * B 2 , that is: Among them, P 左原 is the reference output power of the second sound - generating module, and B 原 is the distance between the second sound - generating module and the left human ear of the head when the output power of the second sound - generating module is the reference output power. The reference output power of this second sound - generating module is related to the sound source signal corresponding to the audio data to be played. For example, the reference output power of this second sound - generating module can be a preset multiple of the volume of the sound source signal.

[0111] It can be seen from this that the control device can, according to P 左原 , B 原 and B, infer the target output power of the second acquisition module (that is: P 左新 ), and thus, according to this SS 左 , the target output power of the second acquisition module, SF 左 and B, obtain the second predicted sound pressure SP1 预测左 , that is:

[0112] SP1 预测左 = SS 左 + 10log10 P 左新 +SF 左 -40log 10 B;

[0113] Then, during implementation, by comparing the transmitted sound pressure SP1 received by the second acquisition module 左 with the predicted sound pressure SP1 预测左 (i.e., the second sound pressure change value), the adjustment direction of the output power of the second sound generation module (i.e., increase or decrease) can be obtained. For example, if the second sound pressure change value is positive, it indicates that SP1 左 is greater than SP1 预测左 . At this time, the output power of the second sound generation module can be reduced so that the second sound pressure change value is not greater than the preset threshold; if the second sound pressure change value is negative, it indicates that SP1 左 is less than SP1 预测左 . At this time, the output power of the second sound generation module can be increased so that the absolute value of the second sound pressure change value is not greater than the preset threshold.

[0114] In some embodiments, the acquisition module analyzes the received reflected sound pressure to obtain a corresponding first electrical signal that changes with time, and transmits the first electrical signal to the control device. The control device first synchronizes the first electrical signal and the predicted value of the second electrical signal (obtained by analyzing the predicted reflected sound pressure). If the first electrical signal and the second electrical signal are similar, then the adjustment direction of the output power of the sound generation module (i.e., increase or decrease) is determined according to the amplitude of the first electrical signal and the amplitude of the second electrical signal.

[0115] For example, if the amplitude of the first electrical signal is greater than the amplitude of the second electrical signal, the output power of the sound generation module on that side can be reduced, so that the sound pressure output from the sound guide tube on that side to the human ear side is reduced.

[0116] For another example, if the amplitude of the first electrical signal is less than the amplitude of the second electrical signal, the output power of the sound generation module on that side can be increased, so that the sound pressure output from the sound guide tube on that side to the human ear side is increased.

[0117] In some embodiments, if the first sound pressure change value is close to 0, it indicates that there is basically no change between the corresponding two sound pressures. At this time, the output power of the first sound generation module can be not adjusted. Similarly, if the second sound pressure change value is close to 0, it indicates that there is basically no change between the corresponding two sound pressures. At this time, the output power of the second sound generation module can be not adjusted.

[0118] In some embodiments, if the first sound pressure change value is positive (i.e., the transmitted sound pressure received by the first acquisition module is greater than the first predicted sound pressure) and the second sound pressure change value is negative (i.e., the transmitted sound pressure received by the second acquisition module is less than the second predicted sound pressure), it indicates that the head is close to the first acquisition module, that is, the distance between the opening of the sound guide tube of the first sound generating module and the corresponding ear side becomes smaller, and the distance between the opening of the sound guide tube of the second sound generating module and the corresponding ear side becomes larger. At this time, the output power of the first sound generating module can be reduced, and the output power of the second sound generating module can be increased to ensure that the sound pressure at both ears remains unchanged and achieve the dynamic balance of the sound fields on both sides. Conversely, if the first sound pressure change value is negative (i.e., the transmitted sound pressure received by the first acquisition module is less than the first predicted sound pressure) and the second sound pressure change value is positive (i.e., the transmitted sound pressure received by the second acquisition module is greater than the second predicted sound pressure), it indicates that the head is close to the second acquisition module, that is, the distance between the opening of the sound guide tube of the first sound generating module and the corresponding ear side becomes larger, and the distance between the opening of the sound guide tube of the second sound generating module and the corresponding ear side becomes smaller. At this time, the output power of the first sound generating module can be increased, and the output power of the second sound generating module can be reduced to ensure that the sound pressure at both ears remains unchanged and achieve the dynamic balance of the sound fields on both sides.

[0119] Figure 5 A schematic diagram of sound pressure provided by an embodiment of the present application is shown in Figure 5 As shown, when the head is close to the right side of the headrest sound generating device, the distances between the first sound generating module 11 and the right ear of the head 12, and between the first acquisition module and the right side of the face are both A + a. Then, according to the above formula (1-1), the sound pressure SP at the right ear 12 can be obtained as 右 :

[0120] SS 右 +10log 10 P 右 -20log 10 (A + a);

[0121] According to the above formula (1-2), the reflected sound pressure SP1 received by the first acquisition module 13 can be obtained as 右 :

[0122] SP 右 +SF 右 -20log 10 (A + a) = SS 右 +10log 10 P 右 -20log 10 (A + a) + SF 右 -20log 10 (A + a) = SS 右 +10log10 P 右 +SF 右 -40log 10 (A + a)。

[0123] Similarly, the distances between the second sound - emitting module and the left human ear on the head, and between the second acquisition module and the left - hand side of the face are also both A - a. Then, according to the above formula (1 - 1), the sound pressure SP at the left human ear can be obtained as: 左 as:

[0124] SS 左 +10log 10 P 左 -20log 10 (A - a);

[0125] According to the above formula (1 - 2), the reflected sound pressure SP1 received by the second acquisition module can be obtained as: 左 as:

[0126] SP 左 +SF 左 -20log 10 (A - a) = SS 左 +10log 10 P 左 -20log 10 (A - a)+SF 左 -20log 10 (A - a) = SS 左 +10log 10 P 左 +SF 左 -40log 10 (A - a)。

[0127] In some embodiments, when the sound - pressure change value includes a first sound - pressure change value and a second sound - pressure change value, the output powers of the first sound - emitting module and the second sound - emitting module can be adjusted according to the first sound - pressure change value between SP1 左 and the first predicted sound pressure, and the second sound - pressure change value between SP 右 and the second predicted sound pressure, that is: by adjusting the output power of the first sound - emitting module, when SP1 左 is greater than the first predicted sound pressure, the difference between SP1 左 and the first predicted sound pressure is not greater than a preset threshold, or when SP1 左 is less than the first predicted sound pressure, the absolute value of the difference between SP1 左 and the first predicted sound pressure is not greater than a preset threshold; by adjusting the output power of the second sound - emitting module, when SP 右 is greater than the second predicted sound pressure, SP右 The difference from the second predicted sound pressure is not greater than a preset threshold, or when it is less than the second predicted sound pressure, the absolute value of the difference between SP 右 and the second predicted sound pressure is not greater than the preset threshold. This preset threshold can be any suitable sufficiently small value, for example, 0. 右 The absolute value of the difference between and the second predicted sound pressure is not greater than the preset threshold. This preset threshold can be any suitable sufficiently small value, for example, 0.

[0128] In some embodiments, when the sound pressure change value includes a third sound pressure change value, the output powers of the first sound - generating module and the second sound - generating module can also be adjusted according to the third sound pressure change value ΔSP3 between SP1 左 and SP 右 That is:

[0129] ΔSP3 = SP1 左 - SP 右 =(SS 左 + 10log 10 P 左 + SF 左 - 40log 10 (A - a))-(SS 右 + 10log 10 P 右 + SF 右 - 40log 10 (A + a));

[0130] Since the component structures of the first sound - generating module and the second sound - generating module are exactly the same, the sensitivity of the first sound - generating module is the same as the sensitivity of the second sound - generating module, that is: SS 左 = SS 右 , and since it is the head of the same person, the reflection sensitivities on both sides of the left and right faces are also the same, that is: SF 左 = SF 右 , then, the ΔSP3 can be:

[0131] ΔSP3 = 10log 10 P 左 - 10log 10 P 右 + 40log 10 (A + a)-40log 10 (A - a).

[0132] In the embodiments of the present application, the sound pressure change value is determined from the reflected sound signal acquired by the acquisition device, and the output power of the sound - generating module is adjusted according to the sound pressure change value, ensuring that the sound pressure at the human ear always remains unchanged and achieving the dynamic balance of the sound fields on both sides.

[0133] Figure 6The following is a schematic implementation flowchart of an audio signal processing method provided by an embodiment of the present application. Based on Figure 3 , when the sound pressure change value includes the first sound pressure change value of the first acquisition module and the second sound pressure change value of the second acquisition module, Figure 3 step S162 in Figure 6 can be updated to step S1621 and / or step S1622, which will be described in conjunction with the steps shown in

[0134] Step S1621: When the first sound pressure change value of the first acquisition module is positive and the second sound pressure change value of the second acquisition module is negative, lower the output power of the first sound generation module and increase the output power of the second sound generation module.

[0135] Here, the first sound pressure change value is positive (i.e., the transmitted sound pressure received by the first acquisition module is greater than the first predicted sound pressure), and the second sound pressure change value is negative (i.e., the transmitted sound pressure received by the second acquisition module is less than the second predicted sound pressure), which indicates that the head is close to the first acquisition module, that is, the distance between the opening of the sound duct of the first sound generation module and the corresponding ear side becomes smaller, and the distance between the opening of the sound duct of the second sound generation module and the corresponding ear side becomes larger. At this time, the output power of the first sound generation module can be lowered and the output power of the second sound generation module can be increased. In implementation, by lowering the output power of the first sound generation module until the difference between the transmitted sound pressure received by the first acquisition module and the first predicted sound pressure is not greater than a preset threshold, and by increasing the output power of the second sound generation module until the absolute value of the difference between the transmitted sound pressure received by the second acquisition module and the second predicted sound pressure is not greater than a preset threshold.

[0136] In some embodiments, after lowering the output power of the first sound generation module, based on the new first reflected sound signal acquired by the first acquisition module, a new first sound pressure change value is determined. If the new first sound pressure change value indicates that the difference between the new reflected sound pressure received by the first acquisition module and the new first predicted sound pressure is not greater than the preset threshold, then there is no need to adjust the output power of the first sound generation module. Otherwise, if the new first sound pressure change value indicates that the new reflected sound pressure received by the first acquisition module is greater than the new first predicted sound pressure, then continue to lower the output power of the first sound generation module until the difference between the transmitted sound pressure received by the first acquisition module and the first predicted sound pressure is not greater than the preset threshold.

[0137] Similarly, after increasing the output power of the second sound generating module, based on the new second reflected sound signal acquired by the second acquisition module, a new second sound pressure change value is determined. If the absolute value of the difference between the new reflected sound pressure received by the second acquisition module and the new second predicted sound pressure represented by the new second sound pressure change value is not greater than a preset threshold, then there is no need to further adjust the output power of the second sound generating module. Conversely, if the new second sound pressure change value indicates that the new reflected sound pressure received by the second acquisition module is less than the new second predicted sound pressure, then continue to increase the output power of the second sound generating module until the absolute value of the difference between the transmitted sound pressure received by the second acquisition module and the second predicted sound pressure is not greater than the preset threshold.

[0138] Step S1622: When the first sound pressure change value of the first acquisition module is negative and the second sound pressure change value of the second acquisition module is positive, increase the output power of the first sound generating module and decrease the output power of the second sound generating module.

[0139] Here, the first sound pressure change value being negative and the second sound pressure change value being positive indicates that the head is close to the second acquisition module, that is: the distance between the opening of the sound guide tube of the first sound generating module and the corresponding ear side becomes larger, and the distance between the opening of the sound guide tube of the second sound generating module and the corresponding ear side becomes smaller. At this time, the output power of the first sound generating module can be increased and the output power of the second sound generating module can be decreased. In implementation, by increasing the output power of the first sound generating module until the absolute value of the difference between the transmitted sound pressure received by the first acquisition module and the first predicted sound pressure is not greater than the preset threshold, and by decreasing the output power of the second sound generating module until the difference between the transmitted sound pressure received by the second acquisition module and the second predicted sound pressure is not greater than the preset threshold.

[0140] In the embodiment of the present application, by timely adjusting the output powers of the two sound generating modules when the human head changes (for example, approaching the first sound generating module or approaching the second sound generating module), it is ensured that the sound pressures at both ears remain unchanged, and the dynamic balance of the sound fields on the left and right sides is achieved.

[0141] Figure 7 is a schematic flowchart of the implementation process of an audio signal processing method provided by an embodiment of the present application. Based on Figure 3 , in the case where the sound pressure change value includes the third sound pressure change value between the first acquisition module and the second acquisition module, Figure 3 Step S162 in Figure 7 can be updated to steps S1631 to S1633, and will be described in conjunction with the steps shown in

[0142] Step S1631: Determine a first distance and a second distance based on the third sound pressure change value, where the first distance is the distance between the head and the first acquisition module, and the second distance is the distance between the head and the second acquisition module.

[0143] Here, the third sound pressure change value can be the difference between the reflected sound pressure received by the first acquisition module and the reflected sound pressure received by the second acquisition module. In some embodiments, to keep the sound pressure at both sides of the human ear the same, i.e., SP 左 = SP 右 , then, according to the above formula (1-1) and Figure 5 the content shown:

[0144] SS 左 + 10log 10 P 左 - 20log 10 (A - a)= SS 右 + 10log 10 P 右 - 20log 10 (A + a);

[0145] Since the component structures of the first sound generation module and the second sound generation module are completely the same, therefore, the sensitivities of the first sound generation module and the second sound generation module are the same, i.e., SS 左 = SS 右 , then, 10log 10 P 左 - 10log 10 P 右 = 20log 10 (A - a)- 20log 10 (A + a).

[0146] Then, the third sound pressure change value ΔSP3 can be expressed as:

[0147] ΔSP3 = 10log 10 P 左 - 10log 10 P 右 + 40log 10 (A + a)- 40log 10 (A - a)= 20log 10 (A - a)- 20log 10 (A + a)+ 40log 10 (A + a)- 40log 10 (A - a)= 20log 10 (A + a)- 20log 10 (A - a).

[0148] Therefore, the third sound pressure change value is only related to the first distance and the second distance. Then, when the head position is fixed, the third sound pressure change value is also fixed accordingly. Therefore, the first distance (A + a) and the second distance (A - a) can be obtained.

[0149] Step S1632: Determine the first target output power of the first sound - generating module based on the first distance and the reference output power of the first sound - generating module, and adjust the output power of the first sound - generating module to the first target output power; wherein, the reference output power of the first sound - generating module is the output power of the first sound - generating module when the head is located in the central area of the target sound field of the headrest sound - generating device.

[0150] Here, the reference output power of the first sound - generating module can be obtained by calibration. In some embodiments, the reference output power of the first sound - generating module is related to the sound source signal corresponding to the audio data to be played. For example, the reference output power of the first sound - generating module can be a preset multiple of the volume of the sound source signal. The target sound field refers to the sound field formed by the sound signal output by the headrest sound - generating device.

[0151] According to the above formula (1 - 1) and Figure 5 the content shown, in order to ensure that the magnitude of the sound pressure at the right ear remains unchanged, then:

[0152] SP 右新 =SP 右原 , that is:

[0153] SP 右新 -SP 右原 =10log 10 P 右新 -20log 10 (A + a)-(10log 10 P 右原 -20log 10 A)=10log 10 P 右新 -10log 10 P 右原 +20log 10 A-20log 10 (A + a)=0;

[0154] Then, P 右新 *A 2 =P 右原 *(A + a) 2 , that is: Among them, P 右原 is the reference output power of the first sound - generating module.

[0155] Step S1633: Determine the second target output power of the second sound - emitting module based on the second distance and the reference output power of the second sound - emitting module, and adjust the output power of the second sound - emitting module to the second target output power; wherein, the reference output power of the second sound - emitting module is the output power of the second sound - emitting module when the head is located in the central area of the target sound field of the headrest sound - emitting device.

[0156] Here, the reference output power of the second sound - emitting module can be obtained by calibration. In some embodiments, the reference output power of the second sound - emitting module is related to the sound source signal corresponding to the audio data to be played. For example, the reference output power of the second sound - emitting module can be a preset multiple of the volume of the sound source signal.

[0157] According to the above formula (1 - 1) and Figure 5 the content shown, in order to ensure that the magnitude of the sound pressure at the left human ear remains unchanged, then:

[0158] SP 左新 =SP 左原 , that is:

[0159] SP 左新 -SP 左原 =10log 10 P 左新 -20log 10 (A - a)-(10log 10 P 左原 -20log 10 A)=10log 10 P 左新 -10log 10 P 左原 +20log 10 A - 20log 10 (A - a)=0;

[0160] Then, P 左新 *A 2 =P 左原 *(A - a) 2 , that is: wherein, P 左原 is the reference output power of the second sound - emitting module.

[0161] In the embodiments of the present application, by adjusting the output powers of the two sound - emitting modules in a timely manner when the audio signal to be played changes, the sound pressure at both human ears is ensured to remain unchanged, realizing the dynamic balance of the sound fields on both sides.

[0162] Figure 8The following is a schematic implementation flowchart of an audio signal processing method provided by an embodiment of the present application. Based on Figure 3 , Figure 3 the method further includes step S164, which will be described in combination with Figure 8 the steps shown below, where:

[0163] Step S164: When the amplitudes of both the first reflected sound signal and the second reflected sound signal are not greater than a preset amplitude threshold, adjust the working state of the headrest sound generating device.

[0164] Here, the preset amplitude threshold can be any suitable value. The working state can be any suitable state, for example, an on state, an off state, a mute state, etc. Among them, the on state indicates that the headrest sound generating device can normally output a sound signal. The off state indicates that the headrest sound generating device no longer outputs a sound signal. The mute state indicates that the volume value of the sound signal output by the headrest sound generating device is 0. In implementation, when the amplitudes of both the first reflected sound signal and the second reflected sound signal are less than the amplitude threshold, it indicates that the head is far from the headrest sound generating device. At this time, it is necessary to adjust the working state of the headrest sound generating device to the mute state or the off state.

[0165] In an embodiment of the present application, when the head is far from the headrest sound generating device, the working state of the headrest sound generating device is switched to the mute state or the off state to further ensure the privacy of the sound signal.

[0166] Based on the above embodiments, an embodiment of the present application further provides a sound generating device. Figure 9 The following is a schematic composition structure diagram of a sound generating device provided by an embodiment of the present application. As Figure 9 shown, the sound generating device 20 includes a headrest sound generating device 21. The headrest sound generating device 21 includes a first sound generating module 211 and a second sound generating module 212 after sound insulation treatment. The first sound generating module includes a first sound cavity 2111, a first sound generating component 2112 located in the first sound cavity 2111, and a first sound duct 2113 communicating with the first sound cavity 2111. The first sound generating component 2112 includes a first sound generating panel 21121 and a first piezoelectric sound element 21122 located on the first sound generating panel 21121. The second sound generating module 212 includes a second sound cavity 2121, a second sound generating component 2122 located in the second sound cavity 2121, and a second sound duct 2123 communicating with the second sound cavity 2121. The second sound generating component 2122 includes a second sound generating panel 21221 and a second piezoelectric sound element 21222 located on the second sound generating panel 21221, where:

[0167] The first sound generating component 2112 is configured to generate a first sound signal by using the first piezoelectric sound element 21122 and transmit the first sound signal to the first sound duct 2113 through the first sound cavity 2111;

[0168] One end of the first sound duct 2113 is connected to the first sound cavity 2111, and the other end is formed with an opening for emitting sound to a second object, and is configured to transmit the first sound signal to the second object;

[0169] The second sound generating component 2122 is configured to generate a second sound signal by using the second piezoelectric sound element 21222 and transmit the second sound signal to the second sound duct 2123 through the second sound cavity 2121;

[0170] One end of the second sound duct 2123 is connected to the second sound cavity 2121, and the other end is formed with an opening for emitting sound to the second object, and is configured to transmit the second sound signal to the second object;

[0171] Wherein, both the first sound signal and the second sound signal are generated based on the to-be-played audio data in response to the identification information indicating that cancellation processing is required, the phase of the second sound signal is opposite to that of the first sound signal, and the amplitude of the second sound signal is the same as that of the first sound signal.

[0172] Here, the sound insulation treatment can be any suitable treatment capable of performing the sound insulation function. For example, a sound insulation member is added between the two sound generating modules, where the sound insulation member can be any suitable sound insulation component, such as a sound insulation board, a sound insulation cover, etc. Another example is to respectively surround sound insulation materials such as sound insulation cotton outside the two sound generating modules.

[0173] The first piezoelectric sound element 21122 and the second piezoelectric sound element 21222 can be any suitable elements that generate sound based on piezoelectricity. For example, a piezoelectric sound oscillator.

[0174] The first sound cavity 2111 is mainly configured to amplify and adjust the first sound signal so that it is transmitted to the second object with a higher sound pressure and enhance and compensate the frequency characteristics of the sound within the frequency response range. The second object can be any suitable object, such as a human ear.

[0175] The first sound duct 2113 is mainly configured to concentrate and direct the first sound signal, and increase the loudness of the sound and improve the timbre characteristics acoustically. During implementation, the opening of the first sound duct 2113 should be as close to and aligned with the second object as possible, and the size of the opening needs to be appropriate. If the opening is too large, the sound will escape outside the ear, and if the opening is too small, the sound cannot be sent to the second object when the head moves.

[0176] The second sound cavity 2121 is mainly used to amplify and adjust the second sound signal, so that it is transmitted to the second object with a higher sound pressure, and enhance and compensate the frequency characteristics of the sound within the frequency response range.

[0177] The second sound duct 2123 is mainly used to concentrate and direct the second sound signal, and increase the loudness of the sound and improve the timbre characteristics acoustically. In implementation, the opening of the second sound duct 2123 should be as close to and aligned with the second object as possible, and the size of the opening needs to be appropriate. If the opening is too large, the sound will escape outside the ear, and if the opening is too small, the sound cannot be sent to the second object when the head moves.

[0178] The generation methods of the first sound signal and the second sound signal can refer to the specific implementation manners of the foregoing step S12.

[0179] In some implementation manners, the sound generating device 20 further includes a first acquisition module and a second acquisition module. The distances between the first acquisition module and the first sound generating module, and between the second acquisition module and the second sound generating module both meet preset conditions, where:

[0180] The first acquisition module is used to acquire a first reflected sound signal; wherein, the first reflected sound signal is a signal formed after the first sound signal output by the first sound generating module is reflected by the first object;

[0181] The second acquisition module is used to acquire a second reflected sound signal; wherein, the second reflected sound signal is a signal formed after the second sound signal output by the second sound generating module is reflected by the first object.

[0182] Here, the first / second acquisition module can be any suitable module capable of implementing the sound acquisition function. For example, a microphone. The preset condition can be any suitable condition, for example, not greater than a preset distance threshold. The distance threshold can be any suitable value, for example, 3 cm, 5 cm or other values, etc. In some implementation manners, the first acquisition module can be installed a few centimeters behind the opening of the first sound duct in the first sound generating module, and the second acquisition module can be installed a few centimeters behind the opening of the second sound duct in the second sound generating module.

[0183] In some implementation manners, according to the first reflected sound signal acquired by the first acquisition module and the second reflected sound signal acquired by the second acquisition module, the output powers of the first sound generating module and the second sound generating module are dynamically adjusted to ensure that the sound pressure at both ears remains unchanged, and the dynamic balance of the sound fields on the left and right sides is achieved. In implementation, the specific implementation manners of the foregoing steps S161 to S162 can be referred to.

[0184] Figure 10A schematic diagram of the composition structure of a sound - generating device provided by an embodiment of the present application, as Figure 10 shown, the sound - generating device 20 includes a headrest sound - generating device 21, a first acquisition module 22, and a second acquisition module 23. The headrest sound - generating device 21 includes a first sound - generating module 211 and a second sound - generating module 212 after sound insulation treatment, where:

[0185] The first sound - generating module includes a first sound cavity 2111, a first sound - generating component 2112 located in the first sound cavity 2111, and a first sound conduit 2113 communicating with the first sound cavity 2111. The first sound - generating component 2112 includes a first sound - generating panel 21121 and a first piezoelectric sound element 21122 located on the first sound - generating panel 21121;

[0186] The second sound - generating module 212 includes a second sound cavity 2121, a second sound - generating component 2122 located in the second sound cavity 2121, and a second sound conduit 2123 communicating with the second sound cavity 2121. The second sound - generating component 2122 includes a second sound - generating panel 21221 and a second piezoelectric sound element 21222 located on the second sound - generating panel 21221.

[0187] Figure 11 A schematic diagram of the sound at the human ear provided by an embodiment of the present application, as Figure 11 shown, an opening for emitting sound to the left ear 241 of a person is formed at the other end of the first sound conduit 2113 of the headrest sound - generating device, for transmitting the first sound signal into the left ear 241. An opening for emitting sound to the right ear 242 is formed at the other end of the second sound conduit 2123 of the headrest sound - generating device, for transmitting the second sound signal into the right ear 242.

[0188] In the embodiment of the present application, first, the headrest sound - generating device uses a piezoelectric sound element to generate sound. Since the piezoelectric sound element is small and compact, the volume of the headrest sound - generating device is reduced. Secondly, by performing sound insulation treatment on the sound - generating module, the possibility of sound wave interference is reduced. Thirdly, by determining whether to perform elimination processing on the audio data to be played according to the identification information of the audio data to be played, elimination processing on audio data with high privacy is realized, and at the same time, audio data with general privacy is played normally, improving the pertinence of data processing. Finally, by respectively outputting two sound signals with the same amplitude and opposite phases from two sound - generating modules, the two sound signals will automatically cancel each other out when converging in front of the head, effectively reducing the possibility of privacy leakage and also reducing the impact on people in other positions.

[0189] Based on the above - mentioned embodiment, the embodiment of the present application further provides an audio signal processing system, Figure 11 A schematic diagram of the composition structure of an audio signal processing system provided by an embodiment of the present application, asFigure 11 As shown, the audio signal processing system 30 includes a control device 31 and a sound - generating device 32 communicatively connected to the control device. The sound - generating device 32 includes a headrest sound - generating device 321, where:

[0190] The control device 31 is configured to execute any of the above - mentioned audio signal processing methods.

[0191] Here, the control device can be any suitable device capable of implementing this function. For example, a control chip (such as an SOC, etc.), a signal processor + microprocessor, etc.

[0192] The sound - generating device can refer to any of the above - mentioned sound - generating devices. In some embodiments, the headrest sound - generating device 321 is the sound - generating device 32.

[0193] In some embodiments, the sound - generating device 32 further includes a first acquisition module and a second acquisition module. The distances between the first acquisition module and the first sound - generating module, and between the second acquisition module and the second sound - generating module both meet preset conditions. When there is no head, the first acquisition module cannot obtain the first sound signal output by the first sound - generating module, and the second acquisition module cannot obtain the second sound signal output by the second sound - generating module. Wherein:

[0194] The first acquisition module is configured to obtain a first reflected sound signal. Wherein, the first reflected sound signal is a signal formed after the first sound signal output by the first sound - generating module is reflected by a first object;

[0195] The second acquisition module is configured to obtain a second reflected sound signal. Wherein, the second reflected sound signal is a signal formed after the second sound signal output by the second sound - generating module is reflected by a first object;

[0196] The control device is further configured to determine a sound pressure change value based on the first reflected sound signal and the second reflected sound signal. The sound pressure change value includes a first sound pressure change value of the first acquisition module and a second sound pressure change value of the second acquisition module, or a third sound pressure change value between the first acquisition module and the second acquisition module; and adjust the output power of the first sound - generating module and the output power of the second sound - generating module based on the sound pressure change value.

[0197] Here, when the head is not located at the headrest sound generating device, the first acquisition module and the second acquisition module cannot acquire the corresponding reflected sound signals. Only when the head is located at the headrest sound generating device can the reflected sound signals formed after the sound signals are reflected by the human face be acquired. When implementing, the specific implementation manners of adjusting the output powers of the two sound generating modules can refer to the steps S161 to S162 described above.

[0198] Figure 12 FIG. is a schematic structural diagram of a composition of an audio signal processing system provided by an embodiment of the present application. As Figure 12 shown, the audio signal processing system 30 includes a control device 31 and a sound generating device 32, where:

[0199] The sound generating device 32 includes a headrest sound generating device 321, a first acquisition module 322, and a second acquisition module 323. Among them, the headrest sound generating device 321 includes a first sound generating module 3211 and a second sound generating module 3212;

[0200] The control device 31 includes a digital signal processor 311, a microprocessor 312, and a power amplifier 313. The digital signal processor 311 is used to process the audio data of the vehicle system. The microprocessor 312 is used to process the audio data of the cockpit domain, and transmits the processed sound signals to the first sound generating module 3211 and the second sound generating module 3212 through the power amplifier 313 for output. The digital signal processor 311 is also used to receive the corresponding reflected sound wave signals acquired by the first acquisition module 322 and the second acquisition module 323.

[0201] In the embodiment of the present application, first, the headrest sound generating device uses a piezoelectric sound element to generate sound. Since the piezoelectric sound element is small, the volume of the headrest sound generating device is reduced. Second, the output powers of the corresponding sound generating modules are dynamically adjusted by the reflected sound signals acquired by the two acquisition modules to ensure that the sound pressure at the human ear always remains unchanged, realizing the dynamic balance of the sound fields on both sides. Third, it is determined whether to perform elimination processing on the audio data to be played through the identification information of the audio data to be played, realizing the elimination processing of audio data with high privacy, and at the same time playing the audio data with general privacy normally, improving the pertinence of data processing. Finally, two sound signals with the same amplitude and opposite phases are respectively output by the two sound generating modules, so that when the two sound signals converge in front of the head, they will automatically cancel each other out, effectively reducing the possibility of privacy leakage, and at the same time reducing the impact on the people at other positions.

[0202] It should be noted that in the embodiments of the present application, if the above method is implemented in the form of software function modules and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present application, in essence, or the part that contributes to the related technology, can be embodied in the form of a software product. The software product is stored in a storage medium and includes several instructions for causing an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROMs), magnetic disks, or optical discs. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.

[0203] The embodiments of the present application provide a vehicle, including the sound generating device described in any one of the above, or the audio signal processing system described in any one of the above.

[0204] The embodiments of the present application provide an electronic device, including a memory and a processor. The memory stores a computer program that can run on the processor, and when the processor executes the computer program, the above method is implemented.

[0205] The embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above method is implemented. The computer-readable storage medium can be transient or non-transient.

[0206] The embodiments of the present application provide a computer program product. The computer program product includes a non-transient computer-readable storage medium storing a computer program. When the computer program is read and executed by a computer, part or all of the steps in the above method are implemented. The computer program product can be specifically implemented in a manner of hardware, software, or a combination thereof. In an optional embodiment, the computer program product is specifically embodied as a computer storage medium. In another optional embodiment, the computer program product is specifically embodied as a software product, such as a software development kit (SDK), etc.

[0207] It should be pointed out here that: the descriptions of the above storage medium and device embodiments are similar to the descriptions of the above method embodiments and have similar beneficial effects to the method embodiments. For the technical details not disclosed in the storage medium and device embodiments of the present application, please refer to the descriptions of the method embodiments of the present application for understanding.

[0208] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the "in one embodiment" or "in an embodiment" that appears throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the magnitudes of the serial numbers of the above processes do not mean the order of execution. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The serial numbers of the embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.

[0209] It should be noted that in this text, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including that element.

[0210] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling or communication connection between the components shown or discussed with each other can be through some interfaces. The indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0211] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units; they can be located in one place or distributed to multiple network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0212] In addition, each functional unit in the embodiments of the present application can be all integrated in a processing unit, or each unit can be separately used as a unit, or two or more units can be integrated in one unit; the above integrated units can be implemented in the form of hardware, or in the form of a combination of hardware and software functional units.

[0213] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps including those of the above method embodiments; and the foregoing storage medium includes: various media that can store program codes, such as removable storage devices, read-only memory (ROM), magnetic disks, or optical discs.

[0214] Alternatively, if the above integrated units of the present application are implemented in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence or the part that contributes to the related art, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the various embodiments of the present application. And the foregoing storage medium includes: various media that can store program codes, such as removable storage devices, ROM, magnetic disks, or optical discs.

[0215] The above are only the implementation manners of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered by the protection scope of the present application.

Claims

1. An audio signal processing method, the method comprising: Parsing the audio data to be played to obtain identification information of the audio data to be played; In response to the identification information of the audio data to be played indicating that cancellation processing is required, generating a first sound signal and a second sound signal based on the audio data to be played; wherein, the phase of the first sound signal is opposite to the phase of the second sound signal, and the amplitude of the first sound signal is the same as the amplitude of the second sound signal; Controlling a first sound generating module of a preset headrest sound generating device to output the first sound signal; Controlling a second sound generating module of the headrest sound generating device to output the second sound signal; Wherein, both the first sound generating module and the second sound generating module generate sound based on piezoelectric sound elements, and the structures of the first sound generating module and the second sound generating module are symmetrical.

2. The method according to claim 1, wherein After parsing the audio data to be played to obtain the identification information of the audio data to be played, the method further comprises: In response to the identification information of the audio data to be played indicating that the cancellation processing is not required, controlling a target sound generating module to output a sound signal of a corresponding channel of the audio data to be played; wherein, the target sound generating module includes at least one of the following: the first sound generating module, the second sound generating module.

3. The method according to claim 1 or 2, wherein The method further comprises: Determining a sound pressure change value based on a first reflected sound signal acquired by a preset first acquisition module and a second reflected sound signal acquired by a preset second acquisition module; wherein, the distance between the first acquisition module and the first sound generating module meets a preset condition, the first reflected sound signal is a signal formed by the first sound signal output by the first sound generating module after being reflected by a first object, the distance between the second acquisition module and the second sound generating module meets the preset condition, the second reflected sound signal is a signal formed by the second sound signal output by the second sound generating module after being reflected by the first object, the sound pressure change value includes a first sound pressure change value of the first acquisition module and a second sound pressure change value of the second acquisition module, or a third sound pressure change value between the first acquisition module and the second acquisition module; Adjusting the output power of the first sound generating module and the output power of the second sound generating module based on the sound pressure change value.

4. The method according to claim 3, wherein In the case where the sound pressure change value includes the first sound pressure change value of the first acquisition module and the second sound pressure change value of the second acquisition module, the adjusting the output power of the first sound generating module and the output power of the second sound generating module based on the sound pressure change value includes: In the case where the first sound pressure change value of the first acquisition module is positive and the second sound pressure change value of the second acquisition module is negative, lowering the output power of the first sound generating module and raising the output power of the second sound generating module; In the case where the first sound pressure change value of the first acquisition module is negative and the second sound pressure change value of the second acquisition module is positive, raising the output power of the first sound generating module and lowering the output power of the second sound generating module.

5. The method according to claim 3, wherein When the sound pressure change value includes a third sound pressure change value between the first acquisition module and the second acquisition module, adjusting the output power of the first sound generation module and the output power of the second sound generation module based on the sound pressure change value includes: Determining a first distance and a second distance based on the third sound pressure change value; wherein, the first distance is the distance between the head and the first acquisition module, and the second distance is the distance between the head and the second acquisition module; Determining a first target output power of the first sound generation module based on the first distance and the reference output power of the first sound generation module, and adjusting the output power of the first sound generation module to the first target output power; wherein, the reference output power of the first sound generation module is the output power of the first sound generation module when the head is located in the central region of the target sound field of the headrest sound generating device; Determining a second target output power of the second sound generation module based on the second distance and the reference output power of the second sound generation module, and adjusting the output power of the second sound generation module to the second target output power; wherein, the reference output power of the second sound generation module is the output power of the second sound generation module when the head is located in the central region of the target sound field of the headrest sound generating device.

6. The method according to claim 3, wherein The method further includes: Adjusting the working state of the headrest sound generating device when the amplitudes of the first reflected sound signal and the second reflected sound signal are both not greater than a preset amplitude threshold.

7. A sound generating device, including a headrest sound generating device, the headrest sound generating device includes a first sound generation module and a second sound generation module after sound insulation treatment, the first sound generation module includes a first sound cavity, a first sound generation component located in the first sound cavity, and a first sound duct communicating with the first sound cavity, the first sound generation component includes a first sound generation panel and a first piezoelectric sound element located on the first sound generation panel, the second sound generation module includes a second sound cavity, a second sound generation component located in the second sound cavity, and a second sound duct communicating with the second sound cavity, the second sound generation component includes a second sound generation panel and a second piezoelectric sound element located on the second sound generation panel, wherein: The first sound generation component is configured to generate a first sound signal by using the first piezoelectric sound element and transmit it to the first sound duct through the first sound cavity; One end of the first sound duct is connected to the first sound cavity, and the other end is formed with an opening for emitting sound to a second object, and is configured to transmit the first sound signal to the second object; The second sound generation component is configured to generate a second sound signal by using the second piezoelectric sound element and transmit it to the second sound duct through the second sound cavity; One end of the second sound duct is connected to the second sound cavity, and the other end is formed with an opening for emitting sound to the second object, and is configured to transmit the second sound signal to the second object; Wherein, both the first sound signal and the second sound signal are generated based on the audio data to be played in response to the identification information indicating that cancellation processing is required. The phase of the second sound signal is opposite to that of the first sound signal, and the amplitude of the second sound signal is the same as that of the first sound signal.

8. An audio signal processing system, comprising a control device and a sounding device communicatively connected to the control device. The sounding device includes a headrest sounding device, wherein: The control device is configured to execute the audio signal processing method according to any one of claims 1 to 6.

9. The system according to claim 8, wherein, The sounding device further includes a first acquisition module and a second acquisition module. The distances between the first acquisition module and the first sounding module, and between the second acquisition module and the second sounding module both meet preset conditions. In the absence of a head, the first acquisition module cannot acquire the first sound signal output by the first sounding module, and the second acquisition module cannot acquire the second sound signal output by the second sounding module. Wherein: The first acquisition module is configured to acquire a first reflected sound signal. Wherein, the first reflected sound signal is a signal formed after the first sound signal output by the first sounding module is reflected by a first object. The second acquisition module is configured to acquire a second reflected sound signal. Wherein, the second reflected sound signal is a signal formed after the second sound signal output by the second sounding module is reflected by the first object. The control device is further configured to determine a sound pressure change value based on the first reflected sound signal and the second reflected sound signal. The sound pressure change value includes a first sound pressure change value of the first acquisition module and a second sound pressure change value of the second acquisition module, or a third sound pressure change value between the first acquisition module and the second acquisition module. Based on the sound pressure change value, adjust the output power of the first sounding module and the output power of the second sounding module.

10. A vehicle, comprising the sounding device according to claim 7, or the audio signal processing system according to claim 8 or 9.

11. An electronic device, comprising a processor and a memory. The memory stores a computer program that can run on the processor. When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.

12. A computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.