CN111142649A - Wearable device performance optimization method and device and electronic device - Google Patents

Wearable device performance optimization method and device and electronic device Download PDF

Info

Publication number
CN111142649A
CN111142649A CN201911363376.8A CN201911363376A CN111142649A CN 111142649 A CN111142649 A CN 111142649A CN 201911363376 A CN201911363376 A CN 201911363376A CN 111142649 A CN111142649 A CN 111142649A
Authority
CN
China
Prior art keywords
wearable device
electric quantity
memory
user data
program module
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.)
Pending
Application number
CN201911363376.8A
Other languages
Chinese (zh)
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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201911363376.8A priority Critical patent/CN111142649A/en
Publication of CN111142649A publication Critical patent/CN111142649A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3212Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling

Abstract

The embodiment of the invention discloses a method and a device for optimizing the performance of wearable equipment and electronic equipment, relates to the technical field of wearable equipment, and can prolong the endurance performance of the wearable equipment to a certain extent. The method comprises the following steps: acquiring the current residual electric quantity when the wearable device runs the first application; judging whether the current residual electric quantity reaches an electric quantity protection threshold value; if the current residual electric quantity reaches an electric quantity protection threshold value, acquiring user data information generated in the using process of the wearable device; uploading the user data information to a server so that the server backs up the user data information; and closing the first application and/or other applications running in the background. The method is suitable for optimizing the performance of the wearable equipment such as operation processing, electric quantity endurance and the like.

Description

Wearable device performance optimization method and device and electronic device
Technical Field
The invention relates to the technical field of wearable equipment, in particular to a method and a device for optimizing the performance of wearable equipment and electronic equipment.
Background
At present, wearable equipment functions such as smart watches are gradually increased, the electric quantity of a battery of the wearable equipment is limited, and in addition, a large amount of data task amount is involved in daily use, so that the electric consumption is larger, and the performances of endurance and the like of the wearable equipment are restricted to a certain extent.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for optimizing performance of a wearable device, and an electronic device, which can prolong endurance of the wearable device to a certain extent.
To achieve the above object, in a first aspect, an embodiment of the present invention provides a method for optimizing performance of a wearable device, including:
acquiring the current residual electric quantity when the wearable device runs the first application;
judging whether the current residual electric quantity reaches an electric quantity protection threshold value;
if the current residual electric quantity reaches an electric quantity protection threshold value, acquiring user data information generated in the using process of the wearable device;
uploading the user data information to a server so that the server backs up the user data information;
and closing the first application and/or other applications running in the background.
With reference to the first aspect, in a first implementation manner of the first aspect, the method further includes:
after the monitoring of the memory usage of the wearable device, the method further comprises:
judging whether the wearable equipment exceeds a preset load or not according to the memory usage amount;
if the wearable device exceeds the preset load, sending a part of tasks in the wearable device to other devices networked with the wearable device so that the other devices complete the part of tasks.
With reference to the first aspect, the first implementation manner of the first aspect, and in a second implementation manner of the first aspect, before the uploading the user data information to the server, the method further includes:
sending the partial task in the wearable device to other devices networked with the wearable device so as to enable the other devices to complete the partial task, wherein the other devices are connected with the server.
In a second aspect, an embodiment of the present invention provides a wearable device performance optimization apparatus, including:
the wearable device comprises a first obtaining program module, a second obtaining program module and a control module, wherein the first obtaining program module is used for obtaining the current residual electric quantity when the wearable device runs a first application;
the first judgment program module is used for judging whether the current residual electric quantity reaches an electric quantity protection threshold value;
the first sending program module is used for acquiring user data information generated in the using process of the wearable device if the current residual electric quantity reaches an electric quantity protection threshold value;
the uploading program module is used for uploading the user data information to a server so as to enable the server to backup the user data information;
a first optimizer module for shutting down the first application and/or other applications running in the background.
With reference to the second aspect, in a first implementation manner of the second aspect, the apparatus further includes:
the monitoring program module is used for monitoring the memory usage amount of the wearable equipment;
the second judgment program module is used for judging whether the memory usage reaches a preset memory threshold value or not when the current remaining power reaches a power protection threshold value;
and the second optimization program module closes the first application and/or other applications running in the background if the memory usage reaches the preset memory threshold.
With reference to the second aspect, the first implementation manner of the second aspect, and in a second implementation manner of the second aspect, the apparatus further includes:
a third judging program module, configured to, after the monitoring of the memory usage amount of the wearable device, judge whether the wearable device exceeds a preset load according to the memory usage amount;
and the second sending program module is used for sending a part of tasks in the wearable device to other devices networked with the wearable device if the wearable device exceeds the preset load so as to enable the other devices to complete the part of tasks.
With reference to the second aspect, the first or second embodiment of the second aspect, in a third embodiment of the second aspect, the apparatus further comprises:
a third sending program module, configured to send, to another device networked with the wearable device, a partial task in the wearable device before the uploading of the user data information to the server, so that the other device completes the partial task, where the other device is connected to the server.
In a third aspect, an embodiment of the present invention provides an electronic device, including: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for executing the optimization method according to any one of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the optimization method according to any one of the first aspect.
According to the method, the device and the electronic equipment for optimizing the performance of the wearable equipment, the current residual electric quantity when the wearable equipment runs the first application is obtained; judging whether the current residual electric quantity reaches an electric quantity protection threshold value; if the current residual electric quantity reaches an electric quantity protection threshold value, acquiring user data information generated in the using process of the wearable device; uploading the user data information to a server so that the server backs up the user data information; and closing the first application and/or other applications running in the background. Therefore, when the wearable device runs application software, when the current residual electric quantity is monitored to reach the electric quantity protection threshold value, the user data information is uploaded to the server, and then other applications running the first application and/or the other applications running in the background are closed, so that the power consumption performance of the wearable device is optimized, and the cruising performance of the wearable device can be prolonged to a certain extent.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for optimizing the performance of a wearable device according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating a method for optimizing the performance of a wearable device according to another embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for optimizing the performance of a wearable device according to another embodiment of the present invention;
fig. 4 is a schematic block diagram of a structure of a wearable device performance optimization apparatus according to an embodiment of the present invention;
FIG. 5 is a block diagram of a device for optimizing the performance of a wearable device according to another embodiment of the present invention;
FIG. 6 is a block diagram of a device for optimizing the performance of a wearable device according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of an embodiment of an electronic device.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all 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.
Example one
Fig. 1 is a schematic flow chart of a method for optimizing the performance of a wearable device according to an embodiment of the present invention.
Currently, wearable devices, such as smartwatches and the like, may implement light operational functionality, such as video telephony, by installing third party applications based on apple or android systems. With the increasing functions, when application software installed on the wearable device runs, the processor processing task amount and the power consumption are large, and as the wearable device is small in size and the corresponding battery is small, the cruising ability of the wearable device becomes a technical problem which restricts the development of the wearable device.
In order to solve the problem and prolong the endurance capacity of the wearable device, referring to fig. 1, the method for optimizing the performance of the wearable device provided by the embodiment of the invention is suitable for optimizing the performance of the wearable device, such as operation processing, electric quantity endurance and the like. The wearable device is a portable device that can be worn directly on the body or integrated into the clothing or accessories of the user, and not only is a hardware device, but also has software support, networking, data interaction, and devices with certain data processing capabilities, such as smart watches, smart glasses, smart helmets, and smart clothing accessories; it is understood that it is also applicable in an internet of things application environment. The method comprises the following steps:
step 101, obtaining the current remaining power of the wearable device when the wearable device runs the first application.
In this embodiment, the first application, for example, application software capable of performing a video call, in an operating state, a memory of the processor is occupied, the power consumption of the wearable device is rapidly reduced due to the fact that the processor performs operation, and the wearable device monitors current power consumption information and sends the current power consumption information to a server in communication connection with the wearable device.
The current residual capacity of the wearable device can be estimated by measuring the net charge of the battery flowing in/out in real time through a battery fuel gauge built in the wearable device; specifically, the total current flowing into/out of the battery is integrated, and the obtained net charge number is the residual capacity.
And 102, judging whether the current residual electric quantity reaches an electric quantity protection threshold value.
In order to perform more accurate performance optimization for the wearable device without seriously affecting the user experience, preferably, the power protection threshold is a dynamically changing amount, and the size of the power protection threshold can be dynamically adjusted each time according to different running application software; for example, when the user uses a piece of application software with low power consumption on the wearable device, such as a timer, the power protection threshold may be set to be small, for example, 5-7%; when the user uses a piece of application software with higher power consumption on the wearable device, such as a video call APP, the power protection threshold may be set to be larger, for example, 1012%.
Specifically, a plurality of electric quantity protection thresholds can be preset, and corresponding electric quantity protection thresholds are enabled according to different currently running application software.
Step 103, if the current remaining power reaches a power protection threshold, acquiring user data information generated in the using process of the wearable device.
And 104, uploading the user data information to a server so that the server backs up the user data information.
It can be understood that some user data generated by the user in the process of using the wearable device are important, the user data are uploaded to the server for backup by acquiring the user data, and when the performance of the wearable device is optimized, loss of some useful user data to the user due to loss of the useful user data caused by untimely storage can be avoided.
The user data may include, among other things, location information of the wearable device, chat log information generated on the wearable device, and so on. The backup means may be a snapshot and/or a backup.
As known to those skilled in the art, a snapshot is a state record of a data storage at a certain time, and the snapshot does not copy a page of the entire data information, but only copies a page that changes after the snapshot establishment time point, that is, stores an original page; the backup is a copy of the data at a certain time, and is a page for copying the whole data information. Therefore, compared with the backup of the data information, the snapshot of the data information is generated more quickly, and less memory is occupied after the snapshot is generated.
In this embodiment, in order to store the user data information more quickly, it is preferable to snapshot the user data information. In addition, as a skilled person who knows about data backup and data snapshot, when original data is damaged, for example, a physical medium is damaged, or locked data is rewritten by a management mechanism that bypasses a layer where the snapshot is located, it is generally difficult or impossible to recover correct data by snapshot rollback. Therefore, under the condition that the electric quantity allows, the user data information can be backed up, so that the situation that the user data information cannot be recovered due to damage of original data is avoided.
And step 105, closing the first application and/or other applications running in the background.
It can be understood that, the wearable device, such as the child watch, is connected to the mobile phone of the parent, and the parent can know the current situation of the child watch user in real time, and once the power is off, the child watch cannot work normally, so that the purpose of knowing the real-time situation of the wearer cannot be achieved, and therefore, it is important to maintain the wearable device in the on state, which is why the power is not exhausted and the shutdown is avoided. In this embodiment, the cruising performance can be extended by closing the first application and/or the other applications running in the background.
According to the method for optimizing the performance of the wearable device, when the wearable device runs application software and when the current residual electric quantity is monitored to reach the electric quantity protection threshold value, the user data information is uploaded to the server, and then the first application and/or other applications running in the background are closed, so that the power consumption performance of the wearable device is optimized, and the cruising performance of the wearable device can be prolonged to a certain extent; in addition, because before the performance of the wearable device is optimized, the user data is uploaded to the server for backup, and the loss of the user caused by the fact that some user data are not stored and lost in time can be avoided.
It is understood that the power consumption varies with the usage rate of the processor memory, and the standby time varies with the remaining power. Thus, in one embodiment of the present invention, as shown with reference to fig. 2, the method further comprises:
and step 121, monitoring the memory usage amount of the wearable device.
If the current remaining power reaches the power protection threshold, executing step 122, and determining whether the memory usage reaches a preset memory threshold;
the preset memory threshold may be specifically set according to the electric quantity protection threshold, the test data of the relationship between the large amount of memory usage and the power consumption of the device, and the expected remaining standby time, for example, the electric quantity protection threshold is set to 20%, the expected remaining standby time is 4 minutes, and the determination is made according to the test data of the relationship between the large amount of memory usage and the power consumption of the device, and when the corresponding memory usage is 80%, the power consumption of the device per minute is 5%, and the memory threshold is determined to be 80% based on this.
To help understand the embodiment of the present invention, it is assumed that the power protection threshold is set to 20% and the memory threshold is set to 80%, if it is known from the test data of the relationship between the memory usage and the device power consumption that the device power consumption is 5% per minute when the memory usage is 80%; then in the memory usage state, the current remaining 20% of the power can be used for only 4 minutes, and then the performance of the device is optimized. If the memory usage is 60%, and if the device power consumption per minute is 3% according to the test data of the relationship between the memory usage and the device power consumption, when the remaining power reaches 20% power, the device may be used for approximately 7 minutes because the memory usage does not reach the preset memory usage threshold of 80%, and the performance of the device is not optimized for the moment. Therefore, accurate optimization of the wearable equipment can be realized, and the user experience is prevented from being influenced by the optimization opportunity.
And step 123, if the memory usage reaches the preset memory threshold, closing the first application and/or other applications running in the background.
In this embodiment, it can be understood that, since power consumption of different application software is different, whether to optimize the device is determined only according to a single power consumption threshold, which may affect accuracy of the optimization. Similarly, in this embodiment, if the usage amount of the processor memory of the wearable device is small, it indicates that the current power consumption of the wearable device is not too large, and performance optimization may be suspended to achieve accurate optimization of the wearable device. For example, the preset power protection threshold is 10%, although the current remaining power has reached the preset power protection threshold, it is determined that only the APP that is the application APP of the counter is currently started according to the monitored memory usage amount of the processor, and since the power consumption amount of the APP is small, the user can continue to use the APP, and performance optimization is not performed on the wearable device for a while. Through like this, whether optimize wearable equipment in combination treater memory use amount is synthesized and is confirmed, on the basis of guaranteeing equipment duration performance, avoided "one knife and cut" formula to optimize wearable equipment performance probably to influence the problem that the user used the experience.
In some embodiment modes, the characteristic of low computing power and long connection of the wearable device is considered, and the characteristic is fully utilized, so that some tasks needing arithmetic processing on the wearable device are transferred to other devices with data processing functions for processing, the processing tasks of the wearable device are reduced, and the cruising performance of the wearable device is prolonged. The long connection means that a plurality of data packets can be continuously transmitted on one connection, and during the connection holding period, if no data packet is transmitted, both sides are required to transmit a link detection packet; in short, it is a function that can communicate with other devices.
Referring to fig. 3, in some embodiments of the invention, after the monitoring the memory usage amount of the wearable device in step 121, the method further includes:
step 131, judging whether the wearable device exceeds a preset load according to the memory usage amount;
specifically, whether the preset load is exceeded or not may be determined by setting a threshold.
Step 132, if the wearable device exceeds the preset load, sending a part of tasks in the wearable device to other devices networked with the wearable device, so that the other devices complete the part of tasks.
Therefore, whether the processing task amount is large or not is judged according to the use information of the memory of the processor, and when the processing task amount of the wearable device is large, part of the processing task amount is transferred to other devices with data processing capacity and connected with the wearable device for processing, so that the processing task of the wearable device is reduced, and the cruising performance of the wearable device is prolonged.
It can be understood that, in the data operation processing process, when the data operation processing task is large or the memory occupation of the processor is large, the power consumption is correspondingly large, otherwise, the power consumption is small. The task amount transferred to other equipment is primarily to improve the cruising performance, so that under the condition of sufficient electric quantity, even if the data operation amount is large, the data operation amount can be completed on the local equipment, otherwise, the data operation amount is transferred to other equipment for processing.
In some embodiments, before said uploading said user data information to a server, said method further comprises: sending the partial task in the wearable device to other devices networked with the wearable device so as to enable the other devices to complete the partial task, wherein the other devices are connected with the server. Therefore, the task amount processed by the wearable device can be reduced, the cruising ability of the wearable device is improved, and after the performance of the wearable device is optimized, other devices continue to help to process part of the task amount of the wearable device, so that the dual optimization of task resource processing and cruising performance can be achieved.
The wearable device performance optimization method provided by the embodiment of the invention is based on the characteristics of low computing power and long connection of the wearable device, combines the cloud computing function, intelligently allocates the task processing amount of the processor resource of the wearable device, can protect user data to the maximum extent in the performance optimization process of the device, can prolong the endurance performance of the device, and provides technical support for the application and development of the wearable device.
Example two
Fig. 4 is a schematic block diagram of a structure of a wearable device performance optimization apparatus according to an embodiment of the present invention; referring to fig. 4, a wearable device performance optimization apparatus provided in an embodiment of the present invention includes:
a first obtaining program module 210, configured to obtain a current remaining power of the wearable device when the wearable device runs a first application;
a first determining program module 220, configured to determine whether the current remaining power reaches a power protection threshold;
a first sending program module 230, configured to obtain user data information generated in a using process of the wearable device if the current remaining power reaches a power protection threshold.
An uploading program module 240, configured to upload the user data information to a server, so that the server backs up the user data information.
A first optimizer module 250 for shutting down the first application and/or other applications running in the background.
The performance optimization apparatus for a wearable device provided by the present invention is configured to implement the method described in any of the foregoing embodiments, and the specific implementation scheme and technical effects thereof are the same as those of the embodiments, and may be referred to each other, and thus are not described again.
Referring to fig. 5, in one embodiment of the present invention, the apparatus further comprises:
a monitoring program module 200, configured to monitor a memory usage amount of the wearable device;
the second determining program module 230A is configured to determine whether the memory usage amount reaches a preset memory threshold value if the current remaining power amount reaches a power protection threshold value.
A second optimization program module 300, configured to close the first application and/or other applications running in the background if the memory usage reaches the preset memory threshold
Referring to fig. 6, in yet another embodiment of the present invention, the apparatus further comprises:
a third determining program module 231, configured to determine whether the wearable device exceeds a preset load according to the memory usage amount after the memory usage amount of the wearable device is monitored;
a second sending program module 232, configured to send, if the wearable device exceeds the preset load, a partial task in the wearable device to another device networked with the wearable device, so that the other device completes the partial task.
In yet another embodiment of the present invention, the apparatus further comprises:
and the adjustment program module is used for dynamically adjusting the processing task amount of the processor of the wearable device according to the use information of the processor memory of the wearable device after the use information of the processor memory of the wearable device is monitored.
In yet another embodiment of the present invention, the apparatus further comprises:
a second sending program module, configured to send, to another device networked with the wearable device, a partial task in the wearable device before the uploading of the user data information to the server, so that the other device completes the partial task, where the other device is connected to the server.
It should be noted that, the methods and apparatuses of the foregoing embodiments are based on the same inventive concept, and the implementation schemes and technical effects of the embodiments are similar, and they can be referred to each other.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof.
The embodiment of the invention also provides electronic equipment, and the electronic equipment comprises the device in any one of the embodiments.
Fig. 7 is a schematic structural diagram of an embodiment of an electronic device of the present invention, which may execute the method according to any one of the first to fourth embodiments of the present invention, and as shown in fig. 7, the electronic device may include: the device comprises a shell 41, a processor 42, a memory 43, a circuit board 44 and a power circuit 45, wherein the circuit board 44 is arranged inside a space enclosed by the shell 41, and the processor 42 and the memory 43 are arranged on the circuit board 44; a power supply circuit 45 for supplying power to each circuit or device of the electronic apparatus; the memory 43 is used for storing executable program code; the processor 42 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 43, so as to perform the wearable device performance optimization method according to any one of the foregoing embodiments.
For the specific execution process of the above steps by the processor 42 and the steps further executed by the processor 42 by running the executable program code, reference may be made to the description in the first embodiment of the present invention, which is not described herein again.
The electronic device exists in a variety of forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A portable entertainment device: such devices can display and play multimedia content. This type of device comprises: audio, video players (e.g., ipods), handheld game consoles, electronic books, and smart toys and portable car navigation devices.
(4) A server: the device for providing the computing service comprises a processor, a hard disk, a memory, a system bus and the like, and the server is similar to a general computer architecture, but has higher requirements on processing capacity, stability, reliability, safety, expandability, manageability and the like because of the need of providing high-reliability service.
(5) And other electronic equipment with data interaction function.
Yet another embodiment of the present invention provides a computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the optimization method of any one of the first embodiment.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. The term "comprising", without further limitation, means that the element so defined is not excluded from the group consisting of additional identical elements in the process, method, article, or apparatus that comprises the element. All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments.
In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for optimizing performance of a wearable device, comprising:
acquiring the current residual electric quantity when the wearable device runs the first application;
judging whether the current residual electric quantity reaches an electric quantity protection threshold value;
if the current residual electric quantity reaches an electric quantity protection threshold value, acquiring user data information generated in the using process of the wearable device;
uploading the user data information to a server so that the server backs up the user data information;
and closing the first application and/or other applications running in the background.
2. The method of claim 1, further comprising:
monitoring the memory usage amount of the wearable device;
if the current residual electric quantity reaches an electric quantity protection threshold value, judging whether the memory usage quantity reaches a preset memory threshold value;
and if the memory usage reaches the preset memory threshold, closing the first application and/or other applications running in the background.
3. The method of claim 2, wherein after the monitoring the amount of memory usage of the wearable device, the method further comprises:
judging whether the wearable equipment exceeds a preset load or not according to the memory usage amount;
if the wearable device exceeds the preset load, sending a part of tasks in the wearable device to other devices networked with the wearable device so that the other devices complete the part of tasks.
4. The method of claim 1, wherein prior to said uploading said user data information to a server, said method further comprises:
sending the partial task in the wearable device to other devices networked with the wearable device so as to enable the other devices to complete the partial task, wherein the other devices are connected with the server.
5. A wearable device performance optimization apparatus, comprising:
the wearable device comprises a first obtaining program module, a second obtaining program module and a control module, wherein the first obtaining program module is used for obtaining the current residual electric quantity when the wearable device runs a first application;
the first judgment program module is used for judging whether the current residual electric quantity reaches an electric quantity protection threshold value;
the first sending program module is used for acquiring user data information generated in the using process of the wearable device if the current residual electric quantity reaches an electric quantity protection threshold value;
the uploading program module is used for uploading the user data information to a server so as to enable the server to backup the user data information;
a first optimizer module for shutting down the first application and/or other applications running in the background.
6. The apparatus of claim 5, further comprising:
the monitoring program module is used for monitoring the memory usage amount of the wearable equipment;
the second judgment program module is used for judging whether the memory usage reaches a preset memory threshold value or not when the current remaining power reaches a power protection threshold value;
and the second optimization program module closes the first application and/or other applications running in the background if the memory usage reaches the preset memory threshold.
7. The apparatus of claim 6, further comprising:
a third judging program module, configured to, after the monitoring of the memory usage amount of the wearable device, judge whether the wearable device exceeds a preset load according to the memory usage amount;
and the second sending program module is used for sending a part of tasks in the wearable device to other devices networked with the wearable device if the wearable device exceeds the preset load so as to enable the other devices to complete the part of tasks.
8. The apparatus of claim 5, further comprising:
a third sending program module, configured to send, to another device networked with the wearable device, a partial task in the wearable device before the uploading of the user data information to the server, so that the other device completes the partial task, where the other device is connected to the server.
9. An electronic device, characterized in that the electronic device comprises: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing the optimization method of any one of claims 1 to 4.
10. A computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, the one or more programs being executable by one or more processors to implement the optimization method of any one of claims 1 to 4.
CN201911363376.8A 2019-12-25 2019-12-25 Wearable device performance optimization method and device and electronic device Pending CN111142649A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911363376.8A CN111142649A (en) 2019-12-25 2019-12-25 Wearable device performance optimization method and device and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911363376.8A CN111142649A (en) 2019-12-25 2019-12-25 Wearable device performance optimization method and device and electronic device

Publications (1)

Publication Number Publication Date
CN111142649A true CN111142649A (en) 2020-05-12

Family

ID=70520283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911363376.8A Pending CN111142649A (en) 2019-12-25 2019-12-25 Wearable device performance optimization method and device and electronic device

Country Status (1)

Country Link
CN (1) CN111142649A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497471A (en) * 2011-11-28 2012-06-13 宇龙计算机通信科技(深圳)有限公司 Application management method and terminal
CN103685730A (en) * 2013-11-04 2014-03-26 天津三星通信技术研究有限公司 Mobile terminal communication control method and mobile terminal thereof
CN104618712A (en) * 2015-02-13 2015-05-13 北京维阿时代科技有限公司 Head wearing type virtual reality equipment and virtual reality system comprising equipment
CN105676993A (en) * 2015-12-29 2016-06-15 北京金山安全软件有限公司 Method and device for saving electric quantity and electronic equipment
CN106447755A (en) * 2016-09-27 2017-02-22 上海斐讯数据通信技术有限公司 Animation rendering system
CN107589995A (en) * 2017-08-16 2018-01-16 广东电网有限责任公司电力调度控制中心 Preview method for scheduling task before a kind of data service is broadcast

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497471A (en) * 2011-11-28 2012-06-13 宇龙计算机通信科技(深圳)有限公司 Application management method and terminal
CN103685730A (en) * 2013-11-04 2014-03-26 天津三星通信技术研究有限公司 Mobile terminal communication control method and mobile terminal thereof
CN104618712A (en) * 2015-02-13 2015-05-13 北京维阿时代科技有限公司 Head wearing type virtual reality equipment and virtual reality system comprising equipment
CN105676993A (en) * 2015-12-29 2016-06-15 北京金山安全软件有限公司 Method and device for saving electric quantity and electronic equipment
CN106447755A (en) * 2016-09-27 2017-02-22 上海斐讯数据通信技术有限公司 Animation rendering system
CN107589995A (en) * 2017-08-16 2018-01-16 广东电网有限责任公司电力调度控制中心 Preview method for scheduling task before a kind of data service is broadcast

Similar Documents

Publication Publication Date Title
EP3975378A1 (en) Charging method and apparatus, charging system, electronic device, storage medium
US11704221B2 (en) Systems and methods for collecting, tracking, and storing system performance and event data for computing devices
KR101940389B1 (en) Adaptive battery life extension
US9285857B2 (en) Application idle current drain measurement
US9152202B2 (en) Mobile device operations with battery optimization
CN108366114B (en) Application addiction prevention method and device, terminal and computer readable storage medium
US20140143828A1 (en) Methods and systems for enabling community-tested security features for legacy applications
US8712370B2 (en) Performance metrics processing for anticipating unavailability
CN106575169B (en) Method for eliminating interference of charger on touch screen and mobile terminal
CN107077181A (en) A kind of charging current limiter method, device and electronic equipment
CN106203092B (en) Method and device for intercepting shutdown of malicious program and electronic equipment
CN110837456B (en) Control method and device and electronic equipment
US11650263B1 (en) System for determining power consumption by devices
US11816200B2 (en) Terminal and method for managing launch of an application of a terminal
CN110535860A (en) The method and Network Security Device of flow are blocked when a kind of Network Security Device is restarted
CN107608923B (en) Test processing method and related product
CN111142649A (en) Wearable device performance optimization method and device and electronic device
US20210165729A1 (en) System for intelligent unit performance testing of computer applications
WO2015148846A1 (en) Adaptive file backup system
CN106951294B (en) Method and equipment for providing service for cross-system application
US20190324518A1 (en) Method for operating a device having a switchable power saving mode for reducing its power consumption
US10966104B2 (en) Email synchronization method and device
CN108491285B (en) Data protection method applied to electronic equipment test and related product
US20160217059A1 (en) Debug device, debug method, and debug program
CN106775748B (en) Screen locking switching method and device and electronic equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200512

RJ01 Rejection of invention patent application after publication