CN107438999A - Method into battery saving mode, the method, device and mobile terminal for exiting battery saving mode - Google Patents

Method into battery saving mode, the method, device and mobile terminal for exiting battery saving mode Download PDF

Info

Publication number
CN107438999A
CN107438999A CN201680009170.3A CN201680009170A CN107438999A CN 107438999 A CN107438999 A CN 107438999A CN 201680009170 A CN201680009170 A CN 201680009170A CN 107438999 A CN107438999 A CN 107438999A
Authority
CN
China
Prior art keywords
acceleration
axis
mobile terminal
gravity sensor
detects
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.)
Granted
Application number
CN201680009170.3A
Other languages
Chinese (zh)
Other versions
CN107438999B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN107438999A publication Critical patent/CN107438999A/en
Application granted granted Critical
Publication of CN107438999B publication Critical patent/CN107438999B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/08Current supply arrangements for telephone systems with current supply sources at the substations
    • 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/725Cordless telephones
    • H04M1/73Battery saving arrangements
    • 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)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of method into battery saving mode, device and mobile terminal, also disclose a kind of method for exiting battery saving mode, device and mobile terminal, mobile terminal is allowd automatically to enter or exit battery saving mode according to the change of state, and reduce the erroneous judgement of mobile terminal, improve into battery saving mode and the accuracy for exiting battery saving mode.

Description

Into battery saving mode method, exit the method, device and mobile terminal of battery saving mode Technical field
The present invention relates to mobile communication field, especially a kind of method into battery saving mode, the method, device and mobile terminal for exiting battery saving mode.
Background technique
With the development of science and technology, various applications relevant to smart phone and various cloud services continue to bring out, smart phone is at indispensable work and converter tools in for people's lives.Smart phone usually relies on battery and provides electric energy, and the volume of battery and capacity are limited by smart phone overall dimensions and weight etc., and what cannot be done is excessive.The power consumption for how reducing smart phone, the stand-by time for extending smart phone become the major issue of industry concern.
In order to solve this problem, the prior art provides the battery saving mode of smart phone, and in this mode, perhaps hardware module will be in close state some functions of smart phone or hardware module will operate in the state of low-power consumption, to reduce the consumption of electricity.Smart phone enter the method for battery saving mode also there are many.For example, smart phone within the power saving period automatically into battery saving mode or smart phone when the remaining capacity of battery is less than some threshold value, automatically into battery saving mode.However, this kind of mode into battery saving mode can not lack flexibility by user's control.The prior art also provides the mode manually selected by user: user can light the screen of smart phone, into standby interface, and find corresponding user interface and select the option into battery saving mode, this setup needs the multi-pass operation of user, and it is also not convenient enough to use.The prior art additionally provides a kind of posture using gravity sensor detection hand-hold electronic equipments, and enters when hand-hold electronic equipments are placed downward according to screen the method for battery saving mode, however, the accuracy of this method have it is to be hoisted.
Summary of the invention
The embodiment of the invention provides enter the method for battery saving mode, the method for exiting battery saving mode and movement eventually End reduces erroneous judgement when allowing mobile terminal to enter battery saving mode and exiting battery saving mode, improves the accuracy of scheme.
First aspect of the embodiment of the present invention provides a kind of method into battery saving mode, and this method is applied to the mobile terminal with screen and gravity sensor, and before carrying out the method, which is in normal mode.This method comprises: judging whether the mobile terminal is in the horizontal positioned state of face down;Judge whether the noise for the acceleration that the gravity sensor detects is less than noise threshold;If the mobile terminal is in the horizontal positioned state of face down, and the noise of acceleration that the gravity sensor detects is less than the noise threshold, and the mobile terminal enters battery saving mode.When mobile terminal is in the horizontal positioned state of face down, and when the noise for the acceleration that the gravity sensor detects is less than the noise threshold, this programme can recognize that whether user holds terminal, and user is in the case where no gripping mobile terminal, mobile terminal enters battery saving mode, therefore the accuracy into battery saving mode is improved, the erroneous judgement of mobile terminal is reduced.
The first of first aspect of the embodiment of the present invention embodiment there is provided judge mobile terminal whether according to face down a kind of horizontal positioned concrete mode.Which includes: whether the acceleration on the Z axis of the acceleration and the three-dimensional cartesian coordinate system in the Y-axis of acceleration in the X-axis for detect the three-dimensional cartesian coordinate system of the mobile terminal using the gravity sensor, the three-dimensional cartesian coordinate system is respectively 0,0, -9.8m/s2;If it is, determining that the mobile terminal is in the horizontal positioned state of face down.Which determines whether mobile terminal is in the horizontal positioned state of face down by means of gravity sensor, various errors when in view of practical application, such as object be not fully horizontally and gravity sensor measurement accuracy, it can be determined that the acceleration in the X-axis, the acceleration in the Y-axis, the acceleration on the Z axis whether substantially 0,0, -9.8m/s2.Also need to judge the noise of gravity sensor since mobile terminal enters battery saving mode, gravity sensor is always maintained at unlatching, therefore this programme is without the other sensors except gravity sensor, implements simpler, and power consumption is lower.
Second of first aspect of the embodiment of the present invention embodiment there is provided judge mobile terminal whether according to face down horizontal positioned another concrete mode.Which includes: whether the acceleration on the Z axis of the acceleration and the three-dimensional cartesian coordinate system in the Y-axis of acceleration in the X-axis for detect the three-dimensional cartesian coordinate system of the mobile terminal using the gravity sensor, the three-dimensional cartesian coordinate system is respectively 0,0, -9.8m/s2;If so, judging whether the acceleration in the X-axis, the acceleration in the Y-axis and the acceleration on the Z axis remain 0,0, -9.8m/s respectively within the first duration2, if it is, determining that the mobile terminal is in the horizontal positioned state of face down.Present embodiment, on the basis of the first embodiment of first aspect, increase has judged whether acceleration does not change within first duration, reduce the generation of maloperation, the accuracy into battery saving mode is improved, the electricity caused by frequent switching between battery saving mode and normal mode is decreased and wastes.
First aspect of the embodiment of the present invention the third embodiment there is provided judge mobile terminal whether according to face down another horizontal positioned concrete mode.Which includes: whether the pressure for judging that the multiple pressure sensors for being distributed in the mobile terminal back side detect is 0;Detect whether the acceleration in the Y-axis of the acceleration and the three-dimensional cartesian coordinate system in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal is respectively 0,0 using the gravity sensor;If the pressure that multiple pressure sensors detect is 0, and the acceleration on the acceleration and Y-axis of the X-axis is respectively 0,0, it is determined that the mobile terminal is in the horizontal positioned state of face down.Present embodiment judges whether there is object support or pressing mobile terminal by the way that the pressure sensor at the mobile terminal back side is arranged in, further judge whether mobile terminal is horizontal posture by gravity sensor, the various sensors for taking full advantage of mobile terminal, improve the flexibility into battery saving mode.
The 4th kind of first aspect of the embodiment of the present invention embodiment there is provided judge mobile terminal whether according to face down another horizontal positioned concrete mode.In which, mobile terminal further includes being located at the positive infrared sensor of the mobile terminal.The concrete mode includes: to judge that the infrared sensor detects Whether reflected energy is greater than energy threshold;Judge that the reflection wavelength that the infrared sensor detects corresponds to wood or glass;Detect whether the acceleration in the Y-axis of the acceleration and the three-dimensional cartesian coordinate system in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal is respectively 0,0 using the gravity sensor;If the reflected energy is greater than the energy threshold, the reflection wavelength corresponds to wood or glass, and the acceleration on the acceleration and the Y-axis in the X-axis is respectively 0,0;Determine that the mobile terminal is in the horizontal positioned state of face down.Whether the front where which judges screen first with the infrared sensor for the same face for being located at mobile phone with screen is blocked, and the object being blocked is wood or glass these common desktop materials, if it is, it then may determine that mobile phone is placed in the way of face down, further judge whether mobile phone is horizontal using gravity sensor, further judges whether mobile terminal is horizontal posture by gravity sensor.The method takes full advantage of the various sensors of mobile terminal, improves the flexibility into battery saving mode.Optionally, the method can be combined with the first embodiment of present aspect, i.e., first judges that the acceleration of the acceleration of X-direction, the acceleration of the Y direction and Z-direction acceleration is respectively 0,0, -9.8 meter per seconds using gravity sensor2, and further judge by infrared sensor whether the material of front face where screen is wood or glass these common desktop materials, if it is, determining mobile terminal whether according to the horizontal positioned of face down.Mobile terminal is likely to that the situation is usually the situation that user does not use mobile terminal immediately on the table according to face down horizontal positioned at this time, enters battery saving mode in this case and has no effect on the experience of user.
In conjunction with the various embodiments of first aspect above-mentioned and first aspect, the 5th kind of embodiment of first aspect of the embodiment of the present invention provides the concrete mode whether a kind of noise for judging acceleration that the gravity sensor detects is less than noise threshold.The concrete mode includes: whether the maximum acceleration noise for judging that the gravity sensor detects within the second duration is lower than the noise threshold, if it is, stating the noise for the acceleration that gravity sensor detects described in determining lower than the noise threshold;Or judge whether the average value for all acceleration noises that the gravity sensor detects within the second duration is lower than The noise threshold, if it is, stating the noise for the acceleration that gravity sensor detects described in determining lower than the noise threshold.In the present embodiment, consider the average value of all noises or noise in the second duration, therefore reduce the generation of maloperation, and improve the accuracy into battery saving mode, decrease the electricity caused by frequent switching between battery saving mode and normal mode and waste.
In conjunction with the various embodiments of first aspect above-mentioned and first aspect, for the 6th kind of first aspect of the embodiment of the present invention embodiment there is provided the value range of the noise threshold, the noise threshold is G0, wherein 0.0038g < G0 < 0.01g, 1g=9.8 meter per second2.The value is the case where result based on actual measurement provides, meets actual use, can reduce the generation of erroneous judgement.
In conjunction with the various embodiments of first aspect above-mentioned and first aspect, embodiment there is provided the concrete modes for entering battery saving mode for the 7th kind of first aspect of the embodiment of the present invention.The concrete mode is, the function of answering calling is kept to operate normally, further include it is following at least one: if it is determined that disconnecting the radio circuit of the mobile terminal and the connection of the mobile data network currently without from mobile data network downloading data;If it is determined that closing the radio circuit connecting with the mobile data network currently without from the mobile data network downloading data;If it is determined that disconnecting the connection of WiFi module and access point currently without WiFi module downloading data is used;If it is determined that closing the WiFi module currently without the WiFi module downloading data is used.Present embodiment ensure that user remains to answer calling when mobile terminal enters battery saving mode, in order to avoid miss some urgent things and make troubles to user;Simultaneously, it is further contemplated that during from mobile data network downloading data or WiFi module downloading data, the downloading of data is not interrupted because battery saving mode is entered, only when the downloading of no data, corresponding hardware module or the corresponding software function of disabling are closed, so that provide the user one kind is more able to satisfy user's needs, more intelligent power saving mode.
Second aspect of the embodiment of the present invention also provides a kind of method for exiting battery saving mode.This method apply with the mobile terminal with screen and gravity sensor, before carrying out the method, the mobile terminal is in battery saving mode.This method comprises: judging whether the mobile terminal is in the horizontal positioned state of face down; Judge whether the noise for the acceleration that the acceleration of gravity detects is less than noise threshold;If the noise for the acceleration that the mobile terminal is not on the horizontal positioned state of face down or the acceleration of gravity detects is greater than the noise threshold, the mobile terminal exits the battery saving mode.When mobile terminal be no longer on the horizontal positioned state of face down and by with pick up or mobile terminal has been picked up by user and when the noise of the acceleration that causes the gravity sensor to detect is less than the noise threshold, mobile terminal exits battery saving mode.Therefore, which can recognize that the case where mobile terminal is picked up in the direction of user's face down, can reduce the erroneous judgement for exiting battery saving mode, improve the accuracy for exiting battery saving mode.
The first embodiment of second aspect of the embodiment of the present invention, provide judge mobile terminal whether according to face down a kind of horizontal positioned concrete mode, it is similar with the first embodiment of first aspect, judge that the state of mobile terminal is changed only with gravity sensor.The horizontal positioned state for judging mobile terminal and whether being in face down, comprising: detect whether the acceleration on the Z axis of the acceleration and the three-dimensional cartesian coordinate system in the Y-axis of the acceleration in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal, the three-dimensional cartesian coordinate system is respectively 0,0, -9.8m/s using the gravity sensor2;If it is not, then determining that the mobile terminal is not on the horizontal positioned state of face down.Various errors when in view of practical application, such as object be not fully horizontally and gravity sensor measurement accuracy, it can be determined that the acceleration in the X-axis, the acceleration in the Y-axis, the acceleration on the Z axis whether substantially 0,0, -9.8m/s2.Also need to judge the noise of gravity sensor since mobile terminal enters battery saving mode, gravity sensor is always maintained at unlatching, therefore this programme is without the other sensors except gravity sensor, implements simpler, and power consumption is lower.
Second of embodiment of second aspect of the embodiment of the present invention, provide judge mobile terminal whether according to face down horizontal positioned another concrete mode, it is similar with the third embodiment of first aspect, gravity sensor and pressure sensor have been used to judge the state of mobile phone.The mobile terminal further includes distribution Multiple pressure sensors at the mobile terminal back side;The horizontal positioned state for judging mobile terminal and whether being in face down, comprising: judge whether the pressure that multiple pressure sensors detect is 0;Acceleration in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal and described is detected using the gravity sensor
Whether the acceleration in the Y-axis of three-dimensional cartesian coordinate system is respectively 0,0;If it is not 0 that the pressure that the multiple pressure sensor detects, which is greater than at least one in the acceleration in 0 or the X-axis and Y-axis, it is determined that the mobile terminal is not on the horizontal positioned state of face down.Second of embodiment of second aspect of the embodiment of the present invention takes full advantage of the various sensors of mobile terminal, improves the flexibility for exiting battery saving mode.
The third embodiment of second aspect of the embodiment of the present invention, provide judge mobile terminal whether according to face down another horizontal positioned concrete mode, it is similar with the 4th kind of embodiment of the first aspect of the embodiment of the present invention, gravity sensor and infrared sensor have been used to judge the state of mobile terminal.State the horizontal positioned state for judging whether mobile terminal is in face down, comprising: judge whether the reflected energy that the infrared sensor detects is greater than energy threshold;And judge that the reflection wavelength that the infrared sensor detects corresponds to wood or glass;If the reflected energy is less than the energy threshold or the reflection wavelength does not correspond to wood or glass;Determine that the mobile terminal is not on the horizontal positioned state of face down.The method takes full advantage of the various sensors of mobile terminal, improves the flexibility for exiting battery saving mode.
In conjunction with the aforementioned various embodiments of second aspect and second aspect, 4th kind of embodiment of second aspect of the embodiment of the present invention, the value range of noise threshold is provided, the range is identical as the range that the 6th kind of embodiment of first aspect of the embodiment of the present invention provides, and is not repeated herein.
In conjunction with the aforementioned various embodiments of second aspect and second aspect, embodiment there is provided a kind of specific implementations for exiting battery saving mode for the 5th kind of second aspect of the embodiment of the present invention.The specific implementation includes opening the mobile terminal to enter at least part hardware module closed when battery saving mode and at least part software Function.The specific implementation needs mobile terminal when entering battery saving mode, record the various hardware modules and/or software function closed, when exiting battery saving mode, when returning to normal mode, content according to record, opened, simplify the operation of user, do not need user open manually again it is various into battery saving mode when the hardware module and/software function closed.
The third aspect of the embodiment of the present invention, additionally provides a kind of device into battery saving mode, which includes screen unit, gravity sensor unit, the first judging unit, second judgment unit and first control unit.The method that the device is used to execute the first embodiment of first aspect of the embodiment of the present invention, first aspect and second of way of example of first aspect.
In the first embodiment of the third aspect, which further includes multiple pressure sensor units positioned at the described device back side, the method which is used to execute the third embodiment of first aspect.
In second of way of example of the third aspect, which further includes being located at the positive infrared sensor unit of described device, the method which is used to execute the 4th kind of embodiment of first aspect.
In conjunction with the various embodiments of the third aspect and the third aspect above-mentioned, in the third way of example of the third aspect, the second judgment unit of the device is used to execute the concrete mode in the 5th kind of embodiment of first aspect.
In conjunction with the third aspect, with the various embodiments of the third aspect above-mentioned, 4th kind of way of example of the third aspect provides the range of noise threshold, and the range is identical as the corresponding embodiment of the first aspect and second aspect range provided, is not repeated herein.
In conjunction with the third aspect, with the various embodiments of the third aspect above-mentioned, in the 5th kind of way of example of the third aspect, the device further includes, radio frequency unit, then the first control unit is specifically used for, and the function of answering calling is kept to operate normally, it performs the following operations: if it is determined that presently described radio frequency unit disconnects the connection of the radio frequency unit and the mobile data network or close the radio frequency unit not from the mobile data network downloading data.Optionally, which further includes WiFi unit, then first control is single Member is specifically used for, and keeps the function of answering calling to operate normally, performs the following operations: if it is determined that presently described WiFi module has downloading data, disconnecting the connection of the WiFi module and described access point or closes the WiFi module.Optionally, which further includes WiFi unit and radio frequency unit, then the first control unit is for keeping the function of answering calling to operate normally and executing aforementioned four at least one of operate.
The technical effect of the various embodiments of the above-mentioned third aspect and the third aspect, respectively corresponds with the technical effect of first aspect and the various embodiments of first aspect, is not repeated herein.
Fourth aspect of the embodiment of the present invention additionally provides a kind of device for exiting battery saving mode, which includes screen unit, gravity sensor unit, third judging unit, second judgment unit and the second control unit.The method that the device is used to execute the first embodiment of second aspect of the embodiment of the present invention and second aspect.
In the first embodiment of fourth aspect of the embodiment of the present invention, which further includes multiple pressure sensor units positioned at the described device back side, the method which is used to execute second of embodiment of second aspect.
In second of embodiment of fourth aspect of the embodiment of the present invention, which further includes being located at the positive infrared sensor unit of described device, the method which is used to execute the third embodiment of second aspect.
In conjunction with fourth aspect, with the various embodiments of fourth aspect above-mentioned, the third way of example of fourth aspect provides the range of noise threshold, and the range is identical as the corresponding embodiment of first aspect, second aspect and the third aspect range provided, is not repeated herein.
In conjunction with fourth aspect, with the various embodiments of fourth aspect above-mentioned, 4th kind of way of example of fourth aspect, second control unit are specifically used for unlatching described device and enter at least part hardware module and at least part software function closed when battery saving mode.
The technical effect of the various embodiments of above-mentioned fourth aspect and fourth aspect, respectively corresponds with the technical effect of second aspect and the various embodiments of second aspect, is not repeated herein.
The 5th aspect of the embodiment of the present invention provides a kind of mobile terminal into battery saving mode, the mobile terminal includes, screen, gravity sensor, and processor, the method which is used to execute the first embodiment of first aspect of the embodiment of the present invention, first aspect and second of way of example of first aspect.
In the first embodiment of the 5th aspect of the embodiment of the present invention, which further includes the multiple pressure sensors for being distributed in the mobile terminal back side, the method which is used to execute the third embodiment of first aspect.
In second of way of example of the 5th aspect, which further includes being located at the positive infrared sensor of the mobile terminal, the method which is used to execute the 4th kind of embodiment of first aspect.
In conjunction with the various embodiments of the 5th aspect and the 5th aspect above-mentioned, in the third way of example of the 5th aspect, which is used to execute the concrete mode in the 5th kind of embodiment of first aspect.
In conjunction with the various embodiments of the 5th aspect and the 5th aspect above-mentioned, the 4th kind of way of example of the 5th aspect provides the range of noise threshold, and the range is identical as the corresponding embodiment of the aforementioned aspects range provided, is not repeated herein.
In conjunction with the 5th aspect, with the various embodiments of the 5th aspect above-mentioned, in the 5th kind of way of example of the 5th aspect, the device further includes, radio circuit, then the processor is specifically used for, and the function of answering calling is kept to operate normally, and perform the following operations: if it is determined that presently described radio circuit disconnects the connection of the radio circuit and the mobile data network or close the radio circuit not from the mobile data network downloading data.Optionally, the device further includes WiFi module, then the processor is specifically used for, the function of answering calling is kept to operate normally, and perform the following operations: if it is determined that presently described WiFi module has downloading data, disconnecting the connection of the WiFi module and described access point or close the WiFi module.Optionally, which further includes WiFi module and radio circuit, then the function that the processor is used to keep answering calling operates normally, and executes aforementioned four at least one of operate.
In conjunction with the various embodiments of the 5th aspect and the 5th aspect above-mentioned, at the 6th kind of the 5th aspect In way of example, the processor includes application processor and microcontroller, is executed by microprocessor according to the data of various sensors detection and judges the state of mobile terminal, and is being executed closedown module by application processor and disconnected.It due to judging that the state of mobile terminal generally requires multiple or the long period judgement, and gives power consumption relatively small microcontroller this part, the technical effect of more power saving can be reached.
The technical effect of the various embodiments of above-mentioned 5th aspect and the 5th aspect, respectively corresponds with the technical effect of first aspect and the various embodiments of first aspect, is not repeated herein.
The 6th aspect of the embodiment of the present invention, additionally provides a kind of mobile terminal for exiting battery saving mode, which includes screen, gravity sensor and processor.The method that the device is used to execute the first embodiment of second aspect of the embodiment of the present invention and second aspect.
In the first embodiment of the 6th aspect of the embodiment of the present invention, which further includes multiple pressure sensors positioned at the described device back side, the method which is used to execute second of embodiment of second aspect.
In second of embodiment of the 6th aspect of the embodiment of the present invention, which further includes being located at the positive infrared sensor of the mobile terminal, the method which is used to execute the third embodiment of second aspect.
In conjunction with the various embodiments of the 6th aspect and the 6th aspect above-mentioned, the third way of example of the 6th aspect provides the range of noise threshold, and the range is identical as the corresponding embodiment of the aforementioned aspects range provided, is not repeated herein.
In conjunction with the 6th aspect, with the various embodiments of the 6th aspect above-mentioned, in 4th kind of way of example of the 6th aspect, the processor is specifically used for unlatching described device and enters at least part hardware module and at least part software function closed when battery saving mode.
In conjunction with the various embodiments of the 6th aspect and the 6th aspect above-mentioned, at the 5th kind of the 6th aspect In way of example, the processor includes application processor and microcontroller, it is executed by microprocessor according to the data of various sensors detection and judges the state of mobile terminal, and holding functional module and starting module or function etc. are being executed by application processor.It due to judging that the state of mobile terminal generally requires multiple or the long period judgement, and gives power consumption relatively small microcontroller this part, the technical effect of more power saving can be reached.
The technical effect of the various embodiments of above-mentioned 6th aspect and the 6th aspect, respectively corresponds with the technical effect of second aspect and the various embodiments of second aspect, is not repeated herein.
Seventh aspect present invention also provides a kind of method into battery saving mode, including, the acceleration on the Z axis of the acceleration and the three-dimensional cartesian coordinate system in the Y-axis of acceleration in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal, the three-dimensional cartesian coordinate system, and the noise using gravity sensor detection acceleration are detected using the gravity sensor;When the acceleration in the X-axis, the acceleration in the Y-axis, the acceleration on the Z axis are about 0,0, -9.8m/s2, and the noise of the acceleration be less than noise threshold when, the mobile terminal enters battery saving mode from normal mode.
In the first embodiment of the 7th aspect, the noise threshold is G0, wherein 0.0038g < G0 < 0.01g, 1g=9.8 meter per second2
Eighth aspect present invention also provides a kind of method into battery saving mode, including, the acceleration on the Z axis of the acceleration and the three-dimensional cartesian coordinate system in the Y-axis of acceleration in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal, the three-dimensional cartesian coordinate system, and the noise using gravity sensor detection acceleration are detected using the gravity sensor;When the acceleration in the X-axis, the acceleration in the Y-axis, the acceleration on the Z axis are not 0,0, -9.8m/s2Or the noise of the acceleration be greater than noise threshold when, the mobile terminal enters normal mode from battery saving mode.
In the first embodiment of eighth aspect, the noise threshold is G0, wherein 0.0038g < G0 < 0.01g, 1g=9.8 meter per second2
The embodiment of the invention provides the methods for entering battery saving mode, device and mobile terminal, when judging mobile phone lying in a horizontal plane on static object according to face down direction, rather than when being held in user hand, user is generally not desired to using mobile phone at this time, or no hurry using mobile phone reception and replies message, in this case, mobile terminal just enters battery saving mode, it avoids and enters battery saving mode when user holds the mobile terminal in a manner of face down, the erroneous judgement for reducing mobile terminal improves the accuracy into battery saving mode.The embodiment of the invention also provides the method for exiting battery saving mode, device and mobile terminal, when judge mobile terminal not according still further to the horizontal positioned of face down direction and no longer static or mobile terminal it is no longer static, mobile terminal exits battery saving mode.Therefore, which can recognize that the case where mobile terminal is picked up in the direction of user's face down, can reduce the erroneous judgement for exiting battery saving mode, improve the accuracy for exiting battery saving mode.
Detailed description of the invention
Fig. 1 is a kind of structural schematic diagram of mobile phone of the embodiment of the present invention;
Fig. 2 a is that the mobile phone screen of the embodiment of the present invention lies in the schematic diagram of desktop upward;
Fig. 2 b is that the mobile phone front of the embodiment of the present invention lies in the schematic diagram of desktop downward;
Fig. 3 a is the schematic diagram picked up of the mobile phone of the embodiment of the present invention by user's screen upward;
Fig. 3 b is the mobile phone of the embodiment of the present invention by the schematic diagram of user's face down picked up;
Fig. 4 is the curve of the noise for the acceleration that the gravity sensor of the embodiment of the present invention detects;
Fig. 5 is the curve of the noise for another acceleration that the gravity sensor of the embodiment of the present invention detects;
Fig. 6 is a kind of method flow diagram into battery saving mode of the embodiment of the present invention;
Fig. 7 is a kind of method flow diagram for exiting battery saving mode of the embodiment of the present invention.
Fig. 8 is that the another kind of the embodiment of the present invention enters the method flow diagram of battery saving mode;
Fig. 9 is that the another kind of the embodiment of the present invention exits the method flow diagram of battery saving mode;
Figure 10 enters the method flow diagram of battery saving mode for another of the embodiment of the present invention;
Figure 11 exits the method flow diagram of battery saving mode for another of the embodiment of the present invention;
Figure 12 is the structure drawing of device into battery saving mode of the embodiment of the present invention;
Figure 13 is the structure drawing of device for exiting battery saving mode of the embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, the present invention will be describe below in further detail with reference to the accompanying drawings.
It may include mobile phone, tablet computer, PDA (Personal Digital Assistant the present embodiments relate to mobile terminal, personal digital assistant), POS (Point of Sales, point-of-sale terminal) etc., which includes screen and gravity sensor etc..
Battery saving mode in the embodiment of the present invention is called and does power down mode, low-power consumption mode etc..It is low in energy consumption when the power dissipation ratio of mobile terminal in battery saving mode works normally.When mobile terminal is in battery saving mode, at least one, which can be executed, reduces the movement of power consumption, such as: reduce the brightness of screen, close the program of running background, disconnect the connection of mobile data, close GPS (Global Positioning System, global positioning system) module, it disables earphone and is inserted into detection function, close the prompting of indicator light, stop the detection of USB plug, disable the function that voice wakes up mobile terminal, dynamic wallpaper is replaced with into static wallpaper, the display of screen is become into black and white from colour, reduce the frequency interacted with server, close a part of core in multi-core processor, close the segment processor in multiple processors, disable automatic software updating function etc..The present invention to the specific implementation of battery saving mode without limitation.As an implementation, in a power-save mode, the function that mobile terminal still keeps some urgent functions or user to select does not close, such as answers call function etc..As another embodiment, if before entering battery saving mode, mobile terminal is not from mobile data network downloading data, and in a power-save mode, mobile terminal closes the corresponding RF circuit of mobile data network or disconnects connection corresponding with the mobile data network.If mobile terminal does not use WiFi module downloading data before entering battery saving mode, in a power-save mode, mobile terminal closes WiFi module.
In the embodiment of the present invention, battery saving mode can be divided into common battery saving mode and ultra electric power-saving mode, more hardware modules are closed under common battery saving mode in ultra electric power-saving mode ratio, disable more software functions etc., or it closes the hardware module of more power consumption, disable the software function of more power consumption, or hardware module or software function are worked in a manner of more power saving, to realize the more power saving than common battery saving mode.Hardware module herein refers to the component of various hardware shown in following Fig. 1.Software function is finger processor runs software code to instruct various functions performed by various hardware modules, function or the function of third-party application of various systems application including processor operation etc., such as in running background program, earphone insertion detection, call reminding, USB plug detection, voice wake up terminal, dynamic wallpaper etc..
Normal mode in the embodiment of the present invention is called and does normal condition, non-battery saving mode, non-power down mode etc., refers to the state worked normally before mobile terminal enters battery saving mode, or exits the state worked normally after battery saving mode.
In the embodiment of the present invention, mobile terminal exits battery saving mode, mobile terminal turns at least part hardware module closed when battery saving mode, and/or the software function that at least part disables when turning on into battery saving mode, or mobile terminal start some settings and hardware module and software function, such as the software function and hardware module or software function set by user and hardware module started when normal boot-strap.
In order to allow mobile terminal to enter battery saving mode from normal mode, there are multiple implementations.One type mode is, when mobile terminal receive user's sending into battery saving mode instruction when, mobile terminal just enters battery saving mode.User issues there are many modes of the instruction, for example, voice command, tapping operation, touch control operation, rock mobile terminal etc..Another kind of mode is, when mobile terminal detects that some conditions meet, just enter battery saving mode, such as mobile terminal detects that remaining capacity is less than some threshold value, perhaps it detects and is currently at the power saving period set by user or the state of user's gripping mobile terminal and the current use state of the mobile terminal is combined to determine that the mobile terminal is currently idle (its implementation can apply for CN201210112165.9 with reference to China) etc..
Correspondingly, also having multiple implementations to allow mobile terminal to enter normal mode from battery saving mode.One type mode is, when mobile terminal receive user's sending into battery saving mode instruction when, mobile terminal just enters battery saving mode.User issues there are many modes of the instruction, for example, voice command, tapping operation, touch control operation, rock mobile terminal etc..When mobile terminal detects that some conditions meet, just exit battery saving mode, such as mobile terminal detects that remaining capacity has been above some threshold value, perhaps it detects the period being currently at except the power saving period set by user or the state of user's gripping mobile terminal and the current use state of the mobile terminal is combined to determine that the mobile terminal is currently used by a user (its implementation can be with reference to China application CN201210112165.9) etc..
In the prior art, it such as U. S. application US8117471 B2, additionally provides and a kind of hand-hold electronic device is allowed to enter battery saving mode and exit the scheme of battery saving mode.The acceleration in X-axis that the program is detected by the gravity sensor of hand-hold electronic device, the acceleration on acceleration and Z axis in Y-axis, and judge whether the acceleration on three axis falls into preset range, if it is, then hand-hold electronic device enters battery saving mode, if it is not, then hand-hold electronic device restores to the mode of normal operation.The program does not account for the case where hand-hold electronic device is held by a user, when user holds hand-hold electronic device, and the flat-hand position of hand-hold electronic device holding face down, at this time, according to the program, hand-hold electronic device can enter battery saving mode, however, since user holds hand-hold electronic device at this time, usually indicate that user is still wanted at this time using the hand-hold electronic device, if being easy that user is allowed not to be available some functions of closing because battery saving mode is entered, to influence user to the normal use of hand-hold electronic device into battery saving mode.On the other hand, the case where program is picked up hand-hold electronic device by user according to the flat-hand position of face down, the mode of normal operation will not be restored to, and when user picks up the hand-hold electronic device, generally also user wants to use the hand-hold electronic device, therefore the program also results in the erroneous judgement for exiting battery saving mode, to affect the experience of user.
A kind of function of rapidly entering/leave battery saving mode is provided in the embodiment of the present invention, herein "/" indicating "or", this rapidly enters/leaves battery saving mode function and combines two kinds of battery saving mode of unlatching battery saving mode and closing Function enables a user to the modes of emplacement by changing mobile terminal and easily enters battery saving mode by mobile terminal and exit battery saving mode, and accuracy is relatively high.When user opens the function, when mobile terminal is horizontally arranged by the direction of face down, and when on static placement object rather than in the hand of user, then mobile terminal enters battery saving mode without the operation of user.Do not occur at this time mobile terminal it is hand held middle by user when the case where still entering battery saving mode, to reduce the erroneous judgement into battery saving mode, improve the accuracy into battery saving mode.And when the state of mobile terminal is changed, it is no longer on the horizontal positioned in the state of stationary object of face down, such as picked up or be flipped to by user it is vertical etc., then mobile terminal enters normal mode without the operation of user, the mode for exiting battery saving mode can recognize that the case where mobile terminal is picked up in the direction of user's face down, the erroneous judgement for exiting battery saving mode can be reduced, improve the accuracy for exiting battery saving mode.When user is not turned on the function, mobile terminal is referred to the prior art and is worked normally.One kind is achieved in that, increase in power management interface in the terminal or shortcut function menu one this rapidly enter or leave the option or button of the function of battery saving mode, selected to open and close by user.Another kind is achieved in that, by mobile terminal some hardware button or button with this rapidly enter/leave the function association of battery saving mode, user, which can be realized by operating the hardware button, rapidly enter/leave the opening and closing of the function of battery saving mode to this.Another is achieved in that, defines voice, other order the opening and closing to realize the function of rapidly entering/leave battery saving mode to gesture etc., and which is not limited by the present invention.
It is appreciated that the function of battery saving mode can also will be rapidly entered, and the function of battery saving mode is quickly left as two independent options and is selected and is controlled respectively by user.If user only opens the function of rapidly entering battery saving mode, the function of battery saving mode is quickly exited without opening, then mobile terminal only supports the modes of emplacement for changing mobile terminal easily to enter battery saving mode by mobile terminal, without supporting the modes of emplacement for changing mobile terminal easily to exit battery saving mode by mobile terminal.On the contrary and similar, details are not described herein again.
The first duration in the embodiment of the present invention may be the same or different with the second duration, Which is not limited by the present invention.In one embodiment, the first duration is for judging whether mobile terminal is in the horizontal positioned state of face down.If the X-axis that gravity accelerometer detects, the acceleration in Y-axis and Z axis remains 0,0, -9.8m/s within first duration respectively2, it is determined that the mobile terminal is in the horizontal positioned state of face down.In another embodiment, the second duration is for judging whether mobile terminal is placed on stationary object.If the noise that gravity accelerometer detects is lower than noise threshold within second duration, it is determined that the mobile terminal is placed on static object, without being held by a user.
Energy threshold in the embodiment of the present invention is for judging whether the front of mobile terminal has object covering, the energy threshold can be set to a value close to infrared sensor emitted energy, for example, 90% of infrared sensor emitted energy or 80% etc., which is not limited by the present invention.
Threshold pressure in the embodiment of the present invention is used to judge the stress at the back side of mobile terminal, the threshold pressure can be set to a value close to 0, such as 0.1 newton or 0.05 newton etc., when the pressure that pressure sensor detects is lower than threshold pressure, illustrate that the back side of mobile terminal does not have object contact, the pressure that pressure sensor detects is higher than threshold pressure, illustrates that there is object contact at the back side of mobile terminal.
The numberical range of " close ", " about " that the embodiment of the present invention provides is only a kind of citing, and other numberical ranges can also be arranged in those skilled in the art according to experimental data or the habit of user etc..
It is illustrated so that mobile terminal is mobile phone as an example below, it will be understood that embodiment below is also applied for other mobile terminals with gravity sensor.
Shown in fig. 1 is the block diagram of the part-structure of mobile phone 100 relevant to the embodiment of the present invention.With reference to Fig. 1, mobile phone 100 includes, RF (Radio Frequency, radio frequency) components such as circuit 110, memory 120, input unit 130, display unit 140, gravity sensor 150, pressure sensor 151, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, processor 180 and power supply 190.It will be understood by those skilled in the art that handset structure shown in Fig. 1 does not constitute the restriction to mobile phone, it may include than diagram More or fewer components perhaps combine certain components or different component layouts.It is specifically introduced below with reference to each component parts of the Fig. 1 to mobile phone 100:
RF circuit 110 for receive and send messages or communication process in, signal sends and receivees, and particularly, after the downlink information of base station is received, handles to processor 180;In addition, the data for designing uplink are sent to base station.In general, RF circuit includes but is not limited to antenna, at least one amplifier, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplexer etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication.Any communication standard or agreement can be used in the wireless communication, including but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (S Hort Messaging Service, short message service) etc..
Memory 120 is for storing software program and module, and processor 180 is stored in the software program and module of memory 120 by operation, thereby executing the various function application and data processing of mobile phone 100.Memory 120 can mainly include storing program area and storage data area, wherein storing program area can application program (such as sound-playing function, image playing function etc.) needed for storage program area, at least one function etc.;Storage data area, which can be stored, uses created data (such as audio data, phone directory etc.) etc. according to mobile phone 100.In addition, memory 120 may include high-speed random access memory, it can also include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
The number for receiving input of input unit 130 or character information, and generate key signals input related with the user setting of mobile phone 100 and function control.Specifically, input unit 130 may include touch panel 131 and other input equipments 132.Touch panel 131, also referred to as touch screen collect user at it On or near touch operation (for example user uses the operation of any suitable object or attachment on touch panel 131 or near touch panel 131 such as finger, stylus), and corresponding attachment device is driven according to preset formula.Touch panel 131 includes both touch detecting apparatus and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 180, and can receive order that processor 180 is sent and be executed.Furthermore, it is possible to realize touch panel 131 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 131, input unit 130 can also include other input equipments 132.Specifically, other input equipments 132 can include but is not limited to one of physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. or a variety of.
Display unit 140 is for showing information input by user or being supplied to the information of user and the various menus of mobile phone 100.Display unit 140 may include display panel 141, optionally, display panel 141 can be configured using the forms such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode).Further, touch panel 131 can cover display panel 141, after touch panel 131 detects touch operation on it or nearby, processor 180 is sent to determine the type of touch event, device 180 is followed by subsequent processing according to the type of touch event and corresponding visual output is provided on display panel 141.Although in Fig. 1, touch panel 131 and display panel 141 are the input and input function for realizing mobile phone 100 as two independent modules, but it is in some embodiments it is possible to touch panel 131 and display panel 141 is integrated and that realizes mobile phone 100 output and input function.The screen of the embodiment of the present invention includes at least one of the touch panel 131 and the display panel 141.Specifically, for showing setting, this rapidly enters/leaves the interface of the function of battery saving mode to display panel 141, touch panel 131 is used to receive opening this and rapidly entering/leave the instruction of the function of battery saving mode for user's input, and closes the instruction of the function of rapidly entering/leave battery saving mode.
It should be noted that mobile phone generally includes front, the back side and side.The front of mobile phone is opposite with the back side, is four sides between front and the back side.The front of mobile phone generally comprises display panel 141, further includes touch panel 131 and some keys optionally.The back side of mobile phone generally comprises camera, and optionally, there are also the marks etc. of some production firms.Be typically provided on the side of mobile phone it is following at least one: volume button, power button, power interface, USB interface and earphone jack etc..As shown in Figure 2 a, the rear-face contact of mobile phone desktop, the front of mobile phone and side do not contact desktop.As shown in Figure 2 b, the front face of mobile phone desktop, the back side and side of mobile phone does not contact desktop.As shown in Figure 3b, user holds mobile phone, wherein the thumb contact of the user front of mobile phone, the index finger and middle finger of user contact the side and the back side of mobile phone.
It should be noted that, below to be illustrated for the same face of touch panel 131 and display panel 141 being located on mobile phone, when mobile phone is placed in a manner of face down (as shown in Fig. 2 b, 3b), also imply that mean mobile phone be by touch panel 131 downward with 141 it is also directed downwardly in a manner of place.When mobile phone is placed in a manner of facing up (as shown in Fig. 2 a, 3a), it is meant that mobile phone be also mobile phone with touch panel 131 upwards and display panel 141 also upward mode is placed.It is appreciated that touch panel 131 and display panel 141 can also different faces on mobile phone, the modes of emplacement of display panel 141 of being subject at this time judged.
Mobile phone 100 further includes gravity sensor 150, is able to detect the component of acceleration of gravity (generally three axis of the three-dimensional cartesian coordinate system of mobile phone) in all directions, for identification the state of mobile phone.
Gravity sensor 150 is able to detect that the unit of the component of acceleration of gravity can be meter per second2(m/s2) or g, wherein 1g=9.8 meter per second2(m/s2).The relationship of three-dimensional cartesian coordinate system and mobile phone can as shown in Figure 2 a (or use other coordinate systems, it is not limited in the embodiment of the present invention), wherein, mobile phone 100 is placed on desktop 200 according to the direction of touch panel 131 (or display panel 141) upward, and desktop 200 is level.It is illustrated by taking touch panel 131 as an example below.The origin of coordinate system is the geometric center of mobile phone or touch panel 13, and Z axis is directed toward touch panel 131 perpendicular to touch panel 131 Direction except front (i.e. the one side of user's progress touch control operation), X-axis and Y-axis are in the horizontal plane, X-axis is parallel to the shorter side of touch panel 131, and it is directed toward the right as illustrated in the drawing, Y-axis is parallel to the longer side of touch panel 131, and is directed toward top as illustrated in the drawing.After mobile phone is stablized on desktop 200, the acceleration in X-axis and Y-axis that gravity sensor 150 detects is 0, and the acceleration on Z axis that gravity sensor 150 detects is approximately equal to normal acceleration of gravity 1g=9.8 meter per second2(m/s2).Still same three-dimensional cartesian coordinate system is used, when the mobile phone 100 being placed on the desktop 200 (as shown in Figure 2 b) according to 131 downward of touch panel, and when desktop 200 is horizontal, after mobile phone is stablized on desktop 200, the acceleration in X-axis and Y-axis that gravity sensor 150 detects is 0, and the acceleration on Z axis that gravity sensor 150 detects is approximately equal to acceleration of gravity -9.8m/s2.Therefore, by judging whether the acceleration on Z axis is negative, it can be determined that touch panel 131 whether downward, by judging whether the acceleration of X-axis and Y direction is 0, it can be determined that go out touch panel 131 it is whether horizontal.If it is considered that the desktop that mobile phone is placed not is abswolute level, by judge X-axis and Y direction acceleration whether be one close to one of 0 lesser value (such as in -1 meter per second2To 1 meter per second2Between or other sections, can specifically be arranged by user setting or by experimental data), to judge whether touch panel 131 approximate horizontal.
Gravity sensor 150 can also detect the noise of acceleration, the i.e. variable quantity of acceleration of gravity, such as:.It is appreciated that the noise of acceleration can also be other calculations, it is not limited in the embodiment of the present invention.When mobile phone 100 is placed on the object of static (not moving), such as on horizontal desktop, when without being held in the hand of user, the time graph of the noise for the acceleration that gravity sensor 150 detects is as shown in Figure 4, wherein abscissa is millisecond (ms), and the unit of ordinate is g.From the curve it is found that when mobile phone is placed on static object, for example, it is horizontal without on mobile desktop, and when without being held in the hand of user, the noise of the acceleration detected is smaller, generally less than 0.004g.And work as mobile phone 100 and held in the hand by static user and keep stablizing (such as shown in Fig. 3 a and 3b), when, gravity sensor The time graph of the noise of 150 acceleration detected is as shown in figure 5, the value of the noise of the acceleration measured in the figure is generally higher than 0.1g, caused by this small noise is mainly influenced as the pulse of user and small shake etc..It can be seen that, the value of the noise of acceleration in Fig. 4 and Fig. 5 has apparent difference, by judge acceleration that gravity sensor 150 detects noise whether less than one noise threshold, it may determine that whether mobile phone 100 is placed on a static object, if the noise threshold is arranged sufficiently small, such as 0.004g, it can more accurately judge whether mobile phone 100 is held by a user.
It should be noted that the noise threshold that the embodiment of the present invention is mentioned may be set to be other values in addition to 0.004g.If mobile phone is placed on static desktop, gravity sensor 150 can detect that the noise of acceleration is G1;In the hand by the stable gripping of user, and when user is static, gravity sensor 150 can detect that the noise of acceleration is G2 to mobile phone;Mobile phone is carried in pocket or knapsack by user, and user is moving, such as walking, and when running or riding public transportation means, gravity 150 can detect that the noise of acceleration is G3.Due to G3 > G2 > G1.The noise threshold G0 is set greater than G1 and is less than any value of G2, such as set G0 to any value between 0.0038g to 0.01g, such as 0.004g, by comparing the noise and the noise threshold of the acceleration that gravity sensor detects, it can judge that mobile phone is placed on static object, rather than the user moved carries in pocket or knapsack, or even is held by static user.
Mobile phone 100 further includes pressure sensor 151, which is arranged in the back side (one side of i.e. no touch panel 131 and display panel 141) of mobile phone 100.The pressure sensor is used to detect the suffered pressure of mobile phone back, it is accurate in order to measure, the whole region at the back side can be evenly distributed in, or backside pressure sensor is arranged in the specified region of mobile phone back as the case may be, as the back side rear camera near, the quadrangle at the back side nearby and four sides nearby etc..Illustrate so that pressure sensor 151 is evenly distributed in the whole region at the back side as an example below: when the current state of the mobile phone is that touch panel 131 (or display panel 141) is placed on object upward, the pressure sensor detects that the stress of the mobile phone back is M1, the M1 are greater than 0, the generally gravity of mobile phone itself;When the current state of the mobile phone is that touch panel 131 (or display panel 141) is placed on object downward, when the pressure sensor detects that the stress of the mobile phone back is about 0;When the current state of the mobile phone is that user holds, the pressure sensor detects that the stress at the mobile terminal back side is M2, and M2 is generally higher than 0.
Mobile phone 100 can also include other sensors, as infrared sensor (does not indicate) in figure.Infrared sensor is set to the front of mobile phone.The infrared sensor is for detecting reflected energy and wavelength, if the energy ratio of reflection is larger (to be greater than an energy threshold,), the energy launched close to infrared sensor, illustrate that the front of mobile phone 100 has object to block, if the energy very little (less than one energy threshold) of reflection, illustrates that the front of mobile phone 100 is blocked without object.Infrared sensor can have one, be arranged near top or the front camera of display panel 141, can also there is at least two, be respectively arranged above and below display panel 141.
Mobile phone 100 can also include optical sensor, the optical sensor may include ambient light sensor and proximity sensor, wherein, ambient light sensor can adjust the brightness of display panel 141 according to the light and shade of ambient light, proximity sensor can close display panel 141 and/or backlight when mobile phone 100 is moved in one's ear.The other sensors such as the gyroscope, barometer, hygrometer, the thermometer that can also configure as mobile phone 100, details are not described herein.Optical sensor can have one, be arranged near top or the front camera of display panel 141, can also there is at least two, be respectively arranged above and below display panel 141.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 provide the audio interface between user and mobile phone 100.Electric signal after the audio data received conversion is transferred to loudspeaker 161 by voicefrequency circuit 160, is converted to voice signal output by loudspeaker 161;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, audio data is converted to after being received by voicefrequency circuit 160, then audio data is exported to RF circuit 108 to be sent to such as another mobile phone, or audio data is exported to memory 120 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone 100 is sent and received e-mail by WiFi module 170, browses webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows WiFi module 170, but it is understood that, and it is not belonging to must be configured into for mobile phone 100, it can according to need within the scope of not changing the essence of the invention and omit completely.
Processor 180 is the control centre of mobile phone 100, utilize the various pieces of various interfaces and connection whole mobile phone, by running or executing the software program and/or module that are stored in memory 120, and call the data being stored in memory 120, the various functions and processing data for executing mobile phone 100, to carry out integral monitoring to mobile phone.Optionally, processor 180 may include one or more processing units;Preferably, processor 180 can integrate application processor (Application Processor,) and modem processor AP, it can also include microcontroller (Microcontroller Unit, MCU), wherein the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles wireless communication, and microcontroller can share a few thing of application processor.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Processor 180 judges whether mobile phone 100 includes any of the following in the way of the approximate horizontal placement of 131 downward of touch panel: (1) processor 180 judges whether the acceleration on X-axis, Y-axis and Z axis is respectively 0,0, -9.8m/s2, if it is, may determine that mobile phone 100 is the approximate horizontal placement according to 131 downward of touch panel;(2) processor 180 determines the reflected energy and reflection wavelength that infrared sensor detects, if reflected energy (is greater than energy threshold) very greatly and reflection wavelength corresponds to wood or glass, it may determine that mobile phone 100 is to put downward according to touch panel 131 on the table, then further judge whether X-axis, the acceleration in Y-axis are 0, if it is, can determine mobile phone 100 be according to 131 downward of touch panel approximate horizontal placement on the table;(3) processor 180 judge pressure that the pressure sensor 151 at 100 back side of mobile phone detects whether close to 0, if it is, judgement be further judge whether X-axis, the acceleration in Y-axis are 0 according to the placement of 131 downward of touch panel, if so, Can then determine mobile phone 100 be according to 131 downward of touch panel approximate horizontal placement on the table.
Further, the processor 180 can judge whether mobile phone 100 is placed on static object by the size of the noise of acceleration.Only when processor 180 judges that mobile phone 100 is placed on static object according to the approximate horizontal of 131 downward of touch panel, processor 180 controls mobile phone and enters battery saving mode, such as close GPS module, it disables earphone and is inserted into detection function, close the prompting of indicator light, stop the detection of USB plug, closes a part etc. in multiple processing units in processor.In this case, user is generally not desired to using mobile phone at this time, or no hurry using mobile phone reception and replies message, therefore the use of user is had no effect on into battery saving mode.When the gravity sensor detects that the state of mobile phone 100 changes, is such as picked up by user or user has overturn mobile phone and makes touch panel then processor 180 does not control mobile phone and exits battery saving mode downward approximate horizontal, to be restored to normal mode.
Mobile phone 100 further includes the power supply 190 (such as battery) powered to modules, preferably, power supply can be logically contiguous by power-supply management system and processor 180, to realize the functions such as management charging, electric discharge and power consumption by power-supply management system.
Although being not shown, mobile phone 100 can also include camera, bluetooth module etc., and details are not described herein.
It is illustrated by taking a concrete scene as an example below.
User is using mobile phone as shown in Figure 1, mobile phone is in normal condition, the multiple instruction of the reception user of touch panel 131, navigation application has been respectively started according to the multiple instruction of user in processor 180, web browser, it takes pictures application and instant communication software, and opens GPS module and use WiFi module download music files.Then touch panel 131 receives the instruction back to main interface of user, processor 180 controls the display panel 141 display main interfaces, and the interface of the various applications of the front opening no longer shown, since user is not off these applications, processor 180 is still running these applications from the background.Then touch panel 131 receive user opening power management interface operation, display panel 141 show power management interface in, touch panel 131 receive user selection operation, processor 180 according to the selection operation unlatching rapidly enter/ Leave the function of battery saving mode.
Then, user enters meeting room with mobile phone, it placed static horizontal desk 200 in the meeting room, at the beginning, user's being placed in horizontal table top upward according to touch panel 131 shown in Fig. 2 a by mobile phone, at this point, processor 180 judges that the acceleration on Z axis that gravity sensor 150 detects is positive, then processor 180 maintains that opens before user to apply in running background, and continues to use WiFi module download music files (assuming that music file is downloaded and do not completed at this time).
When user picks up mobile phone from desktop, according to the horizontal gripping shown in Fig. 3 a, by the touch panel 131 of mobile phone upward, and keep stable state, at this time, 180 judge that the acceleration on the Z axis that gravity sensor 150 detects is positive, then processor 180 still maintains the various of unlatching before user to apply in running background, and GPS module is kept to open, and continues to use WiFi module download music files (assuming that music file is downloaded and do not completed at this time).
When user overturns mobile phone, i.e., according to it is as shown in Figure 3b, by touch panel of cell phone 131 it is directed downwardly it is horizontal hold, at this point, processor 180 first judges that the acceleration on Z axis that gravity sensor 150 detects is negative, and substantially -9.8m/s2Then processor 180 continues to judge the acceleration substantially 0 on the acceleration and Y-axis in X-axis that gravity sensor 150 detects, and then processor 180 judges the acceleration for the Z-direction that gravity sensor 150 detects, the acceleration above each substantially -9.8m/s whether for 5 seconds on acceleration and Y-axis in X-axis2, 0 and 0.If it is judged that being yes, whether the average value that processor 180 continues the noise for the acceleration for judging that gravity sensor 150 detects in above-mentioned 5 seconds is less than noise threshold (being set as 0.004g herein), the influence shaken due to the pulse and arm muscles of user, processor 180 judges that the noise for the acceleration that gravity sensor 150 detects is greater than the noise threshold herein, therefore processor 180 still maintains the various of unlatching before user to apply in running background, GPS module is kept to open, and continue to use WiFi module download music files (assuming that music file is downloaded and do not completed at this time).
When user continues to hold, mobile phone front is directed downwardly to be continued to move to, and finally by mobile phone according to according to Fig. 2 b institute The touch panel 131 shown is directed downwardly to be placed in horizontal table top, and no longer contacts mobile phone.At this point, processor 180 first judges that the acceleration on Z axis that gravity sensor 150 detects is negative, and substantially -9.8m/s2Then processor 180 continues to judge the acceleration substantially 0 in X-axis and Y-axis that gravity sensor 150 detects, and then processor 180 judges the acceleration for the Z-direction that gravity sensor 150 detects, the acceleration above each substantially -9.8m/s whether for 5 seconds on acceleration and Y-axis in X-axis2, 0 and 0.If the judgment is Yes, processor 180 then judges whether the average value of the noise for the acceleration that gravity sensor 150 detects in above-mentioned 5 seconds is less than noise threshold (being set as 0.004g herein), since user does not hold the mobile phone in this 5 seconds, therefore processor 180 judges that the average value of the noise for the acceleration that gravity sensor 150 detects in this 5 seconds is less than the noise threshold, other modules that then processor 180 controls mobile phone work in battery saving mode: i.e. the navigation application of the closing of processor 180 running background, web browser, it takes pictures application and instant communication software, close GPS module, and judges whether music file is downloaded and finish, if downloading finishes, then close WiFi module, it is finished if the music file is not downloaded, then continue to use WiFi mould Block download music files.And the mark for the application that the record of processor 180 is closed and the mark of hardware module.
After in half an hour, when user picks up mobile phone again, the state of mobile phone is become such as Fig. 2 a, when state shown in Fig. 3 a or Fig. 3 b, then processor 180 is judged to need to exit battery saving mode according to the result that gravity sensor detects, then processor 180 is according to the mark of the application of the closing of record and the mark of hardware module, it is again turned on navigation application, web browser, take pictures application and instant communication software open GPS module.If WiFi module is also turned off, then opens WiFi module again at this time when entering battery saving mode.
In above-described embodiment, display panel 141 display setting this rapidly enter the interface of the function of battery saving mode, and receive user by touch panel 131 input open this rapidly enter/leave the instruction of the function of battery saving mode;Gravity sensor 150 detects acceleration (including X-axis, the acceleration in Y-axis and Z axis, the noise of whole acceleration);Processor 180 is by judging that the acceleration on X-axis, Y-axis and Z axis may determine that hand Machine 100 whether according to 131 downward of touch panel approximate horizontal placement, and increase by 5 seconds duration judgement, to reduce maloperation.The processor 180 may determine that whether mobile phone 100 is placed on static object by the noise of the whole acceleration in described 5 seconds, rather than be held in user hand.Only when processor 180 judges mobile phone 100 according to the approximate horizontal placement of 131 downward of touch panel and is placed on static object, rather than when being held in user hand, user is generally not desired to using mobile phone at this time, or no hurry using mobile phone reception and replies message, in this case, the control of processor 180 mobile phone enters battery saving mode.When the gravity sensor detects that the state of mobile phone 100 changes, such as picked up by user, or user overturn mobile phone and make touch panel 131 not it is approximate horizontal downward, then processor 180 is no longer waiting for a period of time, and mobile phone battery saving mode is immediately controlled, to be restored to normal mode.
Above mentioned embodiment provide a kind of methods of power saving, allow mobile terminal to enter battery saving mode according to the simple operations of user and exit battery saving mode, simplify the operation of user, improve the ease for use of mobile terminal and the interaction capabilities with user.
As shown in fig. 6, the embodiment of the present invention provides a kind of method flow diagram into battery saving mode.This method is executed by mobile phone as shown in Figure 1, and before executing this method, mobile phone is in normal mode, and user has had turned on or do not opened the function of rapidly entering battery saving mode.This method comprises:
601, processor 180 judges that this rapidly enters whether the function of battery saving mode has been switched on, if user is used to be arranged in the interface of the function of rapidly entering battery saving mode before 601 what display panel 141 was shown, having selected unlatching by touch panel 131, this rapidly enters the function of battery saving mode, then execute 602, if processor 180 judges that this rapidly enters the function of battery saving mode and does not open, 607 are executed.
602, processor 180 judges whether the acceleration on Z axis that gravity sensor 150 detects is negative, if it is, 603 are executed, if it is not, then executing 606.
It is appreciated that gravity sensor 150 is in running order before 602, it is able to detect that X-axis, Acceleration in Y-axis and Z axis, and the noise of whole acceleration;If gravity sensor 150 is not on working condition, processor 180 first opens gravity sensor 150 and is at working condition before executing 602.
603, processor 180 judge the acceleration in X-axis and Y-axis that gravity sensor 150 detects whether substantially 0, if it is, 604 are executed, if it is not, then executing 606.
The acceleration judged in X-axis and Y-axis herein whether substantially 0, be to consider that desktop for placing mobile phone or other supporters are not fully horizontal situations.Substantially 0 range can be the value for falling into following section: (- 0.98,0.98), or (- 0.49,0.49) etc., wherein the unit of the numerical value in section is m/s2.The value in the section can be preset etc. when leaving the factory by user setting or by mobile phone producer.
604, processor 180 judges whether the noise for the acceleration that gravity sensor 150 detects is less than noise threshold (being set as 0.004g herein) and then executes 605 if it is less than noise threshold, if not being less than noise threshold, executes 606.
The noise of acceleration as shown in Figure 4 and Figure 5 is the noise for the whole acceleration that gravity sensor 150 detects, and the not component on X-axis, Y-axis and Z axis.
605, the control of processor 180 mobile phone enters battery saving mode.
Battery saving mode in 605 is common battery saving mode, 605 include: the process that processor 180 closes the application for all running backgrounds being currently running, stop GPS, stop headset detection, stop indicator light prompting, stopping USB plug detection, stop NFC, the wake-up of stopping voice, stop touch screen arousal function etc., but be to maintain and answer the lasting unlatching of call function.605 further include, and processor 180 judges whether RF circuit or WiFi module are downloading file, if it is not, then processor closes RF circuit and WiFi module, if there is file is being downloaded, then processor keeps RF circuit or WiFi module to continue to download.
606, processor 180 maintains operating handset in existing mode.
After 606,602 can be executed again, until enter battery saving mode or this rapidly enter power saving mould The function of formula is closed.
607, processor 180 maintains operating handset in existing mode.After 607,601 can be executed again.
Since before unlatching rapidly enters the function of battery saving mode, operating handset is in normal mode, therefore the existing mode in 606 and 607 is normal mode.
It is understood that, 602 be to whether downward judge display panel 140 (or touch panel 131), 603 be to judge whether display panel 140 (or touch panel 131) is horizontal, 604 be in order to judge whether mobile phone is placed on static object, without by user it is hand held in, the execution sequence of three steps can be interchanged, it is only all yes there are three the judging result of step, just execute 605, as long as the judging result for having a step be it is no, be carried out 606.
In order to reduce the error of judgement, 602 can also be replaced with whether the acceleration on the Z axis that processor 180 judges that gravity sensor 150 detects is about -1g (i.e. -9.8m/s2), if it is, 603 are executed, if it is not, then executing 606.Acceleration on Z axis is about that -1g refers to that the acceleration on Z axis between -1.2g to 0.98g, is also possible to the value in other sections, which is not limited by the present invention.When the acceleration on the Z axis that gravity sensor 150 detects is about -1g, then illustrate display panel 140 (or touch panel 131) downward, and opposite ground is static or uniform motion in the horizontal direction.
However, in actual life, if mobile phone moves in the horizontal direction, such as mobile phone is placed on the seat or desk in the automobile of traveling or the vehicles of other travelings, due to being influenced by automobile or other vehicles, the noise for the acceleration that the gravity sensor of mobile phone detects generally can also be greater than 0.004g, therefore, if the noise of acceleration is less than 0.004g, mobile phone is generally in the horizontal direction also without uniform motion.
Optionally, it can judge whether mobile phone is placed on static object after 604, judge whether mobile phone is static in the horizontal direction, thus, acceleration transducer can be used and gyroscope obtains mobile phone acceleration in the horizontal direction, and judge whether mobile phone is also static in the horizontal direction accordingly, or use GPS mould Whether the motion determination mobile phone of block record mobile phone moves, or judges whether mobile phone moves using the positioning function of base station, and in the prior art also there are many mode whether mobile phone move in the horizontal direction is judged, which is not limited by the present invention.Only when mobile phone is placed on static object, otherwise just execution 605 executes 606.
In order to reduce the error of judgement, the judgement of duration can also be increased at least one of 602,603 and 604.602 could alternatively be 602 ': processor 180 judges whether the acceleration on the Z axis that gravity sensor 150 detects is negative in the first duration.603 could alternatively be 603 ': whether processor 180 judges the acceleration in X-axis and Y-axis that gravity sensor 150 detects substantially 0 in first duration.604 could alternatively be 604 ': processor 180 judges whether the noise for the acceleration that gravity sensor 150 detects is always less than noise threshold in the second duration or processor 180 judges whether the average value of the noise of acceleration that gravity sensor 150 detects in the second duration is less than the noise threshold.
If mobile phone 100 has come into common battery saving mode before executing 601, it may further determine that whether mobile phone 100 enters ultra electric power-saving mode, i.e., 605 replacements by 602,603 and 604 judgement are as follows: processor 180 controls mobile phone and enters ultra electric power-saving mode.The content and sequence of other steps remain unchanged, and are not repeated herein.
In order to improve the accuracy of judgement, it can also be 602, after 603 and 604 judging results are all "Yes", increase the judgement of infrared sensor, the material for the object that mobile phone 100 is currently placed is determined according to the wavelength that infrared sensor detects, if it is determined that the object for currently placing mobile phone is wooden or glass, then illustrate mobile phone be currently likely to by according to display panel 140 (or touch panel 131) direction directed downwardly, it is horizontal, be placed on desk, execute 605 at this time.If it is determined that the object for currently placing mobile phone is cloth or cortex, then mobile phone be likely to by according to display panel 140 (or touch panel 131) direction directed downwardly, it is horizontal, be placed on sofa or bed on, it at this time may be the unconscious operation of user, it is not temporarily to execute 606 at this time without using mobile phone.
It is appreciated that whether 602 and 603 be to judge mobile phone according to display panel 140 (or touch panel 131) direction directed downwardly, horizontal placement.The judgement can also be realized by other modes, such as be judged by gyroscope or other sensors;Mobile phone whether according to display panel 140 (or touch panel 131) direction directed downwardly, horizontal placement if it is, 604 are executed, if it is not, then executing 606.
In the above-described embodiments, if the processor of mobile phone includes application processor and microcontroller, 601 are executed by application processor, 605,606 and 607,602 are executed by MCU, 603 and 604, due to MCU power dissipation ratio application processor it is small, the technical effect of more power saving can be reached.
The embodiment of the present invention also provides a kind of method for exiting battery saving mode.As shown in fig. 7, this method is executed by mobile phone as shown in Figure 1, and before executing this method, mobile phone is in battery saving mode, and user has had turned on or do not opened the function of quickly exiting battery saving mode.This method comprises:
701, processor 180 judges that this quickly exits whether the function of battery saving mode has been switched on, if user is before 701 in the interface for being used to be arranged the function of quickly exiting battery saving mode that display panel 141 is shown, it has selected to open the function of quickly exiting battery saving mode, then execute 702, if processor 180 judges that this quickly exits the function of battery saving mode and does not open, 707 are executed.
702, processor 180 judges whether the acceleration on Z axis that gravity sensor 150 detects is positive, if it is not, then 703 are executed, if it is, executing 706.
It is appreciated that before 702, gravity sensor 150 is able to detect that X-axis, the acceleration in Y-axis and Z axis, and the acceleration of entirety still in working condition while be in battery saving mode (including mobile phone);If gravity sensor 150 is not on working condition, processor 180 first opens gravity sensor 150 and is at working condition before executing 702.
703, processor 180 judges whether the acceleration in X-axis and Y-axis that gravity sensor 150 detects is much larger than 0, if it is not, then 704 are executed, if it is, executing 706.
Whether the acceleration judged in X-axis and Y-axis herein is much larger than 0, is to consider for placing hand The desktop of machine or other supporters are not fully horizontal situations.Refer to much larger than 0 greater than 0.98, or is less than -0.98.It can also refer to much larger than 0 greater than 0.49, or be less than -0.49.Wherein, the unit of above-mentioned numerical value is m/s2.
704, processor 180 judges whether the noise for the acceleration that gravity sensor 150 detects is greater than noise threshold (being set as 0.004g herein) and then executes 705 if it is greater than noise threshold, if it is less than noise threshold, then executes 706.
Acceleration as shown in Figure 4 and Figure 5 is the noise for the whole acceleration that gravity sensor 150 detects, and the not component on X-axis, Y-axis and Z axis.
705, processor 180 controls operating handset in battery saving mode.
706, processor 180 controls mobile phone and exits battery saving mode.
It includes: that processor 180 launches into all or part of software functions and hardware module closed when battery saving mode that battery saving mode is exited in 706;Or include: that processor 180 starts preset software function and hardware module, such as user commonly all kinds of software functions and hardware module.
After 705,702 can be executed again, until mobile phone exits battery saving mode, or until the function of quickly exiting battery saving mode is closed.
707, processor 180 maintains operating handset in battery saving mode.After 707,701 can be executed again.
It is understood that, 702 be to whether upward judge display panel 140 (or touch panel 131), 703 be to judge whether display panel 140 (or touch panel 131) is horizontal, 704 be in order to judge whether mobile phone is placed on static object, rather than by user it is hand held in, the execution sequence of three steps can be interchanged, it is only all no there are three the judging result of step, just execute 705, as long as the judging result for having a step be it is yes, be carried out 706.
In order to reduce the error of judgement, the judgement of duration can also be increased at least one of 702,703 and 704.702 could alternatively be 702 ': processor 180 judges whether the acceleration on the Z axis that gravity sensor 150 detects is positive in the first duration.703 could alternatively be 703 ': processor 180 is sentenced Whether the acceleration in X-axis and Y-axis that disconnected gravity sensor 150 detects is much larger than 0 in the first duration.704 could alternatively be 704 ': processor 180 judges whether the acceleration that gravity sensor 150 detects is greater than noise threshold in the second duration.
In the above-described embodiments, if the processor of mobile phone includes application processor and microcontroller, 701 are executed by application processor, 705,706 and 707,702 are executed by MCU, 703 and 704, due to MCU power dissipation ratio application processor it is small, the technical effect of more power saving can be reached.
In the present embodiment, if 701 judging results are yes, and mobile phone keeps state as shown in Figure 2 b, then passes through 702,703 and 704 judgement, and mobile phone maintains battery saving mode;If 701 judging results be it is yes, mobile phone state shown in Fig. 2 b is switched to Fig. 2 a, and state shown in Fig. 3 a or even Fig. 3 b then passes through 702,703 and 704 judgement, and mobile phone is switched to normal mode from battery saving mode.
It is appreciated that 602 above-mentioned and 702 be in order to judge mobile phone whether according to display panel 140 (or touch panel 131) direction directed downwardly placement.The judgement can also be realized by other modes, such as pass through pressure sensor, the judgement of the other sensors such as infrared sensor, specific method such as Fig. 8-Figure 11.
It is as follows, Fig. 8 and Fig. 9 be used pressure sensor judge mobile phone whether according to display panel 140 (or touch panel 131) direction directed downwardly placement.
As shown in figure 8, the embodiment of the present invention provides another method flow diagram for entering battery saving mode.This method is executed by mobile phone as shown in Figure 1, and before executing this method, mobile phone is in normal mode, and user has had turned on or do not opened the function of rapidly entering battery saving mode.This method comprises:
801, it is identical as 601.
802, whether the pressure that the pressure sensor that the judgement of processor 180 is located at 100 back side of mobile phone detects is less than threshold pressure, if it is, 803 are executed, if it is not, then executing 806.
Before 802, pressure sensor 151 is able to detect that pressure value still in working condition while being in battery saving mode (including mobile phone);If pressure sensor 151 is not on working condition, processor 180 exists Before executing 802, first cracking pressure sensor 151 is at working condition.In view of the error of measurement, threshold pressure can be set to a value close to 0, such as 0.1 newton or 0.05 newton etc..
803-807 is identical as 603-607 respectively, and the explanation about 601,603-607 is also respectively suitable for 801,803-807, is not repeated herein.
The embodiment of the present invention also provides another method for exiting battery saving mode.As shown in figure 9, this method is executed by mobile phone as shown in Figure 1, and before executing this method, mobile phone is in battery saving mode, and user has had turned on or do not opened the function of quickly exiting battery saving mode.This method comprises:
901, it is identical as 701.
902, whether the pressure that the pressure sensor 151 that the judgement of processor 180 is located at 100 back side of mobile phone detects is greater than threshold pressure, if it is not, then 903 are executed, if it is, executing 906.
Explanation in 802 about the working condition of threshold pressure and pressure sensor 151 is also applied for 902, is not repeated herein.
903-907 is identical as 703-707 respectively, and the explanation about 701,703-707 is also respectively suitable for 901,903-907, is not repeated herein.
It is as follows, Figure 10-11 used infrared sensor judge mobile phone whether according to display panel 140 (or touch panel 131) direction directed downwardly placement.
As shown in Figure 10, the embodiment of the present invention provides another method flow diagram for entering battery saving mode.This method is executed by mobile phone as shown in Figure 1, and before executing this method, mobile phone is in normal mode, and user has had turned on or do not opened the function of rapidly entering battery saving mode.This method comprises:
1001, identical as 601.
1002, the judgement of processor 180 is located at whether the reflected energy that the positive infrared sensor of mobile phone 100 detects is greater than energy threshold, if it is, 1003 are executed, if it is not, then executing 1006.
Energy threshold can be close to the gross energy of the infrared waves of infrared transmitter sending, such as the gross energy 90% or other values.Before 1002, infrared sensor is able to detect that reflected energy still in working condition while being in battery saving mode (including mobile phone);If infrared sensor is not on working condition, processor 180 first opens infrared sensor and is at working condition before executing 1002.
1003-1006 is identical as 603-607 respectively, and the explanation about 601,603-607 is also respectively suitable for 1001,1003-1007, is not repeated herein.
It should be noted that, it is only capable of judging whether the front of mobile phone 100 blocks by 1002 judgement, whether downward front cannot be judged completely, can be after 1002 be judged as YES, before executing 1003, increase 1002a: the judgement of processor 180 is located at whether the reflection wavelength that the positive infrared sensor of mobile phone 100 detects is glass or wood, if it is, 1003 are then executed, if it is not, then executing 1006.When being covered due to the front of mobile phone 100 by glass or wood, the usually mobile phone situation that is placed on desktop downward, either user is inconvenient to check display panel 141 and operates the situation of touch panel 131, therefore is in this case generally also that user is not desired to the situation using mobile phone 100.
As shown in figure 11, the embodiment of the present invention provides another method flow diagram for exiting battery saving mode.This method is executed by mobile phone as shown in Figure 1, and before executing this method, and mobile phone is in battery saving mode, and user has had turned on or do not opened the function of quickly exiting battery saving mode.This method comprises:
1101, it is identical as 701.
1102, the judgement of processor 180 is located at whether the reflected energy that the positive infrared sensor of mobile phone 100 detects is less than energy threshold, if it is not, then 903 are executed, if it is, executing 906.
Explanation in 1002 about the working condition of energy threshold and infrared sensor is also applied for 1102, is not repeated herein.
1103-1107 is identical as 703-707 respectively, and the explanation about 701,703-707 is also respectively suitable for 1101,1103-1107, is not repeated herein.
Similar, it is only capable of judging whether the front of mobile phone 100 blocks by 1102 judgement, it cannot be complete Whether downward front is judged entirely, it can be after 1102 be judged as NO, before executing 1103, increase 1003a: the judgement of processor 180 is located at whether the reflection wavelength that the positive infrared sensor of mobile phone 100 detects is glass or wood, if it is, executing 1103, if it is not, then executing 1106.When being covered due to the front of mobile phone 100 by glass or wood, the usually mobile phone situation that is placed on desktop downward, either user is inconvenient to check display panel 141 and operates the situation of touch panel 131, therefore is in this case generally also that user is not desired to the situation using mobile phone 100.
The foregoing method into battery saving mode and the method for exiting battery saving mode, can be used cooperatively.When using Fig. 6, Fig. 8 and Figure 10 it is any shown in method, enter mobile phone after battery saving mode, can be used Fig. 7, Fig. 9 and Figure 11 it is any shown in method, so that mobile phone is exited battery saving mode.Conversely, using Fig. 7, Fig. 9 and Figure 11 it is any shown in method, exit mobile phone after battery saving mode, also can be used Fig. 6, Fig. 8 and Figure 10 it is any shown in method, so that mobile phone is entered battery saving mode.
The embodiment of the present invention also provides the device for entering battery saving mode, and as shown in figure 12, which includes: screen unit 1201: for showing user interface;Gravity sensor unit 1202, for detecting the acceleration of described device and the noise of acceleration;Described device is in normal mode;Described device further include: the first judging unit 1204, for judging whether described device is directed downwardly horizontal positioned according to the screen unit;Second judgment unit 1205, for judging whether the noise of acceleration that the gravity sensor unit detects is less than noise threshold;First control unit 1206, for judging that described device is directed downwardly horizontal positioned according to the screen unit in first judging unit, and when the second judgment unit judges that the noise for the acceleration that the gravity sensor detects is less than the noise threshold, control described device enters battery saving mode.
Optionally, the gravity sensor unit 1202, is specifically used for, and detects the acceleration in the X-axis of the three-dimensional cartesian coordinate system of described device, the acceleration on the acceleration and Z axis in Y-axis;First judging unit 1204 is specifically used for: judging acceleration in X-axis that the gravity sensor unit detects, described Whether the acceleration in the Y-axis of three-dimensional cartesian coordinate system and the acceleration on the Z axis of the three-dimensional cartesian coordinate system are respectively 0,0, -9.8m/s2, if so, determining that described device is directed downwardly horizontal positioned according to the screen unit.
Optionally, the gravity sensor unit 1202, is specifically used for, and detects the acceleration in the X-axis of the three-dimensional cartesian coordinate system of described device, the acceleration on the acceleration and Z axis in Y-axis;First judging unit 1204 is specifically used for: judging whether the acceleration on the Z axis of the acceleration and the three-dimensional cartesian coordinate system in the Y-axis of the acceleration in X-axis that the gravity sensor unit detects, the three-dimensional cartesian coordinate system is respectively 0,0, -9.8m/s2, if so, whether the acceleration in the X-axis that breaks, the acceleration in the Y-axis and the acceleration on the Z axis remain 0,0, -9.8m/s respectively within the first duration2, if it is, determining that the mobile terminal is in the horizontal positioned state of face down.
Optionally, device further include: pressure sensor unit 1207, multiple pressure sensor units 1207 are distributed in the back side of described device.The pressure sensor unit, the stress at the back side for detecting described device;The gravity sensor unit 1202, is specifically used for, and detects the acceleration in the Y-axis of the acceleration and the three-dimensional cartesian coordinate system in the X-axis of the three-dimensional cartesian coordinate system of described device;First judging unit 1204 is specifically used for: judging whether the pressure that the pressure sensor unit detects is 0, and judges whether the acceleration on the acceleration and Y-axis in the X-axis that the gravity sensor unit 1202 detects is respectively 0,0;If it is judged that the pressure that the pressure sensor unit detects is 0;And judging that the gravity sensor detects the acceleration on acceleration and Y-axis in the X-axis is respectively 0,0;Then determine that described device is directed downwardly horizontal positioned according to the screen unit.
Optionally, device further include: infrared sensor unit 1208, the infrared sensor unit, for detecting reflected energy and reflection wavelength;Gravity sensor unit 1202, is specifically used for, and detects the acceleration in the Y-axis of the acceleration and the three-dimensional cartesian coordinate system in the X-axis of the three-dimensional cartesian coordinate system of described device;First judging unit 1204 is specifically used for: judging the reflection that the infrared sensor unit detects Whether energy is greater than energy threshold, and whether the reflection wavelength corresponds to wood or glass, and judges whether the acceleration on the acceleration and the Y-axis in the X-axis is respectively 0,0;If the reflected energy is greater than the energy threshold, the reflection wavelength corresponds to wood or glass, and the acceleration on the acceleration and the Y-axis in the X-axis is respectively 0,0, it is determined that described device is directed downwardly horizontal positioned according to the screen unit.
Wherein, the noise threshold is 0.004g.
Optionally, described device further includes radio frequency unit 1209, for establishing connection with mobile data network, and from the mobile data network downloading data;WiFi unit 1210, for establishing connection with described access point, and from described access point downloading data;The first control unit 1204 is specifically used for, the function of answering calling is kept to operate normally, and execute it is following at least one: if it is determined that presently described radio frequency unit 1209 disconnects the connection of the radio frequency unit 1209 and the mobile data network from the mobile data network downloading data;If it is determined that presently described radio frequency unit 1209 closes the radio frequency unit 1209 not from the mobile data network downloading data;If it is determined that presently described WiFi module 1210 does not have downloading data, the connection of the WiFi module 1210 and described access point is disconnected;With if it is determined that the WiFi module 1210 closes the WiFi module 1210 currently without downloading data.
Optionally, the second judgment unit 1205 is specifically used for, whether the maximum acceleration noise for judging that the gravity sensor unit detects within the second duration is lower than the noise threshold, if it is, stating the noise for the acceleration that gravity sensor unit detects described in determining lower than the noise threshold;Or judge whether the average value for all acceleration noises that the gravity sensor unit detects within the second duration is lower than the noise threshold, if it is, stating the noise for the acceleration that gravity sensor unit detects described in determining lower than the noise threshold.
It should be noted that in one embodiment, display panel 141 and touch panel 131 described in embodiment before the screen unit 1201 in the present embodiment corresponds to, before gravity sensor unit 1202 is corresponding Gravity sensor 150 described in embodiment, first judging unit 1204, processor 180 described in embodiment before second judgment unit 1205 and first control unit 1206 are corresponding, pressure sensor 151 described in embodiment before pressure sensor unit 1207 is corresponding, infrared sensor described in embodiment before infrared sensor unit is corresponding, RF circuit described in embodiment before radio frequency unit 1209 is corresponding, WiFi module 170 described in embodiment before WiFi unit 1210 is corresponding.The present embodiment is also applied for the description of modules in embodiment before, is not repeated herein.
The embodiment of the present invention also provides the device for exiting power mode, and as shown in figure 13, which includes: screen unit 1201: for showing user interface;Gravity sensor unit 1202, for detecting the acceleration of described device and the noise of acceleration;Described device is in normal mode;Described device further include: third judging unit 1304, for judging whether described device is directed downwardly horizontal positioned according to the screen unit;Second judgment unit 1205, for judging whether the noise of acceleration that the gravity sensor unit detects is less than noise threshold;Second control unit 1306, for judging that described device is directed downwardly horizontal positioned not according to the screen unit in first judging unit, or the second judgment unit judge the acceleration that the gravity sensor detects noise be greater than the noise threshold when, control described device exit battery saving mode.
Optionally, the gravity sensor unit 1207, is specifically used for, and detects the acceleration in the X-axis of the three-dimensional cartesian coordinate system of described device, the acceleration on the acceleration and Z axis in Y-axis;The third judging unit 1304 is specifically used for: judging whether the acceleration on the Z axis of the acceleration and the three-dimensional cartesian coordinate system in the Y-axis of the acceleration in X-axis that the gravity sensor unit detects, the three-dimensional cartesian coordinate system is respectively 0,0, -9.8m/s2, if not, determining that described device is not directed downwardly horizontal positioned according to the screen unit.
Optionally, described device further includes pressure sensor unit 1207, and multiple pressure sensor units 1207 are distributed in the back side of described device.The pressure sensor unit 1207, for detecting the back side of described device Stress;The gravity sensor unit 1202, is specifically used for, and detects the acceleration in the Y-axis of the acceleration and the three-dimensional cartesian coordinate system in the X-axis of the three-dimensional cartesian coordinate system of described device;The third judging unit 1304 is specifically used for: judging whether the pressure that the pressure sensor unit detects is 0, and judges that the gravity sensor detects whether the acceleration on acceleration and Y-axis in the X-axis is respectively 0,0;If it is judged that the pressure that the pressure sensor unit detects is greater than 0;Or at least one for judging that the gravity sensor detects the acceleration on acceleration and Y-axis in the X-axis is not 0;Then determine that described device is not directed downwardly horizontal positioned according to the screen unit.
Optionally, described device further includes infrared sensor unit 1208, the infrared sensor unit 1208, for detecting reflected energy and reflection wavelength;Gravity sensor unit 1202, specifically for the acceleration in the Y-axis of acceleration and the three-dimensional cartesian coordinate system in the X-axis for the three-dimensional cartesian coordinate system for detecting described device;The third judging unit 1304 is specifically used for: whether the reflected energy for judging that the infrared sensor unit 1208 detects is greater than energy preset value, whether the reflection wavelength corresponds to wood or glass, and judges whether the acceleration on the acceleration and the Y-axis in the X-axis is respectively 0,0;If the reflected energy is less than the energy preset value, or the reflection wavelength does not correspond to wood or glass, or the acceleration on the acceleration and the Y-axis in the X-axis at least one be not 0, it is determined that described device is not directed downwardly horizontal positioned according to the screen unit.
In one embodiment, the noise threshold is 0.004g, wherein 1g=9.8 meter per second2
Optionally, second control unit 1306 is specifically used for, and opens described device and enters at least part hardware module and at least part software function closed when battery saving mode.
It should be noted that, in one embodiment, display panel 141 and touch panel 131 described in embodiment before screen unit 1201 in the present embodiment corresponds to, gravity sensor 150 described in embodiment before gravity sensor unit 1202 is corresponding, third judging unit 1304, processor 180 described in embodiment, pressure sensor unit 1207 are right before second judgment unit 1205 and the second control unit 1306 are corresponding Pressure sensor 151 described in embodiment before answering, infrared sensor described in embodiment before infrared sensor unit is corresponding, RF circuit described in embodiment before radio frequency unit 1209 is corresponding, WiFi module 170 described in embodiment before WiFi unit 1210 is corresponding.The present embodiment is also applied for the description of modules in embodiment before, is not repeated herein.
Only present pre-ferred embodiments, therefore equivalent changes made in accordance with the claims of the present invention enumerated above, are still within the scope of the present invention.

Claims (42)

  1. A method of into battery saving mode, applied to the mobile terminal with gravity sensor, which is characterized in that the described method includes:
    Judge whether the mobile terminal is in the horizontal positioned state of face down;
    Judge whether the noise for the acceleration that the gravity sensor detects is less than noise threshold;
    If the mobile terminal is in the horizontal positioned state of face down, and the noise of acceleration that the gravity sensor detects is less than the noise threshold, and the mobile terminal enters battery saving mode from normal mode.
  2. The method as described in claim 1, which is characterized in that the horizontal positioned state for judging mobile terminal and whether being in face down, comprising:
    Detect whether the acceleration on the Z axis of the acceleration and the three-dimensional cartesian coordinate system in the Y-axis of the acceleration in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal, the three-dimensional cartesian coordinate system is respectively 0,0, -9.8m/s using the gravity sensor2
    If it is, determining that the mobile terminal is in the horizontal positioned state of face down.
  3. The method as described in claim 1, which is characterized in that the horizontal positioned state for judging mobile terminal and whether being in face down, comprising:
    Detect whether the acceleration on the Z axis of the acceleration and the three-dimensional cartesian coordinate system in the Y-axis of the acceleration in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal, the three-dimensional cartesian coordinate system is respectively 0,0, -9.8m/s using the gravity sensor2
    If so, judging whether the acceleration in the X-axis, the acceleration in the Y-axis and the acceleration on the Z axis remain 0,0, -9.8m/s respectively within the first duration2, if it is, determining that the mobile terminal is in the horizontal positioned state of face down.
  4. The method as described in claim 1, which is characterized in that the mobile terminal further includes being distributed in back Multiple pressure sensors in face;
    The horizontal positioned state for judging mobile terminal and whether being in face down, comprising:
    Judge whether the pressure that multiple pressure sensors detect is 0;
    Detect whether the acceleration in the Y-axis of the acceleration and the three-dimensional cartesian coordinate system in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal is respectively 0,0 using the gravity sensor;
    If the pressure that multiple pressure sensors detect is 0, and the acceleration on the acceleration and Y-axis of the X-axis is respectively 0,0, it is determined that the mobile terminal is in the horizontal positioned state of face down.
  5. The method as described in claim 1, which is characterized in that the mobile terminal further includes being located at the positive infrared sensor of the mobile terminal;
    The horizontal positioned state for judging mobile terminal and whether being in face down, comprising:
    Judge whether the reflected energy that the infrared sensor detects is greater than energy threshold;
    Judge that the reflection wavelength that the infrared sensor detects corresponds to wood or glass;
    Detect whether the acceleration in the Y-axis of the acceleration and the three-dimensional cartesian coordinate system in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal is respectively 0,0 using the gravity sensor;
    If the reflected energy is greater than the energy preset value, the reflection wavelength corresponds to wood or glass, and the acceleration on the acceleration and the Y-axis in the X-axis is respectively 0,0;
    Determine that the mobile terminal is in the horizontal positioned state of face down.
  6. Such as method described in any one of claim 1 to 5, which is characterized in that judge whether the noise for the acceleration that the gravity sensor detects is less than noise threshold, comprising:
    Whether the maximum acceleration noise for judging that the gravity sensor detects within the second duration is lower than the noise threshold, if it is, stating the noise for the acceleration that gravity sensor detects described in determining lower than the noise threshold;Or
    Judge whether the average value for all acceleration noises that the gravity sensor detects within the second duration is lower than the noise threshold, if it is, stating the noise for the acceleration that gravity sensor detects described in determining lower than the noise threshold.
  7. Such as method as claimed in any one of claims 1 to 6, which is characterized in that the noise threshold is G0, wherein 0.0038g < G0 < 0.01g, 1g=9.8 meter per second2
  8. Method as described in any one of claim 1 to 7, the mobile terminal enter battery saving mode, including keep answer calling function operate normally, further include it is following at least one:
    If it is determined that disconnecting the radio circuit of the mobile terminal and the connection of the mobile data network currently without from mobile data network downloading data;
    If it is determined that closing the radio circuit connecting with the mobile data network currently without from the mobile data network downloading data;
    If it is determined that disconnecting the connection of WiFi module and access point currently without WiFi module downloading data is used;
    If it is determined that closing the WiFi module currently without the WiFi module downloading data is used.
  9. A method of battery saving mode being exited, applied to the mobile terminal with gravity sensor characterized by comprising
    Judge whether the mobile terminal is in the horizontal positioned state of face down;
    Judge whether the noise for the acceleration that the acceleration of gravity detects is less than noise threshold;
    If the mobile terminal is not on the horizontal positioned state of face down, and the noise of acceleration that the acceleration of gravity detects is greater than the noise threshold, and the mobile terminal exits the battery saving mode;
    Or if the noise for the acceleration that the acceleration of gravity detects is greater than the noise threshold, the mobile terminal exits the battery saving mode.
  10. Method as claimed in claim 11, which is characterized in that the horizontal positioned state for judging mobile terminal and whether being in face down, comprising:
    Detect whether the acceleration on the Z axis of the acceleration and the three-dimensional cartesian coordinate system in the Y-axis of the acceleration in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal, the three-dimensional cartesian coordinate system is respectively 0,0, -9.8m/s using the gravity sensor2
    If it is not, then determining that the mobile terminal is not on the horizontal positioned state of face down.
  11. Method as claimed in claim 9, which is characterized in that the mobile terminal further includes the multiple pressure sensors for being distributed in the mobile terminal back side;
    The horizontal positioned state for judging mobile terminal and whether being in face down, comprising:
    Judge whether the pressure that multiple pressure sensors detect is 0;
    Detect whether the acceleration in the Y-axis of the acceleration and the three-dimensional cartesian coordinate system in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal is respectively 0,0 using the gravity sensor;
    If it is not 0 that the pressure that the multiple pressure sensor detects, which is greater than at least one in the acceleration in 0 or the X-axis and Y-axis, it is determined that the mobile terminal is not on the horizontal positioned state of face down.
  12. Method as claimed in claim 9, which is characterized in that the mobile terminal further includes being located at the positive infrared sensor of the mobile terminal;
    The horizontal positioned state for judging mobile terminal and whether being in face down, comprising:
    Judge whether the reflected energy that the infrared sensor detects is greater than energy threshold;
    And judge that the reflection wavelength that the infrared sensor detects corresponds to wood or glass;
    If the reflected energy is less than the energy preset value or the reflection wavelength does not correspond to wood or glass;
    Determine that the mobile terminal is not on the horizontal positioned state of face down.
  13. Such as the described in any item methods of claim 9 to 12, which is characterized in that the noise threshold is G0, wherein 0.0038g < G0 < 0.01g, wherein 1g=9.8 meter per second2
  14. Such as the described in any item methods of claim 9 to 13, which is characterized in that the mobile terminal exits battery saving mode, comprising: open the mobile terminal and enter at least part hardware module and at least part software function closed when battery saving mode.
  15. A kind of device into battery saving mode, described device includes: screen unit: for showing user interface;Gravity sensor unit, for detecting the acceleration of described device and the noise of acceleration;
    It is characterized in that, described device further include:
    First judging unit, for judge described device whether face down it is horizontal positioned;
    Second judgment unit, for judging whether the noise of acceleration that the gravity sensor unit detects is less than noise threshold;
    First control unit, for judging the horizontal positioned of described device face down in first judging unit, and when the second judgment unit judges that the noise for the acceleration that the gravity sensor detects is less than the noise threshold, described device is controlled from normal mode and enters battery saving mode.
  16. Device as claimed in claim 15, which is characterized in that
    The gravity sensor unit, is specifically used for, and detects the acceleration in the X-axis of the three-dimensional cartesian coordinate system of described device, the acceleration on the acceleration and Z axis in Y-axis;
    First judging unit is specifically used for: judging whether the acceleration on the Z axis of the acceleration and the three-dimensional cartesian coordinate system in the Y-axis of the acceleration in X-axis that the gravity sensor unit detects, the three-dimensional cartesian coordinate system is respectively 0,0, -9.8m/s2, if so, determining the horizontal positioned of described device face down.
  17. Device as claimed in claim 15, which is characterized in that
    The gravity sensor unit, is specifically used for, and detects the X-axis of the three-dimensional cartesian coordinate system of described device On acceleration, the acceleration on acceleration and Z axis in Y-axis;
    First judging unit is specifically used for: judging whether the acceleration on the Z axis of the acceleration and the three-dimensional cartesian coordinate system in the Y-axis of the acceleration in X-axis that the gravity sensor unit detects, the three-dimensional cartesian coordinate system is respectively 0,0, -9.8m/s2, if so, whether the acceleration in the X-axis that breaks, the acceleration in the Y-axis and the acceleration on the Z axis remain 0,0, -9.8m/s respectively within the first duration2, if it is, determining that the mobile terminal is in the horizontal positioned state of face down.
  18. Device as claimed in claim 15, which is characterized in that described device further includes multiple pressure sensor units positioned at the described device back side, the pressure sensor unit, the stress at the back side for detecting described device;
    The gravity sensor unit, is specifically used for, and detects the acceleration in the Y-axis of the acceleration and the three-dimensional cartesian coordinate system in the X-axis of the three-dimensional cartesian coordinate system of described device;
    First judging unit is specifically used for: judging whether the pressure that the pressure sensor unit detects is 0, and judges whether the acceleration on the acceleration and Y-axis in the X-axis that the gravity sensor unit detects is respectively 0,0;If it is judged that the pressure that the pressure sensor unit detects is 0;And judging that the gravity sensor detects the acceleration on acceleration and Y-axis in the X-axis is respectively 0,0;Then determine the horizontal positioned of described device face down.
  19. Device as claimed in claim 15, which is characterized in that described device further includes being located at the positive infrared sensor unit of described device, the infrared sensor unit, for detecting reflected energy and reflection wavelength;
    The gravity sensor unit, is specifically used for, and detects the acceleration in the Y-axis of the acceleration and the three-dimensional cartesian coordinate system in the X-axis of the three-dimensional cartesian coordinate system of described device;
    First judging unit is specifically used for: judging that the reflected energy that the infrared sensor unit detects is greater than energy threshold, whether the reflection wavelength corresponds to wood or glass, and judges in the X-axis Whether the acceleration on acceleration and the Y-axis is respectively 0,0;If the reflected energy is greater than the energy threshold, the reflection wavelength corresponds to wood or glass, and the acceleration on the acceleration and the Y-axis in the X-axis is respectively 0,0, it is determined that described device face down is horizontally arranged.
  20. Such as the described in any item devices of claim 15 to 19, it is characterized in that, the second judgment unit is specifically used for, whether the maximum acceleration noise for judging that the gravity sensor unit detects within the second duration is lower than the noise threshold, if it is, stating the noise for the acceleration that gravity sensor unit detects described in determining lower than the noise threshold;Or
    Judge whether the average value for all acceleration noises that the gravity sensor unit detects within the second duration is lower than the noise threshold, if it is, stating the noise for the acceleration that gravity sensor unit detects described in determining lower than the noise threshold.
  21. Such as the described in any item devices of claim 15 to 20, which is characterized in that the noise threshold is G0, wherein 0.0038g < G0 < 0.01g, wherein 1g=9.8 meter per second2
  22. Such as the described in any item devices of claim 15 to 21, which is characterized in that
    Described device further includes radio frequency unit, for establishing connection with mobile data network, and from the mobile data network downloading data;With WiFi unit, for establishing connection with described access point, and from described access point downloading data;
    The first control unit is specifically used for, and the function of answering calling is kept to operate normally, and execute it is following at least one:
    If it is determined that presently described radio frequency unit disconnects the connection of the radio frequency unit Yu the mobile data network not from the mobile data network downloading data;
    If it is determined that presently described radio frequency unit closes the radio frequency unit not from the mobile data network downloading data;
    If it is determined that presently described WiFi module has downloading data, the WiFi module and the access are disconnected The connection of point;With
    If it is determined that presently described WiFi module has downloading data, the WiFi module is closed.
  23. A kind of device exiting battery saving mode, described device includes: screen unit: for showing user interface;Gravity sensor unit, for detecting the acceleration of described device and the noise of acceleration;It is characterized in that, described device further include:
    Third judging unit, for judge described device whether face down it is horizontal positioned;
    Second judgment unit, for judging whether the noise of acceleration that the gravity sensor unit detects is less than noise threshold;
    Second control unit, for judging that described device does not have the horizontal positioned of face down in the third judging unit, when judging the noise for the acceleration that the gravity sensor detects greater than the noise threshold with the second judgment unit, control described device exits battery saving mode;
    Or the second judgment unit judge the acceleration that the gravity sensor detects noise be greater than the noise threshold when, control described device exit battery saving mode.
  24. Device as claimed in claim 23, which is characterized in that the gravity sensor unit is specifically used for, and detects the acceleration in the X-axis of the three-dimensional cartesian coordinate system of described device, the acceleration on the acceleration and Z axis in Y-axis;
    The third judging unit is specifically used for: judging whether the acceleration on the Z axis of the acceleration and the three-dimensional cartesian coordinate system in the Y-axis of the acceleration in X-axis that the gravity sensor unit detects, the three-dimensional cartesian coordinate system is respectively 0,0, -9.8m/s2, if not, determining that described device does not have the horizontal positioned of face down.
  25. Device as claimed in claim 23, which is characterized in that described device further includes multiple pressure sensor units positioned at the described device back side, the pressure sensor unit, the stress at the back side for detecting described device;
    The gravity sensor unit, is specifically used for, and detects the acceleration in the Y-axis of the acceleration and the three-dimensional cartesian coordinate system in the X-axis of the three-dimensional cartesian coordinate system of described device;
    The third judging unit is specifically used for: judging whether the pressure that the pressure sensor unit detects is 0, and judges that the gravity sensor detects whether the acceleration on acceleration and Y-axis in the X-axis is respectively 0,0;If it is judged that the pressure that the pressure sensor unit detects is greater than 0;Or at least one for judging that the gravity sensor detects the acceleration on acceleration and Y-axis in the X-axis is not 0;Then determine that described device does not have the horizontal positioned of face down.
  26. Device as claimed in claim 23, which is characterized in that described device further includes being located at the positive infrared sensor unit of described device, the infrared sensor unit, for detecting reflected energy and reflection wavelength;
    The gravity sensor unit, is specifically used for, and detects the acceleration in the Y-axis of the acceleration and the three-dimensional cartesian coordinate system in the X-axis of the three-dimensional cartesian coordinate system of described device;
    The third judging unit is specifically used for: judging whether the reflected energy that the infrared sensor unit detects is greater than energy threshold, whether the reflection wavelength corresponds to wood or glass, and judges whether the acceleration on the acceleration and the Y-axis in the X-axis is respectively 0,0;If the reflected energy is less than the energy threshold, perhaps the reflection wavelength not correspond to acceleration on wood or glass or acceleration and the Y-axis in the X-axis at least one is not 0, it is determined that described device does not have being horizontally arranged for face down.
  27. Device as described in claim 23 to 26, which is characterized in that the noise threshold is G0, wherein 0.0038g < G0 < 0.01g, wherein 1g=9.8 meter per second2
  28. Device as described in claim 23 to 27, which is characterized in that second control unit is specifically used for, and opens described device and enters at least part hardware module and at least part software function closed when battery saving mode.
  29. A kind of mobile terminal, including, screen, for showing user interface;Gravity sensor, for detecting the acceleration of gravity of the mobile terminal and the noise of acceleration;
    It is characterized in that, the mobile terminal further include:
    Processor, for judging whether the mobile terminal is in the horizontal positioned state of face down;Judge whether the noise for the acceleration that the gravity sensor detects is less than noise threshold;If the mobile terminal is in the horizontal positioned state of face down, and the noise of acceleration that the gravity sensor detects is less than the noise threshold, controls the mobile terminal from normal mode and enters battery saving mode.
  30. Mobile terminal as claimed in claim 29, it is characterized in that, the gravity sensor is specifically used for, and detects the acceleration on the Z axis of the acceleration and the three-dimensional cartesian coordinate system in the Y-axis of acceleration in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal, the three-dimensional cartesian coordinate system;
    The processor, is specifically used for, and judges whether acceleration, the acceleration in the Y-axis and the acceleration on the Z axis in the X-axis that the gravity sensor detects are respectively 0,0, -9.8m/s2, if it is, determining that the mobile terminal is in the horizontal positioned state of face down.
  31. Mobile terminal as claimed in claim 29, it is characterized in that, the gravity sensor is specifically used for, and detects the acceleration on the Z axis of the acceleration and the three-dimensional cartesian coordinate system in the Y-axis of acceleration in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal, the three-dimensional cartesian coordinate system;
    The processor, is specifically used for, and judges whether acceleration, the acceleration in the Y-axis and the acceleration on the Z axis in the X-axis that the gravity sensor detects are respectively 0,0, -9.8m/s2,
    If so, judging whether the acceleration in the X-axis, the acceleration in the Y-axis and the acceleration on the Z axis remain 0,0, -9.8m/s respectively within the first duration2, if it is, determining that the mobile terminal is in the horizontal positioned state of face down.
  32. Mobile terminal as claimed in claim 29, which is characterized in that the mobile terminal further include: be distributed in multiple pressure sensors at the mobile terminal back side, the pressure sensor is for detecting institute State the stress at the back side of mobile terminal;
    The gravity sensor is specifically used for, and detects the acceleration in the Y-axis of the acceleration and the three-dimensional cartesian coordinate system in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal;
    The processor, is specifically used for, and judges whether the pressure that multiple pressure sensors detect is 0, and judges whether the acceleration in the Y-axis of the acceleration and the three-dimensional cartesian coordinate system in X-axis is respectively 0,0;If the pressure that multiple pressure sensors detect is 0, and the acceleration on the acceleration and Y-axis of the X-axis is respectively 0,0, it is determined that the horizontal positioned state of face down at the mobile terminal.
  33. Mobile terminal as claimed in claim 29, which is characterized in that the mobile terminal further include: be located in the positive infrared sensor of mobile terminal;The infrared sensor is for detecting reflected energy and reflection wavelength;
    The gravity sensor is specifically used for, and detects the acceleration in the Y-axis of the acceleration and the three-dimensional cartesian coordinate system in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal;
    The processor, is specifically used for, and judges whether the albedo is greater than energy threshold, judges that the reflection wavelength corresponds to wood or glass, judges that the acceleration on the acceleration in the X-axis and the Y-axis is respectively 0,0;If the reflected energy is greater than the energy threshold, the reflection wavelength corresponds to wood or glass, and the acceleration on the acceleration and the Y-axis in the X-axis is respectively 0,0;Then determine that the mobile terminal is in the horizontal positioned state of face down.
  34. Such as the described in any item mobile terminals of claim 29-33, it is characterized in that, the processor, it is specifically used for, whether the maximum acceleration noise for judging that the gravity sensor detects within the second duration is lower than the noise threshold, if it is, stating the noise for the acceleration that gravity sensor detects described in determining lower than the noise threshold;Or
    Judge whether the average value for all acceleration noises that the gravity sensor detects within the second duration is lower than the noise threshold, if it is, stating the acceleration that gravity sensor detects described in determining The noise of degree is lower than the noise threshold.
  35. Such as the described in any item mobile terminals of claim 29-34, which is characterized in that the noise threshold is G0, wherein 0.0038g < G0 < 0.01g, wherein 1g=9.8 meter per second2
  36. Such as the described in any item mobile terminals of claim 29-35, which is characterized in that
    The mobile terminal further includes radio circuit, for establishing connection with mobile data network, and from the mobile data network downloading data;WiFi module, for establishing connection with access point, and from described access point downloading data;
    The processor is specifically used for, and the function of answering calling is kept to operate normally, and execute and it is following at least one:
    If it is determined that presently described radio circuit controls the connection of the radio circuit disconnection and the mobile data network not from the mobile data network downloading data;
    If it is determined that presently described radio circuit closes the radio circuit not from the mobile data network downloading data;
    If it is determined that presently described WiFi module does not have downloading data, the connection of the WiFi module disconnection and described access point is controlled;
    If it is determined that the preceding WiFi module does not have downloading data, the WiFi module is closed.
  37. A kind of mobile terminal, including, screen, for showing user interface;Gravity sensor, for detecting the acceleration of gravity of the mobile terminal and the noise of acceleration;The mobile terminal is in battery saving mode;
    It is characterized in that, the mobile terminal further include:
    Processor, for judging whether the mobile terminal is in the horizontal positioned state of face down;Judge whether the noise for the acceleration that the gravity sensor detects is less than noise threshold;If the mobile terminal is not on the horizontal positioned state of face down and what the acceleration of gravity detected adds The noise of speed is greater than the noise threshold, and control mobile terminal exits the battery saving mode;Alternatively, control mobile terminal exits the battery saving mode if the noise for the acceleration that the acceleration of gravity detects is greater than the noise threshold.
  38. Mobile terminal as claimed in claim 37, it is characterized in that, the gravity sensor is specifically used for, and detects the acceleration on the Z axis of the acceleration and the three-dimensional cartesian coordinate system in the Y-axis of acceleration in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal, the three-dimensional cartesian coordinate system;
    The processor, is specifically used for, and judges whether acceleration, the acceleration in the Y-axis and the acceleration on the Z axis in the X-axis that the gravity sensor detects are respectively 0,0, -9.8m/s2, if it is not, then determining that the mobile terminal is not on the horizontal positioned state of face down.
  39. Mobile terminal as claimed in claim 37, which is characterized in that the mobile terminal further include: be distributed in multiple pressure sensors at the mobile terminal back side, the pressure sensor is used to detect the stress at the back side of the mobile terminal;
    The gravity sensor is specifically used for, and detects the acceleration in the Y-axis of the acceleration and the three-dimensional cartesian coordinate system in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal;
    The processor, is specifically used for, and judges whether the pressure that multiple pressure sensors detect is 0, and judges whether the acceleration in the Y-axis of the acceleration and the three-dimensional cartesian coordinate system in X-axis is respectively 0,0;If the pressure that multiple pressure sensors detect be greater than 0 or the X-axis acceleration and Y-axis on acceleration at least one be not 0, it is determined that the mobile terminal is not on the horizontal positioned state of face down.
  40. Mobile terminal as claimed in claim 37, which is characterized in that the mobile terminal further include: be located in the positive infrared sensor of mobile terminal;The infrared sensor is for detecting reflected energy and reflection wavelength;
    The gravity sensor is specifically used for, in the X-axis for detecting the three-dimensional cartesian coordinate system of the mobile terminal Acceleration and the three-dimensional cartesian coordinate system Y-axis on acceleration;
    The processor, is specifically used for, and judges whether the albedo is greater than energy threshold, judges that the reflection wavelength corresponds to wood or glass, judges that the acceleration on the acceleration in the X-axis and the Y-axis is respectively 0,0;If the reflected energy is less than the energy threshold, perhaps the reflection wavelength does not correspond to acceleration on wood or glass or acceleration and the Y-axis in the X-axis at least one is not 0;Then determine that the mobile terminal is not on the horizontal positioned state of face down.
  41. Such as the described in any item mobile terminals of claim 37 to 40, which is characterized in that the noise threshold is G0, wherein 0.0038g < G0 < 0.01g, wherein 1g=9.8 meter per second2
  42. Such as the described in any item mobile terminals of claim 37 to 41, the processor is also used to, and is opened the mobile terminal and is entered at least part hardware module and at least part software function closed when battery saving mode.
CN201680009170.3A 2016-03-30 2016-03-30 Into battery saving mode method, exit the method, device and mobile terminal of battery saving mode Active CN107438999B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/077878 WO2017166128A1 (en) 2016-03-30 2016-03-30 Method, device and mobile terminal for entering power saving mode, and method, device and mobile terminal for exiting power saving mode

Publications (2)

Publication Number Publication Date
CN107438999A true CN107438999A (en) 2017-12-05
CN107438999B CN107438999B (en) 2019-11-12

Family

ID=59963228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201680009170.3A Active CN107438999B (en) 2016-03-30 2016-03-30 Into battery saving mode method, exit the method, device and mobile terminal of battery saving mode

Country Status (2)

Country Link
CN (1) CN107438999B (en)
WO (1) WO2017166128A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109474979A (en) * 2018-12-29 2019-03-15 联想(北京)有限公司 Information processing method and electronic equipment
CN110347235A (en) * 2018-04-03 2019-10-18 和硕联合科技股份有限公司 Electronic device and its frequency reducing method
CN114143754A (en) * 2021-11-30 2022-03-04 上汽通用五菱汽车股份有限公司 Method and device for reducing vehicle-mounted power consumption, vehicle and computer-readable storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110191446B (en) * 2019-05-13 2022-07-08 惠州Tcl移动通信有限公司 Application download control method based on WIFI, mobile terminal and storage medium
CN110290462A (en) * 2019-07-24 2019-09-27 四川爱联科技有限公司 Logistics positioning system and method
CN112559072B (en) * 2020-12-15 2022-04-08 平安科技(深圳)有限公司 Service function starting method and related equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070146129A1 (en) * 2005-12-23 2007-06-28 Kinpo Electronics, Inc. Power saving device for GPS device
CN101738596A (en) * 2008-11-21 2010-06-16 深圳富泰宏精密工业有限公司 Electronic device and method for saving power consumption of GPS system in same
CN102759949A (en) * 2011-04-28 2012-10-31 富泰华工业(深圳)有限公司 Electronic device and state control method
CN104836905A (en) * 2015-04-13 2015-08-12 惠州Tcl移动通信有限公司 System adjusting method and apparatus based on user state
CN105188115A (en) * 2015-07-31 2015-12-23 广东欧珀移动通信有限公司 Method and device for saving electricity for intelligent terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070146129A1 (en) * 2005-12-23 2007-06-28 Kinpo Electronics, Inc. Power saving device for GPS device
CN101738596A (en) * 2008-11-21 2010-06-16 深圳富泰宏精密工业有限公司 Electronic device and method for saving power consumption of GPS system in same
CN102759949A (en) * 2011-04-28 2012-10-31 富泰华工业(深圳)有限公司 Electronic device and state control method
CN104836905A (en) * 2015-04-13 2015-08-12 惠州Tcl移动通信有限公司 System adjusting method and apparatus based on user state
CN105188115A (en) * 2015-07-31 2015-12-23 广东欧珀移动通信有限公司 Method and device for saving electricity for intelligent terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110347235A (en) * 2018-04-03 2019-10-18 和硕联合科技股份有限公司 Electronic device and its frequency reducing method
CN110347235B (en) * 2018-04-03 2023-02-14 和硕联合科技股份有限公司 Electronic device and frequency reduction method thereof
CN109474979A (en) * 2018-12-29 2019-03-15 联想(北京)有限公司 Information processing method and electronic equipment
CN114143754A (en) * 2021-11-30 2022-03-04 上汽通用五菱汽车股份有限公司 Method and device for reducing vehicle-mounted power consumption, vehicle and computer-readable storage medium

Also Published As

Publication number Publication date
CN107438999B (en) 2019-11-12
WO2017166128A1 (en) 2017-10-05

Similar Documents

Publication Publication Date Title
CN107438999B (en) Into battery saving mode method, exit the method, device and mobile terminal of battery saving mode
WO2017206916A1 (en) Method for determining kernel running configuration in processor and related product
US20200092817A1 (en) Method for Power Saving Control and Related Products
CN106357897B (en) The acquisition methods and device of drop information
WO2018032581A1 (en) Method and apparatus for application program control
CN106406892A (en) A shortcut function display method and device for applications and a terminal apparatus
CN108293080A (en) A kind of method of contextual model switching
CN103500002A (en) Method, device and terminal equipment for managing application program
WO2017206915A1 (en) Method for determining kernel running configuration in processor and related product
CN106487984B (en) A kind of method and apparatus adjusting volume
CN103312597B (en) A kind of speech message generation method and device
CN103197944B (en) Method for determining performance of process of application program and computer system
CN103744574A (en) Method and device for turning off alarm clock of mobile terminal and mobile terminal
CN107528958B (en) Method for controlling mobile terminal, device, readable storage medium storing program for executing and mobile terminal
CN109669662A (en) A kind of pronunciation inputting method, device, storage medium and mobile terminal
CN110930964B (en) Display screen brightness adjusting method and device, storage medium and terminal
CN107635277B (en) Power saving management method of terminal equipment of Internet of things and terminal equipment of Internet of things
CN106255146B (en) A kind of electricity-saving control method of terminal, device and terminal
CN110277097B (en) Data processing method and related equipment
CN103034319B (en) A kind of the method for display and control, control device and terminal are carried out to terminal
CN112433694B (en) Light intensity adjusting method and device, storage medium and mobile terminal
CN112542867B (en) Mobile terminal power supply control method and device, terminal equipment and storage medium
WO2015003593A1 (en) Alarm clock management method and mobile terminal
CN111132282B (en) Application processor awakening method and device applied to mobile terminal
WO2020088650A1 (en) Application processor awakening method and device applied to mobile terminal

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