Audio signal processing method and system, sound production device, vehicle, electronic device, storage medium and computer program product
By analyzing the audio data of the vehicle seat headrest sound device and designing symmetric piezoelectric sound components, audio signals with opposite phases and the same amplitude are generated, which solves the privacy leakage problem of the vehicle seat headrest sound device, and realizes the elimination of private audio data and dynamic balance of sound field.
Patent Information
- Application Number
- PCT/CN2024/070783
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-29
- Filing Date
- 2024-01-05
- Publication Date
- 2025-07-03
AI Technical Summary
The headrest sounding device on the vehicle seat has the problem of privacy leakage when making sounds, especially audio data with high privacy is easily heard by people in other locations.
By analyzing the audio data to be played, first and second sound signals with opposite phases and same amplitudes are generated, and outputted by a symmetrical sound module based on piezoelectric sound elements. The symmetrical structure of the headrest sound device and the compactness of the piezoelectric sound element can be used to realize the removal of audio data with high privacy, and at the same time, the audio data with general privacy is played normally.
It effectively reduces the possibility of privacy leakage, improves the pertinence of audio data processing, reduces the impact on people in other locations, and maintains the balance of the sound field on both sides by dynamically adjusting the output power of the sound module.
Smart Images

Figure CN2024070783_03072025_PF_FP_ABST
Abstract
Description
Audio signal processing method and system, sound generating device, vehicle, electronic device, storage medium and computer program product
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This disclosure is based on the Chinese patent application with application number 202311868126.6, application date December 29, 2023, and invention name “Audio signal processing method and system, sound-emitting device, vehicle and electronic device”, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby introduced into this disclosure as a reference. Technical Field
[0003] The present disclosure relates to, but is not limited to, the field of vehicle technology, and in particular to an audio signal processing method and system, a sound-generating device, a vehicle, an electronic device, a storage medium, and a computer program product. Background Art
[0004] In the related art, there is a problem of privacy leakage when a headrest sound-generating device on a vehicle seat generates sound.
[0005] Summary of the Invention
[0006] One purpose of the present disclosure is to provide an audio signal processing method, the advantage of which is that identification information of the audio data to be played is obtained by parsing the audio data to be played; in response to the identification information representation of the audio data to be played needing to be eliminated, a first sound signal and a second sound signal are generated 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; the first sound module of a preset headrest sound-emitting device is controlled to output the first sound signal; and the second sound module of the headrest sound-emitting device is controlled to output the second sound signal; wherein the first sound module and the second sound module are both based on piezoelectric sound elements for sound generation, and the structure of the first sound module and the structure of the second sound module are symmetrical. In this way, firstly, the headrest sound-generating device utilizes a piezoelectric sound element to generate sound, and since the piezoelectric sound element is compact, the volume of the headrest sound-generating device is reduced; secondly, the identification information of the audio data to be played is used to determine whether to eliminate the audio data to be played, thereby eliminating audio data with higher privacy, while playing audio data with average privacy normally, thereby improving the targeted data processing; finally, two sound signals with the same amplitude and opposite phase are outputted respectively through two sound-generating modules, so that the two sound signals will automatically achieve reverse elimination when converging in front of the head, effectively reducing the possibility of privacy leakage, while also reducing the impact on people at other positions.
[0007] Another object of the present disclosure is to provide an audio signal processing method, the advantage of which is that after parsing the audio data to be played and obtaining the identification information of the audio data to be played, in response to the identification information representation of the audio data to be played that does not need to be eliminated, the first sound module and / or the second sound module is controlled to output the sound signal of the corresponding channel of the audio data to be played. In this way, normal playback of audio data with general privacy is achieved, and the targetedness of data processing is improved.
[0008] Another object of the present disclosure is to provide an audio signal processing method, the advantage of which is that a sound pressure change value is determined by a first reflected sound signal obtained based on a preset first acquisition module and a second reflected sound signal obtained based on a preset second acquisition module; based on the sound pressure change value, the output power of the first sound module and the output power of the second sound module are adjusted, thereby ensuring that the sound pressure at the human ear always remains unchanged and achieving a dynamic balance of the left and right sound fields.
[0009] Another object of the present disclosure is to provide an audio signal processing method, the advantage of which is 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 module is lowered and the output power of the second sound 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 module is increased and the output power of the second sound module is lowered. In this way, when the person's head changes (for example, approaching the first sound module or approaching the second sound module), the output power of the two sound modules is adjusted in time to ensure that the sound pressure at the human ears on both sides remains unchanged, thereby achieving dynamic balance of the left and right sound fields.
[0010] Another object of the present disclosure 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 module based on the first distance and the reference output power of the first sound module, and adjusting the output power of the first sound module to the first target output power; determining a second target output power of the second sound module based on the second distance and the reference output power of the second sound module, and adjusting the output power of the second sound module to the second target output power. In this way, when the audio signal to be played changes, the output power of the two sound modules is adjusted in time to ensure that the sound pressure at the human ears on both sides remains unchanged, thereby achieving a dynamic balance of the left and right sound fields.
[0011] Another object of the present disclosure is to provide an audio signal processing method, the advantage of which is that by adjusting the working state of the headrest sounding device when the amplitude of the first reflected sound signal and the amplitude of the second reflected sound signal are both no greater than a preset amplitude threshold, if the head is far away from the headrest sounding device, the working state of the headrest sounding device is switched to a silent state or an off state to further ensure the privacy of the sound signal.
[0012] Another object of the present disclosure is to provide a sound-emitting device, which has the advantage that the sound-emitting device includes a headrest sound-emitting device, and the headrest sound-emitting device includes a first sound-emitting module and a second sound-emitting module that have been sound-insulated. The first sound-emitting module includes a first sound cavity, a first sound-emitting component located in the first sound cavity, and a first sound conduit connected to the first sound cavity. The first sound-emitting component includes a first sound panel and a first piezoelectric sound element located on the first sound panel. The second sound-emitting module includes a second sound cavity, a second sound-emitting component located in the second sound cavity, and a second sound conduit connected to the second sound cavity. The second sound-emitting component includes a second sound panel and a second piezoelectric sound element located on the second sound panel. The first sound-emitting component is used to generate a first sound signal by using the first piezoelectric sound element to generate sound, and transmit it through the first sound cavity. To the first sound conduit; the first sound conduit, one end of which is connected to the first sound cavity, and the other end of which is formed with an opening for emitting sound toward the second object, for transmitting the first sound signal to the second object; the second sound-emitting component, for using the second piezoelectric sound element to generate sound to generate a second sound signal, and transmitting it to the second sound conduit through the second sound cavity; the second sound conduit, one end of which is connected to the second sound cavity, and the other end of which is formed with an opening for emitting sound toward the second object, for transmitting the second sound signal to the second object; the first sound signal and the second sound signal are both generated in response to the identification information representation of the audio data to be played that needs to be eliminated, based on the audio data to be played, 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. In this way, firstly, the headrest sound-generating device utilizes a piezoelectric sound element to generate sound, and since the piezoelectric sound element is 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, the identification information of the audio data to be played is used to determine whether to eliminate the audio data to be played, thereby eliminating audio data with higher privacy, while playing audio data with average privacy normally, thereby improving the targeted data processing; finally, two sound signals with the same amplitude and opposite phase are outputted respectively through the two sound-generating modules, so that the two sound signals will automatically achieve reverse elimination when converging in front of the head, effectively reducing the possibility of privacy leakage, while also reducing the impact on people at other positions.
[0013] Another object of the present disclosure is to provide an audio signal processing system, the advantage of which is 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 used to execute any of the above-mentioned 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 compact, the volume of the headrest sound-generating device is reduced; secondly, the identification information of the audio data to be played is used to determine whether to eliminate the audio data to be played, thereby eliminating audio data with high privacy, while playing audio data with average privacy normally, thereby improving the pertinence of data processing; finally, two sound signals with the same amplitude and opposite phases are outputted respectively by two sound-generating modules, so that the two sound signals are automatically eliminated in reverse when they converge in front of the head, effectively reducing the possibility of privacy leakage, and also reducing the impact on people in other positions.
[0014] Another object of the present disclosure is to provide an audio signal processing system, wherein the sound-generating device further comprises a first acquisition module and a second acquisition module, wherein 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; and the control device is further configured to determine a sound pressure change value based on the first reflected sound signal and the second transmitted sound signal, 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. This ensures that the sound pressure at the human ear remains constant, achieving dynamic balance between the left and right sound fields.
[0015] Another object of the present disclosure is to provide a vehicle, which has the advantage of including the above-mentioned sound-generating device or any of the above-mentioned audio signal processing systems. First, the headrest sound-generating device utilizes a piezoelectric sound element to generate sound. Since the piezoelectric sound element is compact, the size of the headrest sound-generating device is reduced. Second, the identification information of the audio data to be played is used to determine whether to eliminate the audio data to be played, thereby eliminating audio data with high privacy while playing audio data with average privacy normally, thereby improving the targetedness of data processing. Finally, two sound signals with the same amplitude and opposite phases are output by two sound-generating modules, respectively, so that the two sound signals automatically achieve reverse elimination when converging in front of the head, effectively reducing the possibility of privacy leakage and also minimizing the impact on people in other positions.
[0016] Another object of the present disclosure is to provide an electronic device, which has the advantage that the electronic device includes a processor and a memory, the memory storing a computer program that can be run on the processor, and the processor implementing any of the above-mentioned audio signal processing methods when executing the computer program. Thus, firstly, the headrest sound-generating device uses a piezoelectric sound element to generate sound. Since the piezoelectric sound element is compact, the volume of the headrest sound-generating device is reduced; secondly, the identification information of the audio data to be played is used to determine whether to eliminate the audio data to be played, thereby eliminating audio data with high privacy, while playing audio data with average privacy normally, thereby improving the targetedness of data processing; finally, two sound signals with the same amplitude and opposite phases are outputted by two sound-generating modules respectively, so that the two sound signals automatically achieve reverse elimination when converging in front of the head, effectively reducing the possibility of privacy leakage, and also reducing the impact on people in other positions.
[0017] Another object of the present disclosure is to provide a computer-readable storage medium, which has the advantage of storing a computer program thereon, and when the computer program is executed by a processor, it implements any of the above-mentioned 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 compact, the volume of the headrest sound-generating device is reduced; secondly, the identification information of the audio data to be played is used to determine whether to eliminate the audio data to be played, thereby eliminating audio data with high privacy, while playing audio data with average privacy normally, thereby improving the targetedness of data processing; finally, two sound signals with the same amplitude and opposite phases are outputted by two sound-generating modules respectively, so that the two sound signals automatically achieve reverse elimination when converging in front of the head, effectively reducing the possibility of privacy leakage, while also reducing the impact on people in other positions.
[0018] Another object of the present disclosure is to provide a computer program product, which has the advantage that it includes a computer program or instructions, and when the computer program or instructions are run on an electronic device, the electronic device executes any of the above-mentioned audio signal processing methods. In this way, first, the headrest sound-generating device uses a piezoelectric sound element to generate sound. Since the piezoelectric sound element is compact, the volume of the headrest sound-generating device is reduced; second, the identification information of the audio data to be played is used to determine whether to eliminate the audio data to be played, thereby eliminating the audio data with high privacy, while playing the audio data with average privacy normally, thereby improving the pertinence of data processing; finally, two sound signals with the same amplitude and opposite phases are outputted respectively by two sound-generating modules, so that the two sound signals will automatically achieve reverse elimination when they converge in front of the head, effectively reducing the possibility of privacy leakage, and also reducing the impact on people in other positions.
[0019] To achieve the above objectives, the technical solution of the embodiment of the present disclosure is implemented as follows:
[0020] In one aspect, an embodiment of the present disclosure provides an audio signal processing method, the method comprising:
[0021] parsing the audio data to be played to obtain identification information of the audio data to be played;
[0022] In response to the identification information indicating that the audio data to be played needs to be eliminated, 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;
[0023] Controlling a first sound module of a preset headrest sound device to output the first sound signal;
[0024] controlling the second sound module of the headrest sound generating device to output the second sound signal;
[0025] The first sound module and the second sound module both generate sound based on piezoelectric sound elements, and the structure of the first sound module and the structure of the second sound module are symmetrical.
[0026] On the other hand, an embodiment of the present disclosure provides a sound-emitting device, including a headrest sound-emitting device, the headrest sound-emitting device including a first sound-emitting module and a second sound-emitting module that have been sound-insulated, the first sound-emitting module including a first sound cavity, a first sound-emitting component located in the first sound cavity, and a first sound conduit connected to the first sound cavity, the first sound-emitting component including a first sound-emitting panel and a first piezoelectric sound element located on the first sound-emitting panel, the second sound-emitting module including a second sound cavity, a second sound-emitting component located in the second sound cavity, and a second sound conduit connected to the second sound cavity, the second sound-emitting component including a second sound-emitting panel and a second piezoelectric sound element located on the second sound panel, wherein:
[0027] The first sound-generating component is configured to generate a first sound signal by using the first piezoelectric sound element, and transmit the first sound signal to the first sound conduit through the first sound cavity;
[0028] The first sound conduit has one end connected to the first sound cavity and the other end formed with an opening for emitting sound toward the second object, for transmitting the first sound signal to the second object;
[0029] The second sound-generating component is configured to generate a second sound signal by using the second piezoelectric sound element, and transmit the second sound signal to the second sound conduit through the second sound cavity;
[0030] The second sound conduit has one end connected to the second sound cavity and the other end formed with an opening for emitting sound toward the second object, and is used to transmit the second sound signal to the second object;
[0031] In which, 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 representation that needs to be eliminated, 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.
[0032] In yet another aspect, an embodiment of the present disclosure provides an audio signal processing system, comprising a control device and a sound-generating device communicatively connected to the control device, wherein the sound-generating device comprises a headrest sound-generating device, wherein:
[0033] The control device is used to execute any one of the above audio signal processing methods.
[0034] On the other hand, an embodiment of the present disclosure provides a vehicle, comprising any of the above-mentioned sound-emitting devices or any of the above-mentioned audio signal processing systems.
[0035] On the other hand, an embodiment of the present disclosure provides an electronic device, including a processor and a memory, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, any of the above-mentioned audio signal processing methods is implemented.
[0036] On the other hand, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, which implements any of the above-mentioned audio signal processing methods when executed by a processor.
[0037] On the other hand, an embodiment of the present disclosure provides a computer program product, including a computer program or instructions, which, when the computer program or instructions are run on an electronic device, enables the electronic device to perform any of the above-mentioned audio signal processing methods.
[0038] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings herein are incorporated into and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and, together with the specification, are used to explain the technical solutions of the present disclosure.
[0040] FIG1 is a schematic diagram of an implementation flow of an audio signal processing method provided by an embodiment of the present disclosure;
[0041] FIG2 is a schematic diagram of an implementation flow of an audio signal processing method provided by an embodiment of the present disclosure;
[0042] FIG3 is a schematic diagram of an implementation flow of an audio signal processing method provided by an embodiment of the present disclosure;
[0043] FIG4 is a schematic diagram of sound pressure provided by an embodiment of the present disclosure;
[0044] FIG5 is a schematic diagram of sound pressure provided by an embodiment of the present disclosure;
[0045] FIG6 is a schematic diagram of an implementation flow of an audio signal processing method provided by an embodiment of the present disclosure;
[0046] FIG7 is a schematic diagram of an implementation flow of an audio signal processing method provided by an embodiment of the present disclosure;
[0047] FIG8 is a schematic diagram of an implementation flow of an audio signal processing method provided by an embodiment of the present disclosure;
[0048] FIG9 is a schematic diagram of the structure of a sound-generating device provided by an embodiment of the present disclosure;
[0049] FIG10 is a schematic diagram of the structure of a sound-generating device provided by an embodiment of the present disclosure;
[0050] FIG11 is a schematic diagram of sound at a human ear provided by an embodiment of the present disclosure;
[0051] FIG12 is a schematic diagram of the structure of an audio signal processing system provided by an embodiment of the present disclosure;
[0052] FIG13 is a schematic diagram of the structure of an audio signal processing system provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the present disclosure will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limiting the present disclosure. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.
[0054] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0055] In the following description, the terms "first\second\third" are 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 with the specific order or sequence where permitted, so that the embodiments of the present disclosure described herein can be implemented in an order other than that illustrated or described herein.
[0056] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art in the art of the present disclosure. The terms used herein are only for the purpose of describing the embodiments of the present disclosure and are not intended to limit the present disclosure.
[0057] In the related art, for the headrest sound-emitting device on the vehicle seat, since the headrest sound-emitting device can output various sound signals (for example, music, calls, voice messages, navigation, etc.), and when it makes a sound, people at other locations can still hear the sound signal, there are problems such as privacy leakage and poor privacy.
[0058] In order to reduce the possibility of privacy leakage and minimize the impact on people in other locations, the present disclosure provides an audio signal processing method, which can be processed and executed by an on-board computer device, where the computer device can refer to a car computer, a laptop computer, 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 gaming device), and other devices with data processing capabilities.
[0059] Below, the technical solutions in the embodiments of the present disclosure will be clearly and completely described in conjunction with the drawings in the embodiments of the present disclosure.
[0060] FIG1 is a schematic diagram of an implementation flow of an audio signal processing method provided by an embodiment of the present disclosure. As shown in FIG1 , the method includes steps S11 to S14, wherein:
[0061] Step S11: parse the audio data to be played to obtain identification information of the audio data to be played.
[0062] Here, the audio data to be played can be any suitable audio data, such as music, broadcast, navigation, video, call, etc. The call can include but is not limited to audio and video data of a phone call or a communication application (e.g., audio and video call, voice message, etc.).
[0063] Different audio data may have the same identification information or different identification information. In some embodiments, different audio data may have different identification information. During implementation, corresponding identification information may be set for each audio data item. The identification information may be any suitable identification information. For example, for music, the identification information may be a first identification; for broadcast, the identification information may be a second identification; for calls, the identification information may be a third identification; and for videos, the identification information may be a fourth identification.
[0064] In some embodiments, multiple audio data are categorized according to privacy. 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 may be a first identification; for audio data with relatively high privacy, its identification information may be a second identification; and for audio data with average privacy, its identification information may be a third identification. During implementation, those skilled in the art may set more or fewer relationships between levels and identification information based on actual needs, and this disclosure is not limited to this.
[0065] In some embodiments, the privacy of various audio data can be set using preset rules. Preset rules may include, but are not limited to, default configurations, customizations, and user preferences. For example, a configuration interface is provided to set the privacy of different audio data. For example, if the privacy of audio data for calls and navigation is set to high, then the audio data for calls and navigation will have the same identification information; if the privacy of audio data such as music, videos, and broadcasts is set to normal, then the audio data such as music, videos, and broadcasts will have the same identification information.
[0066] Step S12: In response to the identification information representation of the audio data to be played requiring elimination processing, a first sound signal and a second sound signal are generated 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.
[0067] Here, elimination processing refers to the need to perform reverse elimination processing on the sound signal generated by the audio data. During implementation, the identification information can be used to determine whether the audio data needs to be eliminated. In some embodiments, if the identification information is preset identification information, it indicates that the audio data needs to be eliminated; conversely, if the identification information is not preset identification information, it indicates that the audio data does not need to be eliminated. During implementation, generally, elimination processing is required for audio data with high privacy, so the preset identification information can be the identification information of the audio data with high privacy.
[0068] The first sound signal and the second sound signal are sound signals to be output. During implementation, the audio data to be played can be first converted into a corresponding sound signal, and then the first sound signal and the second sound signal can be obtained based on the sound signal. The first sound signal can be the sound signal, that is, the amplitude and phase of the first sound signal are the same as those of the sound signal, and the second sound signal can be the inverse signal of the sound signal, that is, the amplitude of the second sound signal is the same as that of the sound signal, but the phase of the second sound signal is opposite to the phase of the sound signal.
[0069] Step S13: Control the first sound module of the preset headrest sound device to output the first sound signal.
[0070] Here, the headrest sound-generating device includes at least the first sound-generating module. The first sound-generating module refers to the sound-generating module on one side, for example, the left or right side. The first sound-generating module can be any suitable module that generates sound based on a piezoelectric sound element. The disclosed embodiments do not limit the structure of the first sound-generating module.
[0071] For example, the first sound-emitting module may include, but is not limited to, a first acoustic cavity, a first sound-emitting component located within the first acoustic cavity, and a first sound conduit connected to the first acoustic cavity. The first sound-emitting component generates a first sound signal based on a piezoelectric acoustic element, which is transmitted through the first acoustic cavity to the first sound conduit. The first acoustic cavity primarily amplifies and conditions the first sound signal, transmitting it to the second object at a higher sound pressure and enhancing and compensating for the frequency characteristics of the sound within a frequency response range. The first sound conduit primarily focuses and directs the first sound signal, acoustically increasing the loudness and improving the timbre of the sound. In implementation, one end of the first sound conduit is connected to the first acoustic cavity, and the other end forms an opening for emitting sound toward the second object, through which the first sound signal is transmitted to the second object. The second object can be any suitable object, such as a human ear. In some embodiments, the opening of the first sound conduit should be as close to and aligned with the second object as possible, and the opening should be of an appropriate size. If the opening is too large, sound will escape the ear, while if the opening is too small, sound will not reach the second object when the head moves.
[0072] Step S14, controlling the second sound module of the headrest sound device to output the second sound signal; wherein, the first sound module and the second sound module are both based on piezoelectric sound elements for sound generation, and the structure of the first sound module and the structure of the second sound module are symmetrical.
[0073] Here, the headrest sound-emitting device further includes at least the second sound-emitting module. The second sound-emitting module refers to the sound-emitting module on the other side. For example, the right side or the left side. In implementation, the first sound-emitting module and the second sound-emitting module refer to sound-emitting modules on different sides. The second sound-emitting module can be any suitable module that generates sound based on a piezoelectric sound element, and the disclosed embodiments do not limit the structure of the second sound-emitting module.
[0074] For example, the second sound-emitting module has the same structure as the first sound-emitting module, namely, the second sound-emitting module may include, but is not limited to, a second acoustic cavity, a second sound-emitting component located within the second acoustic cavity, and a second sound conduit connected to the second acoustic cavity. The second sound-emitting component generates a second sound signal based on a piezoelectric acoustic element, which is transmitted through the second acoustic cavity to the second sound conduit. The second acoustic cavity primarily amplifies and conditions the second sound signal, transmitting it to the second object at a higher sound pressure and enhancing and compensating for the frequency characteristics of the sound within the frequency response range. The second sound conduit primarily focuses and directs the second sound signal, acoustically increasing the loudness and improving the timbre of the sound. In implementation, one end of the second sound conduit is connected to the second acoustic cavity, and the other end forms an opening for emitting sound toward the second object, through which the second sound signal is transmitted to the second object. 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 opening should be appropriately sized. If the opening is too large, the sound will escape the ear, while if the opening is too small, the sound will not reach the second object when the head moves.
[0075] In an embodiment of the present disclosure, identification information of the audio data to be played is obtained by parsing the audio data to be played; in response to the identification information representation of the audio data to be played that needs to be eliminated, a first sound signal and a second sound signal are generated 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; the first sound module of the preset headrest sound-emitting device is controlled to output the first sound signal; the second sound module of the headrest sound-emitting device is controlled to output the second sound signal; wherein the first sound module and the second sound module are both based on piezoelectric sound elements for sound generation, and the structure of the first sound module and the structure of the second sound module are symmetrical. In this way, firstly, the headrest sound-generating device utilizes a piezoelectric sound element to generate sound, and since the piezoelectric sound element is compact, the volume of the headrest sound-generating device is reduced; secondly, the identification information of the audio data to be played is used to determine whether to eliminate the audio data to be played, thereby eliminating audio data with higher privacy, while playing audio data with average privacy normally, thereby improving the targeted data processing; finally, two sound signals with the same amplitude and opposite phase are outputted respectively through two sound-generating modules, so that the two sound signals will automatically achieve reverse elimination when converging in front of the head, effectively reducing the possibility of privacy leakage, while also reducing the impact on people at other positions.
[0076] FIG2 is a schematic diagram of an implementation flow of an audio signal processing method provided by an embodiment of the present disclosure. Based on FIG1 , after step S11, the method of FIG1 further includes step S15, which will be described in conjunction with the steps shown in FIG2 , wherein:
[0077] Step S15: In response to the identification information of the audio data to be played indicating that the elimination process is not required, control the target sound module to output the sound signal of the corresponding channel of the audio data to be played; wherein the target sound module includes at least one of the following: the first sound module, the second sound module.
[0078] Here, when the audio data to be played does not need to be eliminated, 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 first sound module and the second sound module can be used to output the sound signals of the left and right channels respectively.
[0079] In the disclosed embodiment, when it is determined through the identification information of the audio data that no elimination processing is required, the corresponding sound signal is output normally, thereby achieving normal playback of audio data with general privacy and improving the targetedness of data processing.
[0080] FIG3 is a schematic diagram of an implementation flow of an audio signal processing method provided by an embodiment of the present disclosure. Based on FIG1 , the method of FIG1 further includes steps S161 to S162, which will be described in conjunction with the steps shown in FIG3 , wherein:
[0081] Step S161: Determine 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; wherein the distance between the first acquisition module and the first sound emission module meets a preset condition, the first reflected sound signal is a signal formed after the first sound signal output by the first sound emission module is reflected by a first object, the distance between the second acquisition module and the second sound emission module meets the preset condition, the second reflected sound signal is a signal formed after the second sound signal output by the second sound emission module is reflected by the first object, and 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 a third sound pressure change value between the first acquisition module and the second acquisition module.
[0082] Here, the acquisition module (including the first acquisition module and the second acquisition module) can be any suitable module capable of realizing 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. 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 emission module, and the second acquisition module can be installed a few centimeters behind the opening of the second sound conduit in the second sound emission module. The first object can be any suitable object, for example, a human face.
[0083] In some embodiments, the sound pressure at which the sound signal emitted by the sound module reaches the human ear is determined based on the sensitivity of the sound module, the output power of the sound module, and the distance between the opening of the sound conduit of the sound module and the corresponding side of the human ear. The sound module includes a first sound module or a second sound module. During implementation, the sound pressure at which the first sound signal emitted by the first sound module reaches the human ear is determined based on the sensitivity of the first sound module, the output power of the first sound module, and the distance between the opening of the first sound conduit of the first sound module and the corresponding side of the human ear. The sound pressure at which the second sound signal emitted by the second sound module reaches the human ear is determined based on the sensitivity of the second sound module, the output power of the second sound module, and the distance between the opening of the second sound conduit of the second sound module and the corresponding side of the human ear.
[0084] In some embodiments, the sound pressure SP at the human ear can be determined by the following formula (1-1), that is: SP = SS + 10log10 P-20log 10 L (1-1);
[0085] Wherein, SS is the sensitivity of the sound module, P is the output power of the sound module, and L is the distance between the opening of the sound conduit of the sound module and the corresponding side of the human ear.
[0086] In some embodiments, the sound pressure determined after the reflected sound signal is acquired by the acquisition module (i.e., the reflected sound pressure received by the acquisition module) is determined based on the sound pressure at the human ear on the corresponding side, the reflection sensitivity of the corresponding side of the face, and the distance between the face on that side and the acquisition module. The acquisition module includes a first acquisition module or a second acquisition module. During implementation, the sound pressure determined after the first reflected sound signal is acquired by the first acquisition module (i.e., the reflected sound pressure received by the first acquisition module) is determined based on the sound pressure at the human ear on the corresponding side, the reflection sensitivity of the corresponding side of the face, and the distance between the face on that side and the first acquisition module. The sound pressure determined after the second reflected sound signal is acquired by the second acquisition module (i.e., the reflected sound pressure received by the second acquisition module) is determined based on the sound pressure at the human ear on the corresponding side, the reflection sensitivity of the corresponding side of the face, and the distance between the face on that side and the second acquisition module.
[0087] In some embodiments, the sound pressure SP1 determined after the reflected sound signal is acquired by the acquisition module can be determined by the following formula (1-2), namely: SP1 = SP + SF - 20log 10 L1 (1-2);
[0088] Where SP is the sound pressure at the ear on the corresponding side, SF is the reflection sensitivity on the corresponding side of the face, and L1 is the distance between the face on that side and the acquisition module. SF is related to the reflective material and the size of the side reflection area and is generally negative.
[0089] In some embodiments, since the sound conduits of the acquisition module and the sound emission module are relatively close, L1 may be the distance between the opening of the sound conduit of the sound emission module and the corresponding side of the human ear.
[0090] 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 control device predicting the reflected sound pressure received by the first acquisition module based on the distance between the head and the first acquisition module and the current output power of the first sound module. The second predicted sound pressure refers to the control device predicting the reflected sound pressure received by the second acquisition module based on the distance between the head and the second acquisition module and the current output power of the second sound module.
[0091] FIG4 is a schematic diagram of a sound pressure provided by an embodiment of the present disclosure. As shown in FIG4 , the head is located in the middle position (i.e., the center) of the headrest sound-emitting device. The distance between the first sound-emitting module 11 and the right ear of the head 12 and the distance between the first acquisition module and the right face are both A. Then, according to the above formula (1-1), the sound pressure SP at the right ear 12 can be obtained. 右 For: SS 右 +10log 10 P 右 -20log 10 A;
[0092] According to the above formula (1-2), the reflected sound pressure SP1 received by the first acquisition module 13 can be obtained: 右 For: SP 右 +SF 右 -20log 10 A=SS 右 +10log 10 P 右 -20log 10 A+SF 右 -20log 10 A=SS 右 + 10log 10 P 右 +SF 右 -40log 10 A.
[0093] Similarly, if the distance between the second sound module and the left ear of the head and the distance between the second acquisition module and the left face are both B, then the sound pressure SP at the left ear can be obtained according to the above formula (1-1): 左 For: SS 左 +10log10 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 左 For: SP 左 +SF 左 -20log 10 B=SS 左 +10log 10 P 左 -20log 10 B+SF 左 -20log 10 B=SS 左 +10log 10 P 左 +SF 左 -40log 10 B.
[0095] When the head is located in the middle of the headrest sounding device, that is, A=B, since the first sounding module and the second sounding module have the same component structure, the sensitivity of the first sounding module and the sensitivity of the second sounding module are the same, that is, SS 左 =SS 右 When the head is located in the middle of the headrest sounding device, the output power of the first sounding module and the second sounding module can be set to the same, that is: P 左 =P 右 ; Since it is the same person's head, the reflection sensitivity on both sides of the face is 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 reflected sound signal is acquired by the first acquisition module is 右 The sound pressure SP1 determined after the second reflected sound signal is obtained by the second acquisition module 左 The difference ΔSP3 between them can be expressed as: ΔSP3=SP1 左 -SP1 右 =(SS 左 +10log 10 P 左 +SF 左 -40log 10 B)-(SS 右 + 10log 10 P 右 +SF 右 -40log 10 A)=0.
[0096] When the head is positioned in the middle of the headrest sound-generating device, the sound pressure levels determined by the two acquisition modules (i.e., the first acquisition module and the second acquisition module) after acquiring the reflected sound signals are the same. If the head is tilted (to the left or right), the sound pressure levels determined by the two acquisition modules after acquiring the reflected sound signals will change, resulting in different sound pressure levels.
[0097] Step S162: Adjust the output power of the first sound module and the output power of the second sound module based on the sound pressure change value.
[0098] Here, the output power of the first sound module can be increased, decreased, or kept unchanged. The output power of the second sound module can also be increased, decreased, or kept unchanged.
[0099] In some embodiments, according to the above formulas (1-1) and (1-2), since the sensitivity SS of the sound module and the reflection sensitivity SF of the corresponding side of the face are fixed values, the reflected sound pressure SP1 received by the collection device is related to the distance L (i.e., the distance between the collection device and the corresponding side of the face) and the output power P of the sound module.
[0100] According to the content shown in FIG4 , it can be seen 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 the SS 右 、P 右 and SF 右 , then, according to SP1 obtained by the first acquisition module 右 , A can be calculated. In practice, in order to ensure that the input sound pressure SP at the right ear is 右 The size remains unchanged, that is: SP 右新 =SP 右原 , that is: 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;
[0101] Then, P 右新 *A 原 2 =P 右原 *A 2 ,Right now: Among them, P 右原 is the reference output power of the first sound module, A 原 The distance between the first sound module 11 and the right ear of the head 12 when the output power of the first sound module is the reference output power. The reference output power of the first sound 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 module can be a preset multiple of the volume of the sound source signal.
[0102] It can be seen that the control device can be based on P 右原 、A 原 and A, we can infer the target output power of the first acquisition module (ie: P 右新 ), so according to the SS 右 , the target output power of the first acquisition module, SF 右 And A, we can get the first predicted sound pressure SP1 预测右 , that is: SP1 预测右 =SS 右 +10log 10 P 目标右 +SF 右 -40log 10 A;
[0103] Then, in implementation, the emission sound pressure SP1 received by the first acquisition module can be 右 With the first predicted sound pressure SP1 预测右 By comparing (i.e., the first sound pressure change value), the adjustment direction of the output power of the first sound module (i.e., increase or decrease) can be obtained. For example, if the first sound pressure change value is positive, it means that SP1 右 Greater than SP1 预测右 At this time, the output power of the first sound module can be lowered 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 右 Less than SP1 预测右 At this time, the output power of the first sound module can be increased so that the absolute value of the first sound pressure change value is not greater than the preset threshold.
[0104] Similarly, according to the content shown in FIG4 , it can be seen that the reflected sound pressure SP1 received by the second acquisition module 左 =SS 左 +10log 10 P 左 +SF 左 -40log 10 B, since the control device knows the SS 左 、P 左 and SF 左 , then, according to the SP1 obtained by the second acquisition module 左 , B can be calculated. In practice, in order to ensure that the input sound pressure SP at the left ear is 左 The size remains unchanged, that is: SP 左新 =SP 左原 , that is: 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;
[0105] Then, P 左新 *B 原 2 =P 左原 *B 2 ,Right now: Among them, P 左原 is the reference output power of the second sound module, B 原 The distance between the second sound module and the left ear of the head when the output power of the second sound module is a reference output power. The reference output power of the second sound 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 module can be a preset multiple of the volume of the sound source signal.
[0106] It can be seen that the control device can be based on P 左原 、B 原 and B, we can infer the target output power of the second acquisition module (ie: P 左新 ), so according to the SS左 , target output power of the second acquisition module, SF 左 And B, we can get the second predicted sound pressure SP1 预测左 , that is: SP1 预测左 =SS 左 +10log 10 P 左新 +SF 左 -40log 10 B;
[0107] Then, in implementation, the emission sound pressure SP1 received by the second acquisition module can be 左 and the second predicted sound pressure SP1 预测左 By comparing (i.e., the second sound pressure change value), the adjustment direction of the output power of the second sound module can be obtained (i.e., increase or decrease). For example, if the second sound pressure change value is positive, it means that SP1 左 Greater than SP1 预测左 At this time, the output power of the second sound module can be lowered 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 左 Less than SP1 预测左 At this time, the output power of the second sound module can be increased so that the absolute value of the second sound pressure change value is not greater than the preset threshold.
[0108] In some embodiments, the acquisition module analyzes the received reflected sound pressure to generate a corresponding time-varying first electrical signal and transmits the first electrical signal to a control device. The control device first synchronizes the first electrical signal with the predicted values of the second electrical signal (obtained by analyzing the predicted reflected sound pressure). If the first and second electrical signals are similar, the control device determines the direction of adjustment (i.e., increasing or decreasing) of the output power of the sound generation module based on the amplitudes of the first and second electrical signals.
[0109] 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 side sound module can be lowered, thereby reducing the sound pressure output by the side sound conduit to the human ear side.
[0110] For another example, if the amplitude of the first electrical signal is smaller than the amplitude of the second electrical signal, the output power of the side sound module may be increased, thereby increasing the sound pressure output by the side sound conduit to the human ear.
[0111] In some embodiments, if the first sound pressure change value is close to 0, it indicates that there is substantially no change between the corresponding two sound pressures. In this case, the output power of the first sound module may not be adjusted. Similarly, if the second sound pressure change value is close to 0, it indicates that there is substantially no change between the corresponding two sound pressures. In this case, the output power of the second sound module may not be adjusted.
[0112] 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 conduit of the first sound module and the corresponding side of the human ear becomes smaller, and the distance between the opening of the sound conduit of the second sound module and the corresponding side of the human ear becomes larger. At this time, the output power of the first sound module can be lowered and the output power of the second sound module can be increased to ensure that the sound pressure at the human ears on both sides remains unchanged, thereby achieving dynamic balance of the left and right sound fields. On the contrary, 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 conduit of the first sound module and the corresponding side of the human ear becomes larger, and the distance between the opening of the sound conduit of the second sound module and the corresponding side of the human ear becomes smaller. At this time, the output power of the first sound module can be increased and the output power of the second sound module can be lowered to ensure that the sound pressure at the human ears on both sides remains unchanged, so as to achieve dynamic balance of the left and right sound fields.
[0113] FIG5 is a schematic diagram of a sound pressure provided by an embodiment of the present disclosure. As shown in FIG5 , the head is close to the right side of the headrest sound-emitting device, and the distance between the first sound-emitting module 11 and the right ear of the head 12 and the distance between the first acquisition module and the right 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. 右 For: SS 右 +10log 10 P 右 -20log 10 (A+a);
[0114] According to the above formula (1-2), the reflected sound pressure SP1 received by the first acquisition module 13 can be obtained: 右 For: SP 右 +SF 右 -20log 10 (A+a)=SS 右 +10log 10 P 右 -20log10 (A+a)+SF 右 - 20log 10 (A+a)=SS 右 +10log 10 P 右 +SF 右 -40log 10 (A+a).
[0115] Similarly, the distance between the second sound module and the left ear of the head, and the distance between the second acquisition module and the left face are also Aa. Then, according to the above formula (1-1), the sound pressure SP at the left ear can be obtained. 左 For: SS 左 +10log 10 P 左 -20log 10 (Aa);
[0116] According to the above formula (1-2), the reflected sound pressure SP1 received by the second acquisition module can be obtained 左 For: SP 左 +SF 左 -20log 10 (Aa)=SS 左 +10log 10 P 左 -20log 10 (Aa)+SF 左 - 20log 10 (Aa)=SS 左 +10log 10 P 左 +SF 左 -40log 10 (Aa).
[0117] In some embodiments, when the sound pressure change value includes a first sound pressure change value and a second sound pressure change value, the sound pressure change value may be changed according to SP1. 左 The first sound pressure change value between the first predicted sound pressure and SP 右 The output power of the first sound module and the second sound module is adjusted by the second sound pressure change value between the predicted sound pressure and the first sound pressure, that is, by adjusting the output power of the first sound module so that 左 When the sound pressure is greater than the first prediction, SP1 左 The difference between the predicted sound pressure and the first predicted sound pressure is not greater than the preset threshold, or 左 When the sound pressure is less than the first prediction, SP1 左 The absolute value of the difference between the predicted sound pressure and the first predicted sound pressure is not greater than the preset threshold; by adjusting the output power of the second sound module, so that右 When the sound pressure is greater than the second predicted pressure, SP 右 The difference between the predicted sound pressure and the second predicted sound pressure is not greater than the preset threshold, or 右 When the SP is less than the second predicted sound pressure, 右 The absolute value of the difference between the predicted sound pressure and the second predicted sound pressure is not greater than a preset threshold value, which can be any appropriate sufficiently small value, for example, 0.
[0118] In some embodiments, when the sound pressure change value includes the third sound pressure change value, it is also possible to calculate the value according to SP1. 左 With SP 右 The output power of the first sound module and the second sound module is adjusted by the third sound pressure change value ΔSP3 between them, that is: ΔSP3=SP1 左 -SP 右 =(SS 左 +10log 10 P 左 +SF 左 -40log 10 (Aa))-(SS 右 + 10log 10 P 右 +SF 右 -40log 10 (A+a));
[0119] Since the component structures of the first sound module and the second sound module are exactly the same, the sensitivity of the first sound module is the same as the sensitivity of the second sound module, that is: SS 左 =SS 右 , since it is the same person's head, the reflection sensitivity on both sides of the face is also the same, that is: SF 左 =SF 右 , then, the ΔSP3 can be: ΔSP3=10log 10 P 左 -10log 10 P 右 +40log 10 (A+a)-40log 10 (Aa).
[0120] In the embodiment of the present disclosure, the sound pressure change value is determined by the reflected sound signal obtained by the collection device, and the output power of the sound module is adjusted according to the sound pressure change value, ensuring that the sound pressure at the human ear always remains unchanged and achieving dynamic balance of the left and right sound fields.
[0121] FIG6 is a schematic diagram of an implementation flow of an audio signal processing method provided by an embodiment of the present disclosure. Based on FIG3 , 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, step S162 in FIG3 can be updated to step S1621 and / or step S1622. The steps shown in FIG6 will be described below, wherein:
[0122] 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 module and increase the output power of the second sound module.
[0123] Here, the first sound pressure change value is a positive value (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 a negative value (i.e., the transmitted sound pressure received by the second acquisition module is less than the second predicted sound pressure), indicating that the head is close to the first acquisition module, that is, the distance between the opening of the sound conduit of the first sound module and the corresponding side of the human ear becomes smaller, and the distance between the opening of the sound conduit of the second sound module and the corresponding side of the human ear becomes larger. At this time, the output power of the first sound module can be lowered and the output power of the second sound module can be increased. During implementation, the output power of the first sound module is lowered until the difference between the transmitted sound pressure received by the first acquisition module and the first predicted sound pressure is no greater than the preset threshold value, and the output power of the second sound module is increased 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 no greater than the preset threshold value.
[0124] In some embodiments, after lowering the output power of the first sound emitting module, a new first sound pressure change value is determined based on the new first reflected sound signal obtained by the first acquisition module. 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 a preset threshold, there is no need to adjust the output power of the first sound emitting module. Conversely, 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, the output power of the first sound emitting module continues to be lowered until the difference between the transmitted sound pressure received by the first acquisition module and the first predicted sound pressure is no greater than the preset threshold.
[0125] Similarly, after increasing the output power of the second sound module, the new second sound pressure change value is determined based on the new second reflected sound signal obtained by the second acquisition module. If the new second sound pressure change value indicates that 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 is not greater than the preset threshold, there is no need to adjust the output power of the second sound module. On the contrary, 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, the output power of the second sound module continues to be increased 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.
[0126] 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 module and decrease the output power of the second sound module.
[0127] Here, a negative first sound pressure change value and a positive second sound pressure change value indicate that the head is approaching the second acquisition module. That is, the distance between the opening of the sound conduit of the first sound emission module and the corresponding side of the human ear increases, while the distance between the opening of the sound conduit of the second sound emission module and the corresponding side of the human ear decreases. In this case, the output power of the first sound emission module can be increased and the output power of the second sound emission module can be decreased. In implementation, the output power of the first sound emission module is increased 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 no greater than a preset threshold, and the output power of the second sound emission module is decreased until the difference between the transmitted sound pressure received by the second acquisition module and the second predicted sound pressure is no greater than a preset threshold.
[0128] In the embodiment of the present disclosure, when the position of the human head changes (for example, approaching the first sound module or approaching the second sound module), the output power of the two sound modules is adjusted in time to ensure that the sound pressure at the human ears on both sides remains unchanged, thereby achieving a dynamic balance of the left and right sound fields.
[0129] FIG7 is a schematic diagram of an implementation flow of an audio signal processing method provided by an embodiment of the present disclosure. Based on FIG3 , when the sound pressure change value includes a third sound pressure change value between the first acquisition module and the second acquisition module, step S162 in FIG3 can be updated to steps S1631 to S1633, which will be described in conjunction with the steps shown in FIG7 , wherein:
[0130] Step S1631: Determine 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.
[0131] Here, the third sound pressure change value may 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, in order to keep the sound pressure at both sides of the human ear the same, that is: SP 左 =SP 右 , then, according to the above formula (1-1) and the content shown in Figure 5, we can know that: SS 左 +10log 10 P 左 -20log 10 (Aa)=SS 右 +10log 10 P 右 -20log 10 (A+a);
[0132] Since the component structures of the first sound module and the second sound module are exactly the same, the sensitivity of the first sound module is the same as the sensitivity of the second sound module, that is: SS 左 =SS 右 , then, 10log 10 P 左 -10log 10 P 右 =20log 10 (Aa)-20log 10 (A+a).
[0133] Then, the third sound pressure variation value ΔSP3 can be expressed as: ΔSP3 = 10log 10 P 左 -10log 10 P 右 +40log 10 (A+a)-40log 10 (Aa)=20log 10 (A- a)-20log 10 (A+a)+40log 10 (A+a)-40log 10 (Aa)=20log 10 (A+a)-20log 10 (Aa).
[0134] 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 (Aa) can be obtained.
[0135] Step S1632: Based on the first distance and the reference output power of the first sound module, determine the first target output power of the first sound module, and adjust the output power of the first sound module to the first target output power; wherein, the reference output power of the first sound module is the output power of the first sound module when the head is located in the central area of the target sound field of the headrest sound device.
[0136] Here, the reference output power of the first sound module can be obtained through calibration. In some embodiments, the reference output power of the first sound 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 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 device.
[0137] According to the above formula (1-1) and the content shown in Figure 5, in order to ensure that the sound pressure at the right ear remains unchanged, then:
[0138] SP 右新 =SP 右原 , that is: 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;
[0139] Then, P 右新 *A 2 =P 右原 *(A+a) 2 ,Right now: Among them, P 右原 is the reference output power of the first sound module.
[0140] Step S1633: Based on the second distance and the reference output power of the second sound module, determine the second target output power of the second sound module, and adjust the output power of the second sound module to the second target output power; wherein, the reference output power of the second sound module is the output power of the second sound module when the head is located in the central area of the target sound field of the headrest sound device.
[0141] Here, the reference output power of the second sound module can be obtained by calibration. In some embodiments, the reference output power of the second sound 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 module can be a preset multiple of the volume of the sound source signal.
[0142] According to the above formula (1-1) and the content shown in Figure 5, in order to ensure that the sound pressure at the left ear remains unchanged, then:
[0143] SP 左新 =SP 左原 , that is: SP 左新 -SP 左原 =10log 10 P 左新 -20log 10 (Aa)-(10log 10 P 左原 -20log 10 A) = 10log 10 P 左新 -10log 10 P 左原 +20log 10 A-20log 10 (Aa) = 0;
[0144] Then, P 左新 *A 2 =P 左原 *(Aa) 2 ,Right now: Among them, P 左原 is the reference output power of the second sound module.
[0145] In the embodiment of the present disclosure, the output power of the two sound modules is adjusted in time when the audio signal to be played changes to ensure that the sound pressure at the human ears on both sides remains unchanged, thereby achieving a dynamic balance of the left and right sound fields.
[0146] FIG8 is a schematic diagram of an implementation flow of an audio signal processing method provided by an embodiment of the present disclosure. Based on FIG3 , the method of FIG3 further includes step S164, which will be described in conjunction with the steps shown in FIG8 , wherein:
[0147] Step S164: When the amplitude of the first reflected sound signal and the amplitude of the second reflected sound signal are both not greater than a preset amplitude threshold, adjust the working state of the headrest sound generating device.
[0148] Here, the preset amplitude threshold can be any suitable value. The working state can be any suitable state, for example, an open state, an closed state, a silent state, etc. Among them, the open state indicates that the headrest sound-emitting device can output sound signals normally. The closed state indicates that the headrest sound-emitting device no longer outputs sound signals. The silent state indicates that the volume value of the sound signal output by the headrest sound-emitting device is 0. During implementation, when the amplitudes of the first reflected sound signal and the second reflected sound signal are both less than the amplitude threshold, it indicates that the head is far away from the headrest sound-emitting device. At this time, it is necessary to adjust the working state of the headrest sound-emitting device to a silent state or an closed state.
[0149] In the embodiment of the present disclosure, if the head is far away from the headrest sounding device, the working state of the headrest sounding device is switched to a silent state or an off state to further ensure the privacy of the sound signal.
[0150] Based on the above embodiment, the embodiment of the present disclosure further provides a sound-generating device. FIG9 is a schematic diagram of the composition structure of a sound-generating device provided by the embodiment of the present disclosure. As shown in FIG9, the sound-generating device 20 includes a headrest sound-generating device 21, and 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 conduit 2113 connected to the first sound cavity 2111. The first The sound-emitting component 2112 includes a first sound-emitting panel 21121 and a first piezoelectric sound element 21122 located on the first sound-emitting panel 21121. The second sound-emitting module 212 includes a second sound cavity 2121, a second sound-emitting 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-emitting component 2122 includes a second sound-emitting panel 21221 and a second piezoelectric sound element 21222 located on the second sound-emitting panel 21221.
[0151] 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 conduit 2113 via the first sound cavity 2111 ;
[0152] The first sound conduit 2113 has one end connected to the first sound cavity 2111 and the other end formed with an opening for emitting sound toward the second object, so as to transmit the first sound signal to the second object;
[0153] 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 conduit 2123 via the second sound cavity 2121 ;
[0154] The second sound conduit 2123 has one end connected to the second sound cavity 2121 and the other end formed with an opening for emitting sound toward the second object, so as to transmit the second sound signal to the second object;
[0155] In which, 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 representation that needs to be eliminated, 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.
[0156] Here, the sound insulation treatment can be any suitable treatment that can provide a sound insulation function. For example, a sound insulation member can be added between the two sound-emitting modules. The sound insulation member can be any suitable sound insulation component, such as a sound insulation board or a sound insulation cover. Another example is to surround the two sound-emitting modules with sound insulation materials such as sound insulation cotton.
[0157] The first piezoelectric sound element 21122 and the second piezoelectric sound element 21222 may be any suitable element that generates sound based on piezoelectricity, for example, a piezoelectric sound vibrator.
[0158] The first acoustic cavity 2111 is mainly used to amplify and adjust the first sound signal so that it is transmitted to the second object at 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.
[0159] The first sound conduit 2113 is primarily used to focus and direct the first sound signal, acoustically increasing the sound's loudness and improving its timbre. In practice, the opening of the first sound conduit 2113 should be positioned as close to and aligned with the second object as possible, and the opening should be appropriately sized. If the opening is too large, sound will escape the ear, while if the opening is too small, the sound will not reach the second object when the head moves.
[0160] The second acoustic 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 to enhance and compensate for the frequency characteristics of the sound within the frequency response range.
[0161] The second sound conduit 2123 is primarily used to focus and direct the second sound signal, acoustically increasing its loudness and improving its timbre. In practice, the opening of the second sound conduit 2123 should be positioned as close to and aligned with the second object as possible, and the opening should be appropriately sized. If the opening is too large, sound will escape the ear, while if the opening is too small, the sound will not reach the second object when the head moves.
[0162] The generation method of the first sound signal and the second sound signal may refer to the specific implementation of the aforementioned step S12.
[0163] In some embodiments, the sound device 20 further includes a first acquisition module and a second acquisition module, and the distance between the first acquisition module and the first sound module, and the distance between the second acquisition module and the second sound module both meet preset conditions, wherein:
[0164] A first acquisition module is configured to acquire a first reflected sound signal, wherein the first reflected sound signal is a signal generated after the first sound signal output by the first sound generating module is reflected by the first object;
[0165] The second acquisition module is used 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 the first object.
[0166] Here, the first / second acquisition module can be any suitable module capable of performing sound acquisition functions. For example, a microphone. The preset condition can be any suitable condition, such as not exceeding a preset distance threshold. The distance threshold can be any suitable value, such as 3 cm, 5 cm, or other values. 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 emission module, and the second acquisition module can be installed a few centimeters behind the opening of the second sound conduit in the second sound emission module.
[0167] In some embodiments, the output power of the first sound emission module and the second sound emission module is dynamically adjusted based on the first reflected sound signal obtained by the first acquisition module and the second reflected sound signal obtained by the second acquisition module to ensure that the sound pressure at the two human ears remains constant, thereby achieving dynamic balance of the left and right sound fields. For implementation, please refer to the specific implementation of steps S161 to S162 above.
[0168] FIG10 is a schematic diagram of the structure of a sound-generating device provided by an embodiment of the present disclosure. As shown in FIG10 , 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 that have been sound-insulated, wherein:
[0169] The first sound module includes a first sound cavity 2111, a first sound 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 component 2112 includes a first sound panel 21121 and a first piezoelectric sound element 21122 located on the first sound panel 21121.
[0170] The second sound module 212 includes a second sound cavity 2121, a second sound component 2122 located in the second sound cavity 2121, and a second sound conduit 2123 connected to the second sound cavity 2121. The second sound component 2122 includes a second sound panel 21221 and a second piezoelectric sound element 21222 located on the second sound panel 21221.
[0171] Figure 11 is a schematic diagram of sound at the human ear provided by an embodiment of the present disclosure. As shown in Figure 11, the other end of the first sound conduit 2113 of the headrest sound-emitting device is formed with an opening for emitting sound toward the left ear 241 of the person, for transmitting the first sound signal to the left ear 241, and the other end of the second sound conduit 2123 of the headrest sound-emitting device is formed with an opening for emitting sound toward the right ear 242, for transmitting the second sound signal to the right ear 242.
[0172] In the embodiment disclosed herein, first, the headrest sound-emitting device utilizes a piezoelectric sound element to generate sound. Since the piezoelectric sound element is compact, the volume of the headrest sound-emitting device is reduced; second, the sound-emitting module is soundproofed to reduce the possibility of sound wave interference; third, the identification information of the audio data to be played is used to determine whether to eliminate the audio data to be played, thereby eliminating audio data with higher privacy while playing audio data with average privacy normally, thereby improving the targeted data processing; finally, two sound signals with the same amplitude and opposite phase are outputted respectively by two sound-emitting modules, so that the two sound signals will automatically achieve reverse elimination when converging in front of the head, effectively reducing the possibility of privacy leakage, while also reducing the impact on people at other positions.
[0173] Based on the above embodiments, the present disclosure further provides an audio signal processing system. FIG11 is a schematic diagram of the structure of an audio signal processing system provided by the present disclosure. As shown in FIG11 , 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, wherein:
[0174] The control device 31 is configured to execute any one of the above audio signal processing methods.
[0175] Here, the control device may be any suitable device capable of realizing the function, for example, a control chip (such as a SOC, etc.), a signal processor + a microprocessor, etc.
[0176] The sound-generating device may refer to any of the aforementioned sound-generating devices. In some embodiments, the headrest sound-generating device 321 is the sound-generating device 32 .
[0177] In some embodiments, the sound-generating device 32 further includes a first acquisition module and a second acquisition module, and the distance between the first acquisition module and the first sound-generating module, and the distance between the second acquisition module and the second sound-generating module both meet preset conditions. In the absence of a head, the first acquisition module cannot obtain the first sound signal output by the first sound-generating module, and in the absence of a head, the second acquisition module cannot obtain the second sound signal output by the second sound-generating module; wherein:
[0178] 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 sound generating module is reflected by a first object;
[0179] 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 sound generating module is reflected by the first object;
[0180] The control device is further used to determine a sound pressure change value based on the first reflected sound signal and the second transmitted sound signal, the sound pressure change value including 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; and adjust the output power of the first sound emission module and the output power of the second sound emission module based on the sound pressure change value.
[0181] Here, when the head is not positioned within the headrest sound-generating device, the first and second acquisition modules cannot capture the corresponding reflected sound signals. Only when the head is positioned within the headrest sound-generating device can they capture the reflected sound signals formed by the sound signals reflecting off the face. In practice, adjusting the output power of the two sound-generating modules can refer to the specific implementation of steps S161 and S162 described above.
[0182] FIG12 is a schematic diagram of the structure of an audio signal processing system provided by an embodiment of the present disclosure. As shown in FIG12 , the audio signal processing system 30 includes a control device 31 and a sound device 32, wherein:
[0183] The sound-generating device 32 includes a headrest sound-generating device 321 , a first acquisition module 322 , and a second acquisition module 323 , wherein the headrest sound-generating device 321 includes a first sound-generating module 3211 and a second sound-generating module 3212 ;
[0184] 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, and the microprocessor 312 is used to process the audio data of the cockpit domain. The processed sound signal is transmitted to the first sound module 3211 and the second sound 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 collected by the first acquisition module 322 and the second acquisition module 323.
[0185] In the embodiment disclosed herein, first, the headrest sound-emitting device utilizes a piezoelectric sound element to generate sound. Since the piezoelectric sound element is compact, the volume of the headrest sound-emitting device is reduced; secondly, the output power of the corresponding sound-emitting module is dynamically adjusted through the transmitted sound signals collected by the two acquisition modules to ensure that the sound pressure at the human ear remains unchanged at all times, thereby achieving a dynamic balance of the sound fields on the left and right sides; thirdly, whether the audio data to be played is to be eliminated is determined by the identification information of the audio data to be played, thereby eliminating audio data with higher privacy while playing audio data with average privacy normally, thereby improving the targeted data processing; finally, two sound signals with the same amplitude and opposite phase are outputted by the two sound-emitting modules respectively, so that the two sound signals will automatically achieve reverse elimination when converging in front of the head, effectively reducing the possibility of privacy leakage, while also reducing the impact on people at other positions.
[0186] It should be noted that, in the embodiments of the present disclosure, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present disclosure is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for enabling 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 each embodiment of the present disclosure. The aforementioned storage medium includes various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk. In this way, the embodiments of the present disclosure are not limited to any specific combination of hardware and software.
[0187] An embodiment of the present disclosure provides a vehicle, comprising any of the above-mentioned sound-generating devices or any of the above-mentioned audio signal processing systems.
[0188] An embodiment of the present disclosure provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor implements the above method when executing the computer program.
[0189] The present disclosure provides a computer-readable storage medium having a computer program stored thereon, which implements the above method when executed by a processor. The computer-readable storage medium may be transient or non-transient.
[0190] The present disclosure provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is read and executed by a computer, implements some or all of the steps in the above method. The computer program product can be implemented specifically by 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.
[0191] It should be noted that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of the present disclosure, please refer to the description of the method embodiments of the present disclosure for understanding.
[0192] It should be understood that “one embodiment” or “an embodiment” mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present disclosure. Therefore, “in one embodiment” or “in an embodiment” appearing 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 the various embodiments of the present disclosure, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure. The serial numbers of the embodiments of the present disclosure mentioned above are for description and do not represent the advantages and disadvantages of the embodiments.
[0193] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.
[0194] In the several embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are schematic. For example, the division of the units is a logical function division. There may be other division methods in actual implementation, such as: 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 can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0195] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed across multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.
[0196] In addition, all functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0197] Those skilled in the art will understand that all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, and other media that can store program codes.
[0198] Alternatively, if the above-mentioned integrated unit of the present disclosure is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling 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 each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks or optical disks.
[0199] The above is an implementation mode of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the present disclosure, and they should all be covered by the protection scope of the present disclosure. Industrial Applicability
[0200] The present disclosure provides an audio signal processing method and system, a sound-emitting device, a vehicle, an electronic device, a storage medium and a computer program product, the audio signal processing method comprising: parsing audio data to be played to obtain identification information of the audio data to be played; in response to the identification information representation of the audio data to be played needing to be eliminated, 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 the first sound module of a preset headrest sound-emitting device to output the first sound signal; controlling the second sound module of the headrest sound-emitting device to output the second sound signal; wherein the first sound module and the second sound module are both based on piezoelectric sound elements for sound generation, and the structure of the first sound module and the structure of the second sound module are symmetrical. In this way, firstly, the headrest sound-generating device utilizes a piezoelectric sound element to generate sound, and since the piezoelectric sound element is compact, the volume of the headrest sound-generating device is reduced; secondly, the identification information of the audio data to be played is used to determine whether to eliminate the audio data to be played, thereby eliminating audio data with higher privacy, while playing audio data with average privacy normally, thereby improving the targeted data processing; finally, two sound signals with the same amplitude and opposite phase are outputted respectively through two sound-generating modules, so that the two sound signals will automatically achieve reverse elimination when converging in front of the head, effectively reducing the possibility of privacy leakage, while also reducing the impact on people at other positions.
Claims
1. An audio signal processing method, the method comprising: Parsing the audio data to be played to obtain the 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 generation module of a preset headrest sound generation device to output the first sound signal; Controlling a second sound generation module of the headrest sound generation device to output the second sound signal; Wherein, both the first sound generation module and the second sound generation module generate sounds based on piezoelectric sound elements, and the structures of the first sound generation module and the second sound generation 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 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.
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 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 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 generation module and the output power of the second sound generation 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 generation module and the output power of the second sound generation 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 generation module and raising the output power of the second sound generation 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 generation module and lowering the output power of the second sound generation 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 conduit 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 conduit 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 conduit through the first sound cavity; 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 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 conduit through the second sound cavity; 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 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 sound generating device communicatively connected to the control device. The sound generating device includes a headrest sound generating 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 sound generating device 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. In the absence of a head, the first acquisition module cannot acquire the first sound signal output by the first sound generating module, and the second acquisition module cannot acquire the second sound signal output by the second sound generating 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 sound generating 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 sound generating 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, the output power of the first sound generating module and the output power of the second sound generating module are adjusted.
10. A vehicle, comprising the sound generating 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.
13. A computer program product, the computer program product includes a computer program or instruction. When the computer program or instruction runs on an electronic device, the electronic device is caused to execute the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Sound elimination method and mobile terminal
CN107071119A
System and method for in-vehicle sound control, storage medium and vehicle
CN115701632A
Loudspeaker control method, device and equipment and readable storage medium
CN116055606A
Regional control system and method for internal sound of automobile
CN116434743A
Zone-based sound reproduction in a vehicle
DE102014210105A1