CN112866481A - Terminal control method, device and storage medium - Google Patents

Terminal control method, device and storage medium Download PDF

Info

Publication number
CN112866481A
CN112866481A CN202110013355.4A CN202110013355A CN112866481A CN 112866481 A CN112866481 A CN 112866481A CN 202110013355 A CN202110013355 A CN 202110013355A CN 112866481 A CN112866481 A CN 112866481A
Authority
CN
China
Prior art keywords
terminal
data
performance
system resource
running
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
CN202110013355.4A
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 Xiaomi Pinecone Electronic Co Ltd
Original Assignee
Beijing Xiaomi Pinecone Electronic 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 Xiaomi Pinecone Electronic Co Ltd filed Critical Beijing Xiaomi Pinecone Electronic Co Ltd
Priority to CN202110013355.4A priority Critical patent/CN112866481A/en
Publication of CN112866481A publication Critical patent/CN112866481A/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/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0264Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by selectively disabling software applications
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure relates to a method, a device and a storage medium for terminal control, aiming at each current operation object of a terminal, at least one system resource use data corresponding to the operation object is obtained; determining performance improvement data corresponding to the operation object according to the system resource use data, wherein the performance improvement data represents the performance improvement amount of the terminal under the condition of closing the operation object; and executing preset control operation, wherein the preset control operation comprises outputting performance display information, and the performance display information is used for displaying the system resource usage data and the performance improvement data corresponding to each running object to a user.

Description

Terminal control method, device and storage medium
Technical Field
The present disclosure relates to the field of terminal control, and in particular, to a method, an apparatus, and a storage medium for terminal control.
Background
With the development of science and technology, the popularity of mobile equipment is remarkably improved, the performance requirements of users on the mobile equipment are higher and higher on the premise of meeting the basic requirements of the users, and the evaluation of the users on the equipment is directly influenced by the performance.
In general, a user generally adopts to actively turn off some auxiliary functions of the device, such as WIFI, GPS, NFC, or the like, or to turn off an application running on the device to improve the performance of the device, but in the related art, after the user turns off some functions or applications of the device, the user cannot know a specific optimization condition of the performance of the device, so that the device use experience of the user is affected.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method, an apparatus, and a storage medium for terminal control.
According to a first aspect of the embodiments of the present disclosure, there is provided a terminal control method, the method including: aiming at each current running object of the terminal, acquiring at least one system resource use data corresponding to the running object; determining performance improvement data corresponding to the operation object according to the system resource use data, wherein the performance improvement data represents the performance improvement amount of the terminal under the condition of closing the operation object; and executing preset control operation, wherein the preset control operation comprises outputting performance display information, and the performance display information is used for displaying the system resource use data and the performance improvement data corresponding to each running object to a user.
Optionally, the method further comprises: determining a first object from the running objects according to the detected trigger operation, wherein the first object is at least one object selected from the running objects according to the performance display information; the executing of the preset control operation further comprises: controlling the first object to be closed.
Optionally, the method further comprises: acquiring at least one current performance index data of the terminal; if target index data exists in the at least one piece of performance index data, determining a second object from the running objects according to the target index data, wherein the target index data is the performance index data of which the numerical value is greater than or equal to a first preset threshold value; the executing of the preset control operation further comprises: controlling the second object to be closed.
Optionally, the system resource usage data corresponds to the performance index data one to one, and the determining a second object from the running objects according to the target index data includes: determining target resource usage data corresponding to the target indicator data from the system resource usage data; and taking the running objects with the highest preset number of target resource use data as the second objects.
Optionally, before the controlling the second object to turn off, the method further comprises: determining whether the second object is a preset specified object; the controlling the second object to turn off comprises: controlling the second object to be closed under the condition that the second object is determined not to be the preset specified object.
According to a second aspect of the embodiments of the present disclosure, there is provided a terminal-controlled apparatus, the apparatus including: the terminal comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is configured to acquire at least one system resource usage data corresponding to each current operation object of the terminal; a first determining module, configured to determine, according to the system resource usage data, performance improvement data corresponding to the operating object, where the performance improvement data represents a performance improvement amount of the terminal when the operating object is closed; the control module is configured to execute preset control operation, the preset control operation includes outputting performance display information, and the performance display information is used for displaying the system resource usage data and the performance improvement data corresponding to each running object to a user.
Optionally, the apparatus further comprises: a second determining module configured to determine a first object from the running objects according to the detected trigger operation, wherein the first object is at least one object selected from the running objects according to the performance display information; the control module is further configured to control the first object to be turned off.
Optionally, the apparatus further comprises: a second obtaining module, configured to obtain at least one current performance index data of the terminal; a third determining module, configured to determine a second object from the operating objects according to target index data if the target index data exists in the at least one piece of performance index data, where the target index data is performance index data whose value is greater than or equal to a first preset threshold; the control module is configured to control the second object to be turned off.
Optionally, the system resource usage data corresponds to the performance indicator data one to one, and the third determining module is configured to: determining target resource usage data corresponding to the target indicator data from the system resource usage data; and taking the running objects with the highest preset number of target resource use data as the second objects.
Optionally, the apparatus further comprises: a fourth determination module configured to determine whether the second object is a preset specified object; the control module is configured to control the second object to be closed under the condition that the second object is determined not to be the preset specified object.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal controlled apparatus, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: the steps of the terminal control method provided by the first aspect of the present disclosure are performed.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the steps of the terminal control method provided by the first aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: by the technical scheme, at least one system resource use data corresponding to each current running object of the terminal is acquired; determining performance improvement data corresponding to the operation object according to the system resource use data, wherein the performance improvement data represents the performance improvement amount of the terminal under the condition of closing the operation object; then carry out and predetermine control operation, predetermine control operation and include output performance show information, performance show information is used for showing every to the user the operation object corresponds system resource use data with performance promotion data, through to system resource use condition and close the show of terminal performance promotion volume behind the terminal operation object like this, can make the user know the influence value of every operation object to equipment performance more directly perceivedly, make the user can be according to the performance of self demand more convenient, more intelligent, more accurate promotion equipment, improved user's equipment and used the experience.
Additional features and advantages of the disclosure are set forth in the detailed description which follows, and it is understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a terminal control method according to an exemplary embodiment;
fig. 2 is a flow chart illustrating another terminal control method according to an example embodiment;
FIG. 3 is a block diagram illustrating a first type of terminal control device according to an exemplary embodiment;
FIG. 4 is a block diagram illustrating a second type of terminal control device according to an exemplary embodiment;
fig. 5 is a block diagram illustrating a third terminal control apparatus according to an exemplary embodiment;
fig. 6 is a block diagram illustrating a fourth terminal control device according to an exemplary embodiment;
fig. 7 is a block diagram illustrating a terminal control apparatus according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
At present, mobile devices are widely popularized, and the attention of people to the mobile devices is gradually shifted from whether to meet basic requirements to the performance of the mobile devices, and the performance directly influences the evaluation of users on the devices. In general, a user generally adopts active turning off of some auxiliary functions of the device, such as WIFI, GPS, NFC, or adopts turning off of an application running on the device to improve performance of the device, but in the related art, after turning off of some auxiliary functions or applications of the device, the user cannot know a specific optimization condition of the performance of the device, so that experience of the user in using the device is affected, for example, in the case of insufficient electric quantity, how much electric quantity of the device is saved after turning off the GPS, and how long the device runs can be prolonged by the saved electric quantity. In addition, when the terminal device is stuck due to the excessive use of the system resources, in general, the terminal device may release the system resources to ensure the normal operation of the terminal device by automatically closing the target operation object, however, this method may often cause the operation object that the user does not want to be closed to be forcibly closed, which causes inconvenience to the user and reduces the device use experience of the user.
In order to solve the existing problems, the present disclosure provides a method, an apparatus, and a storage medium for controlling a terminal, in which system resource usage data of an operating object on the terminal is obtained, and a performance improvement amount of the terminal when the operating object is closed is determined according to the system resource usage data, so that a user can intuitively know an influence value of each operating object on device performance by displaying the terminal performance improvement data corresponding to each operating object to the user, thereby facilitating the user to more quickly and accurately improve device performance according to the user's own needs, and improving device usage experience of the user. In addition, the preset designated object can be set, and the preset designated object can be a designated protection object which is not closed and is arranged on the terminal in advance according to the actual requirement of the user, so that the operation object is not closed under the condition that the operation object to be closed is determined to be the preset designated object, the designated object is protected from being closed, the terminal control is more humanized, the problem that the operation object which the user does not want to be closed is forcibly closed by a system is solved, and the equipment use experience of the user is further improved.
Fig. 1 is a flowchart illustrating a method of terminal control according to an exemplary embodiment, the method of terminal control including the steps of, as shown in fig. 1:
in step S101, for each current operation object of the terminal, at least one system resource usage data corresponding to the operation object is obtained.
The operating object refers to an object currently operated by the terminal, and the operating object may include an auxiliary function (such as bluetooth, GPS, WIFI, NFC, and the like) currently in an on state of the terminal or an application (such as WeChat, QQ, flybook, Taobao, Payment and the like) currently operated by the terminal, and the system resource usage data may be one or more of data such as memory occupation amount, current occupation value, and temperature influence value of the operating object on the terminal.
In this step, the system resource usage data corresponding to the running object may be periodically obtained according to a preset time interval, in a possible implementation manner, the terminal may obtain the system resource usage data corresponding to each running object on the terminal through a preset application program (e.g., a cell phone manager), and the system resource usage data may be obtained through a system interface provided by the terminal, where different system resource usage data correspond to different system interfaces, and a specific obtaining manner may refer to related descriptions in the prior art, which is not described herein again.
In step S102, performance improvement data corresponding to the running object is determined according to the system resource usage data.
Wherein the performance improvement data represents a performance improvement amount of the terminal when the operation object is closed.
For example, the terminal may be a mobile device, such as a mobile phone, and it is assumed that the wechat is one of the running objects currently running by the mobile device, and the system resource usage data corresponding to the wechat currently in the running state is acquired as follows: in this case, if the WeChat on the mobile device is turned off, 800MB of memory may be released for the mobile device, and the system operating temperature of 1 ℃ may be reduced for the mobile device, and after the WeChat is turned off, the device operating time of the mobile device may be extended to 0.67 hour according to the calculation of the Current occupancy value 500mA when the WeChat is turned off, and at the same time, the electric quantity of 335mAh (0.67h 500mA) is saved for the mobile device, so that determining the performance improvement data corresponding to the WeChat according to the System resource usage data corresponding to the WeChat includes: releasing 800MB of memory for the mobile device, lowering the system operating temperature of 1 ℃ for the mobile device, extending the device lifetime by 0.67 hours for the mobile device, and saving 335mAh of power for the mobile device, which are only examples and are not limited by this disclosure.
In step S103, a preset control operation is performed, where the preset control operation includes outputting performance display information, where the performance display information is used to display the system resource usage data and the performance improvement data corresponding to each running object to a user.
In this step, the system resource usage data and the performance improvement data corresponding to the running object may be displayed in an auxiliary manner by drawing a table, a histogram, a line graph, or the like according to the system resource usage data and the performance improvement data, and the terminal may output the performance display information to a user through a preset application program (such as a cell phone manager), where this is merely an example, and the specific display form of the system resource usage data and the performance improvement data is not limited in this disclosure.
By adopting the method, the performance improvement value of the terminal when the running object is closed can be determined according to the system resource use data by acquiring the system resource use data of the running object on the terminal, so that the user can visually know the influence value of each running object on the performance of the equipment by displaying the terminal performance improvement data corresponding to each running object to the user, the user can more intelligently and more accurately improve the performance of the equipment according to the self requirement, and the equipment use experience of the user is improved.
Fig. 2 is a flow chart illustrating another method of terminal control according to an exemplary embodiment, as shown in fig. 2, the method including the steps of:
in step S201, for each current operation object of the terminal, at least one system resource usage data corresponding to the operation object is obtained.
The operating object refers to an object currently operated by the terminal, and the operating object may include an auxiliary function (such as bluetooth, GPS, WIFI, NFC, and the like) currently in an on state of the terminal or an application (such as WeChat, QQ, flybook, Taobao, Payment and the like) currently operated by the terminal, and the system resource usage data may be one or more of data such as memory occupation amount, current occupation value, and temperature influence value of the operating object on the terminal.
In this step, the system resource usage data corresponding to the running object may be periodically obtained according to a preset time interval, in a possible implementation manner, the terminal may obtain the system resource usage data corresponding to each running object on the terminal through a preset application program (e.g., a cell phone manager), and the system resource usage data may be obtained through a system interface provided by the terminal, where different system resource usage data correspond to different system interfaces, and a specific obtaining manner may refer to related descriptions in the prior art, which is not described herein again.
For example, the terminal may be a mobile device, such as a mobile phone, and the mobile device may obtain, by a mobile phone manager, the application program in the running state on the mobile device and system resource usage data corresponding to each application program, where for example, the application program in the running state on the mobile device has WeChat, QQ, flybook, Taobao and Paobao, and the system resource usage data corresponding to each application program is: the memory occupation amount of WeChat is 800MB, the current occupation value is 500mA, and the temperature influence value on the mobile equipment is 1 ℃; the memory occupation amount of the QQ is 700MB, the current occupation value is 400mA, and the temperature influence value on the mobile equipment is 2 ℃; the memory occupation amount of the flybook is 600MB, the current occupation value is 300mA, and the temperature influence value on the mobile equipment is 3 ℃; the memory occupation amount of the naughty is 500MB, the current occupation value is 200mA, and the temperature influence value on the mobile equipment is 4 ℃; the memory occupation amount of the device of the pay pal is 400MB, the current occupation value of the device is 100mA, and the temperature influence value on the mobile device is 5 ℃, and the above example is only an illustration, and the disclosure does not limit the same.
In step S202, performance improvement data corresponding to the running object is determined according to the system resource usage data.
Wherein the performance improvement data represents a performance improvement amount of the terminal under the condition of closing the operation object.
For example, the terminal may be a mobile device, such as a mobile phone, and it is assumed that the wechat is one of the running objects currently running by the mobile device, and the system resource usage data corresponding to the wechat currently in the running state is acquired as follows: in this case, if the WeChat on the mobile device is turned off, 800MB of memory may be released for the mobile device, and the system operating temperature of 1 ℃ may be reduced for the mobile device, and after the WeChat is turned off, the device operating time of the mobile device may be extended to 0.67 hour according to the calculation of the Current occupancy value 500mA when the WeChat is turned off, and at the same time, the electric quantity of 335mAh (0.67h 500mA) is saved for the mobile device, so that determining the performance improvement data corresponding to the WeChat according to the System resource usage data corresponding to the WeChat includes: releasing 800MB of memory for the mobile device, lowering the system operating temperature of 1 ℃ for the mobile device, extending the device lifetime by 0.67 hours for the mobile device, and saving 335mAh of power for the mobile device, which are only examples and are not limited by this disclosure.
The extended service time of the device after the WeChat is closed can be calculated according to the following modes:
assuming that the total electric quantity of the mobile device is 4000mAh, the current remaining electric quantity is 50% of the total electric quantity, and the application program in the running state on the terminal has a WeChat, a QQ, a flying book, a Taobao and a Paibao, wherein the electric current occupancy value of the WeChat is 500mA, the electric current occupancy value of the QQ is 400mA, the electric current occupancy value of the flying book is 300mA, the electric current occupancy value of the Taobao is 200mA, and the electric current occupancy value of the Paibao is 100mA, and the electric current occupancy value can be obtained by calculation:
in the case of not turning off the WeChat, the time that the terminal device can use is:
Figure BDA0002886009460000091
in case of closing the WeChat, the time that the terminal device can use is:
Figure BDA0002886009460000092
in the case of switching off the WeChat, the amount of electricity that the terminal device can save is:
Figure BDA0002886009460000093
therefore, in case of closing the WeChat, the terminal device can be extended
Figure BDA0002886009460000094
The using time of the electric energy meter can save 333.3mAh of electric quantity.
In this embodiment, after the performance improvement data corresponding to each running object is obtained, in order to enable a user to intuitively know the influence value of each running object on the performance of the device, the performance display information may be output by executing step S203; after the performance display information is output, a user can intuitively know the influence value of each running object on the performance of the device according to the performance display information, so that at least one object (namely, a first object) can be selected from the running objects as a closing object according to actual requirements and the performance display information (namely, step S204), and after the terminal acquires the first object, the terminal can control the first object to be closed by executing step S205, so that the performance of the terminal is improved, that is, in this embodiment, the user can manually select to close the first object by executing steps S204 to S205; in addition, in order to improve the performance of the terminal, in this embodiment, the terminal may further perform steps S206 to S208 to automatically determine a second object to be closed among the multiple running objects, and control the second object to be closed when the second object is not a preset specified object, and when the second object is determined to be the preset specified object, the second object is not closed, and the preset specified object is a specified protection object on the terminal that is not closed and is preset by the user.
In step S203, performance exhibition information is output.
Wherein, the performance display information is used for displaying the system resource usage data and the performance improvement data corresponding to each running object to a user.
In this step, the system resource usage data and the performance improvement data corresponding to the running object may be displayed in an auxiliary manner by drawing a table, a histogram, a line graph, or the like according to the system resource usage data and the performance improvement data, and the terminal may output the performance display information to a user through a preset application program (e.g., a cell phone manager).
The terminal may be a mobile device, such as a mobile phone, where the mobile device may obtain, through a cell phone manager, that an application program in a running state on the mobile device has WeChat, QQ, flybook, Taobao, and Payment treasures, a total power of the mobile phone is 4000mAh, determine the performance improvement data according to the obtained system resource usage data of the above 5 application programs, draw a table 1 according to the system resource usage data and the performance improvement data, output performance display information by using the table 1, and visually display the system resource usage data and the performance improvement data corresponding to WeChat, QQ, flybook, Taobao, and Payment treasures to a user.
Table 1 performance display information table
Figure BDA0002886009460000111
It should be noted that the extended use time of the terminal after being turned off in the table is only an example, so as to facilitate the user to more intuitively know the power extension situation, for example, the power extension situation may be outputted in the form of minutes.
In step S204, a first object is determined from the running objects according to the detected trigger operation.
The first object is at least one object selected from the running objects according to the performance display information.
Exemplarily, continuing to explain by taking the example in step S203 as an example, assuming that the current running objects of the mobile device include 5 objects of the WeChat, the QQ, the flybook, the Taobao and the Paobao shown in table 1, and the user can intuitively know that the memory occupied amount corresponding to the WeChat is the highest and the terminal memory capable of releasing the closed WeChat is the largest according to table 1, the user can manually select the WeChat as the first object through a triggering operation, such as a sliding operation or a pressing operation; in addition, the user can intuitively know that the payment treasure and the panning treasure have a large influence value on the terminal temperature according to the table 1, the system operation temperature of the terminal can be greatly reduced by closing the payment treasure and the panning treasure, and the user can manually select the payment treasure and the panning treasure as the first object through triggering operation; the user can also intuitively know that the current occupancy value of the terminal with the WeChat is the highest according to the table 1, the terminal prolongs the service life after the WeChat is closed, and the electricity saving amount is the largest, and then the user can manually select the WeChat to be the first object through the triggering operation, so that the terminal can determine the first object according to the detected triggering operation.
In step S205, the first object is controlled to be turned off.
In step S206, at least one current performance index data of the terminal is obtained.
The performance index data refers to a total value of the system resource usage data in the terminal, for example, the performance index data may be a total memory occupancy amount, a total electricity usage value, or a current temperature value of all running objects on the terminal, and it should be noted that the performance index data corresponds to the system resource usage data one to one.
In step S207, if there is target index data in the at least one performance index data, a second object is determined from the running objects according to the target index data.
The target index data is performance index data with a value greater than or equal to a first preset threshold value.
It should be noted that the first preset threshold is set by a manufacturer before the product leaves the factory, the first preset threshold corresponds to the performance index data one by one, and different performance index data may not correspond to the first preset threshold, for example, the first preset threshold corresponding to the total memory occupation amount of all the running objects on the terminal may be set to 80% of the total memory; the first preset threshold corresponding to the total electricity usage value of all the running objects on the terminal may be set to 60% of the total electricity; the first preset threshold corresponding to the current temperature value of the terminal may be set to 50% of the upper limit temperature value, and if a certain performance index data is greater than or equal to the corresponding first preset threshold, the performance index data is the target index data.
In addition, the system resource usage data and the performance index data are in one-to-one correspondence, so that in this step, the second object can be determined from the running objects according to the target index data by: determining target resource usage data corresponding to the target index data from the system resource usage data; and taking the running objects with the highest preset number of target resource use data as the second objects.
The preset number may be set by a user according to a user requirement, and for example, the preset number may be 1, 2, or 3.
Exemplarily, assuming that the total memory occupancy of the terminal is 3.5G, the upper limit temperature of the terminal device is 45 degrees, the battery capacity of the terminal device is 4000mAh, the first preset threshold of the total memory occupancy of the terminal device is set to 80% of the total memory, the first preset threshold of the current temperature value is set to 70% of the upper limit temperature value, and the first preset threshold of the total electricity usage value is set to 60% of the total electricity, and the performance index data of the terminal device is obtained, wherein the current total memory occupancy of the terminal device is 3G, the total electricity usage value is 50%, and the current temperature value is 20 degrees, because the memory occupancy of the terminal device is greater than 2.8G (3.5G × 80%), that is, the current total memory occupancy is greater than the first preset threshold, the total memory occupancy is the target index data; the total electricity usage value of the terminal device is 50% < 60%, that is, the current total electricity usage value is smaller than the first preset threshold, the total electricity usage value is not the target index data; the current temperature value of the terminal device is 20 degrees <31.5 degrees (═ 45 degrees × 70%), that is, the current temperature value is less than the first preset threshold, the current temperature value is not the target index data, therefore, the target index data is the total memory occupancy of the terminal device, the target resource usage data corresponding to the total memory occupancy is determined from the system resource usage data as the memory occupancy of the operating object, the operating object with the highest memory occupancy can be determined as the WeChat according to table 1, and then QQ, therefore, if the preset number is 1, the terminal can take the operating object with the highest target resource usage data as the second object, at this time, the WeChat can be determined as the second object, if the preset number is 2, the terminal can take the first 2 operating objects with the highest target resource usage data as the second object, at this time, the terminal can determine the WeChat, The QQ is the second object, and the above examples are only illustrative and the disclosure is not limited thereto.
In step S208, it is determined whether the second object is a preset designated object, and in the case where it is determined that the second object is not the preset designated object, the second object is controlled to be turned off.
For example, if the second object is in the white list, the second object may be protected from being closed, for example, if the second object is in the white list, the second object is assumed to be WeChat and QQ, and if the WeChat is in the white list, only the QQ may be controlled to be closed, and the WeChat is not closed, so that the specified application in the white list is protected from being closed.
It should be noted that, in order to further improve the user experience, the present disclosure may further send a reminding message to the user when the current one or more performance index data of the terminal is greater than or equal to the corresponding second preset threshold, where the reminding message is used to remind the user that the performance index data exceeds the second preset threshold, so as to actively remind the user to manually close a certain operation object, so as to improve the terminal performance, where the second preset threshold may be smaller than the first preset threshold, and the reminding message may be a voice prompt and/or a text prompt.
In addition, when one or more current performance index data of the terminal is larger than or equal to the corresponding second preset threshold, the method can also obtain the running object with the maximum performance index data occupied by the system resource usage data in the current running object of the terminal, and prompts the user that the system resource usage data of the running object is larger through the reminding information, and advises the user to manually close the running object.
Illustratively, the total memory capacity of the terminal device is 4G, the upper limit temperature of the terminal device is 45 degrees, the battery capacity of the terminal device is 4000mAh, the first preset threshold of the total memory occupancy of the terminal device is set to 80%, the first preset threshold of the current temperature value is set to 70%, and the first preset threshold of the total electricity usage value is set to 60%; setting a second preset threshold of the total memory occupancy of the terminal device to 70%, setting a second preset threshold of the current temperature value to 60%, setting a second preset threshold of the total electricity usage value to 50%, and obtaining performance index data of the terminal device, wherein the current total memory occupancy of the terminal device is 3G, the total electricity usage value is 40%, and the current temperature value is 20%, continuing with the example in step S203, because the memory occupancy of the terminal device is 2.8G (4G 70%) <3G <3.2G (═ 4G 80%), that is, the current total memory occupancy is greater than the second preset threshold and less than the first preset threshold, and in addition, the total electricity usage value of the terminal device is 40% < 50%, that is, the current total electricity usage value is less than the second preset threshold, and the current temperature value of the terminal device is 20 ° <27 ° (-45 ° × 60, 60%), that is, the current temperature value is smaller than the second preset threshold, therefore, the operation object with the largest system resource usage data memory occupancy in the current operation object of the terminal is obtained as the WeChat, the user is prompted by a text prompt and/or a voice prompt that the memory occupancy of the WeChat is large, and the user is advised to manually close the WeChat to release the memory.
Further, in order to bring better use experience to the user, a prompt message may be sent after the operation object is closed to remind the user of the performance improvement amount of the terminal after the operation object is closed, for example, if the QQ is controlled to be closed, after the QQ is closed, a voice prompt and/or a text prompt is sent, and the QQ is closed to release the memory of 700MB from the terminal; if the QQ and the flybook are controlled to be closed, after the QQ and the flybook are closed, a voice prompt and/or a text prompt are/is sent, and the QQ and the flybook are closed, so that the service time of the terminal is prolonged by 49.8 minutes.
By adopting the method, the performance improvement value of the terminal can be determined according to the system resource use data of the running object on the terminal when the running object is closed, so that the user can visually know the influence value of each running object on the equipment performance by displaying the terminal performance improvement data corresponding to each running object to the user, the user can more intelligently and accurately improve the equipment performance according to the self requirement, and the equipment use experience of the user is improved. In addition, by adopting the method, the designated protection object can be preset, and the designated protection object is protected from being closed when the operation object is forcibly closed according to the system resource use data and the target resource use data, so that the terminal control is more humanized, the problem that the operation object which a user does not want to be closed is forcibly closed by the system is solved, and the equipment use experience of the user is improved.
Fig. 3 is a block diagram illustrating a terminal-controlled apparatus according to an exemplary embodiment, as shown in fig. 3, the apparatus including:
a first obtaining module 301, configured to obtain, for each current running object of the terminal, at least one system resource usage data corresponding to the running object.
A first determining module 302, configured to determine performance improvement data corresponding to the running object according to the system resource usage data.
Wherein the performance improvement data represents a performance improvement amount of the terminal under the condition of closing the operation object.
A control module 303 configured to perform a preset control operation.
The preset control operation comprises outputting performance display information, wherein the performance display information is used for displaying the system resource usage data and the performance improvement data corresponding to each running object to a user.
Optionally, fig. 4 is a block diagram of a second terminal control device according to the embodiment shown in fig. 3, and as shown in fig. 4, the device further includes:
a second determination module 304 configured to determine the first object from the running objects according to the detected trigger operation.
The first object is at least one object selected from the running objects according to the performance display information.
The control module 303 is further configured to control the first object to be turned off.
Optionally, fig. 5 is a block diagram of a third terminal control device shown in the embodiment shown in fig. 3, and as shown in fig. 5, the device further includes:
a second obtaining module 305 configured to obtain at least one current performance index data of the terminal.
A third determining module 306 configured to determine a second object from the running objects according to the target index data if the target index data exists in the at least one performance index data.
The target index data is performance index data with a value greater than or equal to a first preset threshold value. The third determination module 306 is further configured to:
determining target resource usage data corresponding to the target index data from the system resource usage data; and taking the running objects with the highest preset number of target resource use data as the second objects.
Alternatively, fig. 6 is a block diagram of a fourth terminal control device shown in the embodiment shown in fig. 3, and as shown in fig. 6, the device further includes:
a fourth determining module 307 configured to determine whether the second object is a preset designated object. And controlling the second object to be closed under the condition that the second object is determined not to be the preset specified object.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
By adopting the device, the performance improvement value of the terminal can be determined according to the system resource use data of the running object on the terminal when the running object is closed, so that the user can visually know the influence value of each running object on the equipment performance by showing the terminal performance improvement data corresponding to each running object to the user, the user can more intelligently and accurately improve the equipment performance according to the self requirement, and the equipment use experience of the user is improved. In addition, by adopting the device, the designated protection object can be preset, and the designated protection object is protected from being closed when the operation object is forcibly closed according to the system resource use data and the target resource use data, so that the terminal control is more humanized, the problem that the operation object which a user does not want to be closed is forcibly closed by the system is solved, and the equipment use experience of the user is improved.
The present disclosure also provides a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the terminal control method provided by the present disclosure.
Fig. 7 is a block diagram illustrating an apparatus 700 for controlling a terminal according to an exemplary embodiment. For example, the apparatus 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the terminal control method. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the apparatus 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, sensor assembly 714 may detect an open/closed state of device 700, the relative positioning of components, such as a display and keypad of device 700, sensor assembly 714 may also detect a change in position of device 700 or a component of device 700, the presence or absence of user contact with device 700, orientation or acceleration/deceleration of device 700, and a change in temperature of device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing a terminal control method.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the apparatus 700 to perform a terminal control method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In another exemplary embodiment, a computer program product is also provided, which comprises a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-mentioned terminal control method when executed by the programmable apparatus.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A method for terminal control, comprising:
aiming at each current running object of the terminal, acquiring at least one system resource use data corresponding to the running object;
determining performance improvement data corresponding to the operation object according to the system resource use data, wherein the performance improvement data represents the performance improvement amount of the terminal under the condition of closing the operation object;
and executing preset control operation, wherein the preset control operation comprises outputting performance display information, and the performance display information is used for displaying the system resource use data and the performance improvement data corresponding to each running object to a user.
2. The method of claim 1, further comprising:
determining a first object from the running objects according to the detected trigger operation, wherein the first object is at least one object selected from the running objects according to the performance display information;
the executing of the preset control operation further comprises: controlling the first object to be closed.
3. The method of claim 1, further comprising:
acquiring at least one current performance index data of the terminal;
if target index data exists in the at least one piece of performance index data, determining a second object from the running objects according to the target index data, wherein the target index data is the performance index data of which the numerical value is greater than or equal to a first preset threshold value;
the executing of the preset control operation includes: controlling the second object to be closed.
4. The method of claim 3, wherein the system resource usage data corresponds one-to-one to the performance metric data, and wherein determining the second object from the running objects based on the target metric data comprises:
determining target resource usage data corresponding to the target indicator data from the system resource usage data;
and taking the running objects with the highest preset number of target resource use data as the second objects.
5. The method of claim 3, wherein prior to said controlling said second object to turn off, said method further comprises:
determining whether the second object is a preset specified object;
the controlling the second object to turn off comprises:
controlling the second object to be closed under the condition that the second object is determined not to be the preset specified object.
6. A terminal-controlled apparatus, comprising:
the terminal comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is configured to acquire at least one system resource usage data corresponding to each current operation object of the terminal;
a first determining module, configured to determine, according to the system resource usage data, performance improvement data corresponding to the operating object, where the performance improvement data represents a performance improvement amount of the terminal when the operating object is closed;
the control module is configured to execute preset control operation, the preset control operation includes outputting performance display information, and the performance display information is used for displaying the system resource usage data and the performance improvement data corresponding to each running object to a user.
7. The apparatus of claim 6, further comprising:
a second determining module configured to determine a first object from the running objects according to the detected trigger operation, wherein the first object is at least one object selected from the running objects according to the performance display information;
the control module is further configured to control the first object to be turned off.
8. The apparatus of claim 6, further comprising:
a second obtaining module, configured to obtain at least one current performance index data of the terminal;
a third determining module, configured to determine a second object from the operating objects according to target index data if the target index data exists in the at least one piece of performance index data, where the target index data is performance index data whose value is greater than or equal to a first preset threshold;
the control module is configured to control the second object to be turned off.
9. The apparatus of claim 8, wherein the system resource usage data corresponds one-to-one to the performance indicator data, and wherein the third determining module is configured to:
determining target resource usage data corresponding to the target indicator data from the system resource usage data; and taking the running objects with the highest preset number of target resource use data as the second objects.
10. The apparatus of claim 8, further comprising:
a fourth determination module configured to determine whether the second object is a preset specified object;
the control module is configured to control the second object to be closed under the condition that the second object is determined not to be the preset specified object.
11. A terminal-controlled apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: performing the method of any one of claims 1-5.
12. A computer-readable storage medium, on which computer program instructions are stored, which program instructions, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 5.
CN202110013355.4A 2021-01-06 2021-01-06 Terminal control method, device and storage medium Pending CN112866481A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110013355.4A CN112866481A (en) 2021-01-06 2021-01-06 Terminal control method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110013355.4A CN112866481A (en) 2021-01-06 2021-01-06 Terminal control method, device and storage medium

Publications (1)

Publication Number Publication Date
CN112866481A true CN112866481A (en) 2021-05-28

Family

ID=76004358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110013355.4A Pending CN112866481A (en) 2021-01-06 2021-01-06 Terminal control method, device and storage medium

Country Status (1)

Country Link
CN (1) CN112866481A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014165017A (en) * 2013-02-25 2014-09-08 Primearth Ev Energy Co Ltd Power supply device
CN104714895A (en) * 2015-03-23 2015-06-17 努比亚技术有限公司 Mobile terminal and method and device for increasing running speed of mobile terminal
CN105653006A (en) * 2015-12-29 2016-06-08 北京金山安全软件有限公司 Method and device for saving electric quantity and electronic equipment
CN106774774A (en) * 2016-11-30 2017-05-31 北京小米移动软件有限公司 The electric quantity display method and device of end cell
CN107193716A (en) * 2017-04-25 2017-09-22 北京小米移动软件有限公司 Resource occupation display methods and device
CN109254644A (en) * 2018-08-16 2019-01-22 中国平安人寿保险股份有限公司 Electricity display control method, device, terminal and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014165017A (en) * 2013-02-25 2014-09-08 Primearth Ev Energy Co Ltd Power supply device
CN104714895A (en) * 2015-03-23 2015-06-17 努比亚技术有限公司 Mobile terminal and method and device for increasing running speed of mobile terminal
CN105653006A (en) * 2015-12-29 2016-06-08 北京金山安全软件有限公司 Method and device for saving electric quantity and electronic equipment
CN106774774A (en) * 2016-11-30 2017-05-31 北京小米移动软件有限公司 The electric quantity display method and device of end cell
CN107193716A (en) * 2017-04-25 2017-09-22 北京小米移动软件有限公司 Resource occupation display methods and device
CN109254644A (en) * 2018-08-16 2019-01-22 中国平安人寿保险股份有限公司 Electricity display control method, device, terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN106774774B (en) Method and device for displaying electric quantity of terminal battery
CN107134823B (en) Charging prompting method and device
CN109361593B (en) Message reminding method, device, mobile terminal and storage medium
CN105224349B (en) Application program deletion prompting method and device
CN108365657B (en) Charging current control method, device and storage medium
CN107438811B (en) Information screen display method and device
CN105912450B (en) Application state information display method and device
US20220271557A1 (en) Charging method and apparatus, electronic device and storage medium
US10042328B2 (en) Alarm setting method and apparatus, and storage medium
CN108629178B (en) Resource access authority configuration method and device of application program
CN107331910B (en) Charging method and device
CN110618783B (en) Text broadcasting method, device and medium
CN109522058B (en) Wake-up method, device, terminal and storage medium
CN110941321A (en) Power supply method and device for electronic equipment and intelligent equipment
CN109062625B (en) Application program loading method and device and readable storage medium
CN107368175B (en) Processing method and device for reducing terminal power consumption and terminal
CN108874107B (en) Control method and device for state of charge
CN108429312B (en) Charging control method and device
CN107733021B (en) Control method and device of electronic equipment
CN112752328A (en) Network control method, device and storage medium
CN107528098B (en) Charging method and device
CN106791089B (en) Method and device for prompting battery electric quantity
CN113258655B (en) Electric quantity control method and device, electronic equipment and storage medium
CN106060104B (en) Application management method and device
CN112866481A (en) Terminal control method, device and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210528

RJ01 Rejection of invention patent application after publication