CN109194834B - Mobile phone power saving method, device, equipment and storage medium - Google Patents

Mobile phone power saving method, device, equipment and storage medium Download PDF

Info

Publication number
CN109194834B
CN109194834B CN201811131500.3A CN201811131500A CN109194834B CN 109194834 B CN109194834 B CN 109194834B CN 201811131500 A CN201811131500 A CN 201811131500A CN 109194834 B CN109194834 B CN 109194834B
Authority
CN
China
Prior art keywords
mobile phone
screen
state
analysis data
axis
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
CN201811131500.3A
Other languages
Chinese (zh)
Other versions
CN109194834A (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.)
Chongqing Huiye Communication Technology Co.,Ltd.
Original Assignee
Chongqing Huiye Iot Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Huiye Iot Technology Co ltd filed Critical Chongqing Huiye Iot Technology Co ltd
Priority to CN201811131500.3A priority Critical patent/CN109194834B/en
Publication of CN109194834A publication Critical patent/CN109194834A/en
Application granted granted Critical
Publication of CN109194834B publication Critical patent/CN109194834B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The embodiment of the invention discloses a method, a device, equipment and a storage medium for saving electricity of a mobile phone, wherein the method comprises the following steps: when the mobile phone is in a screen-off and screen-unlocked mode and the intelligent lock is in a starting state, acquiring analysis data for analyzing the current state of the mobile phone through a sensor; and if the mobile phone is determined to be in the first state currently according to the analysis data, keeping the mobile phone in a screen-off and screen-locking mode, wherein the mobile phone in the screen-off and screen-locking mode does not need to pass identity authentication when entering a working mode. The technical problem that the power supply time of a mobile phone battery is shortened due to the fact that frequent face brushing and unlocking are needed in an existing mobile phone is solved, and the technical effect of prolonging the power supply time of the mobile phone battery is achieved.

Description

Mobile phone power saving method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the field of mobile phones, in particular to a mobile phone power saving method, device, equipment and storage medium.
Background
With the requirements of people on the appearance, the application speed and the safety of the mobile phone, the aspect ratio of the screen of the existing mobile phone is basically 18:9 or 19:9, and the memory of the mobile phone is usually not lower than 64G + 4G. The mobile phone unlocking method is characterized in that 64G is a Read Only Memory (ROM), 4G is a Random Access Memory (RAM), and the traditional password unlocking mode is gradually changed into face refreshing unlocking mode. The face brushing unlocking needs to collect the current facial image of a user, and the facial image is compared with the facial image during registration through a large amount of calculation, and due to the fact that high-speed operation of a memory and power consumption of camera shooting are large, in addition, frequent face brushing unlocking is needed for a mobile phone, the power supply time of a mobile phone battery is usually not more than one day. Because the power supply time of the mobile phone battery is short, the mobile phone battery needs to be charged frequently, and the standby time and the service life of the battery are reduced due to frequent charging and discharging of the battery.
In summary, the conventional mobile phone needs frequent face brushing and unlocking, so that the power supply time of the mobile phone battery is reduced.
Disclosure of Invention
The embodiment of the invention provides a mobile phone power saving method, a mobile phone power saving device, mobile phone power saving equipment and a storage medium, and solves the technical problem that the power supply time of a mobile phone battery is reduced due to frequent face brushing and unlocking of a mobile phone in the prior art so as to prolong the power supply time of the mobile phone battery.
In a first aspect, an embodiment of the present invention provides a method for saving power for a mobile phone, including:
when the mobile phone is in a screen-off and screen-unlocked mode and the intelligent lock is in a starting state, acquiring analysis data for analyzing the current state of the mobile phone through a sensor;
and if the mobile phone is determined to be in the first state currently according to the analysis data, keeping the mobile phone in a screen-off and screen-locking mode, wherein the mobile phone in the screen-off and screen-locking mode does not need to pass identity authentication when entering a working mode.
Further, the determining that the mobile phone is currently in the first state according to the analysis data includes:
and if the distance parameter acquired by the distance sensor is larger than 2cm, the position variation of the x axis and the position variation of the y axis acquired by the gravity sensor are both larger than 1cm, and the position variation of the z axis is smaller than 9.5cm, determining that the mobile phone is in the first state.
Further, when the mobile phone is in the screen-off and screen-unlocked mode and the intelligent lock is in the starting state, after the analysis data for analyzing the current state of the mobile phone is acquired through the sensor, the method further comprises:
and if the mobile phone is determined to be in the second state currently according to the analysis data, enabling the mobile phone to enter a screen locking mode, wherein the mobile phone in the screen locking mode needs to pass identity authentication when entering a working mode.
Further, the analyzing data includes distance parameters obtained by a distance sensor and position variation amounts of the mobile phone in an x axis, a y axis and a z axis obtained by a gravity sensor, and the determining that the mobile phone is currently in the second state according to the analyzing data includes:
and if the distance parameter acquired by the distance sensor is less than 2cm or the distance parameter is greater than 2cm, the position variation of the z axis acquired by the gravity sensor is between 9.5cm and 9.8cm, the position variation of the x axis and the position variation of the y axis are both less than 1cm and are kept for 20s, determining that the mobile phone is in the second state.
Further, the mobile phone in the screen locking mode needs to pass identity authentication when entering the working mode, including:
when the mobile phone in the screen locking mode enters the working mode, the identity of the mobile phone needs to be verified by swiping the face.
Further, the face brushing authentication comprises:
acquiring a current facial image of a user through a camera;
comparing the current face image with the registered face image;
if the face comparison is successful, passing the identity authentication;
and if the face comparison fails, the identity authentication is not passed.
Further, before the mobile phone is in the screen-off and screen-unlocked mode and the intelligent lock is in the starting state, the method further includes the following steps:
and acquiring a power saving instruction from a user, and automatically starting the intelligent lock according to the power saving instruction.
In a second aspect, an embodiment of the present invention further provides a mobile phone unlocking device, including:
the analysis data acquisition module is used for acquiring analysis data for analyzing the current state of the mobile phone through the sensor when the mobile phone is in a screen-off and screen-unlocked mode and the intelligent lock is in a starting state;
and the first state module is used for keeping the mobile phone in a screen-off and screen-locking mode if the mobile phone is determined to be in the first state currently according to the analysis data, wherein the mobile phone in the screen-off and screen-locking mode does not need to pass identity authentication when entering a working mode.
In a third aspect, an embodiment of the present invention further provides a mobile phone device, where the mobile phone device includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method for saving power in a handset as described in the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a mobile phone device, where the mobile phone device includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method for saving power in a handset as described in the first aspect.
The technical scheme of the mobile phone power saving method provided by the embodiment of the invention comprises the steps of acquiring analysis data for analyzing the current state of the mobile phone through a sensor when the mobile phone is in a screen-off and screen-unlocked mode and the intelligent lock is in a starting state; and if the mobile phone is determined to be in the first state currently according to the analysis data, keeping the mobile phone in a screen-off and screen-locking mode, wherein the mobile phone in the screen-off and screen-locking mode does not need to pass identity authentication when entering a working mode. The current state of the mobile phone is determined through the analysis data acquired by the sensor, and when the mobile phone is in the first state, the mobile phone is in a high-frequency use state, the mobile phone is kept in a screen-off and screen-unlocking mode, so that the mobile phone can enter a working mode only by lightening the screen through a power key without unlocking by brushing the face, the frequency of unlocking by brushing the face is reduced, the power consumption of the mobile phone is reduced, and the power supply time of a mobile phone battery is prolonged.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a power saving method for a mobile phone according to an embodiment of the present invention;
fig. 2 is a flowchart of a mobile phone power saving method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a mobile phone power saving device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mobile phone device according to a fourth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described through embodiments with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Fig. 1 is a flowchart of a power saving method for a mobile phone according to an embodiment of the present invention. The technical scheme of the embodiment is suitable for reducing the power consumption of the mobile phone by reducing the locking and unlocking frequency of the mobile phone. The method can be executed by the mobile phone power saving device provided by the embodiment of the invention, and the device can be realized in a software and/or hardware mode and is configured to be applied in a processor. The method specifically comprises the following steps:
s101, when the mobile phone is in a screen-off and screen-unlocked mode and the intelligent lock is started, analysis data for analyzing the current state of the mobile phone is obtained through a sensor.
Under the condition that the power supply quantity of a mobile phone battery is certain, the power consumption of the mobile phone needs to be reduced if the power supply time of the battery needs to be prolonged, the application of the mobile phone needs to be optimized if the power consumption of the mobile phone needs to be reduced, and in consideration of the fact that a large number of existing mobile phones need to be unlocked through a high-power-consumption face brushing mode, the frequency of unlocking the mobile phone face brushing mode is reduced by optimizing the locking mode of the mobile phone, so that the power consumption of the mobile phone is reduced, and the.
The smart lock usually needs to be manually set by a user in the setting of the mobile phone, in order to improve the convenience of using the mobile phone, the embodiment can also obtain the power-saving indication of the user, and then automatically start the smart lock according to the power-saving indication, and the power-saving indication can be directly obtained through voice, for example, if the user speaks a power-saving mode to the mobile phone, the mobile phone automatically starts the smart lock. If the smart lock is in the unlocked state, the flag bit is 1, and if the smart lock is in the locked state, the flag bit is 0, so that the state of the smart lock can be judged by detecting the flag bit of the smart lock, and if the mobile phone is in the screen-off and screen-unlocked mode and the flag bit of the smart lock is 1, analysis data for analyzing the current state of the mobile phone can be acquired through the sensor. The analysis data comprises a distance parameter of the mobile phone obtained through a distance sensor and a position variation of the mobile phone on a space coordinate axis obtained through a gravity sensor, wherein the position variation is a position difference between the next moment and the previous moment within a preset time.
It will be appreciated that the frequency of use of a cell phone is typically higher when the cell phone is in a user's hand and lower when the cell phone is in a pocket, bag or desk. Therefore, in order to reduce the frequency of face-brushing unlocking without affecting the normal use of the mobile phone, the embodiment first determines, through the aforementioned analysis data, whether the mobile phone is currently located in the hand of the user, that is, in the first state of using high frequency, or located in a pocket, a bag, or a desktop, that is, in the second state of using low frequency, and then determines the mode of the mobile phone according to the state where the mobile phone is located.
The distance parameter is generally used to indicate the distance between the mobile phone and the surrounding objects, and it can be understood that if the distance parameter is small enough, the mobile phone is usually located in a pocket or in a bag, and the frequency of using the mobile phone is usually low.
S102, if the mobile phone is determined to be in the first state currently according to the analysis data, the mobile phone is kept in a screen-off and screen-locking mode, wherein the mobile phone in the screen-off and screen-locking mode does not need to pass identity authentication when entering a working mode.
In order to reduce the power consumption of a mobile phone screen and prevent information leakage, and meanwhile, the normal use of the mobile phone is not affected, if the distance parameter acquired by the distance sensor is greater than 2cm, the position variation of an x axis and a y axis acquired by the gravity sensor is greater than 1cm, and the position variation of a z axis is less than 9.5cm, the mobile phone is determined to be located in the hand of a user, namely the mobile phone is in a first state of using high frequency, and at the moment, the mobile phone is kept in a screen-off and screen-unlocking mode. When the mobile phone enters a working mode from a screen-off and screen-locking mode, the mobile phone screen is only required to be lightened through a power key without passing through identity verification, so that the frequency of locking and unlocking the mobile phone by brushing the face is reduced, the power consumption of the battery is reduced, and the service life of the battery is prolonged.
The technical scheme of the mobile phone power saving method provided by the embodiment comprises the steps that when the mobile phone is in a screen-off and screen-unlocked mode and an intelligent lock is started, analysis data for analyzing the current state of the mobile phone is obtained through a sensor; and if the mobile phone is determined to be in the first state currently according to the analysis data, keeping the mobile phone in a screen-off and screen-locking mode, wherein the mobile phone in the screen-off and screen-locking mode does not need to pass identity authentication when entering a working mode. The current state of the mobile phone is determined through the analysis data acquired by the sensor, and when the mobile phone is in the first state, the mobile phone is in a high-frequency use state, the mobile phone is kept in a screen-off and screen-unlocking mode, so that the mobile phone can enter a working mode only by lightening the screen through a power key without unlocking by brushing the face, the frequency of unlocking by brushing the face is reduced, the power consumption of the mobile phone is reduced, and the power supply time of a mobile phone battery is prolonged.
Example two
Fig. 2 is a flowchart of a power saving method for a mobile phone according to a second embodiment of the present invention. On the basis of the embodiment, the embodiment of the invention adds the steps of determining the second state of the mobile phone and locking the screen of the mobile phone in the second state, and comprises the following steps:
s201, when the mobile phone is in a screen-off and screen-unlocked mode and the intelligent lock is started, analysis data for analyzing the current state of the mobile phone is obtained through the sensor.
S202, if the mobile phone is determined to be in the first state currently according to the analysis data, the mobile phone is kept in a screen-off and screen-locking mode, wherein the mobile phone in the screen-off and screen-locking mode does not need to pass identity authentication when entering a working mode.
S203, if the mobile phone is determined to be in the second state currently according to the analysis data, enabling the mobile phone to enter a screen locking mode, wherein the mobile phone in the screen locking mode needs to pass identity verification when entering a working mode.
As can be seen from the foregoing embodiments, when the usage frequency of the mobile phone is low, the mobile phone is usually located at a position such as a pocket, a bag, or a desk, and when the mobile phone is located at a position such as a desk, the mobile phone is easily touched by others, so to improve the security of the mobile phone, the present embodiment locks the screen of the mobile phone in a low usage state, including: and if the mobile phone is determined to be in the second state currently according to the analysis data, enabling the mobile phone to enter a screen locking mode, wherein the mobile phone in the screen locking mode needs to pass identity authentication when entering the working mode.
Specifically, if the distance parameter acquired by the distance sensor is less than 2cm, it is determined that the mobile phone is located in a pocket or a bag, that is, the mobile phone is in the second state using low frequency, if the distance parameter is greater than 2cm, and meanwhile, the position variation of the z axis acquired by the gravity sensor is between 9.5cm and 9.8cm, and both the position variation of the x axis and the position variation of the y axis are less than 1cm and are kept for 20s, it is determined that the mobile phone is located on a desktop or the like, that is, the mobile phone is in the second state using low frequency, and when it is determined that the mobile phone is in the second state, the mobile phone is enabled to enter a screen locking mode to ensure the safety of mobile phone. When the mobile phone is in the screen locking mode, if the mobile phone is to enter the working mode, the screen needs to be lightened through the power key, and then the mobile phone can enter the working mode through the authentication. It should be noted that the distance parameter and the position variation amount in the present embodiment are preferably, but not limited to, the above ranges.
The identity authentication mode can be password identity authentication or face brushing identity authentication, and it can be understood that if the identity authentication mode is face brushing identity authentication, the power saving effect of the embodiment of the invention is more obvious.
Wherein, brush face and verify the identity include: acquiring a current facial image of a user through a camera; comparing the current face image with the registered face image; if the face comparison is successful, entering a working mode of the mobile phone through identity authentication; if the face comparison fails, the identity authentication is not passed, and the working mode of the mobile phone cannot be entered. Before the face comparison, the acquired photos are previewed, face recognition is carried out on the acquired photos, whether the acquired photos have faces or not is judged, and the photos with the faces and the photos during registration are subjected to face comparison in sequence. In general, a camera can acquire about 16 images at one time, if the acquired images have no human face, human face comparison fails, a mobile phone can automatically determine whether camera resources exist, and at the moment, if unlocking is to be continued, face brushing authentication needs to be performed again.
According to the technical scheme of the mobile phone power saving method, whether the mobile phone is in the second state of low frequency usage is determined, and if the mobile phone is in the second state, the mobile phone is locked.
EXAMPLE III
Fig. 4 is a block diagram of a power saving device of a mobile phone according to a third embodiment of the present invention. The device is used for executing the mobile phone power saving method provided by any embodiment, and the device can be implemented by software or hardware. The device includes:
the analysis data acquisition module 11 is used for acquiring analysis data for analyzing the current state of the mobile phone through the sensor when the mobile phone is in a screen-off and screen-unlocked mode and the intelligent lock is in a starting state;
and the first state module 12 is configured to, if it is determined that the mobile phone is currently in the first state according to the analysis data, keep the mobile phone in a screen-off and screen-lock-free mode, where the mobile phone in the screen-off and screen-lock-free mode does not need to pass identity authentication when entering a working mode.
Preferably, the embodiment further includes a second state module 13, where the second state module 13 is configured to, if it is determined that the mobile phone is currently in the second state according to the analysis data, enable the mobile phone to enter a screen locking mode, where the mobile phone in the screen locking mode needs to pass identity authentication when entering the working mode.
The technical scheme of the mobile phone power saving device provided by the embodiment comprises the following steps: the analysis data acquisition module is used for acquiring analysis data for analyzing the current state of the mobile phone through the sensor when the mobile phone is in a screen-off and screen-unlocked mode and the intelligent lock is in a starting state; the first state module is used for keeping the mobile phone in a screen-off and screen-locking mode if the mobile phone is determined to be in the first state currently according to the analysis data, wherein the mobile phone in the screen-off and screen-locking mode does not need to pass identity authentication when entering a working mode. The current state of the mobile phone is determined through the analysis data acquired by the sensor, and when the mobile phone is in the first state, the mobile phone is in a high-frequency use state, the mobile phone is kept in a screen-off and screen-unlocking mode, so that the mobile phone can enter a working mode only by lightening the screen through a power key without unlocking by brushing the face, the frequency of unlocking by brushing the face is reduced, the power consumption of the mobile phone is reduced, and the power supply time of a mobile phone battery is prolonged.
The mobile phone power saving device provided by the embodiment of the invention can execute the mobile phone power saving method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 4 is a schematic structural diagram of a mobile phone apparatus according to a fourth embodiment of the present invention, as shown in fig. 4, the mobile phone apparatus includes a processor 101, a memory 102, an input device 103, and an output device 104; the number of the processors 101 in the mobile phone device may be one or more, and one processor 101 is taken as an example in fig. 4; the processor 101, the memory 102, the input device 103 and the output device 104 in the mobile phone device may be connected by a bus or other means, and fig. 4 illustrates the connection by the bus as an example.
The memory 102 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules (e.g., the analysis data acquisition module 11 and the first status module 12) corresponding to the mobile phone power saving method in the embodiment of the present invention. The processor 101 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 102, that is, implements the above-described power saving method of the mobile phone.
The memory 102 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 102 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 102 may further include memory located remotely from the processor 101, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 103 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function controls of the apparatus.
The output device 104 may include a display device such as a display screen, for example, of a user terminal.
EXAMPLE five
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the computer-executable instructions are executed by a computer processor to perform a method for saving power by a mobile phone, the method is applied to a bluetooth speaker of an access control system, and the access control system includes an access control host, an indoor extension and a bluetooth speaker, and includes:
when the mobile phone is in a screen-off and screen-unlocked mode and the intelligent lock is in a starting state, acquiring analysis data for analyzing the current state of the mobile phone through a sensor;
and if the mobile phone is determined to be in the first state currently according to the analysis data, keeping the mobile phone in a screen-off and screen-locking mode, wherein the mobile phone in the screen-off and screen-locking mode does not need to pass identity authentication when entering a working mode.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the power saving method for a mobile phone provided by any embodiments of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute the method for saving power of a mobile phone according to the embodiments of the present invention.
It should be noted that, in the embodiment of the mobile phone power saving device, each included unit and module are only divided according to functional logic, but are not limited to the above division, as long as the corresponding function can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (7)

1. A method for saving power of a mobile phone is characterized by comprising the following steps:
when the mobile phone is in a screen-off and screen-unlocked mode and the intelligent lock is in a starting state, acquiring analysis data for analyzing the current state of the mobile phone through a sensor; the analysis data comprises distance parameters acquired by a distance sensor and position variation of the mobile phone on an x axis, a y axis and a z axis acquired by a gravity sensor;
if the mobile phone is determined to be in the first state currently according to the analysis data, keeping the mobile phone in a screen-off and screen-locking mode, wherein the mobile phone in the screen-off and screen-locking mode does not need to pass identity authentication when entering a working mode; determining that the mobile phone is currently in the first state according to the analysis data, wherein the determining comprises:
if the distance parameter acquired by the distance sensor is larger than 2cm, the position variation of the x axis and the position variation of the y axis acquired by the gravity sensor are both larger than 1cm, and the position variation of the z axis is smaller than 9.5cm, determining that the mobile phone is in the first state;
if the mobile phone is determined to be in the second state currently according to the analysis data, enabling the mobile phone to enter a screen locking mode, wherein the mobile phone in the screen locking mode needs to pass identity authentication when entering a working mode;
determining that the mobile phone is currently in the second state according to the analysis data, wherein the determining comprises:
and if the distance parameter acquired by the distance sensor is less than 2cm or the distance parameter is greater than 2cm, the position variation of the z axis acquired by the gravity sensor is between 9.5cm and 9.8cm, the position variation of the x axis and the position variation of the y axis are both less than 1cm and are kept for 20s, determining that the mobile phone is in the second state.
2. The method of claim 1, wherein the authentication of the mobile phone in the lock screen mode is required when the mobile phone enters the working mode, and the method comprises:
when the mobile phone in the screen locking mode enters the working mode, the identity of the mobile phone needs to be verified by swiping the face.
3. The method of claim 2, wherein the face brushing to verify identity comprises:
acquiring a current facial image of a user through a camera;
comparing the current face image with the registered face image;
if the face comparison is successful, passing the identity authentication;
and if the face comparison fails, the identity authentication is not passed.
4. The method according to any one of claims 1 to 3, wherein before the mobile phone is in the screen-off and screen-unlocked mode and the smart lock is in the active state, the method further comprises the following steps of, before the analysis data for analyzing the current state of the mobile phone is acquired by the sensor:
and acquiring a power saving instruction from a user, and automatically starting the intelligent lock according to the power saving instruction.
5. A power saving device for a mobile phone, comprising:
the analysis data acquisition module is used for acquiring analysis data for analyzing the current state of the mobile phone through the sensor when the mobile phone is in a screen-off and screen-unlocked mode and the intelligent lock is in a starting state; the analysis data comprises distance parameters acquired by a distance sensor and position variation of the mobile phone on an x axis, a y axis and a z axis acquired by a gravity sensor;
the first state module is used for keeping the mobile phone in a screen-off and screen-locking mode if the mobile phone is determined to be in the first state currently according to the analysis data, wherein the mobile phone in the screen-off and screen-locking mode does not need to pass identity authentication when entering a working mode; determining that the mobile phone is currently in the first state according to the analysis data, wherein the determining comprises: if the distance parameter acquired by the distance sensor is larger than 2cm, the position variation of the x axis and the position variation of the y axis acquired by the gravity sensor are both larger than 1cm, and the position variation of the z axis is smaller than 9.5cm, determining that the mobile phone is in the first state;
the second state module is used for enabling the mobile phone to enter a screen locking mode if the mobile phone is determined to be in the second state currently according to the analysis data, wherein the mobile phone in the screen locking mode needs to pass identity authentication when entering the working mode; determining that the mobile phone is currently in the second state according to the analysis data, wherein the determining comprises:
and if the distance parameter acquired by the distance sensor is less than 2cm or the distance parameter is greater than 2cm, the position variation of the z axis acquired by the gravity sensor is between 9.5cm and 9.8cm, the position variation of the x axis and the position variation of the y axis are both less than 1cm and are kept for 20s, determining that the mobile phone is in the second state.
6. A handset device, characterized in that the handset device comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of saving power in a handset as recited in any of claims 1-4.
7. A storage medium containing computer-executable instructions, which when executed by a computer processor, perform the method of saving power in a handset as claimed in any one of claims 1 to 4.
CN201811131500.3A 2018-09-27 2018-09-27 Mobile phone power saving method, device, equipment and storage medium Active CN109194834B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811131500.3A CN109194834B (en) 2018-09-27 2018-09-27 Mobile phone power saving method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811131500.3A CN109194834B (en) 2018-09-27 2018-09-27 Mobile phone power saving method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109194834A CN109194834A (en) 2019-01-11
CN109194834B true CN109194834B (en) 2021-07-13

Family

ID=64907310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811131500.3A Active CN109194834B (en) 2018-09-27 2018-09-27 Mobile phone power saving method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109194834B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114020341A (en) * 2021-11-04 2022-02-08 艾体威尔电子技术(北京)有限公司 Dark screen standby method based on android operating system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394974B (en) * 2011-10-25 2016-03-30 中兴通讯股份有限公司 The processing method of locking terminal and device
CN105549721B (en) * 2015-12-18 2020-01-03 Tcl集团股份有限公司 Intelligent terminal dormancy method and device
CN106921760A (en) * 2015-12-26 2017-07-04 张卓尔 A kind of straight panel double-screen intelligent mobile phone
CN106354465A (en) * 2016-09-20 2017-01-25 珠海格力电器股份有限公司 Terminal equipment
CN106713612B (en) * 2016-11-14 2020-05-19 珠海市魅族科技有限公司 Electronic device and message display method
CN108229120B (en) * 2017-09-07 2020-07-24 北京市商汤科技开发有限公司 Face unlocking method, face unlocking information registration device, face unlocking information registration equipment, face unlocking program and face unlocking information registration medium
CN108549802A (en) * 2018-03-13 2018-09-18 维沃移动通信有限公司 A kind of unlocking method, device and mobile terminal based on recognition of face
CN108536269A (en) * 2018-03-26 2018-09-14 上海康斐信息技术有限公司 A kind of method and its system reducing terminal standby power consumption
WO2019196075A1 (en) * 2018-04-12 2019-10-17 深圳阜时科技有限公司 Electronic device and facial recognition method therefor

Also Published As

Publication number Publication date
CN109194834A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
RU2615320C2 (en) Method, apparatus and terminal device for image processing
US10341390B2 (en) Aggregation of asynchronous trust outcomes in a mobile device
CN109636966B (en) Door lock control method, system, device, electronic equipment and storage medium
CN105740690B (en) A kind of unlocking method and mobile terminal
US10198726B2 (en) Low power mode for payment transactions
JP5816693B2 (en) Method and system for accessing secure resources
TWI634420B (en) Terminal device and operating method thereof
US20160306955A1 (en) Performing user seamless authentications
KR101503628B1 (en) Method and system for managing sleep states of interrupt controllers in a portable computing device
CN103366107A (en) Method, device and mobile phone for protecting access permission of application program
CN110322599B (en) Door lock management method and device, electronic equipment and storage medium
US8464083B1 (en) Exiting low-power state without requiring user authentication
CN103177206A (en) Information privacy method and electronic terminal
CN103152324B (en) The user authen method of Behavior-based control feature
CN104978572A (en) Fingerprint collection method and terminal
CN103049181A (en) Method and system for dynamically unlocking mobile terminal
CN109661649B (en) Enhanced power management for supporting prioritized system events
CN109816830B (en) Unlocking method and device
CN104808767A (en) Terminal control method
CN109194834B (en) Mobile phone power saving method, device, equipment and storage medium
CN104808766A (en) Terminal
US11556915B2 (en) Low power mode for payment transactions
CN106650409B (en) A kind of terminal control method and terminal
CN104363352A (en) System determining method, system determining device and terminal
US20210165917A1 (en) Root level controls to enable privacy mode for device cameras

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200417

Address after: Room 706, Room 1699, South Zuchong Road, Yushan Town, Kunshan City, Suzhou City, Jiangsu Province

Applicant after: Kunshan Pinyuan Intellectual Property Operating Technology Co., Ltd.

Address before: 200233, Shanghai, Jinshan District Jinshan Industrial Zone, Ting Wei highway 65584, room 1309

Applicant before: SHANGHAI WIND TECHNOLOGIES Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200624

Address after: 400030 Chongqing City, Shapingba District, No. 6, Paul Road, No. 4

Applicant after: Chongqing Huiye Communication Technology Co.,Ltd.

Address before: Room 706, Room 1699, South Zuchong Road, Yushan Town, Kunshan City, Suzhou City, Jiangsu Province

Applicant before: Kunshan Pinyuan Intellectual Property Operating Technology Co.,Ltd.

CB02 Change of applicant information
CB02 Change of applicant information

Address after: 400030 No. 6, No. 4, comprehensive security road, Shapingba District, Chongqing.

Applicant after: Chongqing Huiye IOT Technology Co.,Ltd.

Address before: 400030 No. 6, No. 4, comprehensive security road, Shapingba District, Chongqing.

Applicant before: Chongqing Huiye Communication Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant