CN107526603A - One kind applies awakening method and device - Google Patents
One kind applies awakening method and device Download PDFInfo
- Publication number
- CN107526603A CN107526603A CN201710855083.6A CN201710855083A CN107526603A CN 107526603 A CN107526603 A CN 107526603A CN 201710855083 A CN201710855083 A CN 201710855083A CN 107526603 A CN107526603 A CN 107526603A
- Authority
- CN
- China
- Prior art keywords
- state information
- application
- information
- holding state
- period
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 238000012544 monitoring process Methods 0.000 claims description 45
- 238000004891 communication Methods 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 11
- 230000008859 change Effects 0.000 claims description 7
- 238000004904 shortening Methods 0.000 claims description 5
- 230000002618 waking effect Effects 0.000 abstract 1
- 230000008569 process Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 4
- 238000005265 energy consumption Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4418—Suspend and resume; Hibernate and awake
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The present invention proposes that one kind applies awakening method, and suitable for a kind of wearable electronic, wearable electronic is connected with mobile device by wireless telecommunications, and this method includes:Information is waken up according to the user state information of mobile device and/or the generation application of held state information, wherein user state information includes sleep state and non-sleep state, and held state information includes hand holding state and non-hand holding state;And application is waken up into information mobile device is sent to by way of wireless telecommunications.The embodiment of the present invention has refined the wake-up condition of mobile device application, the application of mobile device only can just respond after receiving the application sent from wearable electronic and waking up information,, can be with the power consumption of reasonably optimizing system in the case where not influenceing Consumer's Experience.
Description
Technical Field
The invention relates to the technical field of wireless control, in particular to an application awakening method and device.
Background
Since the power consumption of the mobile device is relatively low when the mobile device is in the standby mode compared to the operation mode, the user generally puts the mobile device in the standby mode as much as possible when the remaining power of the mobile device is low. However, many applications not only work when the user is operating the mobile device, but even when the mobile device is in a standby mode, these applications may periodically wake up the operating system in the background to interact with the network, thereby consuming a significant amount of power without the user's knowledge.
At present, one of the important reasons for the large power consumption of the mobile device during standby is that each application sets a clock to perform periodic wake-up, and the wake-up time is inconsistent. In this case, it often happens that one application is just exited and another application is woken up, so that the operating system is woken up continuously and is difficult to enter a sleep state.
In order to solve the above problems, the current solutions are to use a "unified heartbeat". That is, the wake-up times of the respective applications in the system are unified into the same wake-up time, so that all the applications in the system can be woken up at the same time. However, such a method is not fine enough, and in different use cases of the mobile device, the mobile device is processed in the same wake-up time, which still has a large influence on the power consumption of the mobile device. Therefore, how to refine the wake-up period of the mobile device becomes an urgent problem to be solved.
Disclosure of Invention
In view of this, embodiments of the present invention provide an application wake-up method and apparatus, which refine a wake-up period of a mobile device and optimize the wake-up period of an application of the mobile device.
The invention provides an application awakening method, which is suitable for wearable electronic equipment, wherein the wearable electronic equipment is connected with mobile equipment through wireless communication, and the method comprises the following steps:
generating application awakening information according to user state information and/or holding state information of the mobile equipment, wherein the user state information comprises a sleep state and a non-sleep state, and the holding state information comprises a holding state and a non-holding state; and
and sending the application awakening information to the mobile equipment in the wireless communication mode.
Wherein the generating application wakeup information according to the user state information and/or the holding state information of the mobile device comprises:
judging whether the user state information changes or not, and if so, taking the current user state information as the application awakening information; and/or
And judging whether the holding state information of the mobile equipment changes or not, and if so, taking the current holding state information as the application awakening information.
Wherein the judging whether the user state information changes comprises:
monitoring the current user state information in a preset monitoring period;
comparing the monitored current user state information with the monitored user state information in the previous monitoring period;
if the comparison result is inconsistent, determining that the user state information changes;
and if the comparison result is consistent, determining that the user state information is not changed.
Wherein the determining whether the holding state information of the mobile device changes comprises:
monitoring the holding state information of the mobile equipment in a preset monitoring period;
comparing the monitoring result of the current monitoring period with the monitoring result of the previous monitoring period;
if the comparison result is inconsistent, determining that the holding state information changes;
and if the comparison result is consistent, determining that the holding state information is not changed.
Wherein the monitoring the holding state information of the mobile device within a preset monitoring period comprises:
detecting a strength of a wireless signal between the wearable electronic device and the mobile device;
comparing the detected strength of the wireless signal with the threshold value;
when the strength of the detected wireless signal is smaller than the threshold value, determining that the mobile equipment is in the handheld state;
when the strength of the detected wireless signal is greater than or equal to the threshold value, determining that the mobile device is in the non-handheld state.
Wherein the monitoring the holding state information of the mobile device within a preset monitoring period further comprises:
and setting a threshold value of the wireless signal.
Wherein the setting the threshold value of the wireless signal comprises:
the mobile device and the mobile device are arranged in the same plane;
spaced apart from the mobile device by a preset distance;
taking the strength value of the wireless signal received by the mobile device as the threshold value;
wherein no obstacle is present between the wearable electronic device and the mobile device.
Wherein the generating application wakeup information according to the user state information and/or the holding state information of the mobile device comprises:
adjusting an application wakeup period of the mobile equipment based on the change of the user state information, and taking the adjusted application wakeup period as the application wakeup information; and/or
And adjusting the application awakening period of the mobile equipment based on the change of the holding state information, and taking the adjusted application awakening period as the application awakening information.
Wherein, when the user state changes from the non-sleep state to the sleep state and/or when the holding state changes from the handheld state to the non-handheld state, the application wakeup period is prolonged;
when the user state is changed from the sleep state to the non-sleep state and/or when the received holding state is changed from the non-holding state to the holding state, shortening the application wakeup period.
Wherein, wearable electronic equipment is intelligent bracelet.
The invention also provides an application awakening method, which is used for a mobile device, wherein the mobile device is connected with the wearable electronic device through wireless communication, and the method comprises the following steps:
and adjusting the application awakening period according to the received application awakening information.
Wherein,
the adjusting the application wakeup period according to the received application wakeup information includes:
adjusting the application wakeup period according to the received user state information and/or the holding state information; or
And adjusting the application wakeup period according to the received wakeup period.
Wherein adjusting an application wakeup period according to the received user state information and/or the holding state information comprises:
when the received user state information is in the sleep state and/or when the received holding state information is in the non-holding state, prolonging the application wakeup period;
and when the received user state information is in the non-sleep state and/or when the received holding state information is in the handheld state, shortening the application wakeup period.
An embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executed by the processor, where the computer program is executed by the processor to implement any of the steps of the method.
The mobile equipment is a mobile phone.
The invention also proposes a computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 8. The embodiment of the invention refines the awakening condition of the application of the mobile equipment, generates the application awakening information based on the user state information and/or the holding state information of the mobile equipment, and sends the generated application awakening information to the mobile equipment in a wireless communication mode. Therefore, the application of the mobile device can respond only after receiving the application awakening information sent by the wearable electronic device, and the energy consumption of the system can be reasonably optimized under the condition that the user experience is not influenced.
Drawings
Fig. 1 is a flowchart illustrating an application wake-up method according to an embodiment of the present invention.
Fig. 2 is a schematic diagram illustrating a process of generating application wakeup information according to user status information of a mobile device according to an embodiment of the present invention.
Fig. 3 is a schematic flow chart illustrating a process of generating application wakeup information according to holding state information of a mobile device according to an embodiment of the present invention.
Fig. 4 is a schematic flow chart illustrating a process of determining whether user status information changes according to an embodiment of the present invention.
Fig. 5 is a flowchart illustrating a process of determining whether holding state information of a mobile device changes according to an embodiment of the present invention.
Fig. 6 is a flowchart illustrating a process of monitoring holding status information of a mobile device during a predetermined monitoring period according to an embodiment of the present invention.
Fig. 7 is a flowchart illustrating a process of setting a threshold of a wireless signal according to an embodiment of the present invention.
Fig. 8 is a schematic flow chart illustrating a process of generating application wakeup information according to user status information of a mobile device according to an embodiment of the present invention.
Fig. 9 is a schematic diagram illustrating a process of generating application wakeup information according to holding state information of a mobile device according to an embodiment of the present invention.
Fig. 10 is a flowchart illustrating an application wake-up method according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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.
Fig. 1 is a flowchart illustrating an application wake-up method according to an embodiment of the present invention.
The application awakening method is suitable for wearable electronic equipment, and the wearable electronic equipment is connected with the mobile equipment through wireless communication.
As shown in fig. 1, the method may include the steps of:
step 11: and generating application awakening information according to the user state information and/or the holding state information of the mobile equipment. The user state information comprises a sleep state and a non-sleep state, and the holding state information comprises a holding state and a non-holding state.
In the embodiment of the present invention, the application wakeup information may include current user state information, current holding state information, or an adjusted application wakeup period. However, the type of application wake up information generated depends on the functional settings of the wearable electronic device. When the wearable electronic device does not include a module for adjusting the application wakeup period, the application wakeup information may include current user state information or current holding state information; when the wearable electronic device includes a module for adjustment of an application wake-up period, then the application wake-up information may include the adjusted application wake-up period. It should be understood that the present invention does not specifically limit the type of application wakeup information.
Step 12: and sending the application awakening information to the mobile equipment in a wireless communication mode.
In the embodiment of the present invention, the wireless communication may be bluetooth or other wireless communication methods, and the type of the wireless communication method is not particularly limited in the embodiment of the present invention.
Therefore, the embodiment of the invention refines the awakening condition of the application of the mobile equipment, generates the application awakening information based on the user state information and/or the holding state information of the mobile equipment, and sends the generated application awakening information to the mobile equipment in a wireless communication mode. Therefore, the application of the mobile device can respond only after receiving the application awakening information sent by the wearable electronic device, and the energy consumption of the system can be reasonably optimized under the condition that the user experience is not influenced.
Fig. 2 is a schematic diagram illustrating a process of generating application wakeup information according to user status information of a mobile device according to an embodiment of the present invention.
Referring to fig. 2, in one embodiment, generating application wakeup information according to user state information of a mobile device includes the steps of:
step 110: and judging whether the user state information changes.
In one embodiment, a determination may be made as to the user status information of the mobile device, and the next operational step to be performed may be determined based on the determination.
Step 111: and if so, taking the current user state information as application awakening information.
And when the judgment result is yes, the user state information is considered to be changed in two adjacent monitoring periods. Or from a sleeping state to a non-sleeping state or from a non-sleeping state to a sleeping state. The wearable electronic equipment can send the current user state information to the mobile equipment as application awakening information, so that the mobile equipment can conveniently adjust the application awakening period, and the application awakening period is reasonably optimized.
Step 112: and if the judgment result is negative, not generating application awakening information.
If not, the user status information is considered consistent, and therefore the application wakeup information does not need to be generated to adjust the application wakeup period.
By judging the user state information, when the user state information is not changed, the application awakening information does not need to be generated, so that the awakening period of the application of the mobile equipment is favorably and reasonably optimized, and only when the application awakening information is received, the current application awakening period is changed according to the content of the awakening information.
Fig. 3 is a schematic flow chart illustrating a process of generating application wakeup information according to holding state information of a mobile device according to an embodiment of the present invention.
Referring to fig. 3, in one embodiment, generating application wakeup information according to the holding state information of the mobile device includes the following steps:
step 110 a: and judging whether the holding state information changes.
In one embodiment, a determination may be made as to the holding status information of the mobile device, and the next operational step to be performed may be determined based on the determination.
Step 111 a: and if so, taking the current holding state information as application awakening information.
When the judgment result is yes, the holding state information is considered to be changed in two adjacent monitoring periods. Or from the handheld state to the non-handheld state or from the non-handheld state to the handheld state. Wearable electronic equipment can regard present holding state information as application awakening information to send to mobile device, makes things convenient for the mobile device to the adjustment of application awakening period, rationally optimizes the awakening period of application.
Step 112 a: and if the judgment result is negative, not generating application awakening information.
By judging the holding state by the mobile equipment, when the holding state of the mobile equipment is not changed, application awakening information does not need to be generated, so that the awakening period of the application of the mobile equipment is favorably and reasonably optimized, and only when the application awakening information is received, the current awakening period is changed according to the content of the awakening information.
However, it should be understood that in the embodiment of the present invention, corresponding application wake-up information may be generated based on the user state information and/or the holding state information for the user state information and the holding state information as long as one of the two changes. The embodiment of the present invention is not particularly limited to whether the user status information or the holding status information or both of them are changed when the wake-up information is generated.
Fig. 4 is a schematic flow chart illustrating a process of determining whether user status information changes according to an embodiment of the present invention.
Referring to fig. 4, in one embodiment, determining whether the user status information has changed may include the steps of:
step 1101: and monitoring the current user state information in a preset monitoring period. In the implementation of the invention, the monitoring period of the wearable electronic device can be preset, the user state information can be periodically monitored, the monitoring period can be set according to the actual situation, and the specific duration of the monitoring period is not limited in the embodiment of the invention.
Step 1102: comparing the monitored current user state information with the monitored user state information of the previous monitoring period.
Through comparison, whether the user state information of the wearable electronic device is changed or not can be determined according to the comparison result.
Step 1103: and when the comparison result is inconsistent, determining that the user state information changes.
Step 1104: and when the comparison result is consistent, determining that the user state information is not changed.
Whether the user state information changes can be determined by comparing the user state information monitored in the two monitoring periods.
Fig. 5 is a flowchart illustrating a process of determining whether holding state information of a mobile device changes according to an embodiment of the present invention.
Referring to FIG. 5, in one embodiment, determining whether a change in the holding status of a mobile device may include the steps of:
step 1101 a: and monitoring the current holding state information in a preset monitoring period.
Step 1102 a: comparing the monitored current holding state information with the monitored holding state information of the previous monitoring period.
By comparison, whether the holding state information of the wearable electronic device is changed or not can be determined according to the comparison result.
Step 1103 a: and when the comparison result is inconsistent, determining that the holding state information changes.
Step 1104 a: and when the comparison result is consistent, determining that the holding state information is not changed.
By comparing the holding state information monitored in the two monitoring periods, whether the holding state information of the mobile equipment changes can be determined.
Fig. 6 is a flowchart illustrating a process of monitoring holding status information of a mobile device during a predetermined monitoring period according to an embodiment of the present invention.
Referring to fig. 6, in one embodiment, a method for monitoring holding status information of a mobile device during a preset monitoring period may include the steps of:
step 101: the method includes detecting a strength of a wireless signal between the wearable electronic device and the mobile device.
Step 102: the strength of the detected wireless signal is compared to a threshold value.
Step 103: and when the strength of the detected wireless signal is less than a threshold value, determining that the mobile equipment is in a handheld state.
Step 104: and when the strength of the detected wireless signal is greater than or equal to the threshold value, determining that the mobile equipment is in a non-handheld state.
In one embodiment, the wireless signal may be a bluetooth signal, however, it should be understood that the wireless signal may also be other signals with wireless transmission function, and the category of the wireless signal is not particularly limited in the embodiments of the present invention.
The holding state information of the mobile equipment can be quickly and conveniently judged through the detection of the strength of the wireless signal. However, it should be understood that the holding state information of the mobile device may also be determined in other manners, and the manner of determining the holding state information of the mobile device is not particularly limited in the embodiment of the present invention.
In one embodiment, monitoring the holding state information of the mobile device for the preset monitoring period may further include: the threshold value of the wireless signal is set, and qualitative judgment can be made on the strength of the wireless signal through setting the threshold value of the wireless signal.
Fig. 7 is a flowchart illustrating a process of setting a threshold of a wireless signal according to an embodiment of the present invention.
Referring to fig. 7, in one embodiment, setting the threshold value of the wireless signal can be implemented by:
step 1011: and is positioned in the same plane as the mobile device.
Step 1012: spaced apart from the mobile device by a preset distance.
This facilitates quantitative calculation of the threshold value.
Step 1013: and taking the strength value of the wireless signal received by the mobile device as a threshold value.
When the operation is performed, it is ensured that no obstacle exists between the wearable electronic device and the mobile device.
The threshold value of the wireless signal is set by the above method, however, it should be understood that the threshold value of the wireless signal may also be set by other methods, and the method for setting the threshold value of the wireless signal is not particularly limited in the embodiment of the present invention.
Fig. 8 is a schematic flow chart illustrating a process of generating application wakeup information according to user status information of a mobile device according to an embodiment of the present invention.
Referring to fig. 8, in one embodiment, generating application wakeup information according to user state information of a mobile device may include the steps of:
step 21: and adjusting the application awakening period of the mobile equipment based on the change of the user state information, and taking the adjusted application awakening period as application awakening information.
In the embodiment of the present invention, the application wakeup period of the mobile device may be set, so that the application of the mobile device may be periodically woken up, and the application wakeup period may be set according to an actual situation.
Therefore, the wearable electronic equipment can complete the adjustment of the application wakeup period of the mobile equipment through the logic judgment of the wearable electronic equipment, and the energy consumption of the mobile equipment is saved.
Fig. 9 is a schematic diagram illustrating a process of generating application wakeup information according to holding state information of a mobile device according to an embodiment of the present invention.
Referring to fig. 9, in one embodiment, generating application wakeup information according to the holding state information of the mobile device may include the steps of:
step 21 a: and adjusting the application awakening period of the mobile equipment based on the change of the holding state information, and taking the adjusted application awakening period as application awakening information.
In the embodiment of the present invention, it should be understood that, regardless of the user status information or the holding status information of the mobile device, as long as one of the two changes, the wearable electronic device may execute the instruction for adjusting the application wakeup period of the mobile device, and use the adjusted application wakeup period as the application wakeup information.
In one embodiment, the wearable electronic device may extend the application wake-up period as long as one of the following conditions is met:
a1: the user state is changed from the non-sleep state to the sleep state.
A2: the holding state is changed from the holding state to the non-holding state.
In one embodiment, the wearable electronic device may shorten the application wake-up period as long as one of the following conditions is met:
b1: the user state is changed from the sleep state to the non-sleep state.
B2: the received holding state is changed from the non-holding state to the holding state.
The embodiment of the present invention further provides a wearable electronic device, which includes a memory, a processor, and a computer program stored in the memory and executed by the processor, and when the processor executes the computer program, the steps of the method according to any of the foregoing embodiments may be implemented.
The wearable electronic device provided by the embodiment of the invention can realize the control of the mobile device by executing the steps of the method in any one of the previous embodiments through the processor. In the embodiment of the present invention, the wearable electronic device may be a smart ring, however, it should be understood that the wearable electronic device may also be other electronic devices such as a smart watch, and the embodiment of the present invention does not specifically limit the type and form of the wearable electronic device.
Fig. 10 is a flowchart illustrating an application wake-up method according to an embodiment of the present invention.
The application awakening method is suitable for mobile equipment, and the mobile equipment is connected with the wearable electronic equipment through wireless communication.
As shown in fig. 10, the method may include the steps of:
step 20: and adjusting the application awakening period according to the received application awakening information.
Therefore, the mobile device executes the instruction for adjusting the application wakeup period only after receiving the application wakeup information from the wearable electronic device, so that the application wakeup period of the mobile device can be optimized.
In one embodiment, adjusting the application wakeup period according to the received application wakeup information may include adjusting the application wakeup period according to the received user state information.
In one embodiment, adjusting the application wakeup period based on the received application wakeup information may include adjusting the application wakeup period based on the received holding state information of the mobile device.
However, it should be understood that the mobile device may execute instructions to adjust the application wakeup period whenever one of user state information and holding state information of the mobile device is received.
In one embodiment, the mobile device may execute the instruction to extend the application wakeup period upon receiving one of the following application wakeup messages:
c1: the user state is a sleep state.
C2: the holding state of the mobile device is a non-holding state.
In one embodiment, the mobile device may execute the instruction to shorten the application wakeup period whenever one of the following application wakeup information is received:
d1: the user state is a non-sleep state.
D2: the holding state is a hand-held state.
In one embodiment, adjusting the application wakeup period based on the received application wakeup information may include adjusting the application wakeup period based on the received application wakeup period. At this point, the mobile device may automatically adjust the application wakeup period to be consistent with the received application wakeup period.
Embodiments of the present invention further provide a mobile device, which includes a memory, a processor, and a computer program stored in the memory and executed by the processor, and when the processor executes the computer program, the steps of the method according to any of the foregoing embodiments may be implemented. The mobile device provided by the embodiment of the invention can receive the application awakening information from the wearable electronic device, so as to determine whether to execute the action of prolonging the application awakening period or the action of shortening the application awakening period. In one embodiment, the mobile device is a mobile phone, however, the invention is not limited thereto, and it should be understood that the mobile device may be other handheld communication devices, and the invention is not limited to the specific type of mobile device.
It should be understood that one implementation form of the embodiments of the wearable electronic device and the mobile device described above may be a computer program product, but the methods performed by the wearable electronic device and the mobile device may in fact be implemented in software, hardware, or a combination of software and hardware. The hardware portion may be implemented using dedicated logic; the software portions may be stored in a memory and executed by a suitable instruction execution system, such as a microprocessor or specially designed hardware. It will be appreciated by those of ordinary skill in the art that the methods and apparatus described above may be implemented using computer executable instructions and/or embodied in processor control code, such code provided, for example, on a carrier medium such as a disk, CD or DVD-ROM, programmable memory such as read only memory (firmware), or a data carrier such as an optical or electronic signal carrier. The methods and apparatus of the present invention may be implemented in hardware circuitry, such as very large scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, or programmable hardware devices such as field programmable gate arrays, programmable logic devices, or in software for execution by various types of processors, or in a combination of hardware circuitry and software, such as firmware.
It should be understood that although several modules or units of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, according to exemplary embodiments of the invention, the features and functions of two or more modules/units described above may be implemented in one module/unit, whereas the features and functions of one module/unit described above may be further divided into implementations by a plurality of modules/units. Furthermore, some of the modules/units described above may be omitted in some application scenarios.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and the like that are within the spirit and principle of the present invention are included in the present invention.
Claims (10)
1. An application wake-up method applied to a wearable electronic device, wherein the wearable electronic device is connected with a mobile device through wireless communication, and the method comprises the following steps:
generating application awakening information according to user state information and/or holding state information of the mobile equipment, wherein the user state information comprises a sleep state and a non-sleep state, and the holding state information comprises a holding state and a non-holding state; and
and sending the application awakening information to the mobile equipment in the wireless communication mode.
2. The app wake method according to claim 1, wherein the generating app wake information according to the user state information and/or the holding state information of the mobile device comprises:
judging whether the user state information changes or not, and if so, taking the current user state information as the application awakening information; and/or
And judging whether the holding state information of the mobile equipment changes or not, and if so, taking the current holding state information as the application awakening information.
3. The application wake-up method according to claim 2, wherein the determining whether the user state information has changed comprises:
monitoring the current user state information in a preset monitoring period; comparing the monitored current user state information with the user state information monitored in the last monitoring period; if the comparison result is inconsistent, determining that the user state information changes; if the comparison result is consistent, determining that the user state information is not changed;
and/or
The determining whether the holding state information of the mobile device changes includes: monitoring the holding state information of the mobile equipment in a preset monitoring period; comparing the monitoring result of the current monitoring period with the monitoring result of the previous monitoring period; if the comparison result is inconsistent, determining that the holding state information changes; and if the comparison result is consistent, determining that the holding state information is not changed.
4. The application wake-up method according to claim 3, wherein the monitoring the holding state information of the mobile device for a preset monitoring period comprises:
detecting a strength of a wireless signal between the wearable electronic device and the mobile device;
comparing the detected strength of the wireless signal with the threshold value;
when the strength of the detected wireless signal is smaller than the threshold value, determining that the mobile equipment is in the handheld state;
when the strength of the detected wireless signal is greater than or equal to the threshold value, determining that the mobile device is in the non-handheld state.
5. The app wake method according to claim 1, wherein the generating app wake information according to the user state information and/or the holding state information of the mobile device comprises:
adjusting an application wakeup period of the mobile equipment based on the change of the user state information, and taking the adjusted application wakeup period as the application wakeup information; and/or
And adjusting the application awakening period of the mobile equipment based on the change of the holding state information, and taking the adjusted application awakening period as the application awakening information.
6. Application wake-up method according to claim 5,
when the user state is changed from the non-sleep state to the sleep state and/or when the holding state is changed from the handheld state to the non-handheld state, prolonging the application wakeup period;
when the user state is changed from the sleep state to the non-sleep state and/or when the received holding state is changed from the non-holding state to the holding state, shortening the application wakeup period.
7. An application wake-up method applied to a mobile device, wherein the wearable electronic device is connected through wireless communication, the method comprising:
and adjusting the application awakening period according to the received application awakening information.
8. The app wake method according to claim 7, wherein the adjusting the app wake period according to the received app wake information comprises:
adjusting the application wakeup period according to the received user state information and/or the holding state information; or
Adjusting the application wakeup period according to the received wakeup period;
wherein the adjusting an application wakeup period according to the received user state information and/or the holding state information comprises:
when the received user state information is in the sleep state and/or when the received holding state information is in the non-holding state, prolonging the application wakeup period;
and when the received user state information is in the non-sleep state and/or when the received holding state information is in the handheld state, shortening the application wakeup period.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory for execution by the processor, wherein the steps of the method according to any of claims 1 to 8 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710855083.6A CN107526603B (en) | 2017-09-20 | 2017-09-20 | Application awakening method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710855083.6A CN107526603B (en) | 2017-09-20 | 2017-09-20 | Application awakening method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107526603A true CN107526603A (en) | 2017-12-29 |
CN107526603B CN107526603B (en) | 2021-01-08 |
Family
ID=60736026
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710855083.6A Active CN107526603B (en) | 2017-09-20 | 2017-09-20 | Application awakening method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107526603B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110928586A (en) * | 2019-11-15 | 2020-03-27 | 上海银基信息安全技术股份有限公司 | APP background keep-alive method and device |
CN113552937A (en) * | 2020-04-24 | 2021-10-26 | 华为技术有限公司 | Display control method and wearable device |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101427534A (en) * | 2006-04-24 | 2009-05-06 | 卢森特技术有限公司 | Method of controlling wakeup frequency in a wireless communication system |
CN102316555A (en) * | 2011-09-19 | 2012-01-11 | 华为终端有限公司 | Method for scanning wireless fidelity (WiFi) network by mobile terminal and mobile terminal adopting method |
CN102625423A (en) * | 2011-03-10 | 2012-08-01 | 深圳市华奥通通信技术有限公司 | Wireless communication system and wake up method thereof |
US20140064168A1 (en) * | 2012-08-30 | 2014-03-06 | Kabushiki Kaisha Toshiba | Wireless communication device, wireless communication system and wireless communication method |
CN104618996A (en) * | 2015-01-21 | 2015-05-13 | 杭州华三通信技术有限公司 | Method and device for awakening terminal in energy saving state |
US20150131543A1 (en) * | 2013-11-08 | 2015-05-14 | Mediatek Singapore Pte. Ltd. | Communication device and frequency offset calibrating method |
CN105991297A (en) * | 2015-02-12 | 2016-10-05 | 丰唐物联技术(深圳)有限公司 | Method and device for awakening intelligent terminal |
CN106020356A (en) * | 2016-05-19 | 2016-10-12 | 珠海市魅族科技有限公司 | Control method of smart terminal, smart terminal and wearing device |
CN106295277A (en) * | 2016-08-09 | 2017-01-04 | 深圳市金立通信设备有限公司 | A kind of private data guard method and terminal |
CN106371831A (en) * | 2016-08-25 | 2017-02-01 | 北京小米移动软件有限公司 | Awakening control method and device and terminal |
-
2017
- 2017-09-20 CN CN201710855083.6A patent/CN107526603B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101427534A (en) * | 2006-04-24 | 2009-05-06 | 卢森特技术有限公司 | Method of controlling wakeup frequency in a wireless communication system |
CN102625423A (en) * | 2011-03-10 | 2012-08-01 | 深圳市华奥通通信技术有限公司 | Wireless communication system and wake up method thereof |
CN102316555A (en) * | 2011-09-19 | 2012-01-11 | 华为终端有限公司 | Method for scanning wireless fidelity (WiFi) network by mobile terminal and mobile terminal adopting method |
US20140064168A1 (en) * | 2012-08-30 | 2014-03-06 | Kabushiki Kaisha Toshiba | Wireless communication device, wireless communication system and wireless communication method |
US20150131543A1 (en) * | 2013-11-08 | 2015-05-14 | Mediatek Singapore Pte. Ltd. | Communication device and frequency offset calibrating method |
CN104618996A (en) * | 2015-01-21 | 2015-05-13 | 杭州华三通信技术有限公司 | Method and device for awakening terminal in energy saving state |
CN105991297A (en) * | 2015-02-12 | 2016-10-05 | 丰唐物联技术(深圳)有限公司 | Method and device for awakening intelligent terminal |
CN106020356A (en) * | 2016-05-19 | 2016-10-12 | 珠海市魅族科技有限公司 | Control method of smart terminal, smart terminal and wearing device |
CN106295277A (en) * | 2016-08-09 | 2017-01-04 | 深圳市金立通信设备有限公司 | A kind of private data guard method and terminal |
CN106371831A (en) * | 2016-08-25 | 2017-02-01 | 北京小米移动软件有限公司 | Awakening control method and device and terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110928586A (en) * | 2019-11-15 | 2020-03-27 | 上海银基信息安全技术股份有限公司 | APP background keep-alive method and device |
CN113552937A (en) * | 2020-04-24 | 2021-10-26 | 华为技术有限公司 | Display control method and wearable device |
Also Published As
Publication number | Publication date |
---|---|
CN107526603B (en) | 2021-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI494857B (en) | Method for performing wake-up event management, and associated apparatus and associated computer program product | |
US11252665B2 (en) | Data transmission method, base station and terminal | |
EP2695063B1 (en) | Method and system for dynamically controlling power to multiple cores in a multicore processor of a portable computing device | |
US9939869B2 (en) | Methods and systems for coordination of operating states amongst multiple SOCs within a computing device | |
CN110058889B (en) | Application awakening method and device | |
US6457134B1 (en) | Portable computer with differentiated time-out feature | |
CN109857243B (en) | System-on-chip, universal serial bus master device, system and awakening method | |
CN112530056B (en) | Method for reducing power consumption of intelligent door lock, intelligent door lock and storage medium | |
CN107278283B (en) | Techniques for managing power of an embedded controller during a low power state | |
EP2509368A1 (en) | Power management method and apparatus of a network access module | |
CN107526603B (en) | Application awakening method and device | |
CN109582371B (en) | Low-power-consumption awakening method and device | |
CN104219746B (en) | Method, device and terminal for autonomously adjusting wake-up time | |
CN111352496A (en) | Low-power-consumption processing method combining single chip microcomputer and LoRa technology | |
CN108806679A (en) | voice awakening method and device | |
US11947481B2 (en) | Terminal and type C interface anti-corrosion method | |
CN106851737A (en) | A kind of method for sending upstream data, and terminal device | |
CN106447460A (en) | Article awakening method based on shopping cart and article awakening device thereof | |
CN106598193A (en) | Power consumption control method and apparatus | |
CN106912091B (en) | Control method and device and electronic equipment | |
KR100677121B1 (en) | Apparatus and method for controlling status battery in low voltage | |
CN108227893B (en) | Serial port controller, micro control system and awakening method in micro control system | |
CN110457072A (en) | Method, device, equipment and computer readable medium for preventing system hang-up | |
CN108541053B (en) | Power saving method and device and electronic equipment | |
CN113126737B (en) | Screen awakening method and device, terminal equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |