CN107682551B - Control method, terminal and storage medium of intelligent power amplifier - Google Patents

Control method, terminal and storage medium of intelligent power amplifier Download PDF

Info

Publication number
CN107682551B
CN107682551B CN201710917802.2A CN201710917802A CN107682551B CN 107682551 B CN107682551 B CN 107682551B CN 201710917802 A CN201710917802 A CN 201710917802A CN 107682551 B CN107682551 B CN 107682551B
Authority
CN
China
Prior art keywords
power amplifier
intelligent power
sound
preset
electric quantity
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
CN201710917802.2A
Other languages
Chinese (zh)
Other versions
CN107682551A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710917802.2A priority Critical patent/CN107682551B/en
Publication of CN107682551A publication Critical patent/CN107682551A/en
Application granted granted Critical
Publication of CN107682551B publication Critical patent/CN107682551B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • 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/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a control method of an intelligent power amplifier, which comprises the following steps: when a playing instruction is received, detecting the current electric quantity of a battery; when the current electric quantity is larger than a preset electric quantity threshold value, an intelligent power amplifier is turned on; determining a target working voltage of the intelligent power amplifier corresponding to the current electric quantity according to the current electric quantity and the corresponding relation between the preset electric quantity and the working voltage of the intelligent power amplifier; controlling an intelligent power amplifier to process the sound to be played according to a preset intelligent power amplifier algorithm to obtain a target playing sound; and controlling the intelligent power amplifier to work according to the target working voltage, and amplifying the target playing sound. The invention also provides a terminal and a computer readable storage medium, and by implementing the scheme, the power consumption of the terminal adopting the intelligent power amplifier is reduced.

Description

Control method, terminal and storage medium of intelligent power amplifier
Technical Field
The invention relates to the technical field of power amplification, in particular to a control method, a terminal and a storage medium of an intelligent power amplifier.
Background
At present, in order to meet the requirements of users on sound effects, terminals such as mobile phones and tablets are generally provided with intelligent power amplifiers. Under the general condition, as long as the terminal plays sound, the smart power amplifier processes the sound, and the working voltage of the smart power amplifier is always at a fixed value, that is, the smart power amplifier always works at the fixed working voltage to amplify the sound during the sound playing process of the terminal.
However, in practical applications, because the power of the terminal is limited, when the sound is played under the condition that the power of the terminal is insufficient, the intelligent power amplifier is still adopted, and the intelligent power amplifier operates at a fixed operating voltage to amplify the sound, which is not beneficial to prolonging the operating time of the terminal, and the power consumption of the terminal is large.
Disclosure of Invention
In order to solve the above problem, embodiments of the present invention provide a method, a terminal, and a storage medium for controlling an intelligent power amplifier, where the terminal can adjust a working voltage of the intelligent power amplifier according to a power condition of a battery, and control the intelligent power amplifier to process a sound to be played, so as to reduce power consumption of the terminal using the intelligent power amplifier.
The technical scheme of the invention is realized as follows:
the embodiment of the invention provides a control method of an intelligent power amplifier, which comprises the following steps:
when a playing instruction is received, detecting the current electric quantity of a battery;
when the current electric quantity is larger than a preset electric quantity threshold value, an intelligent power amplifier is turned on;
determining a target working voltage of the intelligent power amplifier corresponding to the current electric quantity according to the current electric quantity and a corresponding relation between a preset electric quantity and the working voltage of the intelligent power amplifier;
controlling the intelligent power amplifier to process the sound to be played according to a preset intelligent power amplifier algorithm to obtain a target playing sound;
and controlling the intelligent power amplifier to work according to the target working voltage, and amplifying the target playing sound.
In the above scheme, after detecting the current electric quantity of the battery, the method further includes:
and when the current electric quantity is less than or equal to the preset electric quantity threshold value, closing the intelligent power amplifier.
In the above scheme, the controlling the smart power amplifier to process the sound to be played according to a preset smart power amplifier algorithm to obtain a target playing sound includes:
detecting the frequency characteristic of the sound to be played through the intelligent power amplifier;
controlling the intelligent power amplifier to perform frequency processing on the sound to be played according to the frequency characteristic of the sound to be played and the preset intelligent power amplifier algorithm to obtain the target playing sound; the preset intelligent power amplification algorithm comprises a first preset intelligent power amplification algorithm and a second preset intelligent power amplification algorithm.
In the above scheme, the controlling the smart power amplifier to perform frequency processing on the sound to be played according to the frequency characteristic of the sound to be played and the preset smart power amplifier algorithm to obtain the target playing sound includes:
when the high-frequency part of the sound to be played is larger than a preset high-frequency threshold value, controlling the intelligent power amplifier to reduce the frequency of the high-frequency part of the sound to be played according to the first preset intelligent power amplifier algorithm, and inhibiting the high-frequency part of the sound to be played to obtain a target high-frequency part;
and controlling the intelligent power amplifier to update the high-frequency part of the sound to be played into the target high-frequency part to obtain the target playing sound.
In the above scheme, the controlling the smart power amplifier to perform frequency processing on the sound to be played according to the frequency characteristic of the sound to be played and the preset smart power amplifier algorithm to obtain the target playing sound includes:
when the low-frequency part of the sound to be played is smaller than a preset low-frequency threshold value, controlling the intelligent power amplifier to improve the frequency of the low-frequency part of the sound to be played according to the second preset intelligent power amplifier algorithm, and compensating the low-frequency part of the sound to be played to obtain a target low-frequency part;
and controlling the intelligent power amplifier to update the low-frequency part of the sound to be played into the target low-frequency part to obtain the target playing sound.
An embodiment of the present invention provides a terminal, where the terminal includes: the system comprises a processor, a memory, a communication bus and an intelligent power amplifier;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the control program of the intelligent power amplifier stored in the memory so as to realize the following steps:
when a playing instruction is received, detecting the current electric quantity of a battery; when the current electric quantity is larger than a preset electric quantity threshold value, an intelligent power amplifier is turned on; determining a target working voltage of the intelligent power amplifier corresponding to the current electric quantity according to the current electric quantity and a corresponding relation between a preset electric quantity and the working voltage of the intelligent power amplifier;
the intelligent power amplifier is used for processing the sound to be played according to a preset intelligent power amplifier algorithm to obtain a target playing sound; and working according to the target working voltage, and amplifying the target playing sound.
In the above terminal, the processor is further configured to execute a control program of the smart power amplifier after detecting the current electric quantity of the processor, so as to implement the following steps:
and when the current electric quantity is less than or equal to the preset electric quantity threshold value, closing the intelligent power amplifier.
In the terminal, the processor is specifically configured to execute a playing program of the smart power amplifier, so as to implement the following steps:
detecting the frequency characteristic of the sound to be played through the intelligent power amplifier; and controlling the intelligent power amplifier to perform frequency processing on the sound to be played according to the frequency characteristic of the sound to be played and the preset intelligent power amplifier algorithm to obtain the target playing sound, wherein the preset intelligent power amplifier algorithm comprises a first preset intelligent power amplifier algorithm and a second preset intelligent power amplifier algorithm.
In the terminal, the processor is specifically configured to execute a playing program of the smart power amplifier, so as to implement the following steps:
when the high-frequency part of the sound to be played is larger than a preset high-frequency threshold value, controlling the intelligent power amplifier to reduce the frequency of the high-frequency part of the sound to be played according to the first preset intelligent power amplifier algorithm, and inhibiting the high-frequency part of the sound to be played to obtain a target high-frequency part; controlling the intelligent power amplifier to update the high-frequency part of the sound to be played to the target high-frequency part to obtain the target playing sound; when the low-frequency part of the sound to be played is smaller than a preset low-frequency threshold value, controlling the intelligent power amplifier to improve the frequency of the low-frequency part of the sound to be played according to the second preset intelligent power amplifier algorithm, and compensating the low-frequency part of the sound to be played to obtain a target low-frequency part; and controlling the intelligent power amplifier to update the low-frequency part of the sound to be played into the target low-frequency part to obtain the target playing sound.
The embodiment of the invention provides a computer-readable storage medium, wherein one or more programs are stored in the computer-readable storage medium and can be executed by one or more processors to realize the control method of the intelligent power amplifier.
Therefore, in the technical scheme of the embodiment of the invention, when the terminal receives the playing instruction, the current electric quantity of the battery is detected; when the current electric quantity is larger than a preset electric quantity threshold value, an intelligent power amplifier is turned on; determining a target working voltage of the intelligent power amplifier corresponding to the current electric quantity according to the current electric quantity and the corresponding relation between the preset electric quantity and the working voltage of the intelligent power amplifier; controlling an intelligent power amplifier to process the sound to be played according to a preset intelligent power amplifier algorithm to obtain a target playing sound; and controlling the intelligent power amplifier to work according to the target working voltage, and amplifying the target playing sound. That is to say, in the technical solution of the embodiment of the present invention, the terminal can control the working voltage of the smart power amplifier according to the electric quantity condition of the battery, and control the smart power amplifier to process the sound to be played, thereby reducing the power consumption of the terminal adopting the smart power amplifier.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an alternative mobile terminal for implementing various embodiments of the present invention;
fig. 2 is a diagram of a communication network system architecture according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a method for controlling an intelligent power amplifier according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an exemplary terminal receiving a play instruction according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating an exemplary terminal according to an embodiment of the present invention determining whether to turn on an intelligent power amplifier;
fig. 6 is a schematic flowchart of a process for controlling an intelligent power amplifier to obtain a target playing sound according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
It should be understood that the embodiments described herein are only for explaining the technical solutions of the present invention, and are not intended to limit the scope of the present invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: radio Frequency (RF) unit 101, Wi-Fi module 102, audio output unit 103, audio/video (a/V) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to 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 wireless communication. 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 2000(Code Division Multiple Access 2000, CDMA2000), Wideband Code Division Multiple Access (WCDMA), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), Frequency Division duplex Long Term Evolution (FDD-LTE), and Time Division duplex Long Term Evolution (TDD-LTE), etc.
Wi-Fi belongs to a short-distance wireless transmission technology, and a mobile terminal can help a user to receive and send emails, browse webpages, access streaming media and the like through a Wi-Fi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the Wi-Fi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the Wi-Fi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures 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 graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the Wi-Fi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) 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 microphone 1042 may implement various types of noise cancellation or suppression algorithms to cancel or suppress noise or interference generated during reception and transmission of audio signals.
The mobile terminal 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 a backlight when the mobile terminal 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), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
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 mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. 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 can receive and execute 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. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover 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 the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 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 external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
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 mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating 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 mobile terminal. 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 mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes User Equipment (UE) 201, Evolved UMTS Terrestrial Radio Access Network (E-UTRAN) 202, Evolved Packet Core Network (EPC) 203, and IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include a Mobility Management Entity (MME) 2031, a Home Subscriber Server (HSS) 2032, other MMEs 2033, a Serving Gateway (SGW) 2034, a packet data network gateway (PDN Gate Way, PGW)2035, and a Policy and Charging Rules Function (PCRF) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IP Multimedia Subsystem (IMS) or other IP services, and the like.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
Example one
The embodiment of the invention provides a control method of an intelligent power amplifier, and fig. 3 is a flow schematic diagram of the control method of the intelligent power amplifier provided by the embodiment of the invention. As shown in fig. 3, the method may include:
s301, when a playing instruction is received, detecting the current electric quantity of the battery.
In the embodiment of the invention, the terminal needs to detect the current electric quantity of the battery first and judge whether the intelligent power amplifier is suitable to be opened or not according to the current electric quantity of the battery.
It should be noted that, in the embodiment of the present invention, when the terminal detects that the play instruction of the play sound is received, the terminal automatically detects the current electric quantity of the battery.
Fig. 4 is a schematic diagram of an exemplary terminal receiving a play instruction according to an embodiment of the present invention. As shown in fig. 4, a user sends a play instruction to the terminal through a touch operation, where the sound that the user needs to play is music 3, that is, the terminal can learn that the user has performed a touch operation on the music 3 option through detection, so that the terminal receives the instruction to play music 3, determines that the music 3 is the sound to be played, and starts to detect the current battery power.
It can be understood that, in the embodiment of the present invention, the power consumption of the terminal is reduced mainly by dividing the case according to the battery power of the terminal. At first, the terminal judges whether to open intelligent power amplifier, and this is because, when terminal broadcast sound, intelligent power amplifier is not indispensable, and to the user, keeps the electric quantity at terminal sufficient, and it is most important to satisfy the user demand, consequently when the terminal is lower, closes intelligent power amplifier and can effectively reduce the terminal consumption, saves the electric quantity at terminal. Secondly, the terminal controls the working voltage of the intelligent power amplifier according to the current electric quantity of the battery, because the intelligent power amplifier in the prior art works with fixed working voltage, the fixed working voltage is generally higher, and the power consumption of the terminal is higher regardless of the state of the current electric quantity of the battery, therefore, in the embodiment of the invention, when the terminal detects that the current electric quantity of the battery can open the intelligent power amplifier, the terminal determines the corresponding working voltage of the intelligent power amplifier according to the specific size of the current electric quantity of the battery.
And S302, when the current electric quantity is larger than a preset electric quantity threshold value, opening the intelligent power amplifier.
In the embodiment of the invention, after the terminal detects the current electric quantity of the battery, whether the intelligent power amplifier is turned on or not can be judged according to the preset electric quantity threshold value.
Specifically, in the embodiment of the present invention, when the terminal detects that the current electric quantity of the battery is greater than the preset electric quantity threshold, the intelligent power amplifier is turned on, and when the terminal detects that the current electric quantity of the battery is less than or equal to the preset electric quantity threshold, the intelligent power amplifier is turned off.
It should be noted that, a preset electric quantity threshold is stored in the terminal, where the preset electric quantity threshold may be set by a user according to a daily use condition or an actual requirement of the user on the terminal, and the embodiment of the present invention is not limited specifically.
Illustratively, the preset charge threshold value stored on the terminal is 50% of the total charge of the battery. That is to say, when the terminal detects that the current electric quantity of the battery is greater than 50% of the total electric quantity of the battery, the intelligent power amplifier is opened, and when the terminal detects that the current electric quantity of the battery is less than or equal to 50% of the total electric quantity of the battery, the intelligent power amplifier is closed.
For example, the preset power threshold stored on the terminal is 50% of the total power of the battery. When the terminal detects that the current electric quantity of the battery is 35% of the total electric quantity of the battery, the terminal closes the intelligent power amplifier, and when the terminal detects that the current electric quantity of the battery is 65% of the total electric quantity of the battery, the terminal opens the intelligent power amplifier.
Fig. 5 is a schematic diagram of an exemplary terminal determining whether to turn on an intelligent power amplifier according to an embodiment of the present invention. The terminal firstly judges whether to open the intelligent power amplifier when receiving the playing instruction. If the preset electric quantity threshold value stored by the terminal is 60% of the total electric quantity of the battery, as shown in fig. 5(a), when the terminal detects that the current electric quantity of the battery is 45% of the total electric quantity of the battery, the intelligent power amplifier is automatically closed, and the display screen of the terminal can display that the current electric quantity is insufficient and the intelligent power amplifier is closed, so that a user is prompted. As shown in fig. 5(b), when the terminal detects that the current electric quantity of the battery is 70% of the total electric quantity of the battery, the intelligent power amplifier is automatically turned on, and "the current electric quantity is sufficient and the intelligent power amplifier is turned on" can be displayed on the display screen of the terminal, so as to prompt the user.
It can be understood that, in the embodiment of the present invention, the larger the preset electric quantity threshold is, the more beneficial to earlier closing the smart power amplifier is, and reducing the power consumption of the terminal.
It should be noted that, in the embodiment of the present invention, when the terminal detects that the current electric quantity of the battery is less than or equal to the preset electric quantity threshold, and after the smart power amplifier is turned off, when the terminal plays the sound, the sound to be played is directly played. That is to say, when the battery power of the terminal is low, the played sound is not processed, and the intelligent power amplifier is turned off, so that the power consumption of the terminal is reduced, and the working time of the terminal is prolonged.
S303, determining the target working voltage of the intelligent power amplifier corresponding to the current electric quantity according to the current electric quantity and the corresponding relation between the preset electric quantity and the working voltage of the intelligent power amplifier.
In the embodiment of the invention, when the terminal detects that the current electric quantity of the battery is greater than the preset electric quantity threshold value, and the intelligent power amplifier is opened, the terminal can further determine the working voltage of the intelligent power amplifier corresponding to the current electric quantity, namely the target working voltage according to the current electric quantity of the battery and the corresponding relation between the preset electric quantity and the working voltage of the intelligent power amplifier.
It should be noted that, in the implementation of the present invention, the terminal stores a corresponding relationship between a preset electric quantity and a working voltage of the smart power amplifier, and working voltages of the smart power amplifiers corresponding to different battery electric quantities are different, for example, when the electric quantity is larger, the corresponding working voltage of the smart power amplifier is larger, and when the electric quantity is smaller, the corresponding voltage of the smart power amplifier is smaller, and the specific corresponding relationship between the preset electric quantity and the working voltage of the smart power amplifier may be set by a user according to a requirement of the user, which is not limited in the embodiment of the present invention.
It can be understood that, in the corresponding relationship between the preset electric quantity and the working voltage of the intelligent power amplifier, the lower the electric quantity, the lower the working voltage of the corresponding intelligent power amplifier, which is beneficial for the terminal to reduce the power consumption generated by using the intelligent power amplifier under the condition of low battery electric quantity, and in the corresponding relationship, the lowest electric quantity is greater than the preset electric quantity threshold value.
Illustratively, the preset electric quantity threshold is 50% of the total electric quantity of the battery, and the corresponding relationship between the preset electric quantity and the working voltage of the intelligent power amplifier is as follows: the working voltage of the intelligent power amplifier corresponding to the electric quantity of 91% to 100% is a first working voltage, the working voltage of the intelligent power amplifier corresponding to the electric quantity of 81% to 90% is a second working voltage, and the working voltage of the intelligent power amplifier corresponding to the electric quantity of 51% to 80% is a third working voltage, wherein the first working voltage is greater than the second voltage, and the second working voltage is greater than the third working voltage.
For example, when the terminal detects that the current electric quantity of the battery is 92%, the working voltage of the corresponding smart power amplifier is the first working voltage, and the specific value of the first working voltage is 9V, it may be determined that the target working voltage of the smart power amplifier corresponding to the current electric quantity is 9V, and when the terminal detects that the current electric quantity of the battery is 85%, the working voltage of the corresponding smart power amplifier is the second working voltage, and the specific value of the second working voltage is 7V, it may be determined that the target working voltage of the smart power amplifier corresponding to the current electric quantity is 7V.
It should be noted that, in the embodiment of the present invention, in the corresponding relationship between the preset electric quantity stored in the terminal and the working voltage of the intelligent power amplifier, the working voltage of the intelligent power amplifier should ensure the normal operation of the intelligent power amplifier.
It can be understood that, in the embodiment of the present invention, the lower the current electric quantity of the battery is, the lower the target working voltage of the corresponding smart power amplifier is, the lower the processing degree of the smart power amplifier to the sound to be played is, and the lower the power consumption of the terminal for performing sound processing by using the smart power amplifier is.
S304, controlling the intelligent power amplifier to process the sound to be played according to a preset intelligent power amplifier algorithm to obtain the target playing sound.
In the embodiment of the invention, after the terminal determines the target working voltage of the intelligent power amplifier according to the current electric quantity of the battery and the corresponding relation between the preset electric quantity and the working voltage of the intelligent power amplifier, the terminal controls the intelligent power amplifier to perform corresponding processing according to the preset intelligent power amplifier algorithm and the characteristics of the sound to be played, so that the target playing sound is obtained.
It should be noted that, in the embodiment of the present invention, the terminal stores a preset intelligent power amplification algorithm, and the preset intelligent power amplification algorithm is used for processing the sound to be played according to the characteristic of the sound to be played.
Fig. 6 is a schematic flowchart of a process for controlling an intelligent power amplifier to obtain a target playing sound according to an embodiment of the present invention. As shown in fig. 6, the step of controlling the smart power amplifier by the terminal to obtain the target playing sound mainly includes the following steps:
s601, detecting the frequency characteristic of the sound to be played through an intelligent power amplifier.
In the embodiment of the invention, the terminal detects the frequency characteristic of the sound to be played through the intelligent power amplifier.
It should be noted that, in the embodiment of the present invention, the to-be-played sound is any audio, and the to-be-played sound may include a high frequency part and a low frequency part, that is, the terminal may control the smart power amplifier to detect the high frequency part and the low frequency part of the to-be-played sound.
It will be appreciated that the sound to be played typically contains different frequencies, for example, the sound to be played may include a low frequency portion, a mid frequency portion, and a high frequency portion. In general, the sound to be played in the middle frequency part is moderate, so the middle frequency part of the sound to be played is not frequency-processed. The high frequency part and the low frequency part have a large influence on the playing effect of the sound to be played and have a corresponding influence on the power consumption of the terminal, so that the terminal needs to perform subsequent processing on the sound to be played according to the frequency characteristic of the sound to be played.
S602, controlling an intelligent power amplifier to perform frequency processing on the sound to be played according to the frequency characteristic of the sound to be played and a preset intelligent power amplifier algorithm to obtain a target playing sound; the preset intelligent power amplification algorithm comprises a first preset intelligent power amplification algorithm and a second preset intelligent power amplification algorithm.
In the embodiment of the invention, after the terminal controls the intelligent power amplifier to detect the high-frequency part and the low-frequency part of the sound to be played, the frequency of the sound to be played is processed according to the detection result and the preset intelligent power amplifier algorithm, so that the target playing sound is obtained.
Specifically, in the embodiment of the present invention, when the terminal controls the smart power amplifier to detect that the high frequency part of the sound to be played is greater than the preset high frequency threshold, the terminal controls the smart power amplifier to reduce the frequency of the high frequency part of the sound to be played according to a first preset smart power amplifier algorithm, and suppresses the high frequency part of the sound to be played to obtain the target high frequency part; and controlling the intelligent power amplifier to update the high-frequency part of the sound to be played into a target high-frequency part to obtain the target playing sound. When the terminal controls the intelligent power amplifier to detect that the low-frequency part of the sound to be played is smaller than a preset low-frequency threshold value, controlling the intelligent power amplifier to improve the frequency of the low-frequency part of the sound to be played according to a second preset intelligent power amplifier algorithm, and compensating the low-frequency part of the sound to be played to obtain a target low-frequency part; and controlling the intelligent power amplifier to update the low-frequency part of the sound to be played into a target low-frequency part to obtain the target playing sound.
It can be understood that, in the embodiment of the present invention, when the terminal controls the smart power amplifier to detect that the high frequency part of the sound to be played is not higher than the preset high frequency threshold and that the low frequency part of the sound to be played is not lower than the preset low frequency threshold, the terminal does not need to control the smart power amplifier to process the sound to be played according to the preset smart power amplifier algorithm, and can directly perform amplification of the sound to be played.
It should be noted that, in the embodiment of the present invention, a preset high-frequency threshold and a preset low-frequency threshold are stored in the smart power amplifier of the terminal, and the specific preset high-frequency threshold and the specific preset low-frequency threshold may be specifically set according to the requirement of the user on the sound quality, which is not limited in the embodiment of the present invention.
It can be understood that, in the embodiment of the present invention, the terminal may control the smart power amplifier to perform corresponding processing on the sound to be played according to the frequency characteristic of the sound to be played.
It should be noted that, in the embodiment of the present invention, if the terminal controls the smart power amplifier to detect that the low frequency part of the sound to be played is lower than the preset low frequency threshold, the terminal then controls the smart power amplifier to increase the frequency of the low frequency part of the sound to be played according to the second preset smart power amplifier algorithm, which is beneficial to reducing the power consumption of the terminal for playing the sound.
Illustratively, the total time of the sounds to be played is 5 minutes, when the terminal detects that the sound frequency of the sounds to be played is the highest between 2 minutes 1 second and 2 minutes 20 seconds and is higher than a preset high-frequency threshold value through the intelligent power amplifier, the intelligent power amplifier is controlled to reduce the sound frequency of the sounds to be played between 2 minutes 1 second and 2 minutes 20 seconds according to a first preset intelligent power amplifier algorithm to obtain a target high-frequency part, and therefore the intelligent power amplifier is controlled to update the high-frequency part of the sounds to be played to the target high-frequency part to obtain the target played sounds. When the terminal detects that the sound frequency of the sound to be played is the lowest between 3 minutes 12 seconds and 3 minutes 40 seconds and is lower than the preset low-frequency threshold value through the intelligent power amplifier, the intelligent power amplifier is controlled to improve the sound frequency of the sound to be played between 3 minutes 12 seconds and 3 minutes 40 seconds according to a second preset intelligent power amplifier algorithm to obtain a target low-frequency part, and therefore the intelligent power amplifier is controlled to update the low-frequency part of the sound to be played into the target low-frequency part to obtain the target playing sound.
It should be noted that, in the embodiment of the present invention, if the terminal controls the smart power amplifier to detect that the high frequency part of the sound to be played is higher than the preset high frequency threshold and detect that the low frequency part of the sound to be played is lower than the preset low frequency threshold, the terminal controls the smart power amplifier to reduce the high frequency part of the sound to be played according to the first preset smart power amplifier algorithm to obtain the target high frequency part, increase the low frequency part of the sound to be played according to the second preset smart power amplifier algorithm to obtain the target low frequency part, then update the high frequency part of the sound to be played to the target high frequency part, update the low frequency part of the sound to be played to the target low frequency part, and determine the updated sound to be played as the target played sound. That is to say, the suppression of the high frequency part of the sound to be played and the compensation of the low frequency part of the sound to be played are not interfered with each other and are relatively independent, and the final target playing sound can be obtained by integrating the two after being updated.
It should be noted that, in the embodiment of the present invention, a first preset smart power amplifier algorithm and a second preset smart power amplifier algorithm are stored in a smart power amplifier of a terminal, where the first preset smart power amplifier algorithm is used to reduce the frequency of a high frequency part in a sound to be played, and the second preset smart power amplifier algorithm is used to increase the frequency of a low frequency part in the sound to be played, and the specific first preset smart power amplifier algorithm and the second preset smart power amplifier algorithm are not limited in the embodiment of the present invention.
It can be understood that, in the embodiment of the present invention, the terminal controls the smart power amplifier to process the sound to be played according to the preset smart power amplifier algorithm, so that the playing effect of the sound to be played can be improved.
S305, controlling the intelligent power amplifier to work according to the target working voltage, and amplifying the target playing sound.
In the embodiment of the invention, the terminal controls the intelligent power amplifier to process the sound to be played according to the preset intelligent power amplifier algorithm, and after the target playing sound is obtained, the intelligent terminal can be further controlled to work according to the target working voltage to amplify the target playing sound.
It should be noted that, in the embodiment of the present invention, the terminal determines the target operating voltage of the smart power amplifier according to the detected current electric quantity of the battery, and finally the terminal controls the smart power amplifier to operate according to the target operating voltage, and the power consumption of the terminal is related to the operating voltage of the smart power amplifier, that is, in the above step, the lower the target operating voltage is, the lower the power consumption of the terminal is. Therefore, the terminal controls the intelligent power amplifier to work according to the target working voltage, the power consumption of the terminal can be effectively reduced, and further, the service life of the terminal is prolonged.
The embodiment of the invention provides a control method of an intelligent power amplifier, wherein when a terminal receives a playing instruction, the current electric quantity of a battery is detected; when the current electric quantity is larger than a preset electric quantity threshold value, an intelligent power amplifier is turned on; determining a target working voltage of the intelligent power amplifier corresponding to the current electric quantity according to the current electric quantity and the corresponding relation between the preset electric quantity and the working voltage of the intelligent power amplifier; controlling an intelligent power amplifier to process the sound to be played according to a preset intelligent power amplifier algorithm to obtain a target playing sound; and controlling the intelligent power amplifier to work according to the target working voltage, and amplifying the target playing sound. That is to say, in the technical solution of the embodiment of the present invention, the terminal can control the working voltage of the smart power amplifier according to the electric quantity condition of the battery, and control the smart power amplifier to process the sound to be played, thereby reducing the power consumption of the terminal adopting the smart power amplifier.
Example two
Fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention. As shown in fig. 7, the terminal may include: a processor 701, a memory 702, a communication bus 703 and an intelligent power amplifier 704;
the communication bus 703 is used for realizing connection communication between the processor 701 and the memory 702;
the processor 701 is configured to execute the control program of the smart power amplifier stored in the memory 702, so as to implement the following steps:
when a playing instruction is received, detecting the current electric quantity of a battery; when the current electric quantity is larger than a preset electric quantity threshold value, an intelligent power amplifier is turned on; determining a target working voltage of the intelligent power amplifier corresponding to the current electric quantity according to the current electric quantity and a corresponding relation between a preset electric quantity and the working voltage of the intelligent power amplifier;
the intelligent power amplifier 704 is configured to process the sound to be played according to a preset intelligent power amplifier algorithm to obtain a target playing sound; and working according to the target working voltage, and amplifying the target playing sound.
Optionally, after detecting the current electric quantity of the processor 701, the processor 701 is further configured to execute a control program of the smart power amplifier, so as to implement the following steps:
and when the current electric quantity is less than or equal to the preset electric quantity threshold value, closing the intelligent power amplifier.
Optionally, the processor 701 is specifically configured to execute a playing program of the smart power amplifier, so as to implement the following steps:
detecting the frequency characteristic of the sound to be played through the intelligent power amplifier 704; and controlling the intelligent power amplifier 704 to perform frequency processing on the sound to be played according to the frequency characteristic of the sound to be played and the preset intelligent power amplifier algorithm to obtain the target playing sound, wherein the preset intelligent power amplifier algorithm comprises a first preset intelligent power amplifier algorithm and a second preset intelligent power amplifier algorithm.
Optionally, the processor 701 is specifically configured to execute a playing program of the smart power amplifier, so as to implement the following steps:
when the high-frequency part of the sound to be played is larger than a preset high-frequency threshold, controlling the intelligent power amplifier 704 to reduce the frequency of the high-frequency part of the sound to be played according to the first preset intelligent power amplifier algorithm, and inhibiting the high-frequency part of the sound to be played to obtain a target high-frequency part; controlling the intelligent power amplifier 704 to update the high-frequency part of the sound to be played to the target high-frequency part to obtain the target playing sound; when the low-frequency part of the sound to be played is smaller than a preset low-frequency threshold value, controlling the intelligent power amplifier 704 to increase the frequency of the low-frequency part of the sound to be played according to the second preset intelligent power amplifier algorithm, and compensating the low-frequency part of the sound to be played to obtain a target low-frequency part; and controlling the intelligent power amplifier 704 to update the low-frequency part of the sound to be played to the target low-frequency part to obtain the target playing sound.
The embodiment of the invention provides a terminal, which detects the current electric quantity of a battery when receiving a playing instruction; when the current electric quantity is larger than a preset electric quantity threshold value, an intelligent power amplifier is turned on; determining a target working voltage of the intelligent power amplifier corresponding to the current electric quantity according to the current electric quantity and the corresponding relation between the preset electric quantity and the working voltage of the intelligent power amplifier; controlling an intelligent power amplifier to process the sound to be played according to a preset intelligent power amplifier algorithm to obtain a target playing sound; and controlling the intelligent power amplifier to work according to the target working voltage, and amplifying the target playing sound. That is to say, the terminal provided in the embodiment of the present invention can control the working voltage of the smart power amplifier according to the electric quantity condition of the battery, and control the smart power amplifier to process the sound to be played, thereby reducing the power consumption of the terminal adopting the smart power amplifier.
The embodiment of the invention provides a computer-readable storage medium, wherein one or more programs are stored in the computer-readable storage medium and can be executed by one or more processors to realize the control method of the intelligent power amplifier. The computer-readable storage medium may be a volatile Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk (Hard Disk Drive, HDD) or a Solid-State Drive (SSD); or may be a respective device, such as a mobile phone, computer, tablet device, personal digital assistant, etc., that includes one or any combination of the above-mentioned memories.
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.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
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 (8)

1. A control method of an intelligent power amplifier is characterized by comprising the following steps:
when a playing instruction is received, detecting the current electric quantity of a battery;
when the current electric quantity is larger than a preset electric quantity threshold value, an intelligent power amplifier is turned on;
determining a target working voltage of the intelligent power amplifier corresponding to the current electric quantity according to the current electric quantity and a corresponding relation between a preset electric quantity and the working voltage of the intelligent power amplifier; the terminal stores the corresponding relation between preset electric quantity and the working voltage of the intelligent power amplifier, and the working voltages of the intelligent power amplifiers corresponding to different battery electric quantities are different; in the corresponding relation, the lowest electric quantity is larger than a preset electric quantity threshold value;
controlling the intelligent power amplifier to process the sound to be played according to a preset intelligent power amplifier algorithm to obtain a target playing sound; the method comprises the following steps: after the terminal controls the intelligent power amplifier to detect the high-frequency part and the low-frequency part of the sound to be played, carrying out frequency processing on the sound to be played according to the detection result and a preset intelligent power amplifier algorithm to obtain a target playing sound; the preset intelligent power amplification algorithm comprises a first preset intelligent power amplification algorithm and a second preset intelligent power amplification algorithm;
and controlling the intelligent power amplifier to work according to the target working voltage, and amplifying the target playing sound.
2. The method of claim 1, wherein after detecting the current charge level of the battery, the method further comprises:
and when the current electric quantity is less than or equal to the preset electric quantity threshold value, closing the intelligent power amplifier.
3. The method of claim 1, wherein the controlling the smart power amplifier to perform frequency processing on the sound to be played according to the frequency characteristic of the sound to be played and the preset smart power amplifier algorithm to obtain the target playing sound comprises:
when the high-frequency part of the sound to be played is larger than a preset high-frequency threshold value, controlling the intelligent power amplifier to reduce the frequency of the high-frequency part of the sound to be played according to the first preset intelligent power amplifier algorithm, and inhibiting the high-frequency part of the sound to be played to obtain a target high-frequency part;
and controlling the intelligent power amplifier to update the high-frequency part of the sound to be played into the target high-frequency part to obtain the target playing sound.
4. The method of claim 1, wherein the controlling the smart power amplifier to perform frequency processing on the sound to be played according to the frequency characteristic of the sound to be played and the preset smart power amplifier algorithm to obtain the target playing sound comprises:
when the low-frequency part of the sound to be played is smaller than a preset low-frequency threshold value, controlling the intelligent power amplifier to improve the frequency of the low-frequency part of the sound to be played according to the second preset intelligent power amplifier algorithm, and compensating the low-frequency part of the sound to be played to obtain a target low-frequency part;
and controlling the intelligent power amplifier to update the low-frequency part of the sound to be played into the target low-frequency part to obtain the target playing sound.
5. A terminal, characterized in that,
the terminal includes: the system comprises a processor, a memory, a communication bus and an intelligent power amplifier;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the control program of the intelligent power amplifier stored in the memory so as to realize the following steps:
when a playing instruction is received, detecting the current electric quantity of a battery; when the current electric quantity is larger than a preset electric quantity threshold value, an intelligent power amplifier is turned on; determining a target working voltage of the intelligent power amplifier corresponding to the current electric quantity according to the current electric quantity and a corresponding relation between a preset electric quantity and the working voltage of the intelligent power amplifier; the terminal stores the corresponding relation between preset electric quantity and the working voltage of the intelligent power amplifier, and the working voltages of the intelligent power amplifiers corresponding to different battery electric quantities are different; in the corresponding relation, the lowest electric quantity is larger than a preset electric quantity threshold value;
the intelligent power amplifier is used for processing the sound to be played according to a preset intelligent power amplifier algorithm to obtain the target playing sound, and comprises: after detecting the high-frequency part and the low-frequency part of the sound to be played, carrying out frequency processing on the sound to be played according to the detection result and a preset intelligent power amplification algorithm to obtain a target playing sound; working according to the target working voltage, and amplifying the target playing sound; the preset intelligent power amplification algorithm comprises a first preset intelligent power amplification algorithm and a second preset intelligent power amplification algorithm.
6. The terminal of claim 5, wherein the processor is further configured to execute a control program of the smart power amplifier after detecting the current power of the processor, so as to implement the following steps:
and when the current electric quantity is less than or equal to the preset electric quantity threshold value, closing the intelligent power amplifier.
7. The terminal of claim 5, wherein the processor is specifically configured to execute a playing procedure of the smart power amplifier to implement the following steps:
when the high-frequency part of the sound to be played is larger than a preset high-frequency threshold value, controlling the intelligent power amplifier to reduce the frequency of the high-frequency part of the sound to be played according to the first preset intelligent power amplifier algorithm, and inhibiting the high-frequency part of the sound to be played to obtain a target high-frequency part; controlling the intelligent power amplifier to update the high-frequency part of the sound to be played to the target high-frequency part to obtain the target playing sound; when the low-frequency part of the sound to be played is smaller than a preset low-frequency threshold value, controlling the intelligent power amplifier to improve the frequency of the low-frequency part of the sound to be played according to the second preset intelligent power amplifier algorithm, and compensating the low-frequency part of the sound to be played to obtain a target low-frequency part; and controlling the intelligent power amplifier to update the low-frequency part of the sound to be played into the target low-frequency part to obtain the target playing sound.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs which are executable by one or more processors to implement the method of any one of claims 1-4.
CN201710917802.2A 2017-09-30 2017-09-30 Control method, terminal and storage medium of intelligent power amplifier Active CN107682551B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710917802.2A CN107682551B (en) 2017-09-30 2017-09-30 Control method, terminal and storage medium of intelligent power amplifier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710917802.2A CN107682551B (en) 2017-09-30 2017-09-30 Control method, terminal and storage medium of intelligent power amplifier

Publications (2)

Publication Number Publication Date
CN107682551A CN107682551A (en) 2018-02-09
CN107682551B true CN107682551B (en) 2021-02-19

Family

ID=61139583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710917802.2A Active CN107682551B (en) 2017-09-30 2017-09-30 Control method, terminal and storage medium of intelligent power amplifier

Country Status (1)

Country Link
CN (1) CN107682551B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114828171A (en) * 2021-01-27 2022-07-29 北京小米移动软件有限公司 Power management method, power management device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101990038A (en) * 2010-12-02 2011-03-23 惠州Tcl移动通信有限公司 Method for improving efficiency of audio power amplifier and mobile phone using the same
CN102077609A (en) * 2008-07-11 2011-05-25 歌乐株式会社 Acoustic processing apparatus
CN104684053A (en) * 2015-01-28 2015-06-03 重庆蓝岸通讯技术有限公司 Method and system for prolonging use duration of batteries of electronic equipment in low-power state
CN105916195A (en) * 2016-05-31 2016-08-31 努比亚技术有限公司 Method and device for realizing loudspeaking of intelligent power amplifier
CN106101934A (en) * 2016-08-05 2016-11-09 北京小米移动软件有限公司 Speaker and the method for adjustment of speaker amplitude

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8977255B2 (en) * 2007-04-03 2015-03-10 Apple Inc. Method and system for operating a multi-function portable electronic device using voice-activation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102077609A (en) * 2008-07-11 2011-05-25 歌乐株式会社 Acoustic processing apparatus
CN101990038A (en) * 2010-12-02 2011-03-23 惠州Tcl移动通信有限公司 Method for improving efficiency of audio power amplifier and mobile phone using the same
CN104684053A (en) * 2015-01-28 2015-06-03 重庆蓝岸通讯技术有限公司 Method and system for prolonging use duration of batteries of electronic equipment in low-power state
CN105916195A (en) * 2016-05-31 2016-08-31 努比亚技术有限公司 Method and device for realizing loudspeaking of intelligent power amplifier
CN106101934A (en) * 2016-08-05 2016-11-09 北京小米移动软件有限公司 Speaker and the method for adjustment of speaker amplitude

Also Published As

Publication number Publication date
CN107682551A (en) 2018-02-09

Similar Documents

Publication Publication Date Title
CN107613489B (en) Wireless charging method, wireless hotspot device, terminal and storage medium
CN107645189B (en) Charging protection method and mobile terminal
CN109195213B (en) Mobile terminal screen control method, mobile terminal and computer readable storage medium
CN108055491B (en) Screen recording method, terminal and storage medium
CN108600489B (en) Earphone, calibration method of loudspeaker, mobile terminal and readable storage medium
CN112261535A (en) Major-minor switching method and device for wireless earphone and readable storage medium
CN112004174A (en) Noise reduction control method and device and computer readable storage medium
CN112399215A (en) Screen projection parameter regulation and control method and device and computer readable storage medium
CN109040424B (en) Antenna switching circuit, method, terminal and computer readable storage medium
CN107911778B (en) Playing method based on parallel loudspeaker, mobile terminal and readable storage medium
CN112437472B (en) Network switching method, equipment and computer readable storage medium
CN112102780B (en) Display frame rate regulation and control method, device and computer readable storage medium
CN107566631B (en) Volume control method, mobile terminal and computer readable storage medium
CN109561221B (en) Call control method, device and computer readable storage medium
CN110392163B (en) Screen-off control method, mobile terminal and computer-readable storage medium
CN112712815A (en) Software-based pop sound suppression method, terminal and computer readable medium
CN109151201B (en) Anti-addiction method, mobile terminal and computer storage medium
CN109684020B (en) Theme switching method, device and computer readable storage medium
CN110955397A (en) Method for setting frame rate of game terminal, game terminal and storage medium
CN107743204B (en) Exposure processing method, terminal, and computer-readable storage medium
CN108076230B (en) Call volume adjusting method, mobile terminal and computer readable storage medium
CN107678622B (en) Application icon display method, terminal and storage medium
CN107517487B (en) Call control method and mobile terminal
CN107682551B (en) Control method, terminal and storage medium of intelligent power amplifier
CN111970668B (en) Bluetooth audio control method, device and computer readable storage medium

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