CN109309758B - Audio processing device, terminal equipment and signal processing method - Google Patents

Audio processing device, terminal equipment and signal processing method Download PDF

Info

Publication number
CN109309758B
CN109309758B CN201810988619.6A CN201810988619A CN109309758B CN 109309758 B CN109309758 B CN 109309758B CN 201810988619 A CN201810988619 A CN 201810988619A CN 109309758 B CN109309758 B CN 109309758B
Authority
CN
China
Prior art keywords
audio
signal
electrical data
parameter
audio processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810988619.6A
Other languages
Chinese (zh)
Other versions
CN109309758A (en
Inventor
程心坤
王志远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810988619.6A priority Critical patent/CN109309758B/en
Publication of CN109309758A publication Critical patent/CN109309758A/en
Application granted granted Critical
Publication of CN109309758B publication Critical patent/CN109309758B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Multimedia (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses an audio processing device, terminal equipment and a signal processing method, relates to the technical field of communication, and can solve the problem that when the terminal equipment is in some environments, the external equipment of the terminal equipment generates noise. The specific scheme is as follows: the audio processing device comprises an acquisition module and a signal processing module connected with the acquisition module. The acquisition module is used for acquiring electrical data and sending the electrical data to the signal processing module, wherein the electrical data is data obtained by converting environmental parameters of the environment where the audio processing device is located. And the signal processing module is used for receiving the electrical data, determining a target audio parameter corresponding to the electrical data and processing a signal to be processed in the audio processing device by adopting the target audio parameter. The embodiment of the invention is applied to the process of processing the signals to be processed in the audio processing device.

Description

Audio processing device, terminal equipment and signal processing method
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an audio processing device, terminal equipment and a signal processing method.
Background
When a user uses the terminal device to play music or make a call, the terminal device may first process a received signal using a fixed audio parameter (e.g., a rated voltage), and then play the processed signal through a speaker.
Specifically, after receiving a radio frequency Signal, an antenna of the terminal device sends the radio frequency Signal to a Digital Signal Processing (DSP) chip of the terminal device, the DSP chip may convert the radio frequency Signal into an electrical Signal and Process the electrical Signal by using a fixed audio parameter to obtain an enhanced or attenuated electrical Signal, and then the DSP chip sends the enhanced or attenuated electrical Signal to a power amplifier, which may amplify the enhanced or attenuated electrical Signal by using a fixed parameter and output the amplified electrical Signal to a speaker, which converts the amplified electrical Signal into an audio Signal and then plays the audio Signal.
However, when the terminal device is in different environments, the strength of the signal received by the terminal device may be different, and the characteristics of the speaker of the terminal device (for example, the Ts parameter of the speaker) may also change accordingly, so that the signal processing by using the above method (i.e., using the fixed audio parameter) may not meet the requirements for signal processing in different environments, thereby causing the speaker to generate noise in some environments.
Disclosure of Invention
The embodiment of the invention provides an audio processing device, terminal equipment and a signal processing method, which can solve the problem that when the terminal equipment is in some environments, the external equipment of the terminal equipment generates noise.
In order to solve the technical problem, the embodiment of the invention adopts the following technical scheme:
in a first aspect of embodiments of the present invention, an audio processing apparatus is provided, where the audio processing apparatus includes: the device comprises an acquisition module and a signal processing module connected with the acquisition module. The acquisition module is used for acquiring electrical data and sending the electrical data to the signal processing module, wherein the electrical data is data obtained by converting environmental parameters of the environment where the audio processing device is located. And the signal processing module is used for receiving the electrical data, determining a target audio parameter corresponding to the electrical data and processing a signal to be processed in the audio processing device by adopting the target audio parameter.
In the embodiment of the present invention, the audio processing apparatus may include an acquisition module and a signal processing module connected to the acquisition module; the acquisition module is used for sending the acquired electrical data (the electrical data is the data obtained by converting the environmental parameters of the environment where the audio processing device is located) to the signal processing module; and the signal processing module is used for determining a target audio parameter corresponding to the received electrical data and processing a signal to be processed in the audio processing device by adopting the target audio parameter. Because the acquisition module can acquire the electrical data, and the electrical data is the data after the environmental parameter conversion of the environment where the audio processing device is located, the signal processing module combines the environmental parameter, adopts the target audio parameter corresponding to the electrical data to process the signal to be processed, and can meet the requirement for signal processing under the environment corresponding to the environmental parameter, thereby avoiding the problem of noise generation when the audio signal is output under the environment corresponding to the environmental parameter, and further improving the quality of signal playing.
In a second aspect of the embodiments of the present invention, a terminal device is provided, where the terminal device includes the audio processing apparatus according to the first aspect.
In the embodiment of the present invention, the terminal device may include an audio processing apparatus, and the audio processing apparatus may include an acquisition module and a signal processing module connected to the acquisition module; the acquisition module is used for sending the acquired electrical data (the electrical data is the data obtained by converting the environmental parameters of the environment where the audio processing device is located) to the signal processing module; and the signal processing module is used for determining a target audio parameter corresponding to the received electrical data and processing a signal to be processed in the audio processing device by adopting the target audio parameter. Because the terminal equipment can comprise the audio processing device, the acquisition module in the audio processing device can acquire the electrical data, and the electrical data is the data after the environmental parameter conversion of the environment where the audio processing device is located, the audio processing device in the terminal equipment combines the environmental parameter, adopts the target audio parameter corresponding to the electrical data to process the signal to be processed, and can meet the requirement on signal processing under the environment corresponding to the environmental parameter, thereby avoiding the problem of noise generated when the audio signal is output under the environment corresponding to the environmental parameter, and further improving the quality of signal playing.
In a third aspect of the embodiments of the present invention, there is provided a signal processing method, which can be applied to an audio processing apparatus, the signal processing method including: acquiring electrical data, wherein the electrical data is data obtained by converting environmental parameters of the environment where the audio processing device is located; determining a target audio parameter corresponding to the electrical data; and processing the signal to be processed in the audio processing device by adopting the target audio parameters.
In the embodiment of the present invention, the audio processing apparatus may acquire electrical data (the electrical data is data obtained by converting an environmental parameter of an environment where the audio processing apparatus is located), determine a target audio parameter corresponding to the electrical data, and process a signal to be processed in the audio processing apparatus using the target audio parameter. Because the audio processing device can obtain the electrical data, and the electrical data is the data after the environmental parameter conversion of the environment where the audio processing device is located, the audio processing device can meet the requirement of signal processing under the environment corresponding to the environmental parameter by combining the environmental parameter and adopting the mode of processing the signal to be processed by the target audio parameter corresponding to the electrical data, thereby avoiding the problem of noise generated when the audio signal is output under the environment corresponding to the environmental parameter and further improving the quality of signal playing.
Drawings
Fig. 1 is a schematic structural diagram of an audio processing apparatus according to an embodiment of the present invention;
fig. 2 is a second schematic structural diagram of an audio processing apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 4 is a second schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a signal processing method according to an embodiment of the present invention;
fig. 6 is a second schematic diagram of a signal processing method according to an embodiment of the present invention;
fig. 7 is a third schematic diagram of a signal processing method according to an embodiment of the present invention;
fig. 8 is a hardware schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first" and "second," and the like, in the description and in the claims of embodiments of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first correspondence and the second correspondence, etc., are for distinguishing different correspondences, and are not for describing a specific order of the correspondences. In the description of the embodiments of the present invention, the meaning of "a plurality" means two or more unless otherwise specified.
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The embodiment of the invention provides an audio processing device, terminal equipment and a signal processing method, wherein the audio processing device can comprise an acquisition module and a signal processing module connected with the acquisition module; the acquisition module is used for sending the acquired electrical data (the electrical data is the data obtained by converting the environmental parameters of the environment where the audio processing device is located) to the signal processing module; and the signal processing module is used for determining a target audio parameter corresponding to the received electrical data and processing a signal to be processed in the audio processing device by adopting the target audio parameter. Because the acquisition module can acquire the electrical data, and the electrical data is the data after the environmental parameter conversion of the environment where the audio processing device is located, the signal processing module combines the environmental parameter, adopts the target audio parameter corresponding to the electrical data to process the signal to be processed, and can meet the requirement for signal processing under the environment corresponding to the environmental parameter, thereby avoiding the problem of noise generation when the audio signal is output under the environment corresponding to the environmental parameter, and further improving the quality of signal playing.
The audio processing device, the terminal equipment and the signal processing method provided by the embodiment of the invention can be applied to the process of processing the signals to be processed. In particular, the method can be applied to the process that the audio processing device processes the signal to be processed in the audio processing device according to the environmental parameters of the environment where the audio processing device is located.
An audio processing apparatus, a terminal device and a signal processing method according to embodiments of the present invention are described in detail below with reference to the accompanying drawings.
At present, in the prior art, a terminal device processes a signal by using a fixed audio parameter, and when the terminal device is in different environments, the strength of a signal received by the terminal device may be different, and the characteristics of a speaker of the terminal device may change accordingly.
In order to solve the above technical problem, an audio processing apparatus according to an embodiment of the present invention is provided, and fig. 1 illustrates a schematic structural diagram of an audio processing apparatus according to an embodiment of the present invention. As shown in fig. 1, the audio processing apparatus 10 may include: an acquisition module 11 and a signal processing module 12 connected to the acquisition module 11.
In the embodiment of the present invention, the obtaining module 11 is configured to obtain electrical data, and send the electrical data to the signal processing module 12, where the electrical data is obtained by converting an environmental parameter of an environment where the audio processing apparatus is located. And the signal processing module 12 is configured to receive the electrical data sent by the obtaining module 11, determine a target audio parameter corresponding to the electrical data, and process a signal to be processed in the audio processing apparatus 10 by using the target audio parameter.
In the embodiment of the present invention, after receiving the electrical data, the signal processing module 12 may search for an audio parameter corresponding to the electrical data from the audio processing apparatus 10, and determine the audio parameter as a target audio parameter; the signal processing module 12 may then use the target audio parameters to perform enhancement processing or attenuation processing on the signal to be processed.
Optionally, in an embodiment of the present invention, the environment parameter may include at least one of: pressure, temperature, humidity, and altitude.
Optionally, in this embodiment of the present invention, the obtaining module 11 may be an air pressure sensor, and the signal processing module 12 may be an audio signal processor.
Optionally, in this embodiment of the present invention, the audio signal processor may be a DSP.
Optionally, in this embodiment of the present invention, the signal to be processed in the audio processing apparatus 10 may be a signal to be processed stored in the audio processing apparatus 10; alternatively, the signal to be processed in the audio processing apparatus 10 may be a signal to be processed received by the audio processing apparatus 10 through an antenna.
Optionally, in the embodiment of the present invention, the electrical data may be any one of a current value, a voltage value, power, and the like. The specific method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in this embodiment of the present invention, the target audio parameter may be a target rated voltage (e.g., eq (equalizer) voltage).
The embodiment of the invention provides an audio processing device, wherein the audio processing device 10 may include an obtaining module 11 and a signal processing module 12 connected to the obtaining module 11; the acquiring module 11 is configured to send the acquired electrical data (the electrical data is obtained by converting the environmental parameters of the environment where the audio processing apparatus 10 is located) to the signal processing module 12; and the signal processing module 12 is configured to determine a target audio parameter corresponding to the received electrical data, and process a signal to be processed in the audio processing apparatus 10 by using the target audio parameter. Because the obtaining module 11 can obtain the electrical data, and the electrical data is the data obtained by converting the environmental parameters of the environment where the audio processing apparatus 10 is located, the signal processing module 12 can process the signal to be processed by using the target audio parameters corresponding to the electrical data in combination with the environmental parameters, and can meet the requirement of signal processing in the environment corresponding to the environmental parameters, thereby avoiding the problem of noise generated when the audio signal is output in the environment corresponding to the environmental parameters, and further improving the quality of signal playing.
Optionally, in the embodiment of the present invention, the obtaining module 11 is specifically configured to detect an environmental parameter; and converts the environmental parameters into electrical data.
Optionally, in the embodiment of the present invention, the obtaining module 11 may convert the environment parameter into the electrical data through a preset algorithm.
Optionally, in an embodiment of the present invention, the electrical data may be a first current value.
Illustratively, the environmental parameter is a pressure, and the electrical data is a first current value. Assuming that the obtaining module 11 detects that the pressure is 0.91-1 atm, the obtaining module 11 may convert the pressure of 0.91-1 atm into a first current value of 20mA-25 mA; assuming that the obtaining module 11 detects the pressure as 0.81-0.9 atm, the obtaining module 11 can convert the pressure of 0.81-0.9 atm into a first current value of 15-20 mA.
Optionally, in the embodiment of the present invention, the range of the pressure detected by the obtaining module 11 may be 0.3atm to 1.5 atm.
In the embodiment of the present invention, since the obtaining module 11 may be configured to detect an environmental parameter and convert the environmental parameter into electrical data, the signal processing module 12 combines the environmental parameter to process the signal to be processed by using a target audio parameter corresponding to the electrical data, so as to meet a requirement for signal processing in an environment corresponding to the environmental parameter, thereby avoiding a problem of noise generated when the audio signal is output in the environment corresponding to the environmental parameter.
Optionally, in an embodiment of the present invention, the electrical data is a first current value. The signal processing module 12 is specifically configured to determine a target audio parameter corresponding to the first current value according to the first current value and a first corresponding relationship, where the first corresponding relationship is a corresponding relationship between the first current value and the target audio parameter.
It can be understood that, in the embodiment of the present invention, at least one second correspondence relationship is stored in the audio processing apparatus, each of the at least one second correspondence relationship is a correspondence relationship between a current value and an audio parameter, and the at least one second correspondence relationship includes a first correspondence relationship; after receiving the first current value, the signal processing module 12 may search for a first corresponding relationship from at least one second corresponding relationship according to the first current value, and determine a target audio parameter corresponding to the first current value according to the first corresponding relationship.
Exemplarily, as shown in table 1, it shows an example of the correspondence between the current value and the audio parameter provided by the embodiment of the present invention.
TABLE 1
Figure BDA0001780262210000051
In table 1, the correspondence relationship 1 is a correspondence relationship between a (ma) and the audio parameter 1, the correspondence relationship 2 is a correspondence relationship between b (ma) and the audio parameter 2, and the correspondence relationship 3 is a correspondence relationship between c (ma) and the audio parameter 3. Assuming that the first current value received by the signal processing module 12 is b (ma), after receiving the first current value, the signal processing module 12 searches a first corresponding relationship from three corresponding relationships (such as corresponding relationship 1, corresponding relationship 2, and corresponding relationship 3) according to the first current value (i.e. b (ma)) to be a corresponding relationship 2, and determines that the target audio parameter corresponding to the first current value is the audio parameter 2 according to the corresponding relationship 2.
In the embodiment of the present invention, the target audio parameter is determined by the signal processing module 12 according to the first current value and the first corresponding relationship (the first corresponding relationship is a corresponding relationship between the first current value and the target audio parameter), so that the signal processing module 12 processes the signal to be processed by using the target audio parameter corresponding to the first current value, which can meet the requirement of the audio processing device 10 on signal processing in the environment, thereby avoiding the problem of noise generated when the audio signal is output in the environment, and further improving the quality of signal playing.
Optionally, in the embodiment of the present invention, with reference to fig. 1, as shown in fig. 2, the audio processing apparatus 10 provided in the embodiment of the present invention may further include a power amplifier 13 and a speaker 14. Wherein, the power amplifier 13 is connected with the signal processing module 12, and the loudspeaker 14 is connected with the power amplifier 13.
Optionally, in the embodiment of the present invention, the signal processing module 12 is further configured to send the processed signal to the power amplifier 13. And the power amplifier 13 is configured to receive the processed signal sent by the signal processing module 12, amplify the processed signal to obtain an amplified signal, and send the amplified signal to the speaker 14. And a speaker 14 for receiving the amplified signal transmitted by the power amplifier 13 and outputting the amplified signal.
Optionally, in the embodiment of the present invention, the speaker 14 may be at least one of: earphones, receivers, moving coil speakers, ceramic speakers, flat panel speakers, and the like.
Fig. 3 shows a schematic structural diagram of a terminal device provided in an embodiment of the present invention. As shown in fig. 3, the terminal device 20 may include an audio processing apparatus 10.
The embodiment of the present invention provides a terminal device, where the terminal device 20 may include an audio processing apparatus 10, and the audio processing apparatus 10 may include an obtaining module 11 and a signal processing module 12 connected to the obtaining module 11; the acquiring module 11 is configured to send the acquired electrical data (the electrical data is obtained by converting the environmental parameters of the environment where the audio processing apparatus 10 is located) to the signal processing module 12; and the signal processing module 12 is configured to determine a target audio parameter corresponding to the received electrical data, and process a signal to be processed in the audio processing apparatus 10 by using the target audio parameter. Because the terminal device 20 may include the audio processing apparatus 10, the obtaining module 11 in the audio processing apparatus 10 may obtain the electrical data, and the electrical data is data obtained by converting the environmental parameter of the environment where the audio processing apparatus 10 is located, the audio processing apparatus 10 in the terminal device 20 combines the environmental parameter, and processes the signal to be processed by using the target audio parameter corresponding to the electrical data, so as to meet the requirement of the environmental parameter for signal processing, thereby avoiding the problem of noise generated when the audio signal is output in the environment corresponding to the environmental parameter, and further improving the quality of signal playing.
Optionally, in the embodiment of the present invention, as shown in fig. 4, the terminal device 20 provided in the embodiment of the present invention may include an antenna 21, an obtaining module 11, a signal processing module 12, a power amplifier 13, and a speaker 14.
Optionally, in the embodiment of the present invention, the antenna 21 is configured to receive a signal to be processed, and send the signal to be processed to the signal processing module 12. The signal processing module 12 is further configured to receive a signal to be processed sent by the antenna 21, and process the signal to be processed by using the target audio parameter.
Optionally, in this embodiment of the present invention, the signal processing module 12 is integrated on a chip in the terminal device 20.
Fig. 5 is a flowchart illustrating a signal processing method according to an embodiment of the present invention, which can be applied to the audio processing apparatus according to the above embodiment. Wherein, although the logical order of the signal processing methods provided by embodiments of the present invention is shown in method flow diagrams, in some cases, various steps shown or described may be performed in an order different than here. As shown in fig. 5, the signal processing method may include steps 201 to 203 described below.
Step 201, the audio processing device acquires electrical data.
In an embodiment of the present invention, the electrical data is data obtained by converting environmental parameters of an environment of the audio processing apparatus.
Step 202, the audio processing device determines a target audio parameter corresponding to the electrical data.
Step 203, the audio processing device processes the signal to be processed in the audio processing device by using the target audio parameter.
It should be noted that, for specific descriptions of step 201 to step 203 in the signal processing method provided in the embodiment of the present invention, reference may be made to the relevant descriptions of the foregoing embodiments, which are not repeated herein.
The embodiment of the invention provides a signal processing method, wherein an audio processing device can acquire electrical data (the electrical data is data obtained by converting environmental parameters of an environment where the audio processing device is located), determine a target audio parameter corresponding to the electrical data, and process a signal to be processed in the audio processing device by adopting the target audio parameter. Because the audio processing device can obtain the electrical data, and the electrical data is the data after the environmental parameter conversion of the environment where the audio processing device is located, the audio processing device can meet the requirement of signal processing under the environment corresponding to the environmental parameter by combining the environmental parameter and adopting the mode of processing the signal to be processed by the target audio parameter corresponding to the electrical data, thereby avoiding the problem of noise generated when the audio signal is output under the environment corresponding to the environmental parameter and further improving the quality of signal playing.
Optionally, in the embodiment of the present invention, as shown in fig. 6 in combination with fig. 5, the step 201 may be specifically implemented by a step 201a and a step 201b described below.
Step 201a, the audio processing device detects an environmental parameter.
Step 201b, the audio processing device converts the environmental parameter into electrical data.
It should be noted that, for the description of the method for detecting the environmental parameter and converting the environmental parameter into the electrical data by the audio processing device, reference may be made to the related description of the above embodiments, which is not repeated herein.
In the embodiment of the invention, the audio processing device can detect the environmental parameters and convert the environmental parameters into the electrical data, so that the audio processing device combines the environmental parameters and adopts the target audio parameters corresponding to the electrical data to process the signals to be processed, the requirement of the environment corresponding to the environmental parameters on signal processing can be met, and the problem of noise generation when the audio signals are output in the environment corresponding to the environmental parameters can be avoided.
Optionally, in an embodiment of the present invention, the electrical data may be a first current value. Referring to fig. 5, as shown in fig. 7, the step 202 can be implemented by the step 202a described below.
Step 202a, the audio processing device determines a target audio parameter corresponding to the first current value according to the first current value and the first corresponding relation.
In an embodiment of the present invention, the first corresponding relationship is a corresponding relationship between the first current value and the target audio parameter.
It should be noted that, for a description of a method for determining a target audio parameter corresponding to a first current value by an audio processing apparatus, reference may be made to the relevant description of the foregoing embodiments, which is not repeated herein.
In the embodiment of the invention, the target audio parameter is determined by the audio processing device according to the first current value and the first corresponding relation (the first corresponding relation is the corresponding relation between the first current value and the target audio parameter), so that the audio processing device processes the signal to be processed by adopting the target audio parameter corresponding to the first current value, the requirement of the audio processing device on signal processing under the environment can be met, the problem of noise generated when the audio signal is output under the environment can be avoided, and the quality of signal playing can be improved.
Fig. 8 is a hardware schematic diagram of a terminal device for implementing various embodiments of the present invention. As shown in fig. 8, the terminal device 100 includes but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111.
It should be noted that, as those skilled in the art will appreciate, the terminal device structure shown in fig. 8 does not constitute a limitation to the terminal device, and the terminal device may include more or less components than those shown in fig. 8, or may combine some components, or may arrange different components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 110 is configured to obtain electrical data, where the electrical data is obtained by converting environmental parameters of an environment where the audio processing apparatus is located; and determining a target audio parameter corresponding to the electrical data; and processing the signal to be processed in the audio processing device by adopting the target audio parameters.
The embodiment of the invention provides a terminal device, which can acquire electrical data (the electrical data is data obtained by converting environmental parameters of an environment where the terminal device is located), determine a target audio parameter corresponding to the electrical data, and process a signal to be processed in the terminal device by using the target audio parameter. Because the terminal equipment can obtain the electrical data which is the data obtained after the conversion of the environmental parameters of the environment where the terminal equipment is located, the terminal equipment can meet the requirements of signal processing under the environment corresponding to the environmental parameters by combining the environmental parameters and adopting the mode of processing the signals to be processed by the target audio parameters corresponding to the electrical data, thereby avoiding the problem of noise generated when the audio signals are output under the environment corresponding to the environmental parameters and further improving the quality of signal playing.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal device 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The terminal device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the terminal device 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 8, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 100 or may be used to transmit data between the terminal apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal device. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The terminal device 100 may further include a power supply 111 (such as a battery) for supplying power to each component, and preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device 100 includes some functional modules that are not shown, and are not described in detail here.
Preferably, an embodiment of the present invention further provides a terminal device, which includes the processor 110 shown in fig. 8, the memory 109, and a computer program stored in the memory 109 and capable of running on the processor 110, and when the computer program is executed by the processor 110, the computer program implements each process of the foregoing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. An audio processing apparatus, characterized in that the audio processing apparatus comprises: the device comprises an acquisition module and a signal processing module connected with the acquisition module;
the acquisition module is used for acquiring electrical data and sending the electrical data to the signal processing module, wherein the electrical data is data obtained by converting environmental parameters of the environment where the audio processing device is located;
the signal processing module is used for receiving the electrical data, determining a target audio parameter corresponding to the electrical data, and processing a signal to be processed in the audio processing device by adopting the target audio parameter;
wherein the processing the signal to be processed in the audio processing device by using the target audio parameter comprises: and performing enhancement processing or attenuation processing on the signal to be processed by adopting the target audio parameter.
2. The audio processing apparatus according to claim 1, wherein the obtaining module is specifically configured to detect the environmental parameter; and converting the environmental parameter into the electrical data.
3. The audio processing apparatus according to claim 1 or 2, wherein the electrical data is a first current value;
the signal processing module is specifically configured to determine the target audio parameter corresponding to the first current value according to the first current value and a first corresponding relationship;
wherein the first corresponding relationship is a corresponding relationship between the first current value and the target audio parameter.
4. The audio processing apparatus according to claim 1, wherein the environmental parameter comprises at least one of: pressure, temperature, humidity, and altitude.
5. The audio processing device according to claim 1 or 4, wherein the obtaining module is an air pressure sensor, and the signal processing module is an audio signal processor.
6. A terminal device, characterized in that it comprises an audio processing apparatus according to any of claims 1 to 5.
7. A signal processing method applied to an audio processing apparatus, the method comprising:
acquiring electrical data, wherein the electrical data is data obtained by converting environmental parameters of the environment where the audio processing device is located;
determining a target audio parameter corresponding to the electrical data;
processing a signal to be processed in the audio processing device by adopting the target audio parameter;
wherein the processing the signal to be processed in the audio processing device by using the target audio parameter comprises: and performing enhancement processing or attenuation processing on the signal to be processed by adopting the target audio parameter.
8. The method of claim 7, wherein the acquiring electrical data comprises:
detecting the environmental parameter;
converting the environmental parameter into the electrical data.
9. The method of claim 7 or 8, wherein the electrical data is a first current value;
the determining a target audio parameter corresponding to the electrical data comprises:
determining the target audio parameter corresponding to the first current value according to the first current value and a first corresponding relation;
wherein the first corresponding relationship is a corresponding relationship between the first current value and the target audio parameter.
10. The method of claim 7, wherein the environmental parameter comprises at least one of: pressure, temperature, humidity, and altitude.
CN201810988619.6A 2018-08-28 2018-08-28 Audio processing device, terminal equipment and signal processing method Active CN109309758B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810988619.6A CN109309758B (en) 2018-08-28 2018-08-28 Audio processing device, terminal equipment and signal processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810988619.6A CN109309758B (en) 2018-08-28 2018-08-28 Audio processing device, terminal equipment and signal processing method

Publications (2)

Publication Number Publication Date
CN109309758A CN109309758A (en) 2019-02-05
CN109309758B true CN109309758B (en) 2021-01-08

Family

ID=65224281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810988619.6A Active CN109309758B (en) 2018-08-28 2018-08-28 Audio processing device, terminal equipment and signal processing method

Country Status (1)

Country Link
CN (1) CN109309758B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110888621A (en) * 2019-12-03 2020-03-17 广州思林杰网络科技有限公司 Audio signal processing device, method and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107749925A (en) * 2017-10-31 2018-03-02 北京小米移动软件有限公司 Audio frequency playing method and device
CN107948822A (en) * 2017-12-23 2018-04-20 广州市尊浪电器有限公司 A kind of intelligent-induction sound equipment
CN108388418A (en) * 2018-03-06 2018-08-10 深圳市沃特沃德股份有限公司 Audio regulation method, device and stereo set

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468930B (en) * 2013-09-17 2018-08-31 南京中兴软件有限责任公司 A kind of playback loudness method of adjustment and device
US20160260445A1 (en) * 2015-03-05 2016-09-08 Adobe Systems Incorporated Audio Loudness Adjustment
US20170214980A1 (en) * 2016-01-21 2017-07-27 Hashplay Inc. Method and system for presenting media content in environment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107749925A (en) * 2017-10-31 2018-03-02 北京小米移动软件有限公司 Audio frequency playing method and device
CN107948822A (en) * 2017-12-23 2018-04-20 广州市尊浪电器有限公司 A kind of intelligent-induction sound equipment
CN108388418A (en) * 2018-03-06 2018-08-10 深圳市沃特沃德股份有限公司 Audio regulation method, device and stereo set

Also Published As

Publication number Publication date
CN109309758A (en) 2019-02-05

Similar Documents

Publication Publication Date Title
CN108459797B (en) Control method of folding screen and mobile terminal
CN109078319B (en) Game interface display method and terminal
CN110109593B (en) Screen capturing method and terminal equipment
CN108196815B (en) Method for adjusting call sound and mobile terminal
CN110012143B (en) Telephone receiver control method and terminal
CN109739394B (en) SAR value processing method and mobile terminal
CN107785027B (en) Audio processing method and electronic equipment
CN109412932B (en) Screen capturing method and terminal
CN108848267B (en) Audio playing method and mobile terminal
CN107786751A (en) A kind of method for broadcasting multimedia file and mobile terminal
CN111459447B (en) Volume adjustment display method and electronic equipment
CN111093137B (en) Volume control method, volume control equipment and computer readable storage medium
CN110099434B (en) Power adjustment method, terminal equipment and computer readable storage medium
CN111614329A (en) Power amplifier, electronic equipment, voltage control method and device
CN109443261B (en) Method for acquiring folding angle of folding screen mobile terminal and mobile terminal
CN108093119B (en) Strange incoming call number marking method and mobile terminal
CN108419283B (en) WIFI hotspot scanning method and mobile terminal
CN111061407B (en) Video program operation control method, electronic device, and storage medium
CN110740265B (en) Image processing method and terminal equipment
CN108924319B (en) Proximity detection method and mobile terminal
CN109450508B (en) Antenna determination method and device and mobile terminal
CN109005377B (en) Video processing method and terminal equipment
CN110839108A (en) Noise reduction method and electronic equipment
CN108418961B (en) Audio playing method and mobile terminal
CN109270352B (en) Amplitude adjusting method and sound generating device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant