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.
FIG. 1 is a flow diagram of a method for information processing in one embodiment. As shown in fig. 1, an information processing method includes:
and step 102, when a screen-off event of the mobile terminal is detected, acquiring the output current of the battery according to the target acquisition frequency.
And step 104, acquiring the screen-off duration of the mobile terminal when the screen-on event of the mobile terminal is detected.
The mobile terminal can comprise a screen-on state and a screen-off state, and when the mobile terminal is in the screen-on state, an application program in the mobile terminal runs in a foreground or a background of the mobile terminal. When the mobile terminal is in the screen-off state, the application program or the mobile terminal subsystem in the mobile terminal can enter the dormant state, so that the power consumption of the mobile terminal is saved. When the mobile terminal enters the screen-off state, the mobile terminal subsystem can send the screen-off broadcast, and after an application program or other subsystems in the mobile terminal receive the screen-off broadcast, the mobile terminal can know that the mobile terminal enters the screen-off state. When the screen of the mobile terminal is lightened, namely the mobile terminal enters a screen lightening state, the mobile terminal subsystem can send screen lightening broadcast, and after an application program or other subsystems in the mobile terminal receive the screen lightening broadcast, the mobile terminal can be known to enter the screen lightening state.
When the screen-off event of the mobile terminal is detected, the mobile terminal can acquire the output current of the battery through the fuel gauge and calculate the discharge capacity of the battery in the acquisition time through an integral mode. When the mobile terminal collects the output current of the battery, the output current of the battery can be collected according to a target collection frequency, wherein the target collection frequency is the frequency set by the mobile terminal. In order to ensure the accuracy of the discharge quantity collected by the mobile terminal, the collection frequency of the electricity meter is not lower than 50 times/second when the electricity meter collects the output current of the battery.
When a screen-on event of the mobile terminal is detected, the mobile terminal can acquire a first moment when the screen-off event is detected and a second moment when the screen-on event is detected; the first time and the second time are both the mobile terminal system time. Normally, the second time is later than the first time. After the mobile terminal acquires the first time and the second time, the time interval between the second time and the first time can be calculated. And the time interval between the second moment and the first moment is the screen-off duration of the mobile terminal in the screen-off state.
And step 106, acquiring the current error parameter of the battery.
The mobile terminal can also obtain the current error parameter of the battery, wherein the current error parameter represents the error between the current collected by the electricity meter and the actual output current of the battery. Wherein, the range of the current error parameter can be 0.92 to 1.13. When the current error parameter is less than 1, the current value acquired by the fuel gauge is large, and the current value acquired by the fuel gauge needs to be attenuated to enable the error between the acquired current value and the actual current value to be small; when the current error parameter is greater than 1, the current value acquired by the fuel gauge is small, and the current value acquired by the fuel gauge needs to be amplified to enable the error between the acquired current value and the actual current value to be small. When the electricity meter collects the output current of the battery each time, the mobile terminal obtains the current error parameters of the battery and corresponds the obtained output current to the current error parameters one to one.
The corresponding relation between the battery parameters and the error parameters can be established through the aging test of the charging and discharging of the battery. When the mobile terminal collects the output current of the battery through the fuel gauge, the current parameters of the battery can be obtained, and the corresponding current error parameters are searched in the corresponding relation according to the current parameters of the battery.
And 108, acquiring the power consumption electric quantity of the mobile terminal during the screen-off period according to the output current, the screen-off duration and the current error parameter.
After the output current, the screen-off duration and the current error parameter are obtained, the mobile terminal can count the power consumption and the electric quantity during the screen-off period according to an integral mode. In a conventional method, the step of obtaining power consumption electric quantity according to an acquired current value includes:
the PowerDelta is the power consumption electric quantity consumed by the mobile terminal during the screen-off period, and the IiThe current value at this time of sampling for the fuel gauge, ViFor the voltage value at the Time of sampling, the N is the total sampling times of the fuel gauge, the Verf is the rated voltage of the battery, and the Time is the total sampling duration.
After the current error parameter is obtained, the step of obtaining the power consumption electric quantity according to the collected current value comprises the following steps:
the above DeacyiThe current error parameter is obtained by the mobile terminal when the electricity meter collects the output current of the battery each time. Through correcting the output current collected by the electricity meter each time, the error between the output current collected by the electricity meter each time and the actual output current of the battery is reduced, and the power consumption amount PowerDelta consumed by the mobile terminal during the screen-off period acquired by the mode is more accurate.
According to the method, when the power consumption electric quantity of the mobile terminal is obtained, the fact that the collected electric quantity has errors due to factors such as battery aging and battery charging and discharging is taken into consideration, the error parameters are obtained, the power consumption electric quantity of the mobile terminal in the screen-off period is corrected according to the error parameters, and the obtained power consumption electric quantity of the mobile terminal in the screen-off period is more accurate.
In one embodiment, obtaining the current error parameter of the battery comprises:
and step 110, acquiring the current battery parameters of the mobile terminal.
And step 112, searching the corresponding relation between the battery parameter and the error parameter.
And step 114, determining the current error parameter corresponding to the current battery parameter according to the corresponding relation.
The corresponding relation between the battery parameters and the error parameters can be established in the mobile terminal, and after the mobile terminal obtains the current battery parameters, the current error parameters corresponding to the current battery parameters can be searched in the corresponding relation.
The mobile terminal can search the corresponding relation between the battery parameter and the error parameter. The corresponding relation is the corresponding relation between the battery parameters and the error parameters obtained according to the multiple charging and discharging aging tests. Wherein the battery parameters may include: the internal resistance Res of the battery and the current temperature value Temp of the battery. The mobile terminal can obtain the mathematical relationship between the error parameter Decay and each battery parameter Decay as F (Res, Temp) through a plurality of tests. After the mathematical relationship between the error parameters and each battery parameter is obtained, the mathematical relationship can be stored in the mobile terminal, and after the current battery parameters of the mobile terminal are obtained each time, the current error parameters corresponding to the current battery parameters can be searched according to the mathematical relationship. The corresponding relation between the battery parameters and the error parameters can be prestored in the mobile terminal, and can also be acquired by the server through the mobile terminal.
Due to the diversity of the battery materials, the corresponding relationship between the battery parameters and the error parameters is a plurality of curves. After the current battery parameters are obtained, the mobile terminal can search corresponding current error parameters from the plurality of curves according to each battery parameter in the current battery parameters.
In one embodiment, the method further comprises:
(1) a first electric quantity of a battery when a screen-off event is detected is acquired.
(2) And acquiring a second electric quantity of the battery when the bright screen event is detected.
(3) The second electric quantity is corrected according to the first electric quantity and the power consumption electric quantity.
When a screen-off event of the mobile terminal is detected, the mobile terminal can also obtain first electric quantity of a battery; the first electric quantity is the electric quantity value of the battery when the mobile terminal enters the screen-off state. When the screen-up event of the mobile terminal is detected, the mobile terminal can obtain a second electric quantity of the battery, wherein the second electric quantity is an electric quantity value of the battery when the mobile terminal enters a screen-up state. The mobile terminal can directly measure the first electric quantity and the second electric quantity through the electric quantity meter.
Because the electric quantity value measured by the electric meter has errors, the first electric quantity and the second electric quantity obtained by the measurement have errors with the actual electric quantity of the battery. The mobile terminal can correct the second electric quantity according to the first electric quantity and the power consumption electric quantity. The method for correcting the second electric quantity by the mobile terminal through the first electric quantity and the power consumption electric quantity comprises the following steps: and the mobile terminal takes the difference value of the first electric quantity and the power consumption electric quantity as the corrected second electric quantity. And when the mobile terminal is switched from the screen-off state to the screen-on state every time, the mobile terminal corrects the second electric quantity.
The mobile terminal can calculate the attenuation aging condition of the battery according to the difference value between the corrected second electric quantity and the corrected second electric quantity, and then feeds the attenuation aging condition of the battery back to a user, or uploads the attenuation aging condition of the battery to a server for statistical analysis by the server.
According to the method in the embodiment of the application, the electric quantity of the battery can be corrected according to the counted electric quantity consumed, the aging condition of the battery can be calculated according to the detected electric quantity of the battery and the corrected electric quantity of the battery, and a user can be reminded of replacing the battery in time according to the aging condition of the battery conveniently.
In one embodiment, the acquiring the screen-off duration of the mobile terminal comprises: acquiring a first moment when a screen-off event is detected; acquiring a second moment when the screen-up event is detected; the second time is later than the first time; taking the time interval between the second moment and the first moment as the screen-off duration;
before obtaining the current error parameter, the method further includes: and determining that the screen-off duration exceeds a first duration.
Before acquiring the current error parameter, the mobile terminal can acquire a first moment when a screen-off event is detected and a second moment when a screen-on event is detected; the first time and the second time are both the mobile terminal system time. Normally, the second time is later than the first time. After the mobile terminal acquires the first time and the second time, the time interval between the second time and the first time can be calculated. And the time interval between the second moment and the first moment is the screen-off duration of the mobile terminal in the screen-off state. The mobile terminal can detect whether the screen-off duration is longer than a first duration, and when the screen-off duration exceeds the first duration, the current battery capacity is acquired. The first time period may be a time period set by a user, or may be a time period set by the mobile terminal side, for example, 5 hours.
In general, due to aging of a battery in a mobile terminal, nonlinear attenuation of the battery, and the like, an error of a power consumption amount measured in a short time is large, and an application program or a subsystem in the mobile terminal may not enter a sleep state in a short time, so that it is difficult to detect a power consumption abnormality of the mobile terminal.
According to the method, the current error parameter of the mobile terminal is acquired when the screen-off duration of the mobile terminal exceeds the first duration, the acquired power consumption electric quantity is more accurate, and the method is favorable for detecting the power consumption abnormal problem of the mobile terminal according to the power consumption electric quantity.
In one embodiment, the method further comprises:
and step 116, acquiring the standard electric quantity of the mobile terminal during the screen-off period.
And step 118, comparing the standard electric quantity with the power consumption electric quantity, and judging whether the power consumption of the mobile terminal is abnormal during the screen-off period according to the comparison result.
The mobile terminal can store a standard list, and the standard list is the power consumption of the mobile terminal in each state in the standby state in unit time. For example, it may include: the method comprises the steps of obtaining electric quantity corresponding to a single SIM card, obtaining electric quantity corresponding to a double SIM card, obtaining electric quantity corresponding to the fact that a Wi-Fi is not connected, obtaining electric quantity corresponding to the fact that a Bluetooth is not connected, obtaining electric quantity corresponding to the fact that the Bluetooth is connected, obtaining electric quantity corresponding to the Wi-Fi connection, obtaining electric quantity corresponding to the connection of the Bluetooth, and obtaining electric quantity corresponding to the connection of the Bluetooth. The mobile terminal can match each state of the mobile terminal during the screen-off period with the state in the standard list, and acquire the power consumption electric quantity corresponding to the successfully matched state and the accumulated value of the power consumption electric quantity corresponding to the successfully matched state, wherein the accumulated value is standard electric power, and the product of the standard electric power and the screen-off duration is standard electric quantity. For example, TargetCurrent ═ mbabecurrent + msilegemiclarddelta + mdublesimicrarddelta + mWifiDelta + mneworktdelta + mduetworkdelta + mdothotat + mdothothotat + offset. The TargetCurrent is standard electric power; the mBaseCurent is the power consumption of the mobile terminal system in unit time, such as 3.9 mA/h; when the mobile terminal is inserted into a single SIM card, the power consumption mTingle mCardDelta can be 3mA/h in unit time; when the mobile terminal is inserted into the dual-card SIM card, the power consumption quantity mDoubleSimCardDelta in unit time is 6mA/h, otherwise, the power consumption quantity is 0; when the mobile terminal starts Wi-Fi, the power consumption mWifi Delta in unit time is 6mA/h, otherwise, the power consumption mWifi Delta is 0; when the mobile terminal starts the Bluetooth, the power consumption mBluetooth Delta in unit time is 2mA/h, otherwise, the power consumption mBluetooth Delta is 0; offset represents other types of power consumption, which may be 10 mA/h.
After the mobile terminal obtains the standard electric power, the product of the standard electric power and the screen-off duration can be calculated, and the product of the standard electric power and the screen-off duration is the standard electric quantity. The screen turn-off duration is a time interval between the second moment when the screen turn-on event is detected and the first moment when the screen turn-off event is detected. After the standard electric quantity is acquired, the mobile terminal can detect whether the power consumption electric quantity is larger than the standard electric quantity, if the power consumption electric quantity is larger than the standard electric quantity, the fact that the power consumption of the mobile terminal is more in the screen-off period is indicated, namely the power consumption of the mobile terminal is abnormal in the screen-off period.
According to the method, the mobile terminal can compare the detected power consumption electric quantity with the standard electric quantity, and whether the power consumption of the mobile terminal is abnormal or not is judged according to the comparison result, so that the problem of power consumption abnormity of the mobile terminal can be rapidly detected.
In one embodiment, the method further comprises:
and step 120, if the power consumption abnormity is detected, acquiring power consumption abnormity information.
And step 122, reporting the abnormal power consumption information to a server.
And step 124, receiving an optimization strategy for the power consumption abnormal information returned by the server, and optimizing the mobile terminal according to the optimization strategy.
When the mobile terminal detects that the power consumption is abnormal during the screen-off period, the power consumption abnormal information can be acquired. The power consumption abnormality information may include: the power consumption abnormality type, the time when the power consumption abnormality is detected, the number of times the power consumption abnormality is detected, and the abnormality cause corresponding to the power consumption abnormality type. For example, the above power consumption abnormality types may include: the system comprises a mobile terminal subsystem, an application program background playing power consumption unit, an application program background downloading power consumption unit, a Wi-Fi frequent connection power consumption unit and the like. The abnormal reason corresponding to the power consumption abnormal type is the reason causing the power consumption abnormal of the mobile terminal, for example, the application program frequently wakes up to cause the wake-up abnormal of the subsystem of the mobile terminal.
The mobile terminal can write the detected abnormal power consumption information into a mobile terminal log and upload the mobile terminal log to a server. Optionally, the mobile terminal may upload the log to the server at a set time interval, or the mobile terminal may upload the log to the server according to a received user instruction. After receiving the logs uploaded by the mobile terminal, the server can analyze and obtain the power consumption abnormal information in the logs, and perform statistical analysis according to the obtained power consumption abnormal information to obtain an optimization strategy for power consumption abnormal types. The server can return the optimization strategy to the mobile terminal, and the mobile terminal analyzes and acquires the information in the optimization strategy after receiving the optimization strategy and performs optimization processing on the mobile terminal according to the information in the optimization strategy. Optionally, during communication between the mobile terminal and the server, the transmitted data may be encrypted to improve data security.
According to the method in the embodiment of the application, the mobile terminal uploads the power consumption abnormal information to the server, receives the optimization strategy returned by the server, and performs optimization processing on the mobile terminal according to the optimization strategy, namely the mobile terminal can perform self-adjustment processing after detecting the abnormality, so that the service life of the mobile terminal is prolonged.
In one embodiment, the method further comprises:
and step 126, adjusting the time interval reported to the server according to the frequency of obtaining the power consumption abnormal information.
Every time when the screen-off duration of the mobile terminal exceeds the first duration, the mobile terminal detects whether power consumption is abnormal during the screen-off period. The mobile terminal can count the times of recording each power consumption abnormal information and the frequency of detecting each power consumption abnormal information. The frequency is the number of times that the power consumption abnormality information is detected in the unit time, for example, the number of times that the power consumption abnormality information is detected every 1 day. When the frequency of the power consumption abnormality information is higher, it indicates that the mobile terminal detects the power consumption abnormality information more frequently, that is, the mobile terminal has abnormality more frequently. Optionally, the time interval for reporting the power consumption abnormal information to the server by the mobile terminal is inversely proportional to the frequency of detecting the power consumption abnormal information, and when the frequency of detecting the power consumption abnormal information by the mobile terminal is higher, the time interval for reporting the power consumption abnormal information to the server by the mobile terminal is shorter, that is, when the frequency of occurrence of abnormality of the mobile terminal is higher, the time interval for reporting the power consumption abnormal information to the server by the mobile terminal is shorter.
According to the method, the time interval for reporting the abnormal awakening source information to the server can be adjusted according to the frequency of the detected abnormal awakening source information, and the method is beneficial to quickly checking and finding the potential safety hazard of the mobile terminal according to the abnormal awakening source information.
In one embodiment, an information processing method includes:
(1) and when the screen-off event of the mobile terminal is detected, acquiring the output current of the battery according to the target acquisition frequency.
(2) And when the screen-on event of the mobile terminal is detected, acquiring the screen-off duration of the mobile terminal.
(3) And acquiring the current error parameter of the battery.
(4) And acquiring the power consumption electric quantity of the mobile terminal during the screen-off period according to the output current, the screen-off duration and the current error parameter.
In one embodiment, obtaining the current error parameter of the battery comprises: acquiring current battery parameters of the mobile terminal; searching the corresponding relation between the battery parameters and the error parameters; and determining the current error parameter corresponding to the current battery parameter according to the corresponding relation.
In one embodiment, the method further comprises: acquiring a first electric quantity of a battery when a screen-off event is detected; acquiring a second electric quantity of the battery when the screen-lighting event is detected; the second electric quantity is corrected according to the first electric quantity and the power consumption electric quantity.
In one embodiment, the acquiring the screen-off duration of the mobile terminal comprises: acquiring a first moment when a screen-off event is detected; acquiring a second moment when the screen-up event is detected; the second time is later than the first time; and taking the time interval between the second moment and the first moment as the screen-off duration. Before obtaining the current error parameter, the method further includes: and determining that the screen-off duration exceeds a first duration.
In one embodiment, the method further comprises: acquiring standard electric quantity of the mobile terminal during the screen-off period; and comparing the standard electric quantity with the power consumption electric quantity, and judging whether the power consumption of the mobile terminal is abnormal during the screen-off period according to the comparison result.
In one embodiment, the method further comprises: if the power consumption abnormity is detected, acquiring power consumption abnormity information; reporting the abnormal power consumption information to a server; and receiving an optimization strategy for the power consumption abnormal information returned by the server, and optimizing the mobile terminal according to the optimization strategy.
In one embodiment, the method further comprises: and adjusting the time interval reported to the server according to the frequency of the acquired power consumption abnormal information.
Fig. 6 is a block diagram showing the configuration of an information processing apparatus according to an embodiment. As shown in fig. 6, an information processing apparatus includes:
the acquisition module 602 is configured to acquire an output current of the battery according to a target acquisition frequency when a screen-off event of the mobile terminal is detected.
The first obtaining module 604 is configured to obtain a screen-off duration of the mobile terminal when a screen-on event of the mobile terminal is detected.
A second obtaining module 606, configured to obtain a current error parameter of the battery.
And the calculating module 608 is configured to obtain the power consumption amount of the mobile terminal during the screen-off period according to the output current, the screen-off duration and the current error parameter.
In one embodiment, the second obtaining module 606 obtains the current error parameter of the battery by: acquiring current battery parameters of the mobile terminal; searching the corresponding relation between the battery parameters and the error parameters; and determining the current error parameter corresponding to the current battery parameter according to the corresponding relation.
In one embodiment, the first obtaining module 604 is further configured to obtain a first time when the screen-off event is detected; acquiring a second moment when the screen-up event is detected; the second time is later than the first time; taking the time interval between the second moment and the first moment as the screen-off duration; and determining that the screen-off duration exceeds a first duration.
It should be understood that, although the steps in the above-described flowcharts are shown in order as indicated by the arrows, the steps are not necessarily performed in order 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 a portion of the steps in the above-described flowcharts 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 the stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least a portion of the sub-steps or stages of other steps.
Fig. 7 is a block diagram showing the structure of an information processing apparatus according to another embodiment. As shown in fig. 7, an information processing apparatus includes: an acquisition module 702, a first acquisition module 704, a second acquisition module 706, a calculation module 708, and a correction module 710. The acquisition module 702, the first acquisition module 704, the second acquisition module 706, and the calculation module 708 have the same functions as the corresponding modules in fig. 6.
The first obtaining module 704 is further configured to obtain a first electric quantity of the battery when the screen-off event is detected; and acquiring a second electric quantity of the battery when the bright screen event is detected.
The correcting module 710 is configured to correct the second power according to the first power and the power consumption power.
Fig. 8 is a block diagram showing the structure of an information processing apparatus according to another embodiment. As shown in fig. 8, an information processing apparatus includes: an acquisition module 802, a first acquisition module 804, a second acquisition module 806, a calculation module 808, and a comparison module 810. The acquisition module 802, the first acquisition module 804, the second acquisition module 806, and the calculation module 808 have the same functions as the corresponding modules in fig. 6.
The second obtaining module 806 is further configured to obtain a standard power amount of the mobile terminal during the screen-off period.
The comparing module 810 is configured to compare the standard power consumption with a power consumption, and determine whether the power consumption of the mobile terminal is abnormal during the screen-off period according to the comparison result.
Fig. 9 is a block diagram showing the configuration of an information processing apparatus according to another embodiment. As shown in fig. 9, an information processing apparatus includes: the device comprises an acquisition module 902, a first acquisition module 904, a second acquisition module 906, a calculation module 908, a reporting module 910 and a receiving module 912. The acquisition module 902, the first acquisition module 904, the second acquisition module 906, and the calculation module 908 have the same functions as the corresponding modules in fig. 6.
A reporting module 910, configured to obtain power consumption abnormal information if power consumption abnormal is detected; and reporting the abnormal power consumption information to the server.
A receiving module 912, configured to receive an optimization strategy for the power consumption abnormal information returned by the server, and perform optimization processing on the mobile terminal according to the optimization strategy.
In an embodiment, the reporting module 910 is further configured to adjust a reporting time interval to the server according to the frequency of obtaining the power consumption abnormal information.
The division of the modules in the information processing apparatus is only for illustration, and in other embodiments, the information processing apparatus may be divided into different modules as needed to complete all or part of the functions of the information processing apparatus.
For specific limitations of the information processing apparatus, reference may be made to the above limitations of the information processing method, which are not described herein again. Each module in the information processing apparatus described above may be entirely or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the mobile terminal, and can also be stored in a memory in the mobile terminal in a software form, so that the processor can call and execute operations corresponding to the modules.
The implementation of each module in the information processing apparatus provided in the embodiment of the present application may be in the form of a computer program. The computer program may be run on a terminal or a server. The program modules constituted by the computer program may be stored on the memory of the terminal or the server. The computer program, when executed by a processor, implements the steps of the information processing method described in the embodiments of the present application.
Fig. 10 is a schematic diagram of the internal structure of the mobile terminal in one embodiment. As shown in fig. 10, the mobile terminal includes a processor, a memory, and a network interface connected through a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole mobile terminal. The memory is used for storing data, programs and the like, and at least one computer program is stored on the memory and can be executed by the processor to realize the information processing method suitable for the mobile terminal provided by the embodiment of the application. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor to implement an information processing method provided in each of the following embodiments. The internal memory provides a cached execution environment for the operating system computer programs in the non-volatile storage medium. The network interface may be an ethernet card or a wireless network card, and is used for communicating with an external mobile terminal. The mobile terminal can be a mobile phone, a tablet computer or a personal digital assistant or a wearable device and the like.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the information processing methods of embodiments of the present application.
Embodiments of the present application also provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the steps of the information processing method in the embodiments of the present application.
The embodiment of the application also provides the mobile terminal. As shown in fig. 11, 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 mobile terminal 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 mobile terminal as the mobile phone as an example:
fig. 11 is a block diagram of a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present application. Referring to fig. 11, the cellular phone includes: radio Frequency (RF) circuitry 1110, memory 1120, input unit 1130, display unit 1140, sensors 1150, audio circuitry 1160, wireless fidelity (WiFi) module 1170, processor 1180, and power supply 11110. Those skilled in the art will appreciate that the handset configuration shown in fig. 11 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 1110 may be configured to receive and transmit signals during information transmission and reception or during a call, and may receive downlink information of a base station and then process the downlink information to the processor 1180; 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 1110 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 1120 may be used to store software programs and modules, and the processor 1180 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 1120. The memory 1120 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 1120 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 1130 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 1100. Specifically, the input unit 1130 may include a touch panel 1131 and other input devices 1132. Touch panel 1131, which may also be referred to as a touch screen, can collect touch operations of a user on or near the touch panel 1131 (for example, operations of the user on or near touch panel 1131 by using any suitable object or accessory such as a finger or a stylus pen), and drive corresponding connection devices according to a preset program. In one embodiment, the touch panel 1131 may include two parts, 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 1180, and can receive and execute commands sent by the processor 1180. In addition, the touch panel 1131 can be implemented by using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 1130 may include other input devices 1132 in addition to the touch panel 1131. In particular, other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), and the like.
The display unit 1140 may be used to display information input by the user or information provided to the user and various menus of the cellular phone. The display unit 1140 may include a display panel 1141. In one embodiment, the Display panel 1141 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, touch panel 1131 can cover display panel 1141, and when touch panel 1131 detects a touch operation thereon or nearby, the touch operation is transmitted to processor 1180 to determine the type of touch event, and then processor 1180 provides a corresponding visual output on display panel 1141 according to the type of touch event. Although in fig. 11, the touch panel 1131 and the display panel 1141 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1131 and the display panel 1141 may be integrated to implement the input and output functions of the mobile phone.
The cell phone 1100 can also include at least one sensor 1150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1141 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1141 and/or the backlight when the mobile phone moves 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.
Audio circuitry 1160, speaker 1161 and microphone 1162 may provide an audio interface between a user and a cell phone. The audio circuit 1160 may transmit the electrical signal converted from the received audio data to the speaker 1161, and convert the electrical signal into a sound signal for output by the speaker 1161; on the other hand, the microphone 1162 converts the collected sound signal into an electrical signal, and the electrical signal is received by the audio circuit 1160 and converted into audio data, and then the audio data is processed by the audio data output processor 1180, and then the audio data is sent to another mobile phone through the RF circuit 1110, or the audio data is output to the memory 1120 for subsequent processing.
WiFi belongs to short-distance wireless transmission technology, and the cell phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 1170, and provides wireless broadband internet access for the user. Although fig. 11 shows the WiFi module 1170, it is to be understood that it does not necessarily form part of the handset 1100 and may be omitted as desired.
The processor 1180 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 of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1120 and calling data stored in the memory 1120, thereby performing overall monitoring of the mobile phone. In one embodiment, the processor 1180 may include one or more processing units. In one embodiment, the processor 1180 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like; the modem processor handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated within processor 1180.
The handset 1100 also includes a power supply 11110 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 1180 via a power management system that may be configured to manage charging, discharging, and power consumption.
In one embodiment, the cell phone 1100 may also include a camera, a bluetooth module, and the like.
In the embodiment of the present application, when the processor 1180 included in the mobile terminal executes the computer program stored in the memory, the steps of the information processing method in the embodiment of the present application are implemented.
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 examples 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.