CN107438999B - Into battery saving mode method, exit the method, device and mobile terminal of battery saving mode - Google Patents

Into battery saving mode method, exit the method, device and mobile terminal of battery saving mode Download PDF

Info

Publication number
CN107438999B
CN107438999B CN201680009170.3A CN201680009170A CN107438999B CN 107438999 B CN107438999 B CN 107438999B CN 201680009170 A CN201680009170 A CN 201680009170A CN 107438999 B CN107438999 B CN 107438999B
Authority
CN
China
Prior art keywords
acceleration
axis
mobile terminal
gravity sensor
noise
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201680009170.3A
Other languages
Chinese (zh)
Other versions
CN107438999A (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 methods 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 allowed automatically to enter or exit battery saving mode according to the variation of state, and the erroneous judgement for reducing mobile terminal is improved 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 side for exiting battery saving mode Method, device and mobile terminal.
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 At indispensable work and converter tools in for people's lives.Smart phone usually relies on battery and provides electric energy, and battery Volume and capacity are limited by smart phone overall dimensions and weight etc. again, and what cannot be done is excessive.How smart phone is reduced Power consumption, 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, in this mode, smart phone Some functions perhaps hardware module will be in close state or hardware module will operate in the state of low-power consumption, thus Reduce the consumption of electricity.Smart phone enter the method for battery saving mode also there are many.For example, smart phone is in the power saving period It is interior automatically into battery saving mode or smart phone when the remaining capacity of battery is less than some threshold value, automatically into power saving mould Formula.However, this kind of mode into battery saving mode can not lack flexibility by user's control.The prior art also provide by with The mode that family manually selects: user can light the screen of smart phone, into standby interface, and find corresponding user interface And the option for entering battery saving mode is selected, this setup needs the multi-pass operation of user, and it is also not convenient enough to use.It is existing There is technology to additionally provide a kind of posture using gravity sensor detection hand-hold electronic equipments, and in hand-hold electronic equipments according to screen Curtain enters the method for battery saving mode when placing downward, however, the accuracy of this method have it is to be hoisted.
Summary of the invention
The embodiment of the invention provides entering the method for battery saving mode, exiting the method and mobile terminal of battery saving mode, subtract Lack 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 have screen With the mobile terminal of gravity sensor, before carrying out the method, which is in normal mode.This method comprises: sentencing Whether the mobile terminal that breaks is in the horizontal positioned state of face down;Judge the acceleration that the gravity sensor detects Whether the noise of degree is less than noise threshold;If the mobile terminal is in the horizontal positioned state of face down, and The noise for the acceleration that the gravity sensor detects is less than the noise threshold, and the mobile terminal enters power saving mould Formula.When mobile terminal is in the horizontal positioned state of face down, and the acceleration that the gravity sensor detects Noise be less than the noise threshold when, this programme can recognize that whether user holds terminal, and user is in no gripping institute In the case where stating mobile terminal, mobile terminal enters battery saving mode, therefore improves the accuracy into battery saving mode, reduces The erroneous judgement of mobile terminal.
Whether embodiment there is provided judge mobile terminal according to just facing for the first of first aspect of the embodiment of the present invention Under a kind of horizontal positioned concrete mode.Which includes: to detect the three of the mobile terminal using the gravity sensor It ties up the acceleration in the Y-axis of the acceleration in the X-axis of rectangular coordinate system, the three-dimensional cartesian coordinate system and the three-dimensional right angle is sat Mark whether the acceleration on the Z axis of system is respectively 0,0, -9.8m/s2;It is just faced if it is, determining that the mobile terminal is in Under horizontal positioned state.Which determines whether mobile terminal is in the level of face down by means of gravity sensor The state of placement, it is contemplated that various errors when practical application, if object is not fully horizontal and gravity sensor measurement Precision etc., it can be determined that substantially whether the acceleration in the X-axis, the acceleration in the Y-axis, the acceleration on the Z axis For 0,0, -9.8m/s2.Also need to judge that the noise of gravity sensor, gravity pass since mobile terminal enters battery saving mode Sensor is always maintained at unlatching, therefore this programme implements simpler without the other sensors except gravity sensor Single, power consumption is lower.
Whether embodiment there is provided judge mobile terminal according to just facing for second of first aspect of the embodiment of the present invention Under horizontal positioned another concrete mode.Which includes: to detect the mobile terminal using the gravity sensor Acceleration in the X-axis of three-dimensional cartesian coordinate system, the acceleration in the Y-axis of the three-dimensional cartesian coordinate system and the three-dimensional right angle Whether the acceleration on the Z axis of coordinate system is respectively 0,0, -9.8m/s2;If so, judging the acceleration in the X-axis, described Whether the acceleration on acceleration and the Z axis in Y-axis remains 0,0, -9.8m/s respectively within the first duration2, such as Fruit is, it is determined that the mobile terminal is in the horizontal positioned state of face down.Present embodiment, the of first aspect On the basis of a kind of embodiment, increase has judged whether acceleration does not change within first duration, reduces The generation of maloperation improves the accuracy into battery saving mode, decreases between battery saving mode and normal mode frequently The waste of electricity caused by switching.
Whether embodiment there is provided judge mobile terminal according to just facing for the third of first aspect of the embodiment of the present invention Under another horizontal positioned concrete mode.Which includes: multiple pressure that judgement is distributed in the mobile terminal back side Whether the pressure that sensor detects is 0;The three-dimensional cartesian coordinate system of the mobile terminal is detected using the gravity sensor X-axis on acceleration and the three-dimensional cartesian coordinate system Y-axis on acceleration whether be respectively 0,0;If multiple described The pressure that pressure sensor detects 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 passes through the pressure that the mobile terminal back side is arranged in Force snesor judges whether there is object support or pressing mobile terminal, further whether judges mobile terminal by gravity sensor For horizontal posture, the various sensors of mobile terminal are taken full advantage of, the flexibility into battery saving mode is improved.
Whether embodiment there is provided judge mobile terminal according to just facing for the 4th kind of first aspect of the embodiment of the present invention Under another horizontal positioned concrete mode.In which, mobile terminal further includes positive red positioned at the mobile terminal Outer sensor.The concrete mode includes: to 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;The shifting is detected using the gravity sensor Whether the acceleration in the X-axis of the three-dimensional cartesian coordinate system of dynamic terminal and the acceleration in the Y-axis of the three-dimensional cartesian coordinate system 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 acceleration and the Y-axis in the X-axis is respectively 0,0;Determine that the mobile terminal is in face down Horizontal positioned state.Which judges where screen just first with the infrared sensor for the same face for being located at mobile phone with screen Whether face is blocked, and the object being blocked is wood or glass these common desktop materials, if it is, can sentence The machine of cutting off the hands is placed in the way of face down, further judges whether mobile phone is horizontal, passes through gravity using gravity sensor Sensor further judges whether mobile terminal is horizontal posture.The method takes full advantage of the various sensings of mobile terminal Device improves the flexibility into battery saving mode.It optionally, can be by the method in conjunction with the first embodiment of present aspect Get up, i.e., first judges the acceleration of the acceleration of X-direction, the acceleration of Y direction and Z-direction using gravity sensor The acceleration is respectively 0,0, -9.8 meter per seconds2, and further judge by infrared sensor the material of the front face where screen Whether whether matter is wood or glass these common desktop materials, if it is, determining mobile terminal according to face down It is horizontal positioned.At this time mobile terminal be likely to according to face down it is horizontal positioned on the table, the situation be usually use Family does not use the situation of mobile terminal immediately, enters the experience that battery saving mode has no effect on user in this case.
In conjunction with the various embodiments of first aspect above-mentioned and first aspect, the 5th of first aspect of the embodiment of the present invention the Kind of embodiment provides a kind of noise for judging acceleration that the gravity sensor detects and whether is less than noise threshold Concrete mode.The concrete mode includes: the maximum acceleration for judging the gravity sensor and detecting within the second duration Whether degree noise is lower than the noise threshold, if it is, stating making an uproar for the acceleration that gravity sensor detects described in determining Sound is lower than the noise threshold;Or judge all acceleration that the gravity sensor detects within the second duration Whether the average value of degree noise is lower than the noise threshold, if it is, it is stating that gravity sensor detects described in determining plus The noise of speed is lower than the noise threshold.In the present embodiment, it is contemplated that all noises in the second duration or The average value of person's noise, therefore reduce the generation of maloperation, and improve the accuracy into battery saving mode, it decreases Electricity caused by frequent switching wastes between battery saving mode and normal mode.
In conjunction with the various embodiments of first aspect above-mentioned and first aspect, the 6th of first aspect of the embodiment of the present invention the Kind is embodiment there is provided the value range of the noise threshold, and 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, energy Enough generations for reducing erroneous judgement.
In conjunction with the various embodiments of first aspect above-mentioned and first aspect, the 7th of first aspect of the embodiment of the present invention the Embodiment there is provided the concrete modes for entering battery saving mode for kind.The concrete mode is that the function of answering calling is kept normally to transport Row, further include it is following at least one: if it is determined that disconnecting the mobile terminal currently without from mobile data network downloading data Radio circuit and the mobile data network connection;If it is determined that downloading number currently without from the mobile data network According to the radio circuit that closing is connect with the mobile data network;If it is determined that currently without WiFi module downloading data is used, Disconnect the connection of WiFi module and access point;If it is determined that currently without the WiFi module downloading data is used, described in closing WiFi module.Present embodiment ensure that user remains to answer calling when mobile terminal enters battery saving mode, in order to avoid miss one A little urgent things and make troubles to user;Meanwhile it is further contemplated that under mobile data network downloading data or WiFi module During carrying data, the downloading of data is not interrupted because battery saving mode is entered, and only when the downloading of no data, is closed Corresponding hardware module or the corresponding software function of disabling, thus provide the user it is a kind of be more able to satisfy user's needs, more The power saving mode of intelligence.
Second aspect of the embodiment of the present invention also provides a kind of method for exiting battery saving mode.This method apply with screen With the mobile terminal of gravity sensor, before carrying out the method, the mobile terminal is in battery saving mode.This method comprises: Judge whether the mobile terminal is in the horizontal positioned state of face down;It is judging that the acceleration of gravity detects plus Whether the noise of speed is less than noise threshold;If the mobile terminal is not on the horizontal positioned shape of face down The noise for the acceleration that state or the acceleration of gravity detect is greater than the noise threshold, the mobile terminal Exit the battery saving mode.When mobile terminal is no longer on the horizontal positioned state of face down and by with picking up, Huo Zheyi Dynamic terminal has been picked up by user and the noise of the acceleration that causes the gravity sensor to detect is less than the noise threshold When, mobile terminal exits battery saving mode.Therefore, which can recognize that the direction of user's face down The case where picking up mobile terminal can reduce the erroneous judgement for exiting battery saving mode, improve the accuracy for exiting battery saving mode.
Whether embodiment there is provided judge mobile terminal according to just facing for the first of second aspect of the embodiment of the present invention Under a kind of horizontal positioned concrete mode, it is similar with the first embodiment of first aspect, only with gravity sensitive Device judges that the state of mobile terminal is changed.It is described to judge whether mobile terminal is in the horizontal positioned of face down State, comprising: detected using the gravity sensor acceleration in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal, Whether the acceleration in the Y-axis of the three-dimensional cartesian coordinate system and the acceleration on the Z axis of the three-dimensional cartesian coordinate system are distinguished For 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.Consider Various errors when to practical application, such as object are not fully horizontally and the measurement accuracy of gravity sensor, it can be determined that 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 that the noise of gravity sensor, gravity sensor are always maintained at out since mobile terminal enters battery saving mode It opens, therefore this programme is without the other sensors except gravity sensor, implements simpler, power consumption is lower.
Whether embodiment there is provided judge mobile terminal according to just facing for second of second aspect of the embodiment of the present invention Under horizontal positioned another concrete mode, it is similar with the third embodiment of first aspect, used gravity sensor The state of mobile phone is judged with pressure sensor.The mobile terminal further includes the multiple pressures for being distributed in the mobile terminal back side Force snesor;The horizontal positioned state for judging mobile terminal and whether being in face down, comprising: judge multiple pressures Whether the pressure that force snesor detects is 0;The three-dimensional rectangular coordinate of the mobile terminal is detected using the gravity sensor Acceleration in the X-axis of system and described
Whether the acceleration in the Y-axis of three-dimensional cartesian coordinate system is respectively 0,0;If the multiple pressure sensor detection It is not 0 that the pressure arrived, 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 It is not on the horizontal positioned state of face down.Second of embodiment of second aspect of the embodiment of the present invention makes full use of The various sensors of mobile terminal, improve the flexibility for exiting battery saving mode.
Whether embodiment there is provided judge mobile terminal according to just facing for the third of second aspect of the embodiment of the present invention Under 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, make The state of mobile terminal is judged with gravity sensor and infrared sensor.It states and judges whether mobile terminal is in face down Horizontal positioned state, 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 value or the reflection wavelength do not correspond to wood or glass;Determine that the mobile terminal is not on the water of face down The state of placing flat.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, the 4th kind of second aspect of the embodiment of the present invention Embodiment there is provided the value range of noise threshold, the 6th kind of implementation of the range and first aspect of the embodiment of the present invention The range that mode provides is identical, is not repeated herein.
In conjunction with the aforementioned various embodiments of second aspect and second aspect, the 5th kind of second aspect of the embodiment of the present invention Embodiment there is provided a kind of specific implementations for exiting battery saving mode.The specific implementation includes opening the mobile terminal to enter At least part hardware module and at least part software function closed when battery saving mode.The specific implementation needs mobile terminal When entering battery saving mode, the various hardware modules and/or software function for recording closing return to just when exiting battery saving mode When norm formula, according to record content, opened, simplify the operation of user, do not need user open manually again it is various The hardware module and/software function closed when into battery saving mode.
The third aspect of the embodiment of the present invention, additionally provides a kind of device into battery saving mode, which includes screen list Member, gravity sensor unit, the first judging unit, second judgment unit and first control unit.The device is for executing this hair The method of second of way of example of bright embodiment first aspect, the first embodiment of first aspect and first aspect.
In the first embodiment of the third aspect, which further includes that multiple pressure positioned at the described device back side pass Sensor cell, 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 sensing of described device Device unit, 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 embodiment of the third aspect In mode, 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 various embodiments of the third aspect and the third aspect above-mentioned, the 4th kind of embodiment side of the third aspect Formula provides the range of noise threshold, the range which provides with the corresponding embodiment of first aspect and second aspect It is identical, it is not repeated herein.
In conjunction with the various embodiments of the third aspect and the third aspect above-mentioned, in the 5th kind of embodiment of the third aspect In mode, which further includes radio frequency unit, then the first control unit is specifically used for, and holding is answering the function of calling just Often operation, performs the following operations: if it is determined that presently described radio frequency unit breaks not from the mobile data network downloading data It opens the connection of the radio frequency unit and the mobile data network or closes the radio frequency unit.Optionally, which also wraps WiFi unit is included, then the first control unit is specifically used for, and the function of answering calling is kept to operate normally, and executes following behaviour Make: if it is determined that presently described WiFi module has downloading data, disconnect the WiFi module and described access point connection or Close the WiFi module.Optionally, which further includes WiFi unit and radio frequency unit, then the first control unit is used for At least one of keep the function of answering calling to operate normally and execute aforementioned four operation.
The technical effect of the various embodiments of the above-mentioned third aspect and the third aspect, with first aspect and first aspect The technical effect of various embodiments respectively corresponds, and 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 list Member, gravity sensor unit, third judging unit, second judgment unit and the second control unit.The device is for executing this hair The method of the first embodiment of bright embodiment second aspect and second aspect.
In the first embodiment of fourth aspect of the embodiment of the present invention, which further includes being located at the described device back side Multiple pressure sensor units, the device be used for execute second aspect second of embodiment method.
In second of embodiment of fourth aspect of the embodiment of the present invention, which further includes being located at described device just The infrared sensor unit in face, the method which is used to execute the third embodiment of second aspect.
In conjunction with the various embodiments of fourth aspect and fourth aspect above-mentioned, the third embodiment side of fourth aspect Formula provides the range of noise threshold, the corresponding embodiment of the range and first aspect, second aspect and the third aspect The range of offer is identical, is not repeated herein.
In conjunction with the various embodiments of fourth aspect and fourth aspect above-mentioned, the 4th kind of embodiment side of fourth aspect Formula, second control unit are specifically used for unlatching described device and enter at least part hardware module closed when battery saving mode With at least part software function.
The technical effect of the various embodiments of above-mentioned fourth aspect and fourth aspect, with second aspect and second aspect The technical effect of various embodiments respectively corresponds, and is not repeated herein.
The 5th aspect of the embodiment of the present invention provides a kind of mobile terminal into battery saving mode, which includes shielding Curtain, gravity sensor and processor, the mobile terminal is for executing the first of first aspect of the embodiment of the present invention, first aspect The method of second of way of example of kind embodiment and first aspect.
In the first embodiment of the aspect of the embodiment of the present invention the 5th, the mobile terminal further include be distributed in it is described Multiple pressure sensors at 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 positive positioned at the mobile terminal Infrared sensor, 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 embodiment of the 5th aspect In mode, 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 embodiment side of the 5th aspect Formula provides the range of noise threshold, and the range is identical as the corresponding embodiment of the aforementioned aspects range provided, this Place is not repeated.
In conjunction with the various embodiments of the 5th aspect and the 5th aspect above-mentioned, in the 5th kind of embodiment of the 5th aspect In mode, which 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 institute not from the mobile data network downloading data It states the connection of radio circuit and the mobile data network or closes the radio circuit.Optionally, which further includes WiFi module, then the processor is specifically used for, and keeps the function of answering calling to operate normally, and perform the following operations: if Judge that presently described WiFi module has downloading data, described in the connection or closing for disconnecting the WiFi module and described access point WiFi module.Optionally, which further includes WiFi module and radio circuit, then the processor is for keeping answering calling At least one of function operates normally, and execute aforementioned four operation.
In conjunction with the various embodiments of the 5th aspect and the 5th aspect above-mentioned, in the 6th kind of embodiment of the 5th aspect In mode, the processor includes application processor and microcontroller, is executed by microprocessor and is detected according to various sensors Data judge the state of mobile terminal, and executed closedown module by application processor and disconnected.Due to judgement The state of mobile terminal generally requires multiple or the long period judgement, and it is relatively small micro- to give this part to power consumption Controller can reach the technical effect of more power saving.
The technical effect of the various embodiments of above-mentioned 5th aspect and the 5th aspect, with first aspect and first aspect The technical effect of various embodiments respectively corresponds, and 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, the mobile terminal packet It includes, screen, gravity sensor and processor.The device is used to execute the of second aspect of the embodiment of the present invention and second aspect A kind of method of embodiment.
In the first embodiment of the 6th aspect of the embodiment of the present invention, which further includes being located at the described device back side Multiple pressure sensors, the mobile terminal be used for execute second aspect second of embodiment method.
In second of embodiment of the 6th aspect of the embodiment of the present invention, which further includes being located at the movement eventually Positive infrared sensor is held, 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 embodiment side of the 6th aspect Formula provides the range of noise threshold, and the range is identical as the corresponding embodiment of the aforementioned aspects range provided, this Place is not repeated.
In conjunction with the various embodiments of the 6th aspect and the 6th aspect above-mentioned, the 4th kind of embodiment side of the 6th aspect In formula, the processor, which is specifically used for opening described device, enters at least part hardware module closed when battery saving mode and extremely Few a part of software function.
In conjunction with the various embodiments of the 6th aspect and the 6th aspect above-mentioned, in the 5th kind of embodiment of the 6th aspect In mode, the processor includes application processor and microcontroller, is executed by microprocessor and is detected according to various sensors Data judge the state of mobile terminal, and keep functional module and starting module or function executing by application processor Energy is equal.Due to judging that the state of mobile terminal generally requires multiple or the long period judgement, and give this part to function Relatively small microcontroller is consumed, 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, with second aspect and second aspect The technical effect of various embodiments respectively corresponds, and is not repeated herein.
Seventh aspect present invention also provides a kind of method into battery saving mode, including, it is examined using the gravity sensor Survey the acceleration 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 Acceleration on the Z axis of degree and the three-dimensional cartesian coordinate system, and the noise using gravity sensor detection acceleration; 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 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, it is examined using the gravity sensor Survey the acceleration 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 Acceleration on the Z axis of degree and the three-dimensional cartesian coordinate system, and the noise using gravity sensor detection acceleration; 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/s2, or When the noise of the acceleration is greater than noise threshold, 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 method for entering battery saving mode, device and mobile terminal, when judge mobile phone according to Face down direction is lain in a horizontal plane on static object, rather than when being held in user hand, and user is not generally at this time Want using mobile phone, or no hurry using mobile phone reception and replies message, in this case, mobile terminal just enters power saving mould Formula avoids and enters battery saving mode when user holds the mobile terminal in a manner of face down, reduces mobile whole The erroneous judgement at end improves the accuracy into battery saving mode.The embodiment of the invention also provides the method for exiting battery saving mode, dresses It sets and mobile terminal, when judging mobile terminal not according still further to the horizontal positioned of face down direction and no longer static, Huo Zheyi Dynamic terminal is no longer static, and mobile terminal exits battery saving mode.Therefore, which can recognize that user just The case where mobile terminal is picked up in face-down direction can reduce the erroneous judgement for exiting battery saving mode, improve and exit power saving mould The accuracy of formula.
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 is made into one below in conjunction with attached drawing Step ground detailed description.
It may include mobile phone, tablet computer, PDA (Personal Digital the present embodiments relate to mobile terminal Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal) etc., which includes screen and again Force snesor etc..
Battery saving mode in the embodiment of the present invention is called and does power down mode, low-power consumption mode etc..Shifting in battery saving mode It is low in energy consumption when the power dissipation ratio of dynamic terminal works normally.When mobile terminal is in battery saving mode, at least one reduction can be executed The movement of power consumption, such as: the brightness of screen is reduced, the program of running background is closed, disconnects the connection of mobile data, closes GPS (Global Positioning System, global positioning system) module, disabling earphone are inserted into detection function, close indicator light Prompting, stop USB plug detection, disabling voice wake up mobile terminal function, dynamic wallpaper is replaced with into static wallpaper, The display of screen is become into black and white from colour, the frequency interacted with server is reduced, closes a part of core in multi-core processor, Close the segment processor in multiple processors, disabling automatic software updating function etc..Specific reality of the present invention to battery saving mode Existing mode is without limitation.As an implementation, in a power-save mode, mobile terminal still keep some urgent functions or The function of user's selection does not close, such as answers call function etc..As another embodiment, if entering battery saving mode Before, mobile terminal is not from mobile data network downloading data, and in a power-save mode, mobile terminal closes mobile data network Corresponding RF circuit or disconnect corresponding with mobile data network connection.If moved before entering battery saving mode Dynamic terminal does not use WiFi module downloading data, and 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, in super power saving Mode ratio closes more hardware modules under common battery saving mode, disables more software functions etc., or close more power consumption Hardware module, the software function for disabling 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 It is finger processor runs software code to instruct various functions performed by various hardware modules, including the various of processor operation Function or the function of third-party application of system application etc., such as in running background program, earphone insertion is detected, 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, and non-power down mode etc. refers to Mobile terminal enters the state worked normally before 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 and includes, pass when mobile terminal turns on into battery saving mode At least part hardware module closed, and/or when turning on into battery saving mode at least part disabling software function, Huo Zheyi That dynamic terminal starts some settings and hardware module and software function, such as the software function and hardware mould that start when normal boot-strap Block or software function set by user and hardware module.
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 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 It is when mobile terminal detects that some conditions meet, just to enter battery saving mode, such as mobile terminal detects that remaining capacity is small In some threshold value, perhaps detects and be currently at the power saving period set by user or user is combined to hold mobile terminal State and the current use state of the mobile terminal determine that the mobile terminal is currently idle that (its implementation can be with reference to China Apply for CN201210112165.9) 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 When mobile terminal detects that some conditions meet, battery saving mode is just exited, such as mobile terminal detects that remaining capacity is big In some threshold value, perhaps detects the period being currently at except the power saving period set by user or held in conjunction with user It holds the state of mobile terminal and the current use state of the mobile terminal determines that the mobile terminal is currently used by a user (its realization Mode can be with reference to China application CN201210112165.9) etc..
In the prior art, it such as U. S. application US8117471 B2, additionally provides one kind and hand-hold electronic device is allowed to enter power saving Mode and the scheme for exiting battery saving mode.Adding in the X-axis that the program is detected by the gravity sensor of hand-hold electronic device Speed, 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 that 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 party Case 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 hand-held electricity Sub-device keeps the flat-hand position of face down, at this point, hand-hold electronic device can enter battery saving mode according to the program, 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 into Enter battery saving mode, is easy that user is allowed not to be available some functions of closing because battery saving mode is entered, to influence user couple The normal use of hand-hold electronic device.On the other hand, the program for hand-hold electronic device by user according to the water of face down The case where flat posture is picked up will not be restored to the mode of normal operation, and work as user and pick up the hand-hold electronic device, generally also It is that user wants using 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 "/" indicate "or", this rapidly enters/leaves battery saving mode function and combines unlatching battery saving mode and close two kinds of functions of battery saving mode, so that User can easily enter battery saving mode by mobile terminal by the modes of emplacement of change mobile terminal and exit battery saving mode, and And accuracy is relatively high.When user opens the function, when mobile terminal is horizontally arranged by the direction of face down, and it is static Placement object on rather than when in the hand of user, then mobile terminal enters battery saving mode without the operation of user.At this time Do not occur at mobile terminal it is hand held middle by user when the case where still entering battery saving mode, to reduce into battery saving mode Erroneous judgement, improve the accuracy into battery saving mode.And the state for working as mobile terminal is changed, and is no longer on and is just faced Under it is horizontal positioned in the state of stationary object, such as by user picked up or be flipped to vertical etc., then mobile terminal Operation without user enters normal mode, which can recognize that the direction of user's face down The case where picking up mobile terminal can reduce the erroneous judgement for exiting battery saving mode, improve the accuracy for exiting battery saving mode.When 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, is being moved Increase in power management interface or shortcut function menu in dynamic terminal one this rapidly enter or leave the function of battery saving mode Option or button, selected to open and close by user.Another kind is achieved in that, some hardware in mobile terminal is pressed Key or button rapidly enter/leave the function association of battery saving mode with this, and user can be by operating hardware button realization pair This rapidly enters/leaves the opening and closing of the function of battery saving mode.Another is achieved in that, defines voice, gesture etc. its He orders the opening and closing to realize the function of rapidly entering/leave battery saving mode, 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 quickly leave the function conduct of battery saving mode Two independent options are selected and are 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 that the modes of emplacement of change mobile terminal allows movement Terminal easily enters battery saving mode, without supporting the modes of emplacement for changing mobile terminal easily to exit power saving by mobile terminal Mode.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, the present invention It does not limit this.In one embodiment, the first duration is for judging whether mobile terminal is in face down Horizontal positioned state.If the X-axis that gravity accelerometer detects, the acceleration in Y-axis and Z axis is held described first 0,0, -9.8m/s are remained respectively in the continuous time2, it is determined that the mobile terminal is in the horizontal positioned shape of face down State.In another embodiment, the second duration is for judging whether mobile terminal is placed on stationary object.If weight The noise that power acceleration transducer detects is lower than noise threshold within second duration, it is determined that described mobile whole End is placed on static object, without being held by a user.
Energy threshold in the embodiment of the present invention is the energy for judging whether the front of mobile terminal has object covering Amount threshold value can be set to a value close to infrared sensor emitted energy, for example, infrared sensor emitted energy 90% 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, which can To be disposed proximate to 0 value, such as 0.1 newton or 0.05 newton etc., when the pressure that pressure sensor detects is lower than pressure Power threshold value illustrates that the back side of mobile terminal does not have object contact, and the pressure that pressure sensor detects is higher than threshold pressure, Illustrate 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, those skilled in the art Other numberical ranges can also be arranged in member 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 having weight Other mobile terminals of force snesor.
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 include, RF (Radio Frequency, radio frequency) circuit 110, memory 120, input unit 130, display unit 140, again Force snesor 150, pressure sensor 151, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, the components such as processor 180 and power supply 190.It will be understood by those skilled in the art that handset structure shown in Fig. 1 is simultaneously The restriction to mobile phone is not constituted, may include perhaps combining certain components or different than illustrating more or fewer components Component layout.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, particularly, will be under base station After row information receives, handled to processor 180;In addition, the data for designing uplink are sent to base station.In general, RF circuit includes But being not limited to antenna, at least one amplifier, transceiver, coupler, LNA, (Low Noise Amplifier, low noise are put Big device), duplexer etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication.It is described wireless Any communication standard or agreement, including but not limited to GSM (Global System of Mobile can be used in communication Communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet without Line 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), electronics Mail, SMS (Short Messaging Service, short message service) etc..
Memory 120 is stored in memory 120 by operation for storing software program and module, processor 180 Software program and module, thereby executing the various function application and data processing of mobile phone 100.Memory 120 can be wrapped mainly Include storing program area and storage data area, wherein storing program area can application needed for storage program area, at least one function Program (such as sound-playing function, image playing function etc.) etc.;Storage data area can be stored is created according to using for mobile phone 100 Data (such as audio data, phone directory etc.) built etc..In addition, memory 120 may include high-speed random access memory, also It may include nonvolatile memory, a for example, at least disk memory, flush memory device or the storage of other volatile solid-states Device.
The number for receiving input of input unit 130 or character information, and generate with the user setting of mobile phone 100 with And the related key signals input of function control.Specifically, input unit 130 may include that touch panel 131 and other inputs are set Standby 132.Touch panel 131, also referred to as touch screen, collect user on it or nearby touch operation (such as user use The operation of any suitable object or attachment such as finger, stylus on touch panel 131 or near touch panel 131), and root Corresponding attachment device is driven according to preset formula.Touch panel 131 includes touch detecting apparatus and touch controller two A part.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, signal is passed Give touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then Processor 180 is given, and order that processor 180 is sent can be received and executed.Furthermore, it is possible to using resistance-type, capacitor The multiple types such as formula, infrared ray and surface acoustic wave realize touch panel 131.In addition to touch panel 131, input unit 130 is also It may include other input equipments 132.Specifically, other input equipments 132 can include but is not limited to physical keyboard, function key One of (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 be used for show information input by user or be supplied to user information and mobile phone 100 it is each Kind menu.Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) come Configure display panel 141.Further, touch panel 131 can cover display panel 141, when touch panel 131 is detected at it On or near touch operation after, send processor 180 to determine the type of touch event, be followed by subsequent processing device 180 according to touching The type for touching event provides corresponding visual output on display panel 141.Although in Fig. 1, touch panel 131 and display surface Plate 141 is the input and input function for realizing mobile phone 100 as two independent modules, but in certain embodiments, it can That mobile phone 100 is realized so that touch panel 131 and display panel 141 is integrated outputs and inputs function.The embodiment of the present invention Screen includes at least one of the touch panel 131 and the display panel 141.Specifically, display panel 141 is for showing The interface of the function of rapidly entering/leave battery saving mode is set, and touch panel 131 is used to receive the unlatching of user's input, and this is fast The instruction of the function of the into/out battery saving mode of speed, and close 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, front It is four sides between the back side.The front of mobile phone generally comprises display panel 141, further includes 131 He of touch panel optionally Some keys.The back side of mobile phone generally comprises camera, and optionally, there are also the marks etc. of some production firms.The side of mobile phone On be typically provided with it is following at least one: volume button, power button, power interface, USB interface and earphone jack etc..Such as figure Shown in 2a, 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, mobile phone is being just Face contact desktop, the back side and side of mobile phone do not contact desktop.As shown in Figure 3b, user holds mobile phone, wherein user The thumb contact 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 by taking the same face of touch panel 131 and display panel 141 being located on mobile phone as an example into Row explanation, when mobile phone is placed in a manner of face down (as shown in Fig. 2 b, 3b), also implying that means that mobile phone is with touch-control Panel 131 downward with 141 also mode directed downwardly place.When mobile phone is placed in a manner of facing up (as shown in Fig. 2 a, 3a), Mean mobile phone be also mobile phone with touch panel 131 upwards and display panel 141 also upward mode is placed.It is appreciated that touching The different faces that can also be located at mobile phone on of the panel 131 from display panel 141 are controlled, it at this time can putting with display panel 141 It sets and is judged subject to mode.
Mobile phone 100 further includes gravity sensor 150, is able to detect acceleration of gravity (generally mobile phone in all directions Three-dimensional cartesian coordinate system three axis) component, the state of mobile phone for identification.
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 its His coordinate system, it is not limited in the embodiment of the present invention), wherein mobile phone 100 is according to touch panel 131 (or display panel 141) Direction upward is placed on desktop 200, and desktop 200 is level.It is illustrated by taking touch panel 131 as an example below.It sits The origin of mark system is the geometric center of mobile phone or touch panel 13, and Z axis is directed toward touch surface perpendicular to touch panel 131 Direction except 131 front of plate (i.e. the one side of user's progress touch control operation), in the horizontal plane, X-axis is parallel to touching for X-axis and Y-axis The shorter side of panel 131 is controlled, and is directed toward the right, Y-axis as illustrated in the drawing and is parallel to the longer side of touch panel 131, And it is directed toward top as illustrated in the drawing.After mobile phone is stablized on desktop 200, X-axis and Y that gravity sensor 150 detects Acceleration on axis 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 use same three-dimensional cartesian coordinate system, when the mobile phone 100 according to touch panel 131 downward Direction is placed on the desktop 200 (as shown in Figure 2 b), and when desktop 200 is horizontal, steady on desktop 200 in mobile phone After fixed, the acceleration in X-axis and Y-axis that gravity sensor 150 detects is 0, the Z axis that gravity sensor 150 detects On acceleration be approximately equal to acceleration of gravity -9.8m/s2.Therefore, by judging whether the acceleration on Z axis is negative, can sentence Whether downward touch panel 131 break, by judging whether the acceleration of X-axis and Y direction is 0, it can be determined that go out touch panel Whether 131 is horizontal.If it is considered that the desktop that mobile phone is placed not is abswolute level, by judging that the acceleration of X-axis and Y direction is It is no be one close to one of 0 lesser value (such as in -1 meter per second2To 1 meter per second2Between or other sections, specifically can by with Family is arranged or is arranged by experimental data), to judge whether touch panel 131 is 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 It is placed on the object of static (not moving), such as on horizontal desktop, when without being held in the hand of user, weight The time graph of the noise for the acceleration that force snesor 150 detects is indulged and is sat as shown in figure 4, wherein abscissa is millisecond (ms) Target unit is g.From the curve it is found that being placed on static object when mobile phone, for example, it is horizontal without on mobile desktop, and When not 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 are held in the hand by static user and keep stablizing (such as shown in Fig. 3 a and 3b), when, gravity sensor 150 detects Acceleration noise time graph as shown in figure 5, the value of the noise of the acceleration measured in the figure is generally higher than 0.1g, this Caused by the small noise of kind is mainly influenced as the pulse of user and small shake etc..As it can be seen that adding in Fig. 4 and Fig. 5 The value of the noise of speed has apparent difference, by judging whether the noise of acceleration that gravity sensor 150 detects is less than One noise threshold, it can be determined that whether mobile phone 100 is placed on a static object, if the noise threshold set That sets is sufficiently small, such as 0.004g, 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 in addition to 0.004g Value.If mobile phone is placed on static desktop, gravity sensor 150 can detect that the noise of acceleration is G1;Mobile phone by with In the hand, and when user is static, gravity sensor 150 can detect that the noise of acceleration is G2 to the stable gripping in family;Mobile phone It is carried in pocket or knapsack by user, and user is moving, such as walking, when running or riding public transportation means, weight Power 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 Any value less than G2, such as any value between 0.0038g to 0.01g, such as 0.004g are set by G0, by comparing gravity The noise for the acceleration that sensor detects and the noise threshold, can judge that mobile phone is placed on static object On, 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, and the back side which is arranged in mobile phone 100 (does not have The one side of touch panel 131 and display panel 141).The pressure sensor is used to detect the suffered pressure of mobile phone back, is Measurement is accurate, can be evenly distributed in the whole region at the back side, or as the case may be set backside pressure sensor Set in the specified region of mobile phone back, as the back side rear camera near, the quadrangle at the back side nearby and four sides nearby etc..With Under illustrate so that pressure sensor 151 is evenly distributed in the whole region at the back side as an example: when the current state of the mobile phone for touching When control panel 131 (or display panel 141) is placed on object upward, the pressure sensor detects the mobile phone back Stress is M1, which is greater than 0, the generally gravity of mobile phone itself;The current state of the mobile phone is that touch panel 131 is (or aobvious Show panel 141) when being 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, M2 are 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 greater than for detecting reflected energy and wavelength if the energy ratio of reflection is larger One energy threshold), the energy launched close to infrared sensor illustrates 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 To there is one, it is arranged near top or the front camera of display panel 141, can also has at least two, be respectively set Above and below display panel 141.
Mobile phone 100 can also include optical sensor, which may include ambient light sensor and proximity sensor, In, ambient light sensor can adjust the brightness of display panel 141 according to the light and shade of ambient light, and proximity sensor can be in mobile phone 100 when being moved in one's ear, closes display panel 141 and/or backlight.The gyroscope that can also configure as mobile phone 100, barometer, The other sensors such as hygrometer, thermometer, details are not described herein.Optical sensor can have one, and display panel 141 is arranged in Near top or front camera, 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.Audio-frequency electric Electric signal after the audio data received conversion is transferred to loudspeaker 161 by road 160, is converted to sound letter by loudspeaker 161 Number output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, is converted after being received by voicefrequency circuit 160 For audio data, then audio data 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 sends and receive e-mail by WiFi module 170, browses net Page 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 do not changing invention completely Essence range in and omit.
Processor 180 is the control centre of mobile phone 100, utilizes each portion of various interfaces and connection whole mobile phone Point, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120 Interior data execute the various functions and processing data of 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, AP) and modem processor, can also include microcontroller (Microcontroller Unit, MCU), In, the main processing operation system of application processor, user interface and application program etc., modem processor are mainly handled wirelessly Communication, microcontroller can share a few thing of application processor.It is understood that above-mentioned modem processor can also Not to be integrated into processor 180.
Whether processor 180 judges mobile phone 100 in the way of the approximate horizontal placement of 131 downward of touch panel Include any of the following: (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) it handles Device 180 determines the reflected energy and reflection wavelength that infrared sensor detects, if reflected energy is very big (to be greater than energy threshold Value) and reflection wavelength correspond to wood or glass, it can be determined that out mobile phone 100 be to be 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 that mobile phone 100 is according to touch panel The approximate horizontal placement of 131 downwards is on the table;(3) processor 180 judges the pressure sensor at 100 back side of mobile phone Whether 151 pressure detected are close to 0, if it is, judgement is according to the placement of 131 downward of touch panel, further Judge whether X-axis, the acceleration in Y-axis are 0, if it is, can determine mobile phone 100 be according to touch panel 131 downward To approximate horizontal placement on the table.
Further, the processor 180 can judge whether mobile phone 100 is placed on by the size of the noise of acceleration On static object.Only when processor 180 judges mobile phone 100 according to approximate horizontal the putting of 131 downward of touch panel It sets on static object, processor 180 controls mobile phone and enters battery saving mode, such as closes GPS module, and disabling earphone is inserted Enter detection function, close the prompting of indicator light, stop the detection of USB plug, closes in multiple processing units in processor A part etc..In this case, user is generally not desired to using mobile phone at this time, or no hurry using mobile phone receive and reply disappear Breath, therefore enter the use that battery saving mode has no effect on user.When the gravity sensor detects that the state of mobile phone 100 occurs Change, such as by user pick up or user has overturn mobile phone and make touch panel not it is approximate horizontal downward, then processor 180 control mobile phones exit battery saving mode, to be restored to normal mode.
Mobile phone 100 further includes the power supply 190 (such as battery) powered to modules, it is preferred that power supply can pass through electricity Management system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system Etc. functions.
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, and mobile phone is in normal condition, and touch panel 131 receives the multiple of user Navigation application has been respectively started according to the multiple instruction of user in instruction, processor 180, web browser, take pictures using and immediately Communication software, and open GPS module and use WiFi module download music files.Then touch panel 131 receives user's Back to the instruction of main interface, processor 180 controls the display panel 141 display main interfaces, and the front opening no longer shown is each The interface of kind application, since user is not off these applications, processor 180 is still running these applications from the background. Then touch panel 131 receives the operation at the opening power management interface of user, and display panel 141 shows power management interface In, touch panel 131 receive user selection operation, processor 180 according to the selection operation unlatching rapidly enter/leave power saving The function of mode.
Then, user enters meeting room with mobile phone, placed static horizontal desk 200 in the meeting room, and one Start, 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 Judge that the acceleration on Z axis that gravity sensor 150 detects is positive, then processor 180 maintains the application opened before user In running background, and continue 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, held according to shown in Fig. 3 a, by the level of the touch panel 131 of mobile phone upward It holds, and keeps stable state, at this point, 180 judge that the acceleration on Z axis that gravity sensor 150 detects is positive, then handle Device 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/ s2, then processor 180 continues to judge that the acceleration on the acceleration and Y-axis in X-axis that gravity sensor 150 detects is big It causes to be 0, then processor 180 judges the acceleration for the Z-direction that gravity sensor 150 detects, the acceleration in X-axis and Y-axis On the acceleration above each substantially -9.8m/s whether for 5 seconds2, 0 and 0.If it is judged that being yes, processor 180 Whether the average value for continuing the noise for the acceleration for judging that gravity sensor 150 detects in above-mentioned 5 seconds is less than noise gate Value (is set as 0.004g) herein, and due to the influence that the pulse and arm muscles of user are shaken, processor 180 judges gravity herein The noise for the acceleration that sensor 150 detects is greater than the noise threshold, therefore processor 180 still maintains user to open before Open it is various apply in running background, keep GPS module to open, and continue to use WiFi module download music files (assuming that this When music file download and do not complete).
When user continues to hold, mobile phone front is directed downwardly to be continued to move to, and finally touches mobile phone according to according to shown in Fig. 2 b Panel 131 is directed downwardly is placed in horizontal table top for control, and no longer contacts mobile phone.At this point, processor 180 first judges gravity sensitive The acceleration on Z axis that device 150 detects is negative, and substantially -9.8m/s2, then processor 180 continues to judge that gravity passes The acceleration in X-axis and Y-axis substantially 0 that sensor 150 detects, then processor 180 judges that gravity sensor 150 detects The acceleration of Z-direction, the acceleration above each substantially -9.8m/ whether for 5 seconds on acceleration and Y-axis in X-axis s2, 0 and 0.If the judgment is Yes, processor 180 then judges the acceleration that gravity sensor 150 detects in above-mentioned 5 seconds The average value of noise whether be less than noise threshold (being set as 0.004g herein), since user does not hold in this 5 seconds The mobile phone is held, therefore processor 180 judges the average value of the noise for the acceleration that gravity sensor 150 detects in this 5 seconds Less than the noise threshold, then other modules that processor 180 controls mobile phone work in battery saving mode: i.e. processor 180 is closed The navigation application of running background, web browser, take pictures application and instant communication software close GPS module, and judge music text Whether part, which is downloaded, finishes, if downloading finishes, closes WiFi module, finishes, continue if the music file is not downloaded Use WiFi module 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, shown in Fig. 3 a or Fig. 3 b State when, then processor 180 is judged to need to exit battery saving mode according to the result that gravity sensor detects, then processor 180, according to the mark of the application of the closing of record and the mark of hardware module, are again turned on navigation application, and web browser is clapped Correlate use and instant communication software, opens GPS module.If WiFi module is also turned off, then at this time when entering battery saving mode WiFi module is opened again.
In above-described embodiment, this rapidly enters the interface of the function of battery saving mode for the display of display panel 141 setting, and receives User by touch panel 131 input open this rapidly enter/leave the instruction of the function of battery saving mode;Gravity sensor 150 detection acceleration (including X-axis, the acceleration in Y-axis and Z axis, the noise of whole acceleration);Processor 180 is by sentencing Whether the acceleration on disconnected X-axis, Y-axis and Z axis may determine that mobile phone 100 according to the approximate horizontal of 131 downward of touch panel Placement, and increase by 5 seconds duration judgement, to reduce maloperation.The processor 180 passes through described 5 seconds The noise of interior whole acceleration may determine that whether mobile phone 100 is placed on static object, rather than be held in use In the hand of family.Only when processor 180 judge mobile phone 100 according to the approximate horizontal placement of 131 downward of touch panel and When being placed on static object, rather than being held in user hand, user is generally not desired to using mobile phone at this time, or not Anxious to be received and replied message using mobile phone, in this case, processor 180 controls mobile phone and enters battery saving mode.When described heavy Force snesor detects that the state of mobile phone 100 changes, and is such as picked up by user or user has overturn mobile phone and makes touch-control Then processor 180 is not no longer waiting for a period of time to panel 131 downward approximate horizontal, 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, and mobile terminal is entered according to the simple operations of user Battery saving mode and battery saving mode is exited, simplifies the operation of user, improve the ease for use of mobile terminal and the interaction with user Ability.
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 by such as Fig. 1 Shown in mobile phone execute, and before executing this method, mobile phone is in normal mode, and user has had turned on or do not opened This rapidly enters the function of 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 601 it It is preceding to be used to be arranged in the interface of the function of rapidly entering battery saving mode what display panel 141 was shown, pass through touch surface Plate 131 selected open this rapidly enter the function of battery saving mode, then execute 602, if processor 180 judge this quickly into The function of entering battery saving mode is not opened, then executes 607.
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 before 602, gravity sensor 150 is in running order, is able to detect that X-axis, in Y-axis and Z axis Acceleration, and the noise of whole acceleration;If gravity sensor 150 is not on working condition, processor 180 Before executing 602, first opens gravity sensor 150 and be at working condition.
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 the 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 set by user It sets or preset etc. when leaving the factory 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) 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 making an uproar for the whole acceleration that gravity sensor 150 detects Sound, 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: processor 180 close be currently running it is all after The process of the application of platform operation, stops GPS, stops headset detection, stops indicator light prompting, stop USB plug detection, stop NFC, the wake-up of stopping voice, stopping touch screen arousal function etc., but be to maintain and answer the lasting unlatching of call function.605 also wrap Include, processor 180 judges whether RF circuit or WiFi module are downloading file, if it is not, then processor close 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 the function of battery saving mode It can be closed.
607, processor 180 maintains operating handset in existing mode.After 607,601 can be executed again.
Due to before opening and rapidly entering the function of battery saving mode, operating handset is in normal mode, therefore 606 and 607 In existing mode be normal mode.
It is appreciated that 602 be to whether downward judge display panel 140 (or touch panel 131), 603 be to sentence Whether disconnected display panel 140 (or touch panel 131) 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, only there are three the judging result of step be all it is yes, 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, processor 180 can also be replaced with by 602 and judge that gravity sensor 150 detects Z axis on acceleration whether be about -1g (i.e. -9.8m/s2), if it is, 603 are executed, if it is not, then executing 606.Z Acceleration on axis is about that -1g refers to that the acceleration on Z axis between -1.2g to 0.98g, is also possible to other sections Value, which is not limited by the present invention.When the acceleration on the Z axis that gravity sensor 150 detects is about -1g, then explanation is aobvious Show 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 be placed on traveling automobile or On seat or desk in the vehicles of other travelings, due to being influenced by automobile or other vehicles, mobile phone The noise for the acceleration that gravity sensor detects generally can also be greater than 0.004g, therefore, if the noise of acceleration is less than 0.004g, then 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, that is, judge mobile phone in level side To whether static, to this end it is possible to use, acceleration transducer and gyroscope obtain mobile phone acceleration in the horizontal direction, and accordingly Judge whether mobile phone is also static in the horizontal direction, or whether is moved using the motion determination mobile phone of GPS module record mobile phone It is dynamic, or judge whether mobile phone moves using the positioning function of base station, also whether there are many judge mobile phone in water in the prior art Square to the mode whether moved, which is not limited by the present invention.Only when mobile phone is placed on static object, 605 are just executed, Otherwise, 606 are executed.
In order to reduce the error of judgement, sentencing for duration can also be increased at least one of 602,603 and 604 It is disconnected.602 could alternatively be 602 ': whether processor 180 judges the acceleration on the Z axis that gravity sensor 150 detects It is negative in one duration.603 could alternatively be 603 ': processor 180 judges the X-axis and Y-axis that gravity sensor 150 detects On acceleration whether substantially 0 in first duration.604 could alternatively be 604 ': processor 180 judges that gravity passes Whether the noise for the acceleration that sensor 150 detects is always less than noise threshold or processor in the second duration 180 to judge whether the average value of the noise for the acceleration that gravity sensor 150 detects in the second duration is less than described Noise threshold.
If mobile phone 100 has come into common battery saving mode before executing 601, sentence by 602,603 and 604 It is disconnected to may further determine that whether mobile phone 100 enters ultra electric power-saving mode, i.e., 605 replacements 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, can also increase red after 602,603 and 604 judging results are all "Yes" The judgement of outer sensor determines the material for the object that mobile phone 100 is currently placed according to the wavelength that infrared sensor detects, if Judge currently place mobile phone object be wooden or glass, then illustrate mobile phone be currently likely to by according to display panel 140 (or touch Control panel 131) direction directed downwardly, it is horizontal, be placed on desk, execute 605 at this time.If it is determined that currently placing the object of mobile phone Body 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, put It sets on sofa or bed, at this time may be the unconscious operation of user, be not temporarily to execute 606 at this time without using mobile phone.
It is appreciated that 602 and 603 be in order to judge mobile phone whether according to display panel 140 (or touch panel 131) downward Direction, horizontal placement.The judgement can also be realized by other modes, such as be judged by gyroscope or other sensors;Hand Machine whether according to display panel 140 (or touch panel 131) direction directed downwardly, horizontal placement if it is, executing 604, such as Fruit is no, then executes 606.
In the above-described embodiments, if the processor of mobile phone includes application processor and microcontroller, by application processor Execute 601,605,606 and 607, execute 602,603 and 604 by MCU, due to MCU power dissipation ratio application processor it is small, Therefore it can reach the technical effect of more power saving.
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 by as shown in Figure 1 Mobile phone execute, and before executing this method, mobile phone is in battery saving mode, and user has had turned on or do not opened this fastly Speed exits the function of battery saving mode.This method comprises:
701, processor 180 judges that this quickly exits function of battery saving mode and whether has been switched on, if user 701 it It is preceding display panel 141 show for be arranged this quickly exit battery saving mode function interface in, selected open This quickly exits the function of battery saving mode, then executes 702, if processor 180 judges that this quickly exits the function of battery saving mode It can not open, then execute 707.
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, still in working condition, (including mobile phone is in battery saving mode to gravity sensor 150 When), it is able to detect that X-axis, the acceleration in Y-axis and Z axis, and whole acceleration;If gravity sensor 150 is not located In working condition, then 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 the desktop for placing mobile phone 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 be with much larger than 0 Refer to and be greater than 0.49, or is 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) 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 simultaneously Component on non-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 softwares closed when battery saving mode that battery saving mode is exited in 706 Function and hardware module;Or include: that processor 180 starts preset software function and hardware module, as user is commonly each Class software function and hardware module.
After 705,702 can be executed again, until mobile phone exits battery saving mode, or until this quickly exits power saving The function of mode is closed.
707, processor 180 maintains operating handset in battery saving mode.After 707,701 can be executed again.
It is appreciated that 702 be to whether upward judge display panel 140 (or touch panel 131), 703 be to sentence Whether disconnected display panel 140 (or touch panel 131) 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, only there are three the judging result of step be all it is no, 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, sentencing for duration can also be increased at least one of 702,703 and 704 It is disconnected.702 could alternatively be 702 ': whether processor 180 judges the acceleration on the Z axis that gravity sensor 150 detects It is positive in one duration.703 could alternatively be 703 ': processor 180 judges the X-axis and Y-axis that gravity sensor 150 detects On acceleration whether in the first duration be much larger than 0.704 could alternatively be 704 ': processor 180 judges gravity sensitive Whether the acceleration that device 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, by application processor Execute 701,705,706 and 707, execute 702,703 and 704 by MCU, due to MCU power dissipation ratio application processor it is small, Therefore it can reach the technical effect of more power saving.
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, mobile phone maintain battery saving mode;If 701 judging results are yes, mobile phone state shown in Fig. 2 b It is switched to Fig. 2 a, state shown in Fig. 3 a or even Fig. 3 b then passes through 702,703 and 704 judgement, and mobile phone is from battery saving mode It is switched to normal mode.
It is appreciated that whether 602 above-mentioned and 702 are to judge mobile phone according to (or the touch panel of display panel 140 131) placement in direction directed downwardly.The judgement can also be realized by other modes, such as pass through pressure sensor, infrared sensor etc. Other sensors judgement, specific method such as Fig. 8-Figure 11.
As follows, whether Fig. 8 and Fig. 9 are to have used pressure sensor to judge mobile phone according to (or the touch surface of display panel 140 Plate 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 by such as scheming Mobile phone shown in 1 executes, and before executing this method, mobile phone is in normal mode, and user has had turned on or do not opened Open 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 pressure Threshold value, if it is, 803 are executed, if it is not, then executing 806.
Before 802, pressure sensor 151 is still in working condition while being in battery saving mode (including mobile phone), Neng Goujian Measure pressure value;If pressure sensor 151 is not on working condition, processor 180 is first opened before executing 802 Pressure sensor 151 is at working condition.In view of the error of measurement, threshold pressure can be set to one close to 0 A value, 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, it 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 by such as Fig. 1 institute The mobile phone shown executes, and before executing this method, mobile phone is in battery saving mode, and user has had turned on or do not opened this Quickly exit the function of 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 pressure Power threshold value, 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, herein not It repeats.
903-907 is identical as 703-707 respectively, and the explanation about 701,703-707 is also respectively suitable for 901,903- 907, it is not repeated herein.
As follows, Figure 10-11 has used infrared sensor to judge mobile phone whether according to (or the touch panel of display panel 140 131) placement in direction directed downwardly.
As shown in Figure 10, the embodiment of the present invention provides another method flow diagram for entering battery saving mode.This method is by such as Mobile phone shown in FIG. 1 executes, and before executing this method, and mobile phone is in normal mode, and user has had turned on or not Open 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 infrared transmitter sending infrared waves gross energy, such as the gross energy 90% or Other values.Before 1002, infrared sensor is able to detect that still in working condition while being in battery saving mode (including mobile phone) Reflected energy;If infrared sensor is not on working condition, processor 180 is first opened infrared before executing 1002 Sensor is at working condition.
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, it cannot be complete Whether downward to judge front, can be after 1002 be judged as YES, before executing 1003, increase 1002a: processor 180 judges Whether the reflection wavelength detected positioned at the positive infrared sensor of mobile phone 100 is glass or wood, if it is, executing 1003, if it is not, then executing 1006.When being covered due to the front of mobile phone 100 by glass or wood, usually mobile phone is placed downward Be inconvenient to check display panel 141 in the situation of desktop or user and operate the situation of touch panel 131, therefore is this In the case of be generally also user be 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 by such as Mobile phone shown in FIG. 1 executes, and before executing this method, and mobile phone is in battery saving mode, and user has had turned on or not Open 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, herein no longer It repeats.
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, cannot judge completely just Downward whether face, can be after 1102 be judged as NO, before executing 1103, and increase 1003a: the judgement of processor 180 is located at hand Whether the reflection wavelength that the positive infrared sensor of machine 100 detects is glass or wood, if it is, 1103 are executed, if It is no, then execute 1106.When being covered due to the front of mobile phone 100 by glass or wood, usually mobile phone is placed on desktop downward Situation or user are inconvenient to check display panel 141 and operate the situation of touch panel 131, therefore lead in this case It is often 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.Work as use Method shown in Fig. 6, Fig. 8 and Figure 10 are any, enters mobile phone after battery saving mode, and Fig. 7, Fig. 9 and Figure 11 can be used and appoint Method shown in one kind, makes mobile phone exit battery saving mode.Conversely, using Fig. 7, Fig. 9 and Figure 11 it is any shown in method, make hand Machine exits 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 power saving mould Formula.
The embodiment of the present invention also provides the device for entering battery saving mode, and as shown in figure 12, which includes: screen list Member 1201: for showing user interface;Gravity sensor unit 1202, for detecting the acceleration and acceleration of described device Noise;Described device is in normal mode;Described device further include: the first judging unit 1204, for judging described device It is whether directed downwardly horizontal positioned according to the screen unit;Second judgment unit 1205, for judging the gravity sensor list Whether the noise for the acceleration that member detects is less than noise threshold;First control unit 1206, in first judgement It is directed downwardly horizontal positioned according to the screen unit that unit judges go out described device, and the second judgment unit judges institute When stating the noise for the acceleration that gravity sensor detects less than the noise threshold, control described device enters power saving mould Formula.
Optionally, the gravity sensor unit 1202, is specifically used for, and detects the three-dimensional cartesian coordinate system of described device The acceleration on the acceleration and Z axis on acceleration, Y-axis in X-axis;First judging unit 1204 is specifically used for: judgement Acceleration and institute in the Y-axis of the acceleration in X-axis, the three-dimensional cartesian coordinate system that the gravity sensor unit detects State whether the acceleration on the Z axis of three-dimensional cartesian coordinate system is respectively 0,0, -9.8m/s2, if so, determine described device according to The screen unit is directed downwardly horizontal positioned.
Optionally, the gravity sensor unit 1202, is specifically used for, and detects the three-dimensional cartesian coordinate system of described device The acceleration on the acceleration and Z axis on acceleration, Y-axis in X-axis;First judging unit 1204 is specifically used for: judgement Acceleration and institute in the Y-axis of the acceleration in X-axis, the three-dimensional cartesian coordinate system that the gravity sensor unit detects State whether the acceleration on the Z axis of three-dimensional cartesian coordinate system is respectively 0,0, -9.8m/s2, if so, breaking adding in the X-axis Whether speed, the acceleration in the Y-axis and the acceleration on the Z axis remain 0 respectively within the first duration, 0 ,- 9.8m/s2, 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 institute State the back side of device.The pressure sensor unit, the stress at the back side for detecting described device;The gravity sensor list Member 1202, is specifically used for, and detects the acceleration in the X-axis of the three-dimensional cartesian coordinate system of described device and the three-dimensional right angle is sat Mark the acceleration in the Y-axis of system;First judging unit 1204 is specifically used for: judging that the pressure sensor unit detects Pressure whether be 0, and judge on the acceleration and Y-axis in the X-axis that the gravity sensor unit 1202 detects Acceleration whether be respectively 0,0;If it is judged that the pressure that the pressure sensor unit detects is 0;And judge It is respectively 0,0 that the gravity sensor, which detects the acceleration on acceleration and Y-axis in the X-axis,;Then determine that described device is pressed It is directed downwardly horizontal positioned according to the screen unit.
Optionally, device further include: infrared sensor unit 1208, the infrared sensor unit are anti-for detecting Penetrate energy and reflection wavelength;Gravity sensor unit 1202, is specifically used for, and detects the X of the three-dimensional cartesian coordinate system of described device Acceleration on axis and the acceleration in the Y-axis of the three-dimensional cartesian coordinate system;First judging unit 1204 is specifically used for: Judge 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 judge whether the acceleration on the acceleration and the Y-axis in the X-axis is respectively 0,0;If described Reflected energy is greater than the energy threshold, and the reflection wavelength correspond to wood or glass, and the acceleration in the X-axis with Acceleration in the Y-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 institute State mobile data network downloading data;WiFi unit 1210, for establishing connection with described access point, and under described access point Carry data;The first control unit 1204 is specifically used for, keep answer calling function operate normally, and execute with down toward Few one: if it is determined that presently described radio frequency unit 1209 not from the mobile data network downloading data, is penetrated described in disconnection The connection of frequency unit 1209 and the mobile data network;If it is determined that presently described radio frequency unit 1209 is not from the movement Data network downloading data closes the radio frequency unit 1209;If it is determined that presently described WiFi module 1210 does not download number According to disconnecting the connection of the WiFi module 1210 with described access point;With if it is determined that the WiFi module 1210 currently without Downloading data closes the WiFi module 1210.
Optionally, the second judgment unit 1205 is specifically used for, and judges that the gravity sensor unit continues second Whether the maximum acceleration noise detected in the time is lower than the noise threshold, if it is, stating gravity described in determining The noise for the acceleration that sensor unit detects is lower than the noise threshold;Or judge that the gravity sensor unit exists Whether the average value of all acceleration noises detected in the second duration is lower than the noise threshold, if so, The noise for the acceleration that gravity sensor unit detects is stated described in then determining lower than the noise threshold.
It should be noted that in one embodiment, embodiment before the screen unit 1201 in the present embodiment corresponds to Described in display panel 141 and touch panel 131, gravity described in embodiment before gravity sensor unit 1202 is corresponding Before sensor 150, the first judging unit 1204, second judgment unit 1205 and first control unit 1206 are corresponding in embodiment The processor 180 of description, pressure sensor 151 described in embodiment, infrared biography before pressure sensor unit 1207 is corresponding Infrared sensor described in embodiment before sensor cell is corresponding, RF described in embodiment before radio frequency unit 1209 is corresponding Circuit, WiFi module 170 described in embodiment before WiFi unit 1210 is corresponding.Modules are retouched in embodiment before It states and is also applied for the present embodiment, be 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 and acceleration of described device Noise;Described device is in normal mode;Described device further include: third judging unit 1304, for judging that described device is It is no directed downwardly horizontal positioned according to the screen unit;Second judgment unit 1205, for judging the gravity sensor unit Whether the noise of the acceleration detected is less than noise threshold;Second control unit 1306, for single in first judgement Member judges that described device does not judge institute according to the screen unit horizontal positioned or described second judgment unit directed downwardly When stating the noise for the acceleration that gravity sensor detects greater than the noise threshold, control described device exits power saving mould Formula.
Optionally, the gravity sensor unit 1207, is specifically used for, and detects the three-dimensional cartesian coordinate system of described device The acceleration on the acceleration and Z axis on acceleration, Y-axis in X-axis;The third judging unit 1304 is specifically used for: judgement Acceleration and institute in the Y-axis of the acceleration in X-axis, the three-dimensional cartesian coordinate system that the gravity sensor unit detects State whether the acceleration on the Z axis of three-dimensional cartesian coordinate system is respectively 0,0, -9.8m/s2, if not, determining that described device does not have It is 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, the stress at the back side for detecting described device;The gravity passes Sensor cell 1202, is specifically used for, and detects the acceleration in the X-axis of the three-dimensional cartesian coordinate system of described device and the three-dimensional Acceleration in the Y-axis of rectangular coordinate system;The third judging unit 1304 is specifically used for: judging the pressure sensor unit Whether the pressure detected is 0, and judges that the gravity sensor detects the acceleration on acceleration and Y-axis in the X-axis Whether degree is respectively 0,0;If it is judged that the pressure that the pressure sensor unit detects is greater than 0;Or judge described Gravity sensor detect the acceleration on acceleration and Y-axis in the X-axis at least one be not 0;Then determine described device It is directed downwardly not horizontal positioned according to the screen unit.
Optionally, described device further includes infrared sensor unit 1208, the infrared sensor unit 1208, for examining Survey reflected energy and reflection wavelength;Gravity sensor unit 1202, specifically for detecting the three-dimensional cartesian coordinate system of described device X-axis on acceleration and the three-dimensional cartesian coordinate system Y-axis on acceleration;The third judging unit 1304 is specifically used In: judge whether the reflected energy that the infrared sensor unit 1208 detects is greater than energy preset value, the reflection wavelength Wood or glass are whether corresponded to, 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, perhaps the reflection wavelength does not correspond to wood or glass or the X The acceleration on acceleration and the Y-axis on axis at least one be not 0, it is determined that described device is not according to the screen list Member is directed downwardly horizontal positioned.
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 and closes when battery saving mode At least part hardware module and at least part software function.
It should be noted that in one embodiment, embodiment before the screen unit 1201 in the present embodiment corresponds to Described in display panel 141 and touch panel 131, gravity described in embodiment before gravity sensor unit 1202 is corresponding Before sensor 150, third judging unit 1304, second judgment unit 1205 and the second control unit 1306 are corresponding in embodiment The processor 180 of description, pressure sensor 151 described in embodiment, infrared biography before pressure sensor unit 1207 is corresponding Infrared sensor described in embodiment before sensor cell is corresponding, RF described in embodiment before radio frequency unit 1209 is corresponding Circuit, WiFi module 170 described in embodiment before WiFi unit 1210 is corresponding.Modules are retouched in embodiment before It states and is also applied for the present embodiment, be not repeated herein.
Only present pre-ferred embodiments, therefore equivalent change made according to the claims of the present invention enumerated above Change, is still within the scope of the present invention.

Claims (42)

1. a kind of method into battery saving mode, applied to the mobile terminal with gravity sensor, which is characterized in that the side 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 gravity sensor detect plus The noise of speed 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 level for judging mobile terminal and whether being in face down The state of placement, comprising:
Acceleration in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal, described three are detected using the gravity sensor Tie up rectangular coordinate system Y-axis on acceleration and the three-dimensional cartesian coordinate system Z axis on acceleration whether be respectively 0,0 ,- 9.8m/s2
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 level for judging mobile terminal and whether being in face down The state of placement, comprising:
Acceleration in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal, described three are detected using the gravity sensor Tie up rectangular coordinate system Y-axis on acceleration and the three-dimensional cartesian coordinate system Z axis on acceleration whether be respectively 0,0 ,- 9.8m/s2
If so, judging the acceleration in the X-axis, the acceleration in the Y-axis and the acceleration on the Z axis whether 0,0, -9.8m/s are remained in one duration respectively2, if it is, determining that the mobile terminal is in the water of face down The state of placing flat.
4. the method as described in claim 1, which is characterized in that the mobile terminal further includes the multiple pressure of distribution overleaf Sensor;
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;
The acceleration in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal and described three are detected using the gravity sensor Tie up whether the acceleration in the Y-axis of rectangular coordinate system 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 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 mobile terminal front Infrared sensor;
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;
The acceleration in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal and described three are detected using the gravity sensor Tie up whether the acceleration in the Y-axis of rectangular coordinate system is respectively 0,0;
If the reflected energy is greater than the energy preset value, the reflection wavelength corresponds to wood or glass, and the X-axis On acceleration and the Y-axis on acceleration be 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 it is that the gravity sensor detects plus Whether the noise of speed is less than noise threshold, comprising:
Judge whether the maximum acceleration noise that the gravity sensor detects within the second duration is lower than described make an uproar Glottis limit value, if it is, determining the noise for the acceleration that the gravity sensor detects lower than the noise threshold;Or Person
Judge whether the average value for all acceleration noises that the gravity sensor detects within the second duration is low In the noise threshold, if it is, determining the noise for the acceleration that the gravity sensor detects lower than the noise Threshold value.
7. method as claimed in claim 6, which is characterized in that the noise threshold be G0, wherein 0.0038g < G0 < 0.01g, 1g=9.8 meter per second2
8. the method as described in claim 1 one, the mobile terminal enter battery saving mode, the function including keeping answering calling Can operate normally, further include it is following at least one:
If it is determined that currently without the radio circuit and the shifting that from mobile data network downloading data, disconnect the mobile terminal The connection of dynamic data network;
If it is determined that currently without from the mobile data network downloading data, closing is penetrated with what the mobile data network was connect Frequency circuit;
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 kind of method for exiting battery saving mode, 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 gravity sensor detects is less than noise threshold;
If the mobile terminal is not on the horizontal positioned state of face down, and the gravity sensor detects The noise of the acceleration arrived is greater than the noise threshold, and the mobile terminal exits the battery saving mode;
It is described mobile whole or if the noise for the acceleration that the gravity sensor detects is greater than the noise threshold The battery saving mode is exited at end.
10. method as claimed in claim 9, which is characterized in that the water for judging mobile terminal and whether being in face down The state of placing flat, comprising:
Acceleration in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal, described three are detected using the gravity sensor Tie up rectangular coordinate system Y-axis on acceleration and the three-dimensional cartesian coordinate system Z axis on acceleration whether be 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.
11. method as claimed in claim 9, which is characterized in that the mobile terminal further includes being distributed in the mobile terminal Multiple pressure sensors at the 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;
The acceleration in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal and described three are detected using the gravity sensor Tie up whether the acceleration in the Y-axis of rectangular coordinate system is respectively 0,0;
If the pressure that the multiple pressure sensor detects is greater than in the acceleration in 0 or the X-axis and Y-axis at least Having one is not 0, 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 mobile terminal just The infrared sensor in face;
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. method as claimed in claim 9, which is characterized in that the mobile terminal exits battery saving mode, comprising: open institute It states mobile terminal and enters 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 sensitive Device 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 gate Limit value;
First control unit, for judging the horizontal positioned of described device face down in first judging unit, and The second judgment unit judges that the noise for the acceleration that the gravity sensor unit detects is less than the noise gate When value, 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 acceleration, Y in the X-axis of the three-dimensional cartesian coordinate system of described device The acceleration on acceleration and Z axis on axis;
First judging unit 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 be 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 acceleration, Y in the X-axis of the three-dimensional cartesian coordinate system of described device The acceleration on acceleration and Z axis on axis;
First judging unit 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 be respectively 0, 0、-9.8m/s2, if so, judging the acceleration in the X-axis, the acceleration in the Y-axis and the acceleration on the Z axis Whether 0,0, -9.8m/s are remained respectively within the first duration2, if it is, determining that described device is in face down Horizontal positioned state.
18. device as claimed in claim 15, which is characterized in that described device further includes, positioned at the more of the described device back side A pressure sensor unit, 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 X-axis of the three-dimensional cartesian coordinate system of described device, With the acceleration in the Y-axis of the three-dimensional cartesian coordinate system;
First judging unit is specifically used for: judging whether the pressure that the pressure sensor unit detects is 0, and sentences Whether the acceleration on acceleration and Y-axis to break in the X-axis that the gravity sensor unit detects is respectively 0,0;Such as Fruit judges that the pressure that the pressure sensor unit detects is 0;And judge gravity sensor unit detection institute Stating the acceleration on acceleration and Y-axis in 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 that it is positive red to be located at described device Outer sensor unit, the infrared sensor unit, for detecting reflected energy and reflection wavelength;
The gravity sensor unit, is specifically used for, and detects the acceleration on the X axis of the three-dimensional cartesian coordinate system of described device With the acceleration in the Y-axis of the three-dimensional cartesian coordinate system;
First judging unit is specifically used for: judging that the reflected energy that the infrared sensor unit detects is greater than energy door Whether limit value, the reflection wavelength correspond to wood or glass, and judge adding on the acceleration and the Y-axis in the X-axis Whether speed is respectively 0,0;If the reflected energy is greater than the energy threshold, the reflection wavelength corresponds to wood or glass 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 It is horizontal positioned.
20. such as the described in any item devices of claim 15 to 19, which is characterized in that the second judgment unit is specifically used for, Judge whether the maximum acceleration noise that the gravity sensor unit detects within the second duration is lower than described make an uproar Glottis limit value, if it is, determining the noise for the acceleration that the gravity sensor unit detects lower than the noise gate Value;Or
Judging the average value for all acceleration noises that the gravity sensor unit detects within the second duration is It is no to be lower than the noise threshold, if it is, determining that the noise for the acceleration that the gravity sensor unit detects is lower than The noise threshold.
21. device as claimed in claim 20, which is characterized in that the noise threshold be G0, wherein 0.0038g < G0 < 0.01g, wherein 1g=9.8 meter per second2
22. device as claimed in claim 15, which is characterized in that
Described device further includes radio frequency unit, for establishing connection with mobile data network, and under the mobile data network Carry data;With WiFi unit, for establishing connection with 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 not from the mobile data network downloading data, disconnect the radio frequency unit with The connection of the mobile data network;
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 connection of the WiFi module and described access point is disconnected;With
If it is determined that presently described WiFi module has downloading data, the WiFi module is closed.
23. a kind of device for exiting battery saving mode, described device includes: screen unit: for showing user interface;Gravity sensitive Device 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 gate Limit value;
Second control unit, for judging that described device does not have the horizontal positioned of face down in the third judging unit, Judge that the noise for the acceleration that the gravity sensor unit detects is greater than the Noise gate with the second judgment unit When limit value, control described device exits battery saving mode;
Or the second judgment unit judges that the noise for the acceleration that the gravity sensor unit detects is greater than described make an uproar When glottis limit value, control described device exits battery saving mode.
24. device as claimed in claim 23, which is characterized in that the gravity sensor unit is specifically used for, described in detection The acceleration on the acceleration and Z axis on acceleration, Y-axis in the X-axis of the three-dimensional cartesian coordinate system of device;
The third judging unit 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 be 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, positioned at the more of the described device back side A pressure sensor unit, 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 X-axis of the three-dimensional cartesian coordinate system of described device, With the acceleration in the Y-axis of the three-dimensional cartesian coordinate system;
The third judging unit is specifically used for: judging whether the pressure that the pressure sensor unit detects is 0, and sentences The gravity sensor unit that breaks detects whether the acceleration on acceleration and Y-axis in the X-axis is respectively 0,0;If sentenced The pressure that the pressure sensor unit detects disconnected out is greater than 0;Or judge described in the gravity sensor unit detection At least one of the acceleration on acceleration and Y-axis in X-axis is not 0;Then determine that described device does not have the level of face down It places.
26. device as claimed in claim 23, which is characterized in that described device further includes that it is positive red to be located at described device Outer sensor unit, the infrared sensor unit, for detecting reflected energy and reflection wavelength;
The gravity sensor unit, is specifically used for, detect acceleration in the X-axis of the three-dimensional cartesian coordinate system of described device and Acceleration in the Y-axis of the three-dimensional cartesian coordinate system;
The third judging unit is specifically used for: judging whether the reflected energy that the infrared sensor unit detects is greater than energy Threshold value is measured, whether the reflection wavelength corresponds to wood or glass, and judges on the acceleration and the Y-axis in the X-axis Acceleration whether be respectively 0,0;If the reflected energy is less than the energy threshold or the reflection wavelength is not right Answering 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 the horizontal positioned of face down.
27. such as the described in any item devices of 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 claimed in claim 23, which is characterized in that second control unit is specifically used for, and opens the dress Set at least part hardware module and at least part software function closed when entering battery saving mode.
29. a kind of mobile terminal, including, screen, for showing user interface;Gravity sensor, it is described mobile whole for detecting The acceleration of gravity at end 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 the gravity Whether the noise for the acceleration that sensor detects is less than noise threshold;If the mobile terminal is in the water of face down The state of placing flat, and the noise of acceleration that the gravity sensor detects is less than the noise threshold, controls institute It states mobile terminal and enters battery saving mode from normal mode.
30. mobile terminal as claimed in claim 29, which is characterized in that the gravity sensor is specifically used for, described in detection Acceleration in the X-axis of the three-dimensional cartesian coordinate system of mobile terminal, the acceleration in the Y-axis of the three-dimensional cartesian coordinate system and institute State the acceleration on the Z axis of three-dimensional cartesian coordinate system;
The processor, is specifically used for, and judges acceleration in the X-axis that the gravity sensor detects, in the Y-axis Acceleration and the Z axis on acceleration whether be respectively 0,0, -9.8m/s2, if it is, determining the mobile terminal Horizontal positioned state in face down.
31. mobile terminal as claimed in claim 29, which is characterized in that the gravity sensor is specifically used for, described in detection Acceleration in the X-axis of the three-dimensional cartesian coordinate system of mobile terminal, the acceleration in the Y-axis of the three-dimensional cartesian coordinate system and institute State the acceleration on the Z axis of three-dimensional cartesian coordinate system;
The processor, is specifically used for, and judges acceleration in the X-axis that the gravity sensor detects, in the Y-axis Acceleration and the Z axis on acceleration whether be respectively 0,0, -9.8m/s2,
If so, judging the acceleration in the X-axis, the acceleration in the Y-axis and the acceleration on the Z axis whether 0,0, -9.8m/s are remained in one duration respectively2, if it is, determining that the mobile terminal is in the water of face down The state of placing flat.
32. mobile terminal as claimed in claim 29, which is characterized in that the mobile terminal further include: be distributed in the shifting Multiple pressure sensors at the dynamic terminal back side, the pressure sensor are used to detect the stress at the back side of the mobile terminal;
The gravity sensor is specifically used for, detect acceleration in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal and Acceleration in the Y-axis of the three-dimensional cartesian coordinate system;
The processor, is specifically used for, and judges whether the pressure that multiple pressure sensors detect is 0, and judge X-axis On acceleration and the three-dimensional cartesian coordinate system Y-axis on acceleration whether be respectively 0,0;If multiple pressure pass The pressure that sensor detects is 0, and the acceleration on the acceleration and Y-axis of the X-axis is respectively 0,0, it is determined that the shifting The horizontal positioned state of face down at dynamic terminal.
33. mobile terminal as claimed in claim 29, which is characterized in that the mobile terminal further include: be located in the shifting The infrared sensor of dynamic terminal front side;The infrared sensor is for detecting reflected energy and reflection wavelength;
The gravity sensor is specifically used for, detect acceleration in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal and Acceleration in the Y-axis of the three-dimensional cartesian coordinate system;
The processor, is specifically used for, and judges whether the albedo is greater than energy threshold, judges the reflection wavelength pair Wood or glass are answered, judges that the acceleration on the acceleration in the X-axis and the Y-axis is respectively 0,0;If the reflection energy Amount is greater than the energy threshold, and the reflection wavelength corresponds to wood or glass, and acceleration and the Y in the X-axis Acceleration on 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, which is characterized in that the processor is specifically used for, sentences Whether the maximum acceleration noise that the gravity sensor that breaks detects within the second duration is lower than the noise gate Value, if it is, determining the noise for the acceleration that the gravity sensor detects 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 low In the noise threshold, if it is, determining the noise for the acceleration that the gravity sensor detects lower than the noise Threshold value.
35. mobile terminal as claimed in claim 34, which is characterized in that the noise threshold be G0, wherein 0.0038g < G0 < 0.01g, wherein 1g=9.8 meter per second2
36. mobile terminal as claimed in claim 29, 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 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 it is disconnected to control the radio circuit not from the mobile data network downloading data for presently described radio circuit Open the connection with the mobile data network;
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 company of the WiFi module disconnection and described access point is controlled It connects;
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, it is described mobile whole for detecting The acceleration of gravity at end 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 the gravity Whether the noise for the acceleration that sensor detects is less than noise threshold;If the mobile terminal is not on face down Horizontal positioned state and the noise of acceleration that detects of the gravity sensor be greater than the noise threshold, control Mobile terminal exits the battery saving mode;Alternatively, if the noise for the acceleration that the gravity sensor detects is greater than described Noise threshold, control mobile terminal exit the battery saving mode.
38. mobile terminal as claimed in claim 37, which is characterized in that the gravity sensor is specifically used for, described in detection Acceleration in the X-axis of the three-dimensional cartesian coordinate system of mobile terminal, the acceleration in the Y-axis of the three-dimensional cartesian coordinate system and institute State the acceleration on the Z axis of three-dimensional cartesian coordinate system;
The processor, is specifically used for, and judges acceleration in the X-axis that the gravity sensor detects, in the Y-axis Acceleration and the Z axis on acceleration whether be respectively 0,0, -9.8m/s2, if it is not, then determining the mobile terminal It 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 the shifting Multiple pressure sensors at the dynamic terminal back side, the pressure sensor are used to detect the stress at the back side of the mobile terminal;
The gravity sensor is specifically used for, detect acceleration in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal and Acceleration in the Y-axis of the three-dimensional cartesian coordinate system;
The processor, is specifically used for, and judges whether the pressure that multiple pressure sensors detect is 0, and judge X-axis On acceleration and the three-dimensional cartesian coordinate system Y-axis on acceleration whether be respectively 0,0;If multiple pressure pass At least one is not 0 to acceleration of the pressure that sensor detects greater than 0 or on the acceleration and Y-axis of the X-axis, then really The fixed 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 shifting The infrared sensor of dynamic terminal front side;The infrared sensor is for detecting reflected energy and reflection wavelength;
The gravity sensor is specifically used for, detect acceleration in the X-axis of the three-dimensional cartesian coordinate system of the mobile terminal and Acceleration in the Y-axis of the three-dimensional cartesian coordinate system;
The processor, is specifically used for, and judges whether the albedo is greater than energy threshold, judges the reflection wavelength pair Wood or glass are answered, judges that the acceleration on the acceleration in the X-axis and the Y-axis is respectively 0,0;If the reflection energy Amount be less than the energy threshold perhaps the reflection wavelength not correspond to acceleration in wood or glass or the X-axis with Acceleration in the Y-axis at least one be not 0;Then determine that the mobile terminal is not on the horizontal positioned of face down State.
41. mobile terminal as claimed in claim 40, which is characterized in that the noise threshold be G0, wherein 0.0038g < G0 < 0.01g, wherein 1g=9.8 meter per second2
42. mobile terminal as claimed in claim 37, the processor is also used to, and is opened the mobile terminal and is entered power saving mould At least part hardware module and at least part software function closed when formula.
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 CN107438999A (en) 2017-12-05
CN107438999B true 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)

Families Citing this family (6)

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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200726194A (en) * 2005-12-23 2007-07-01 Kinpo Elect Inc Power-saving device of a global positioning system (GPS)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN107438999A (en) 2017-12-05
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
CN103389863B (en) A kind of display control method and device
CN107404572A (en) A kind of charge prompting method and terminal
CN109643203A (en) A kind of double screen terminal lights the method and terminal of screen
WO2018187940A1 (en) Message acquisition method and apparatus
EP3240268B1 (en) Terminal control method and terminal
CN105530239B (en) Multi-medium data acquisition methods and device
CN103312597B (en) A kind of speech message generation method and device
CN108366170A (en) Display control method and device, terminal, computer readable storage medium
WO2019183772A1 (en) Fingerprint unlocking method, and terminal
CN108762814A (en) Bright screen method and relevant device
CN109669662A (en) A kind of pronunciation inputting method, device, storage medium and mobile terminal
CN107291280A (en) A kind of method of adjustment of sensitivity of touch screen, device and terminal device
CN109565171A (en) Charge protection method, terminal and charger
CN108712563B (en) Call control method and device and mobile terminal
CN107426439A (en) Screen starts method, device and mobile terminal
US20140372930A1 (en) Method and device for displaying a list view through a sliding operation
CN107528958B (en) Method for controlling mobile terminal, device, readable storage medium storing program for executing and mobile terminal
JP6974620B2 (en) Notification message processing method and terminal
CN108040492A (en) A kind of data copy method and user terminal
CN108632469A (en) The position indicating method and mobile terminal of mobile terminal
CN106934003B (en) File processing method and mobile terminal
CN110719361B (en) Information transmission method, mobile terminal and storage medium
CN108319407A (en) A kind of recent task display method and mobile terminal
CN108153652A (en) A kind of progress display methods and 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