CN110876098B - Audio processing method and electronic equipment - Google Patents

Audio processing method and electronic equipment Download PDF

Info

Publication number
CN110876098B
CN110876098B CN201811009470.9A CN201811009470A CN110876098B CN 110876098 B CN110876098 B CN 110876098B CN 201811009470 A CN201811009470 A CN 201811009470A CN 110876098 B CN110876098 B CN 110876098B
Authority
CN
China
Prior art keywords
chip
audio
audio data
conversion processing
audio conversion
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
CN201811009470.9A
Other languages
Chinese (zh)
Other versions
CN110876098A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811009470.9A priority Critical patent/CN110876098B/en
Publication of CN110876098A publication Critical patent/CN110876098A/en
Application granted granted Critical
Publication of CN110876098B publication Critical patent/CN110876098B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/12Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Abstract

The application relates to an audio processing method and an electronic device. The method comprises the following steps: the first audio data are transmitted to the second chip through the first chip, audio conversion processing is carried out on the first audio data through the second chip to obtain target audio data, the target audio data are transmitted to the audio output device, and the target audio data are output through the audio output device, wherein the power consumption of the first chip is higher than that of the second chip. In the method, the second chip with lower power consumption can be adopted for audio conversion processing, so that target audio data can be obtained, and the power consumption can be reduced.

Description

Audio processing method and electronic equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to an audio processing method and an electronic device.
Background
With the development of computer technology, the application of audio transformation technology is more and more extensive. The electronic device can perform audio transformation processing on the acquired audio data through the processor, and play or upload the processed audio data to a server for processing.
However, the conventional method has a problem of large power consumption.
Disclosure of Invention
The embodiment of the application provides an audio processing method and electronic equipment, which can reduce power consumption.
An audio processing method applied to an electronic device comprises the following steps:
transmitting the first audio data to a second chip through the first chip;
performing audio conversion processing on the first audio data through the second chip to obtain target audio data, and transmitting the target audio data to an audio output device;
outputting the target audio data through the audio outputter;
wherein the first chip consumes more power than the second chip.
An audio processing method applied to an electronic device comprises the following steps:
transmitting the collected first audio data to a second chip through an audio collector;
performing audio conversion processing on the first audio data through the second chip to obtain target audio data, and transmitting the target audio data to the first chip;
wherein the first chip consumes more power than the second chip.
An electronic device includes a first chip and a second chip connected to each other; the second chip is used for carrying out audio conversion processing on the first audio data when the first audio data transmitted by the first chip or collected by the audio collector is received, so that target audio data are obtained; wherein the first chip consumes more power than the second chip.
According to the audio processing method and the electronic equipment, the first audio data are transmitted to the second chip through the first chip, the first audio data are subjected to audio conversion processing through the second chip to obtain target audio data, the target audio data are transmitted to the audio output device, and the target audio data are output through the audio output device, wherein the power consumption of the first chip is higher than that of the second chip. The second chip with lower power consumption can be adopted for audio conversion processing, so that target audio data can be obtained, and the power consumption can be reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a block diagram of an electronic device in one embodiment;
FIG. 2 is a block diagram showing the structure of an electronic apparatus according to another embodiment;
FIG. 3 is a schematic diagram showing an internal configuration of an electronic apparatus according to an embodiment;
FIG. 4 is a flow diagram of a method of audio processing in one embodiment;
FIG. 5 is a flow chart of an audio processing method in another embodiment;
fig. 6 is a block diagram of a partial structure of a cellular phone in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first chip may be referred to as a second chip, and similarly, a second chip may be referred to as a first chip, without departing from the scope of the present application. The first chip and the second chip are both chips, but they are not the same chip.
Fig. 1 is a block diagram of an electronic device in one embodiment. As shown in fig. 1, the electronic device 100 may include a first chip 110, a second chip 120, and an audio outputter 130. The first chip 110 may be a Central Processing Unit (CPU) module. The second chip 120 may be a low power chip with an audio conversion processing function. Wherein, the power consumption of the first chip 110 is higher than that of the second chip 120. The audio outputter 130 may be a speaker. The second chip 120 is connected between the first chip 110 and the audio output device 130, and the first chip 110 may also be directly connected to the audio output device 130.
The audio transformation request may be triggered when the first chip 110 receives the audio transformation request, for example, when an application is playing music, watching video, watching live. When the first chip 110 receives the audio conversion request, the first audio data may be transmitted to the second chip 120, and the second chip 120 performs audio conversion processing to obtain target audio data, and the second chip 120 may output the target audio data to the audio output device 130. When the audio outputter 130 receives the target audio data, the target audio data may be output as a sound signal.
Fig. 2 is a block diagram showing an internal configuration of an electronic device in another embodiment. As shown in fig. 2, the electronic device may also include an audio collector 140. The audio collector 140 may be a microphone. The audio collector 140 is connected to the first chip 110 and the second chip 120, respectively.
When the electronic device acquires the first audio data through the audio acquisition unit 140, for example, when an application program is recording or recording a video, the acquired first audio data may be transmitted to the second chip 120 through the audio acquisition unit 140, and the electronic device performs audio transformation processing on the first audio data through the second chip 120 to obtain target audio data, and transmits the target audio data to the first chip 110.
Fig. 3 is a schematic diagram illustrating an internal structure of the electronic device according to an embodiment. As shown in fig. 3, the electronic device includes a first chip 110 and a second chip 120 connected through a serial peripheral interface, wherein the first chip 110 has higher power consumption than the second chip 120. The first chip 110 is used to support the operation of this electronic device. The second chip 120 is used to provide audio transform processing functions. Second chip 120 includes a microcontroller 122, a processor 124, an internal memory 126, and an interface 128. The microcontroller 122 is connected to the first chip 110 through a serial peripheral interface, and is configured to provide a control capability and support the operation of the second chip 120. The processor 124 is connected to the microcontroller 122 and the internal memory 126, respectively, for performing audio transform processing on the audio data. The internal memory 126 is connected to the microcontroller 122 and the processor 124, respectively, and is used for storing computer programs and cache data such as first audio data that has not been processed yet and target audio data that has undergone audio transform processing. The interface 128 is connected to the microcontroller 122, and is respectively connected to the audio output device 130 and the audio collector 140 via an audio bus built in the integrated circuit, for transmitting the first audio data to the second chip 120 or transmitting the target audio data to the audio output device 130.
In one embodiment, the electronic device may transmit the first audio data to the second chip 120 through the first chip 110, perform audio transformation processing on the first audio data through the second chip 120 to obtain target audio data, transmit the target audio data to the audio output device, and output the target audio data through the audio output device.
When audio conversion is needed, the electronic device may transmit the first audio data to the second chip 120 through the first chip 110, process the first audio data through the second chip 120, obtain target audio data and transmit the target audio data to the audio output device 130, and then output the target audio data, that is, the audio output device converts the target audio data into a sound signal for playing. The audio conversion processing is processing for changing the tone, mixing the sound, adding background sound, reducing noise, and the like, on the audio data. The electronic device may perform audio conversion processing on the first audio data, and may perform at least one of the above-described sound modification, tone modification, sound mixing, background sound increase and decrease, noise reduction, and the like on the first audio data.
In an embodiment, the electronic device may transmit the collected first audio data to the second chip 120 through the audio collector 140, and the second chip 120 performs audio transformation on the first audio data to obtain target audio data, and transmits the target audio data to the first chip 120.
The first audio data may also be audio data generated by ambient sound collected by the electronic device in real-time. The electronic equipment can acquire first audio data through the audio collector during recording and also can acquire the first audio data through the audio collector during recording. The electronic device transmits the collected first audio data to the second chip 120 through the audio collector, and after the electronic device performs audio conversion processing on the first audio data through the second chip 120, the electronic device can transmit the obtained target audio data to the first chip 110, and save or perform other operations through the first chip 110.
In one embodiment, the first chip 110 is further configured to control the second chip 120 to start an audio transform processing function when receiving an audio transform request.
The electronic device may obtain an audio transform request for the first audio data through the first chip 110. When the electronic device obtains an audio conversion request for the first audio data through the first chip 110, the second chip 120 may be controlled to start an audio processing function according to the audio conversion request, so that when the first audio data is transmitted to the second chip 120 through the first chip 110, the second chip 120 may receive the first audio data and perform audio conversion processing.
In one embodiment, the first chip 110 is further configured to control the second chip 120 to start an audio transform processing function through the first chip when the currently running application and the preset application are detected.
The electronic device can directly acquire the currently running application program and detect whether the currently running application program is a preset application program. When the electronic device detects a currently running application program and a preset application program, the first chip 110 may control the second chip 120 to start an audio conversion processing function, so that when the first chip 110 transmits first audio data to the second chip 120, the second chip 120 may receive the first audio data and perform audio conversion processing.
In one embodiment, the first chip 110 is further configured to detect a remaining power of the electronic device, and control the second chip 120 to turn off the audio conversion processing function through the first chip 110 when the remaining power is lower than a power threshold.
The remaining capacity of the electronic device is the proportion of the available power in the battery of the electronic device to the nominal capacity. The charge threshold may be determined based on actual usage requirements. For example, the charge amount threshold may be 10%, 15%, 20%, 30%, etc. without limitation thereto. The electronic device can detect the remaining power in real time, and when the remaining power is lower than the power threshold, the electronic device can control the second chip 120 to turn off the audio conversion processing function through the first chip 110.
In one embodiment, the second chip 120 may be further configured to obtain an audio transform mode for the first audio data, and perform audio transform processing on the first audio data according to the audio transform mode.
The audio transform modes may include, but are not limited to, time-varying pitch, mixing, adding background sounds, noise reduction, etc. modes. The electronic device may perform audio transform processing on the first audio data according to the audio transform mode, where the audio transform processing is performed on the first audio data in at least one of the audio transform modes.
In an embodiment, the first chip may be further configured to, when it is detected that the currently running application is a preset application, obtain, by the first chip, a corresponding preset audio conversion mode according to the application and transmit the corresponding preset audio conversion mode to the second chip, and process, by the second chip, the first audio data according to the preset conversion mode.
The electronic equipment can preset the corresponding preset audio conversion modes of different application programs, so that the electronic equipment can acquire the corresponding preset audio conversion modes according to the currently running application program and perform audio conversion processing on first audio data acquired or output by the currently running application program according to the preset audio conversion modes.
FIG. 4 is a flow diagram of a method of audio processing in one embodiment. The audio processing method in this embodiment is described by taking the electronic device as an example. As shown in fig. 4, the audio processing method includes steps 402 to 406. Wherein:
step 402, transmitting the first audio data to a second chip through a first chip, wherein the first chip consumes more power than the second chip.
The first audio data is audio data obtained by performing analog-to-digital conversion on sound data by the electronic equipment. The first audio data may be audio data stored locally in the electronic device, or may be audio data downloaded by the electronic device from a network. Specifically, the first audio data may be PCM data that is a digital signal obtained by converting sound data from an analog signal using PCM (Pulse Code Modulation). The first chip may be a CPU of the electronic device. The second chip is a chip with an audio conversion function and lower power consumption than the first chip. In particular, the second chip may be a low power chip. The low power consumption chip is a chip capable of reducing power consumption and thus extending battery life.
The electronic equipment can transmit the first audio data to the second chip through the first chip when audio conversion is needed, and process the first audio data through the second chip.
And step 404, performing audio conversion processing on the first audio data through the second chip to obtain target audio data, and transmitting the target audio data to an audio output device.
The target audio data refers to audio data subjected to audio transform processing. The audio outputter refers to a device that can convert audio data into a sound signal. In particular, the audio outputter may be a speaker. The audio conversion processing is processing for changing the tone, mixing the sound, adding background sound, reducing noise, and the like, on the audio data. The electronic device may perform audio conversion processing on the first audio data, and may perform at least one of the above-described sound modification, tone modification, sound mixing, background sound increase and decrease, noise reduction, and the like on the first audio data.
And a second chip of the electronic equipment receives the first audio data transmitted by the first chip, performs audio conversion processing on the first audio data to obtain target audio data and transmits the target audio data to an audio output device.
In step 406, the target audio data is output through the audio output device.
Specifically, the audio output device outputs the target audio data, that is, the audio output device converts the target audio data into a sound signal and plays the sound signal.
In the embodiment provided by the application, the first audio data are transmitted to the second chip through the first chip, the first audio data are subjected to audio conversion processing through the second chip to obtain target audio data, the target audio data are transmitted to the audio output device, and the target audio data are output through the audio output device, wherein the power consumption of the first chip is higher than that of the second chip. Because the audio data can be transmitted to the second chip with low power consumption for audio conversion processing, the power consumption can be reduced, the workload of the first chip can be reduced, and the service time of the battery can be prolonged.
As shown in fig. 5, in one embodiment, the provided audio processing method includes steps 502 to 504. Wherein:
step 502, the collected first audio data is transmitted to the second chip through the audio collector.
The first audio data may also be audio data generated by ambient sound collected by the electronic device in real-time. The audio collector refers to a device that can convert a sound signal into a digital signal, i.e., audio data. In particular, the audio collector may be a microphone such as a microphone, or the like. The electronic equipment can acquire first audio data through the audio collector during recording and also can acquire the first audio data through the audio collector during recording. The electronic equipment transmits the collected first audio data to the second chip through the audio collector, specifically, the electronic equipment can transmit the first audio data to the second chip in real time in the collecting process, and can also transmit the first audio data to the second chip after the collection is completed.
And step 504, performing audio conversion processing on the first audio data through the second chip to obtain target audio data, and transmitting the target audio data to the first chip.
After the electronic device performs audio conversion processing on the first audio data through the second chip, the obtained target audio data can be transmitted to the first chip, and storage or other operations are performed through the first chip. For example, when the electronic device performs network live broadcasting, the electronic device may upload the obtained target audio data to the network server through the first chip, and the other electronic devices may download the target audio data for playing and outputting; when the electronic device records audio, the electronic device can store the obtained target audio data in the electronic device through the first chip, and the electronic device can play and output the target audio data when needed.
The electronic equipment can transmit the collected first audio data to the second chip through the audio collector, and the first audio data is subjected to audio transformation processing through the second chip to obtain target audio data and is transmitted to the first chip. Because the audio data can be transmitted to the second chip with lower power consumption for conversion processing when the audio data is collected, the power consumption can be reduced, and the service time of the battery can be prolonged.
In one embodiment, the audio processing method further includes, before the transmitting the first audio data to the second chip by the first chip: and when an audio conversion request is received, the first chip controls the second chip to start an audio processing function.
The audio transformation request may be generated by a user by clicking a button on the display screen or by pressing a control on the touch screen, and the electronic device may obtain the audio transformation request for the first audio data through the first chip. When the electronic device obtains an audio conversion request for the first audio data through the first chip, the second chip can be controlled to start an audio processing function according to the audio conversion request. Specifically, the second chip may be in a shutdown or sleep state when audio conversion processing is not required, and when an audio conversion instruction is received by the first chip, the second chip may be started or made to enter a working state by the first chip, so that when the first audio data is transmitted to the second chip by the first chip, the second chip may receive the first audio data and perform audio conversion processing.
In one embodiment, the provided audio processing method further comprises: and when the currently running application program is detected to be a preset application program, controlling the second chip to start the audio conversion processing function through the first chip.
An application is a computer program having one or more specific tasks to perform. The preset application may be an application that is usable to at least one of play audio data and capture audio data. Specifically, the preset application may be an application such as a sound recording, a video recording, a music player, and a video player. The electronic device can directly acquire the currently running application program and detect whether the currently running application program is a preset application program. When the electronic equipment detects the currently running application program and the preset application program, the second chip can be controlled to start the audio conversion processing function through the first chip, so that when the first audio data is transmitted to the second chip through the first chip, the second chip can receive the first audio data and carry out audio conversion processing.
In one embodiment, the provided audio processing method further comprises: and acquiring an audio conversion mode of the first audio data through the second chip, and performing audio conversion processing on the first audio data according to the audio conversion mode.
The audio transform modes may include, but are not limited to, time-varying pitch, mixing, adding background sounds, noise reduction, etc. modes. The sound change means that the sound signal output by changing the frequency of the audio frequency and further changing the tone and the pitch of the sound is different from the original sound in sense. For example, the change of voice may be a change of a male voice to a female voice, a change of an adult voice to a child voice, or the like. Pitch modification refers to making the output sound signal more deep or sharp than the original sound by adjusting the pitch. Mixing refers to the integration of sound from multiple sources into one stereo or mono audio track. Adding the background sound means superimposing a background audio on the original audio data. For example, the accompaniment audio of the music is added to the audio data of the musical singing. Noise reduction refers to removing a portion of audio data that belongs to ambient noise. The audio transformation mode may be generated by a user clicking a button on the display screen or by a user pressing a control on the touch screen, and the electronic device may acquire the audio transformation mode for the first audio data. The electronic device may perform audio transform processing on the first audio data according to the audio transform mode, where the audio transform processing is performed on the first audio data in at least one of the audio transform modes. Specifically, the electronic device may further obtain the transformation parameters corresponding to different audio transformation modes, where the types of the transformation parameters corresponding to different audio transformation modes are different, and the electronic device is not limited herein. For example, when the audio transform mode is to increase background sounds, the transform parameter may be the type of background sounds that need to be increased, such as soft, excited, leisure, etc.; when the audio transform mode is unvoiced, the transform parameter may be a tone, a pitch, or the like.
When the electronic equipment carries out audio conversion processing through the second chip, the audio conversion mode of the first audio data can be acquired, and the audio conversion processing is carried out on the first audio data according to the audio conversion mode, so that various audio processing effects can be supported, and the power consumption is reduced.
In one embodiment, the provided audio processing method may further include: when the currently running application program is detected to be a preset application program, the corresponding preset audio conversion mode is obtained through the first chip according to the application program and is transmitted to the second chip, and audio conversion processing is carried out on the first audio data through the second chip according to the preset audio conversion mode.
The electronic equipment can preset the corresponding preset audio conversion modes of different application programs, so that the electronic equipment can acquire the corresponding preset audio conversion modes according to the currently running application program and perform audio conversion processing on first audio data acquired or output by the currently running application program according to the preset audio conversion modes. For example, when the application program is a music player, the corresponding preset audio conversion mode may be a noise reduction mode, so that the electronic device may obtain clearer target audio data by performing noise reduction processing on the first audio data through the second chip; when the application program is the application program for recording songs, the corresponding preset audio conversion mode can be to increase background sound; when the application program is a webcast application program, the corresponding preset audio transformation mode may be a change of voice or the like. The preset audio conversion mode of the application program may be set according to actual requirements, and is not limited herein.
In one embodiment, the provided audio processing method further comprises: the method comprises the steps that the residual electric quantity of the electronic equipment is detected through the first chip, and when the residual electric quantity is lower than an electric quantity threshold value, the second chip is controlled through the first chip to close an audio conversion processing function.
The remaining capacity of the electronic device is the proportion of the available power in the battery of the electronic device to the nominal capacity. The charge threshold may be determined based on actual usage requirements. For example, the charge amount threshold may be 10%, 15%, 20%, 30%, etc. without limitation thereto. The electronic equipment can detect the residual capacity in real time, and when the residual capacity is lower than the capacity threshold value, the electronic equipment can control the second chip to close the audio conversion processing function through the first chip.
In one embodiment, an audio processing method is provided, which is applicable to the electronic device described above, and includes: the collected first audio data are transmitted to a second chip through an audio collector, the first audio data are subjected to audio conversion processing through the second chip to obtain target audio data, and the target audio data are transmitted to the first chip; wherein the first chip consumes more power than the second chip.
It should be understood that although the steps in the flowcharts of fig. 4 and 5 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 4 and 5 may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
The embodiment of the application also provides the electronic equipment. As shown in fig. 6, for convenience of explanation, only the parts related to the embodiments of the present application are shown, and details of the technology are not disclosed, please refer to the method part of the embodiments of the present application. The electronic device may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, a wearable device, and the like, taking the electronic device as the mobile phone as an example:
fig. 6 is a block diagram of a partial structure of a mobile phone related to an electronic device provided in an embodiment of the present application. Referring to fig. 6, the handset includes: a Radio Frequency (RF) circuit 610, a memory 620, an input unit 630, a display unit 640, a sensor 650, an audio circuit 660, a wireless fidelity (WiFi) module 670, a first chip 110, a second chip 120, and a power supply 690. Wherein, the power consumption of the first chip 110 is higher than that of the second chip 120. Those skilled in the art will appreciate that the handset configuration shown in fig. 6 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The RF circuit 610 may be used for receiving and transmitting signals during information transmission or communication, and may receive downlink information of the base station and then process the received downlink information to the first chip 110; the uplink data may also be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 610 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), e-mail, Short Messaging Service (SMS), and the like.
The memory 620 may be used to store software programs and modules, and the first chip 110 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 620. The memory 620 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as an application program for a sound playing function, an application program for an image playing function, and the like), and the like; the data storage area may store data (such as audio data, an address book, etc.) created according to the use of the mobile phone, and the like. Further, the memory 620 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 input unit 630 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone 600. Specifically, the input unit 630 may include a touch panel 631 and other input devices 632. The touch panel 631, which may also be referred to as a touch screen, may collect touch operations performed by a user on or near the touch panel 631 (e.g., operations performed by the user on or near the touch panel 631 using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. In one embodiment, the touch panel 631 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 first chip 110, and can receive and execute commands sent by the first chip 110. In addition, the touch panel 631 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 630 may include other input devices 632 in addition to the touch panel 631. In particular, other input devices 632 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), and the like.
The display unit 640 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 640 may include a display panel 641. In one embodiment, the Display panel 641 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, the touch panel 631 can cover the display panel 641, and when the touch panel 631 detects a touch operation thereon or nearby, the touch operation is transmitted to the first chip 110 to determine the type of the touch event, and then the first chip 110 provides a corresponding visual output on the display panel 641 according to the type of the touch event. Although in fig. 6, the touch panel 631 and the display panel 641 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 631 and the display panel 641 may be integrated to implement the input and output functions of the mobile phone.
The handset 600 may also include at least one sensor 650, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 641 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 641 and/or the backlight when the mobile phone is moved to the ear. The motion sensor can comprise an acceleration sensor, the acceleration sensor can detect the magnitude of acceleration in each direction, the magnitude and the direction of gravity can be detected when the mobile phone is static, and the motion sensor can be used for identifying the application of the gesture of the mobile phone (such as horizontal and vertical screen switching), the vibration identification related functions (such as pedometer and knocking) and the like; the mobile phone may be provided with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.
The audio circuit 660, audio outputter 130 and audio collector 140 may provide an audio interface between the user and the handset. The audio circuit 660 can transmit the electrical signal converted from the received audio data to the audio output device 130, and the electrical signal is converted into a sound signal by the audio output device 130 and output; on the other hand, the audio collector 140 converts the collected sound signal into an electrical signal, and the electrical signal is received by the audio circuit 660 and then converted into audio data, and then the audio data is output to the first chip 110 or the second chip 120 for processing, and then the audio data is sent to another mobile phone through the RF circuit 610, or the audio data is output to the memory 620 for subsequent processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 670, and provides wireless broadband Internet access for the user. Although fig. 6 shows WiFi module 670, it is understood that it is not an essential component of handset 600 and may be omitted as desired.
The first chip 110 is a control center of the mobile phone, and is connected to various parts of the whole mobile phone through various interfaces and lines, and executes various functions and processes data of the mobile phone by operating or executing software programs and/or modules stored in the first chip 620 and calling data stored in the memory 620, thereby performing overall monitoring of the mobile phone. The first chip 110 may be a processor. In one embodiment, first chip 110 may include one or more processing units. In one embodiment, the first chip 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application program, and the like; the modem processor handles primarily wireless communications. It is to be understood that the modem processor described above may not be integrated into the first chip 110.
The handset 600 further includes a power supply 690 (e.g., a battery) for supplying power to the components, and preferably, the power supply may be logically connected to the first chip 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In one embodiment, the handset 600 may also include a camera, a bluetooth module, and the like.
In this embodiment, the electronic device may transmit the first audio data to the second chip 120 through the first chip 110, perform audio transformation processing on the first audio data through the second chip 120 to obtain target audio data, transmit the target audio data to the audio output device 130 of the audio circuit 660, and output the target audio data through the audio output device 130.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An audio processing method applied to an electronic device, the audio processing method comprising:
controlling a second chip to start an audio conversion processing function through a first chip, wherein the second chip is in a closed or dormant state when the audio conversion processing function is not started;
transmitting first audio data to the second chip through the first chip;
performing audio conversion processing on the first audio data through the second chip to obtain target audio data, and transmitting the target audio data to an audio output device, wherein an audio conversion mode of the second chip for audio conversion processing is determined by the first chip according to a currently running application program and is transmitted to the second chip, and the audio conversion mode comprises at least one of sound change, tone change, sound mixing, background sound increase and noise reduction;
outputting the target audio data through the audio outputter;
wherein the first chip consumes more power than the second chip.
2. The method of claim 1, further comprising:
transmitting the collected first audio data to the second chip through an audio collector;
and performing audio conversion processing on the first audio data through the second chip to obtain the target audio data, and transmitting the target audio data to the first chip.
3. The method of claim 1, wherein prior to said transmitting the first audio data by the first chip to the second chip, the method further comprises:
and when an audio conversion request is received, the first chip controls the second chip to start an audio conversion processing function.
4. The method of claim 1, further comprising:
and when the currently running application program is detected to be a preset application program, controlling the second chip to start an audio conversion processing function through the first chip.
5. The method of claim 1, further comprising:
detecting the residual capacity of the electronic equipment through the first chip;
and when the residual electric quantity is lower than the electric quantity threshold value, controlling the second chip to close the audio conversion processing function through the first chip.
6. The method of claim 1, wherein the audio transforming the first audio data by the second chip comprises:
acquiring an audio conversion mode of the first audio data through the second chip;
and carrying out audio transformation processing on the first audio data according to the audio transformation mode.
7. An audio processing method applied to an electronic device, the audio processing method comprising:
controlling a second chip to start an audio conversion processing function through a first chip, wherein the second chip is in a closed or dormant state when the audio conversion processing function is not started;
transmitting the collected first audio data to the second chip through an audio collector;
performing audio conversion processing on the first audio data through the second chip to obtain target audio data, and transmitting the target audio data to the first chip, wherein an audio conversion mode of the second chip for performing audio conversion processing is determined by the first chip according to a currently running application program and is transmitted to the second chip, and the audio conversion mode comprises at least one of sound change, tone change, sound mixing, background sound increase and noise reduction;
wherein the first chip consumes more power than the second chip.
8. An electronic device comprising a first chip and a second chip connected; the second chip is used for controlling the second chip to start an audio conversion processing function and carrying out audio conversion processing on first audio data when the first audio data transmitted by the first chip or collected by an audio collector is received to obtain target audio data; the power consumption of the first chip is higher than that of the second chip, wherein an audio conversion mode for the second chip to perform audio conversion processing is determined by the first chip according to a currently running application program and is transmitted to the second chip, and the audio conversion mode comprises at least one of sound changing, tone changing, sound mixing, background sound increasing and noise reduction;
and the second chip is in a closed or dormant state when the audio conversion processing function is not started.
9. The electronic device of claim 8,
the first chip is also used for controlling the second chip to start an audio conversion processing function when receiving an audio conversion request.
10. The electronic device of claim 8, wherein the second chip comprises:
the processor is used for carrying out audio conversion processing on the first audio data to obtain target audio data;
the internal memory is connected with the processor and used for storing the obtained target audio data;
and the microcontroller is respectively connected with the processor and the internal memory and is used for transmitting the target audio data to the audio output device or the first chip through an interface.
CN201811009470.9A 2018-08-31 2018-08-31 Audio processing method and electronic equipment Active CN110876098B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811009470.9A CN110876098B (en) 2018-08-31 2018-08-31 Audio processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811009470.9A CN110876098B (en) 2018-08-31 2018-08-31 Audio processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN110876098A CN110876098A (en) 2020-03-10
CN110876098B true CN110876098B (en) 2022-01-11

Family

ID=69715597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811009470.9A Active CN110876098B (en) 2018-08-31 2018-08-31 Audio processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110876098B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111601372B (en) * 2020-04-09 2022-03-04 出门问问信息科技有限公司 Data processing device
CN115774539A (en) * 2021-09-06 2023-03-10 北京字跳网络技术有限公司 Harmony processing method, apparatus, device, and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964471A (en) * 2006-01-05 2007-05-16 宁波大学 2.4G public frequency band digital visual interphone and method to process audio image
CN101848280A (en) * 2009-03-25 2010-09-29 深圳富泰宏精密工业有限公司 System and method for saving power for silently playing music
CN102254548A (en) * 2010-05-17 2011-11-23 上海海纳通讯有限公司 Karaoke system for mobile terminal
CN105025418A (en) * 2014-04-17 2015-11-04 北京卓锐微技术有限公司 Active noise reduction controller
CN107749299A (en) * 2017-09-28 2018-03-02 福州瑞芯微电子股份有限公司 A kind of multi-audio-frequencoutput output method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200983609Y (en) * 2006-11-15 2007-11-28 康佳集团股份有限公司 Mobile phone with Kara OK function
CN102915726A (en) * 2012-10-19 2013-02-06 深圳市益光实业有限公司 Karaoke (OK) system for tablet personal computer and realizing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964471A (en) * 2006-01-05 2007-05-16 宁波大学 2.4G public frequency band digital visual interphone and method to process audio image
CN101848280A (en) * 2009-03-25 2010-09-29 深圳富泰宏精密工业有限公司 System and method for saving power for silently playing music
CN102254548A (en) * 2010-05-17 2011-11-23 上海海纳通讯有限公司 Karaoke system for mobile terminal
CN105025418A (en) * 2014-04-17 2015-11-04 北京卓锐微技术有限公司 Active noise reduction controller
CN107749299A (en) * 2017-09-28 2018-03-02 福州瑞芯微电子股份有限公司 A kind of multi-audio-frequencoutput output method and device

Also Published As

Publication number Publication date
CN110876098A (en) 2020-03-10

Similar Documents

Publication Publication Date Title
US20190220240A1 (en) Sound effect configuration method and system and related device
CN108320744B (en) Voice processing method and device, electronic equipment and computer readable storage medium
WO2018219104A1 (en) Power saving control method and related product
CN108988909B (en) Audio processing method and device, electronic equipment and computer readable storage medium
CN104158506A (en) Method, device and terminal for adjusting volume
WO2017215660A1 (en) Scene sound effect control method, and electronic device
WO2018219119A1 (en) Application function control method and relevant product
WO2017215661A1 (en) Scenario-based sound effect control method and electronic device
CN103634717A (en) Method, device and terminal equipment utilizing earphone to control
CN110874128B (en) Visualized data processing method and electronic equipment
CN110072013B (en) Terminal control method and device
WO2023246516A1 (en) Method and apparatus for generating visit report of clinical research project
CN110876098B (en) Audio processing method and electronic equipment
CN112689872B (en) Audio detection method, computer-readable storage medium and electronic device
CN107438999A (en) Method into battery saving mode, the method, device and mobile terminal for exiting battery saving mode
CN107317828B (en) File downloading method and device
CN104244448B (en) Reduce the method and system of data transmission delay
CN110277097B (en) Data processing method and related equipment
WO2015078349A1 (en) Microphone sound-reception status switching method and apparatus
CN106507357B (en) Access control method and terminal equipment
CN106303616B (en) Play control method, device and terminal
CN109511139B (en) WIFI control method and device, mobile device and computer-readable storage medium
CN108228357B (en) Memory cleaning method and mobile terminal
CN105159655B (en) Behavior event playing method and device
CN106775866A (en) Mobile terminal and mobile terminal performance adjusting method and 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