CN111867024A - Electronic equipment control method and device and electronic equipment - Google Patents

Electronic equipment control method and device and electronic equipment Download PDF

Info

Publication number
CN111867024A
CN111867024A CN202010598968.4A CN202010598968A CN111867024A CN 111867024 A CN111867024 A CN 111867024A CN 202010598968 A CN202010598968 A CN 202010598968A CN 111867024 A CN111867024 A CN 111867024A
Authority
CN
China
Prior art keywords
preset
target
electric quantity
target object
mode
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
CN202010598968.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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010598968.4A priority Critical patent/CN111867024A/en
Publication of CN111867024A publication Critical patent/CN111867024A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system
    • 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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a control method and device of electronic equipment and the electronic equipment, and belongs to the technical field of communication. The control method of the electronic equipment comprises the following steps: acquiring a first electric quantity usage amount of a target object in a first preset time period; under the condition that the first electric quantity usage exceeds a preset electric quantity threshold, controlling the electronic equipment according to a preset target control mode; and the target control mode and the preset electric quantity threshold value are both associated with the target object. According to the embodiment of the application, the electric quantity control mode of the electronic equipment can be enriched, and the user experience is improved.

Description

Electronic equipment control method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a control method and device for electronic equipment and the electronic equipment.
Background
With the rapid increase of the material level, electronic devices such as smart phones have become one of the essential articles for people in life. At present, the electronic device is generally controlled based on the use period, for example, certain application programs in the electronic device can be prohibited from running between 20:00 and 21:00 of a day, or students can be allowed to use the electronic device.
In the process of implementing the present application, the inventors found that at least the following problems exist in the related art:
the electric quantity of the electronic equipment is controlled based on the use time period, the control mode is single, and the user experience is poor.
Disclosure of Invention
An embodiment of the present application provides a method and an apparatus for controlling an electronic device, and an electronic device, which can solve the problem that an electric quantity control mode of the electronic device is relatively single.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a method for controlling an electronic device, where the method includes:
acquiring a first electric quantity usage amount of a target object in a first preset time period;
under the condition that the first electric quantity usage exceeds a preset electric quantity threshold, controlling the electronic equipment according to a preset target control mode;
and the preset electric quantity threshold and the target control mode are both associated with the target object.
In a second aspect, an embodiment of the present application provides a control apparatus for an electronic device, where the apparatus includes:
the first acquisition module is used for acquiring a first electric quantity usage amount of a target object in a first preset time period;
The control module is used for controlling the electronic equipment according to a preset target control mode under the condition that the first electric quantity usage exceeds a preset electric quantity threshold;
and the preset electric quantity threshold and the target control mode are both associated with the target object.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or an instruction stored on the memory and executable on the processor, and when the program or the instruction is executed by the processor, the method for controlling the electronic device according to the first aspect is implemented.
In a fourth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the control method of an electronic device according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the steps of the control method of the electronic device according to the first aspect.
In the embodiment of the application, the electronic device can be controlled according to a preset target control mode associated with the target object by acquiring the first electric quantity usage of the target object in a first preset time period and then under the condition that the first electric quantity usage exceeds a preset electric quantity threshold associated with the target object. Therefore, the electronic equipment can be controlled according to the target control modes of different target objects, so that the electric quantity control mode of the electronic equipment is enriched, and the user experience is improved.
Drawings
Fig. 1 is a flowchart illustrating a control method of an electronic device according to an embodiment of the present application;
FIG. 2 is a schematic view of an interface provided by another embodiment of the present application;
FIG. 3 is a schematic view of an interface provided by another embodiment of the present application;
FIG. 4 is a schematic view of an interface provided by another embodiment of the present application;
FIG. 5 is a schematic view of an interface provided by another embodiment of the present application;
fig. 6 is a flowchart illustrating a control method of an electronic device according to another embodiment of the present application;
fig. 7 is a flowchart illustrating a control method for an electronic device according to another embodiment of the present application;
FIG. 8 is a schematic view of an interface provided by another embodiment of the present application;
Fig. 9 is a flowchart illustrating a control method for an electronic device according to another embodiment of the present application;
fig. 10 is a flowchart illustrating a control method for an electronic device according to another embodiment of the present application;
fig. 11 is a flowchart illustrating a control method of an electronic device according to another embodiment of the present application;
fig. 12 is a flowchart illustrating a control method for an electronic device according to another embodiment of the present application;
fig. 13 is a schematic structural diagram of a control device of an electronic apparatus according to another embodiment of the present application;
FIG. 14 is a diagram illustrating a hardware configuration of an electronic device implementing various embodiments of the present application;
fig. 15 is a hardware structure diagram of an electronic device implementing various embodiments of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail a control method and apparatus for an electronic device and the electronic device provided in the embodiments of the present application through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
As described in the background section, the electronic device is controlled based on the usage time period, the control manner is single, and the user experience is poor, so how to better control the electronic device is a problem to be solved.
In order to solve the above problem, embodiments of the present application provide a method and an apparatus for controlling an electronic device, and an electronic device. First, a control method of an electronic device provided in an embodiment of the present application is described below.
As shown in fig. 1, a method for controlling an electronic device provided in an embodiment of the present application includes the following steps:
s110, acquiring a first electric quantity usage amount of the target object in a first preset time period.
And S120, controlling the electronic equipment according to a preset target control mode under the condition that the first electric quantity usage exceeds a preset electric quantity threshold.
Specific implementations of the above steps will be described in detail below.
In the embodiment of the application, the electronic device can be controlled according to a preset target control mode associated with the target object by acquiring the first electric quantity usage of the target object in a first preset time period and then under the condition that the first electric quantity usage exceeds a preset electric quantity threshold associated with the target object. Therefore, the electronic equipment can be controlled according to the target control modes of different target objects, so that the electric quantity control mode of the electronic equipment is enriched, and the user experience is improved.
Specific implementations of the above steps are described below.
First, a specific implementation of S110 will be described.
In some embodiments, unlike the control of the electronic device by using the time period, the electronic device may be controlled by using the first electric quantity usage amount of the target object within the first preset time period. The first preset period may be pre-configured by the user, for example, a period of 00:00-23:59 on a weekly weekday.
It should be noted that the first preset time period may be used as a statistical period of the first electric quantity usage of the target object, that is, when entering a next statistical period, the first electric quantity usage of the target object may be cleared, that is, the first electric quantity usage of the target object may be restarted to be counted.
In some embodiments, the first power usage may be obtained through various calculation methods, for example, the first power usage may be calculated by using a power unit, such as ampere hour or milliampere hour, or may be calculated by using a percentage, where the percentage is a ratio of consumed power to maximum available power of the electronic device.
In some embodiments, the target object may be of multiple types, such as a target mode, a target user, or a target application, wherein:
the target mode may be a mode associated with a preset set of applications, such as a game model, a reading mode, a daily mode, etc. For example, the preset application set associated with the game mode may be an application set composed of all game-class applications installed on the electronic device. Accordingly, the first power consumption of the target mode in the first preset time period may be the power consumed by all the applications included in the preset application set together in the first preset time period.
The target users, which may be users of the electronic devices, including owners of the electronic devices, and visitors, may be distinguished from each other by user identification. Correspondingly, the first electric quantity usage amount of the target user in the first preset time period may be an electric quantity consumed by the electronic device or an electric quantity consumed by various application programs run by the electronic device together in the process that a certain target user uses the electronic device in the first preset time period.
The target application program may be an application program installed on the electronic device, which is specified by the user in advance, such as an application program for turning on or off the electronic device, an application program for making a call, an application program for watching a video, and the like. Accordingly, the first power consumption of the target application program in the first preset time period may be the power consumed by the target application program in the first preset time period.
In some embodiments, the control device executing the control method of the electronic device may count the first electric quantity usage of the target object in the first preset time period through some tools or plug-ins.
The above is a specific implementation of S110, and a specific implementation of S120 is described below.
In some embodiments, the preset power threshold may be a power threshold associated with the target object, and the preset power threshold may be set manually by a user or automatically by the control device. In the case of calculating the first power usage by using the power unit, the preset power threshold may be set to a specific power unit, such as 100 ma-hr. In the case where the percentage is used to calculate the first power usage, the preset power threshold may be set to a percentage of a specific value, such as 20%.
In some embodiments, the target control manner may be a control manner associated with the target object, and the user may configure the target control manner of the target object in advance. Specifically, the target control manner may include at least one of the following control manners:
1. and outputting prompt information, wherein the prompt information can be used for prompting a user to select candidate operation, and the candidate operation can comprise at least one of running the first target application program, stopping running the second target application program or closing the electronic equipment.
It is worth mentioning that the prompting message may also be used to prompt an operation to be performed, such as running the first target application, stopping running the second target application, or shutting down the electronic device.
As shown in fig. 2, fig. 2 shows an interface schematic diagram for displaying a prompt message, in fig. 2, the current interface is a group chat interface, and the prompt message 200 is "you currently allow the power used to exceed the preset power threshold, and will stop running the current application after 3 seconds".
2. A third target application is run.
3. The fourth target application is stopped from running.
4. And turning off the electronic equipment.
As shown in fig. 3 to 5, fig. 3 shows a control mode setting interface with a game mode as a target object, fig. 4 shows a control mode setting interface with a low power mode as a target object, and fig. 5 shows a control mode setting interface with an application a as a target object, and a user can select corresponding options in the interfaces to configure the control mode of the target object. Taking the control mode setting interface with the target object as the game mode shown in fig. 3 as an example, in fig. 3, two control modes of "close the electronic device" and "allow the running application" are listed, and the user may check "close the electronic device" in fig. 3 or check a specific application, such as application a, under "allow the running application". It should be noted that, for a specific application program checked under the "application program allowed to run", when the first power consumption of the game mode exceeds the preset power threshold, the checked application program may still run, and the unchecked application program may stop running.
In some embodiments, the control device may obtain, in real time or at regular time, a first electric quantity usage amount of the target object within a first preset time period. Then, the control device may control the electronic device according to a preset target control manner when the first electric quantity usage exceeds a preset electric quantity threshold.
Through the processing of the embodiment, the electronic equipment can be controlled according to the target control modes of different target objects, so that the electric quantity control mode of the electronic equipment can be enriched, and the user experience is improved.
As another implementation manner of the present application, the target object may be determined by a user identifier or a running application, and as shown in fig. 6, the control method of the electronic device may include:
s610, determining a target object.
In some embodiments, the target object may be determined by a target user identification. Specifically, the user identifier may be configured in advance for each user using the electronic device by entering a fingerprint or by determining facial information through a camera. In this way, in the case that the target user identification is detected, the target user associated with the target user identification can be determined as the target object.
In some embodiments, the target object may be determined by an application currently running on the electronic device. Specifically, the target mode to which the currently running application belongs may be detected. In the case that the target mode to which the running application belongs is only a preset mode, the preset mode may be determined as the target object, where the preset mode may be a mode configured in advance by a technician, such as the game mode and the reading mode described above. Under the condition that the target mode to which the running application program belongs comprises a preset mode and a custom mode, the custom mode can be determined as a target object, wherein the custom mode can be a mode configured by a user, and the user can configure the application program contained in the application program set corresponding to the mode.
It should be noted that the priority of the custom mode may be set higher than that of the preset mode, so that when the running application program belongs to both the custom mode and the preset mode, the custom mode may be determined as the target object, thereby further improving the user experience.
In some embodiments, the target object may be determined by whether the running application is a target application. Specifically, it may be detected whether the running application is a target application. In the case where the running application is a target application, the target application may be determined as a target object
S620, acquiring a first electric quantity usage amount of the target object in a first preset time period.
And S630, controlling the electronic equipment according to a preset target control mode under the condition that the first electric quantity usage exceeds a preset electric quantity threshold.
S620-630 in the embodiment shown in fig. 6 is the same as or similar to S110-120 in the embodiment shown in fig. 1, and is not repeated here.
Through the processing of the embodiment, the target object can be accurately determined, so that a good basis is laid for the subsequent processing of acquiring the first electric quantity usage amount of the target object.
As another implementation manner of the present application, the preset electric quantity threshold may be determined through the first input, and as shown in fig. 7, the control method of the electronic device may include:
s710, receiving a first input of a first control associated with the target object.
In some embodiments, the first control may be a control, such as a drag bar, in a settings interface associated with the target object, and the first input may be an input, such as a drag, click, etc., made by the user to the first control. As shown in fig. 8, fig. 8 shows a plurality of interface schematic diagrams, in fig. 8, a target object is a visitor a, a user may select a user setting in an energy consumption management interface, enter the user energy consumption management interface, and then click the visitor a to enter the energy consumption management interface of the visitor a, where a first control is a dragging bar 800, the dragging bar 800 corresponds to values at different positions, and the value corresponding to the dragging bar 800 in fig. 8 is 20%.
S720, responding to the first input, and determining the numerical value corresponding to the first control as a preset electric quantity threshold value.
In some embodiments, the control device may receive the first input, and determine, in response to the first input, a value corresponding to the first control as the preset electric quantity threshold.
S730, acquiring a first electric quantity usage amount of the target object in a first preset time period.
And S740, controlling the electronic equipment according to a preset target control mode under the condition that the first electric quantity usage exceeds a preset electric quantity threshold.
S730-740 in the embodiment shown in fig. 7 is the same as or similar to S110-120 in the embodiment shown in fig. 1, and is not repeated herein.
Through the processing of the embodiment, the user can set the preset electric quantity threshold value associated with the target object through the first control, so that the method is simple and visual, and the user experience is high.
As another implementation manner of the present application, the preset electric quantity threshold may be set by an operation parameter, as shown in fig. 9, the control method of the electronic device may include:
s910, acquiring a first electric quantity usage amount of the target object in a first preset time period.
And S920, acquiring the operating parameters of the electronic equipment.
In some embodiments, the operating parameter may include at least one of a service life and a fluency. Compared with an electronic device with a short service life or a high fluency, an electronic device with a long service life or a low fluency needs to consume more electric quantity when running the same application program.
In order to ensure that a user can use a common function of an electronic device with a long normal service life or a low fluency under a low power condition, an embodiment of the present application provides a low power mode, where the low power mode is one of target modes, and in the low power mode, the user can set a target control mode associated with the low power mode, for example, stop running some applications, reserve more power, and ensure that applications that the user wishes to continue running in the low power mode can be better used on an electronic device with a long service life or a low fluency.
In some embodiments, the preset power threshold associated with the low power mode may be set manually by a user, or may be set automatically by the control device according to an operating parameter of the electronic device.
In some embodiments, the control device may periodically obtain operating parameters of the electronic device. Specifically, the control device may calculate the service life of the electronic device by the date of the electronic device leaving the factory, and may evaluate the fluency of the application program running on the electronic device by some plug-ins or tools.
And S930, determining a preset electric quantity threshold according to the operation parameters and the first preset corresponding relation.
In some embodiments, the first preset corresponding relationship may be a corresponding relationship between a preset operation parameter and a preset electric quantity threshold, for example, for an electronic device with a service life of 11-12 months, a smaller electric quantity may be reserved, and at this time, the preset electric quantity threshold may be set to 35%; for the electronic device with the service life between 23 and 24 months, more electric quantity can be reserved, and at the moment, the preset electric quantity threshold value can be set to be 20%. The control device can automatically set a preset electric quantity threshold value according to the acquired operation parameters and the first preset corresponding relation.
And S940, under the condition that the first electric quantity usage exceeds a preset electric quantity threshold, controlling the electronic equipment according to a preset target control mode.
S910 and S940 in the embodiment shown in fig. 9 are the same as or similar to S110-120 in the embodiment shown in fig. 1, and are not repeated herein. It should be noted that the above-mentioned S920-S930 may also be executed in advance, that is, the S920-S930 may also be executed before the S910.
Through the processing of the embodiment, the preset electric quantity threshold value of the low-electric-quantity mode can be automatically set according to the operation parameters of the electronic equipment, so that the electronic equipment with long service life or low fluency can be reduced, the pause phenomenon appears when the electric quantity is low, and the user experience is further improved.
As another implementation manner of the present application, the preset power threshold may be determined by a second power usage of the electronic device in a second preset time period, as shown in fig. 10, the method for controlling the electronic device may include:
s1010, obtaining a first electric quantity usage amount of the target object in a first preset time period.
And S1020, acquiring a second electric quantity usage amount of the electronic device in a second preset time period.
In some embodiments, the low battery mode may also be used in the following application scenarios. In consideration of the fact that the daily usage habits of the user are relatively fixed, for example, in the evening period, the user may use a relatively power-consuming application program such as a video application program or a game application program, in order to ensure that the user can have a better user experience when using the electronic device in the specific periods such as the evening period, the preset power threshold associated with the low power mode may be automatically set according to the second power usage of the electronic device in the specific periods, that is, the second power usage in the second preset period.
It should be noted that the second preset time period may completely overlap, partially overlap or not overlap with the first preset time period, for example, the second preset time period may be a certain time period in the first preset time period or a certain time period outside the first preset time period.
It is worth mentioning that the control device may output a prompt message to prompt the user to keep the power at the preset power threshold associated with the low power mode before the second preset time period.
And S1030, determining a preset electric quantity threshold according to the second electric quantity usage and a second preset corresponding relation.
In some embodiments, the second preset corresponding relationship may be a preset corresponding relationship between the second electric quantity usage amount and a preset electric quantity threshold. After the control device obtains the second electric quantity usage amount of the electronic device in the second preset time period, the control device may determine the preset electric quantity threshold according to the second electric quantity usage amount of the electronic device in the second preset time period and the second preset corresponding relationship.
And S1040, controlling the electronic equipment according to a preset target control mode under the condition that the first electric quantity usage exceeds a preset electric quantity threshold.
S1010 and S1040 in the embodiment shown in fig. 10 are the same as or similar to S110 to S120 in the embodiment shown in fig. 1, and are not repeated herein. It should be noted that, the above-mentioned S1020-S1030 may also be executed in advance, that is, S1020-S1030 may also be executed before S1010.
Through the processing of the embodiment, the preset electric quantity threshold value associated with the low-electric-quantity mode can be automatically set according to the second electric quantity usage amount of the electronic equipment in the second preset time period, so that more electric quantity can be reserved in the specific time period by the electronic equipment, a user can have better user experience in the specific time period, and the user experience is further improved.
As another implementation manner of the present application, the electric quantity threshold may be preset based on a first preset time period and a third preset corresponding relationship, as shown in fig. 11, the method for controlling an electronic device may include:
s1110, acquiring a first electric quantity usage amount of the target object in a first preset time period.
And S1120, determining a preset electric quantity threshold according to the first preset time period and the third preset corresponding relation.
In some embodiments, the third preset corresponding relationship may be a preset corresponding relationship between the first preset time period and the preset electric quantity threshold. Specifically, the third preset corresponding relationship may be determined according to the usage habit of the user, and the first preset time period may include a plurality of sub-time periods, for example, 8 a.m.: 00-12:00, 12:00-18:00 in the afternoon, and the like.
For example, assume that user a is typically at 8 a.m. each day: 00-12:00 consumes 10% of the power of the electronic device, 12:00-18:00 in the afternoon consumes 30% of the power of the electronic device, and 18:00-23:00 in the evening consumes 60% of the power of the electronic device. In order to avoid that the power consumption of the user a is too much in a certain period of time, which results in insufficient power in the next period of time, the following third preset corresponding relationship may be established according to the use habit of the user: 8 in the morning: the preset electric quantity threshold value corresponding to 00-12:00 is 10%, the preset electric quantity threshold value corresponding to 12:00-18:00 in the afternoon is 30%, and the preset electric quantity threshold value corresponding to 18:00-23:00 in the evening is 60%.
And S1130, controlling the electronic equipment according to a preset target control mode under the condition that the first electric quantity usage exceeds a preset electric quantity threshold.
S1110 and S1130 in the embodiment shown in fig. 11 are the same as or similar to S110 to S120 in the embodiment shown in fig. 1, and are not repeated herein. It should be noted that S1120 may be executed in advance, that is, S1120 may be executed before S1110.
Through the processing of the embodiment, the preset electric quantity threshold value of the first preset time period can be set according to the use habit of the user, so that the electric quantity consumed in the time period can be controlled from the angle of the time period, the electric quantity control mode of the electronic equipment can be further enriched, and the user experience is improved.
As another implementation manner of the present application, a user may set an application program related to the control manner in advance, and as shown in fig. 12, the method for controlling an electronic device may include:
s1210, receiving a second input to the fifth target application.
In some embodiments, the second input may be an input, such as a click input, made by the user to a fifth target application associated with a certain control manner in the setting interface associated with the target object.
And S1220, in response to the second input, determining the fifth target application program as the first target application program, the second target application program, the third target application program or the fourth target application program.
In some embodiments, the control device may receive a second input and may determine, in response to the second input, the fifth target application as the first target application, the second target application, the third target application, or the fourth target application mentioned above.
S1230, acquiring a first electric quantity usage amount of the target object in a first preset time period.
And S1240, controlling the electronic equipment according to a preset target control mode under the condition that the first electric quantity usage exceeds a preset electric quantity threshold.
S1230-1240 in the embodiment shown in fig. 12 is the same as or similar to S110-120 in the embodiment shown in fig. 1, and is not repeated here.
In the control method of the electronic device provided in the embodiment of the present application, the execution main body may be a control device of the electronic device, or a control module in the control device of the electronic device, for executing the control method of the electronic device. In the embodiment of the present application, a method for controlling an electronic device by a control device of the electronic device is taken as an example, and the control device of the electronic device provided in the embodiment of the present application is described.
Based on the control method of the electronic device, the embodiment of the application also provides a control device of the electronic device. Fig. 13 shows a schematic structural diagram of a control device of an electronic device according to an embodiment of the present application. As shown in fig. 13, the control device of the electronic apparatus includes:
a first obtaining module 1310, configured to obtain a first electric quantity usage amount of a target object in a first preset time period;
a control module 1320, configured to control the electronic device according to a preset target control manner when the first electric quantity usage exceeds a preset electric quantity threshold; the preset electric quantity threshold value and the target control mode are both associated with the target object.
Optionally, the target object includes at least one of a target mode, a target user, or a target application, the target mode is associated with a preset application set, and the preset application set includes at least one application.
Optionally, the target object may be determined by a user identifier or a running application, and accordingly, the control device of the electronic device further includes:
a determination module for determining a target object;
wherein the determining module is specifically configured to:
under the condition that the target user identification is detected, determining a target user associated with the target user identification as a target object; or determining the preset mode as the target object under the condition that the target mode to which the running application program belongs is only the preset mode; or determining the self-defined mode as a target object under the condition that the target mode to which the running application program belongs is detected to comprise a preset mode and a self-defined mode; or, in the case that the running application is detected as the target application, the target application is determined as the target object.
Optionally, the preset electric quantity threshold may be set through the first input, and correspondingly, the control device of the electronic device further includes:
a first receiving module for receiving a first input to a first control associated with a target object;
and the first determining module is used for responding to the first input and determining the numerical value corresponding to the first control as a preset electric quantity threshold value.
Optionally, the preset electric quantity threshold may be set through an operation parameter, and correspondingly, the control device of the electronic device further includes:
the second acquisition module is used for acquiring the operating parameters of the electronic equipment, and the operating parameters comprise at least one of service life and fluency;
the first setting module is used for setting a preset electric quantity threshold value according to the operation parameters and the first preset corresponding relation; the first preset corresponding relation is a corresponding relation between a preset operation parameter and a preset electric quantity threshold value.
Optionally, a preset electric quantity threshold may be set by a second electric quantity usage amount of the electronic device in a second preset time period, and correspondingly, the control device of the electronic device further includes:
the third acquisition module is used for acquiring a second electric quantity usage amount of the electronic equipment in a second preset time period;
The second setting module is used for setting a preset electric quantity threshold value according to the second electric quantity usage and a second preset corresponding relation; the second preset corresponding relation is a preset corresponding relation between the second electric quantity usage and a preset electric quantity threshold, and the second preset time period is completely overlapped, partially overlapped or not overlapped with the first preset time period.
Optionally, the preset electric quantity threshold may be set according to a first preset time period and a third preset corresponding relationship, and correspondingly, the control device of the electronic device further includes:
the second setting module is used for determining a preset electric quantity threshold value according to the first preset time period and a third preset corresponding relation; the third preset corresponding relation is a preset corresponding relation between a first preset time period and a preset electric quantity threshold.
Optionally, the target control manner includes at least one of the following control manners:
outputting prompt information, wherein the prompt information is used for prompting a user to select candidate operation, and the candidate operation comprises at least one of running the first target application program, stopping running the second target application program or closing the electronic equipment;
running a third target application;
stopping running the fourth target application program;
And turning off the electronic equipment.
Optionally, the user may set the application program related in the control manner in advance, and accordingly, the control device of the electronic device further includes:
a second receiving module for receiving a second input to a fifth target application;
a second determination module to determine, in response to the second input, the fifth target application as the first target application, the second target application, the third target application, or the fourth target application.
In this embodiment of the application, the control device of the electronic device may control the electronic device according to a preset target control mode associated with the target object by acquiring a first electric quantity usage amount of the target object in a first preset time period, and then when the first electric quantity usage amount exceeds a preset electric quantity threshold associated with the target object. Therefore, the electronic equipment can be controlled according to the target control modes of different target objects, so that the electric quantity control mode of the electronic equipment is enriched, and the user experience is improved.
The control device of the electronic device in the embodiment of the present application may be a terminal, or may be a component, an integrated circuit, or a chip in the terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The control device of the electronic apparatus in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The control device of the electronic device provided in the embodiment of the present application can implement each process implemented by the control device of the electronic device in the method embodiments of fig. 1 to 12, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 14, an electronic device 1400 is further provided in this embodiment of the present application, and includes a processor 1401, a memory 1402, and a program or an instruction stored in the memory 1402 and executable on the processor 1401, where the program or the instruction is executed by the processor 1401 to implement each process of the control method embodiment of the electronic device, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 15 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 1500 includes, but is not limited to: a radio frequency unit 1501, a network module 1502, an audio output unit 1503, an input unit 1504, a sensor 1505, a display unit 1506, a user input unit 1507, an interface unit 1508, a memory 1509, and a processor 1510.
Those skilled in the art will appreciate that the electronic device 1500 may also include a power supply (e.g., a battery) for powering the various components, which may be logically coupled to the processor 1510 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 15 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 1510 is configured to obtain a first power consumption of the target object within a first preset time period.
A processor 1509, configured to control the electronic device according to a pre-configured target control manner when the first power usage exceeds a preset power threshold; and the preset electric quantity threshold and the target control mode are both associated with the target object.
In the embodiment of the application, the electronic device can be controlled according to a preset target control mode associated with the target object by acquiring the first electric quantity usage of the target object in a first preset time period and then under the condition that the first electric quantity usage exceeds a preset electric quantity threshold associated with the target object. Therefore, the electronic equipment can be controlled according to the target control modes of different target objects, so that the electric quantity control mode of the electronic equipment is enriched, and the user experience is improved.
It should be understood that in the embodiment of the present application, the input Unit 1504 may include a Graphics Processing Unit (GPU) 15041 and a microphone 15042, and the graphics processing Unit 15041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1506 may include a display panel 15061, and the display panel 15061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1507 includes a touch panel 15071 and other input devices 15072. A touch panel 15071, also referred to as a touch screen. The touch panel 15071 may include two parts of a touch detection device and a touch controller. Other input devices 15072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1509 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 1510 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1510.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the control method embodiment of the electronic device, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the control method embodiment of the electronic device, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, 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. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. A method of controlling an electronic device, comprising:
acquiring a first electric quantity usage amount of a target object in a first preset time period;
under the condition that the first electric quantity usage exceeds a preset electric quantity threshold, controlling the electronic equipment according to a preset target control mode;
and the preset electric quantity threshold and the target control mode are both associated with the target object.
2. The method of claim 1, wherein the target object comprises at least one of a target mode, a target user, or a target application, wherein the target mode is associated with a preset set of applications, and wherein the preset set of applications comprises at least one application.
3. The method of claim 2, wherein before obtaining the first amount of power usage of the target object within the first preset time period, the method further comprises:
determining the target object;
the determining the target object comprises:
under the condition that a target user identification is detected, determining a target user associated with the target user identification as the target object;
or, under the condition that the target mode to which the running application program belongs is only a preset mode, determining the preset mode as the target object;
Or, under the condition that the target mode to which the running application program belongs is detected to comprise the preset mode and a custom mode, determining the custom mode as the target object;
or, in the case that it is detected that the running application is a target application, determining the target application as the target object.
4. The method of claim 1, wherein before obtaining the first amount of power usage of the target object within the first preset time period, the method further comprises:
receiving a first input to a first control associated with the target object;
and responding to the first input, and determining the numerical value corresponding to the first control as the preset electric quantity threshold.
5. The method of claim 1, wherein prior to determining that the first electrical usage exceeds a preset electrical threshold, the method further comprises:
acquiring operating parameters of the electronic equipment, wherein the operating parameters comprise at least one of service life and fluency;
determining the preset electric quantity threshold value according to the operation parameters and a first preset corresponding relation;
the first preset corresponding relation is a preset corresponding relation between the operation parameter and the preset electric quantity threshold value.
6. The method of claim 1, wherein prior to determining that the first electrical usage exceeds a preset electrical threshold, the method further comprises:
acquiring a second electric quantity usage amount of the electronic equipment in a second preset time period;
determining the preset electric quantity threshold according to the second electric quantity usage and a second preset corresponding relation;
the second preset corresponding relationship is a preset corresponding relationship between the second electric quantity usage and the preset electric quantity threshold.
7. The method of claim 1, wherein prior to determining that the first electrical usage exceeds a preset electrical threshold, the method further comprises:
determining the preset electric quantity threshold according to the first preset time period and a third preset corresponding relation;
the third preset corresponding relationship is a preset corresponding relationship between the first preset time period and the preset electric quantity threshold.
8. The method of claim 1, wherein the target control mode comprises at least one of:
outputting prompt information, wherein the prompt information is used for prompting a user to select candidate operation, and the candidate operation comprises at least one of running a first target application program, stopping running a second target application program or closing the electronic equipment;
Running a third target application;
stopping running the fourth target application program;
and closing the electronic equipment.
9. The method of claim 8, wherein before obtaining the first amount of power usage of the target object within the first preset time period, the method further comprises:
receiving a second input to a fifth target application;
in response to the second input, determining the fifth target application as the first target application, the second target application, the third target application, or the fourth target application.
10. A control apparatus of an electronic device, comprising:
the first acquisition module is used for acquiring a first electric quantity usage amount of a target object in a first preset time period;
the control module is used for controlling the electronic equipment according to a preset target control mode under the condition that the first electric quantity usage exceeds a preset electric quantity threshold;
and the preset electric quantity threshold and the target control mode are both associated with the target object.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, which when executed by the processor, implement the steps of the control method of the electronic device according to any one of claims 1-9.
CN202010598968.4A 2020-06-28 2020-06-28 Electronic equipment control method and device and electronic equipment Pending CN111867024A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010598968.4A CN111867024A (en) 2020-06-28 2020-06-28 Electronic equipment control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010598968.4A CN111867024A (en) 2020-06-28 2020-06-28 Electronic equipment control method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN111867024A true CN111867024A (en) 2020-10-30

Family

ID=72989612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010598968.4A Pending CN111867024A (en) 2020-06-28 2020-06-28 Electronic equipment control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111867024A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105676993A (en) * 2015-12-29 2016-06-15 北京金山安全软件有限公司 Method and device for saving electric quantity and electronic equipment
WO2016165078A1 (en) * 2015-04-14 2016-10-20 华为技术有限公司 Method and terminal for controlling application
WO2018000508A1 (en) * 2016-06-29 2018-01-04 宇龙计算机通信科技(深圳)有限公司 Application freezing method and mobile terminal
WO2019024641A1 (en) * 2017-07-31 2019-02-07 Oppo广东移动通信有限公司 Data synchronization method and apparatus, storage medium and electronic device
CN110187753A (en) * 2019-05-27 2019-08-30 Oppo广东移动通信有限公司 Application control method, device, terminal and computer readable storage medium
CN110413315A (en) * 2019-07-29 2019-11-05 维沃移动通信有限公司 A kind of application control method and electronic equipment
CN110471524A (en) * 2019-07-31 2019-11-19 维沃移动通信有限公司 Display control method and terminal device
CN111309133A (en) * 2020-01-22 2020-06-19 维沃移动通信有限公司 Power saving control method and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016165078A1 (en) * 2015-04-14 2016-10-20 华为技术有限公司 Method and terminal for controlling application
CN105676993A (en) * 2015-12-29 2016-06-15 北京金山安全软件有限公司 Method and device for saving electric quantity and electronic equipment
WO2018000508A1 (en) * 2016-06-29 2018-01-04 宇龙计算机通信科技(深圳)有限公司 Application freezing method and mobile terminal
WO2019024641A1 (en) * 2017-07-31 2019-02-07 Oppo广东移动通信有限公司 Data synchronization method and apparatus, storage medium and electronic device
CN110187753A (en) * 2019-05-27 2019-08-30 Oppo广东移动通信有限公司 Application control method, device, terminal and computer readable storage medium
CN110413315A (en) * 2019-07-29 2019-11-05 维沃移动通信有限公司 A kind of application control method and electronic equipment
CN110471524A (en) * 2019-07-31 2019-11-19 维沃移动通信有限公司 Display control method and terminal device
CN111309133A (en) * 2020-01-22 2020-06-19 维沃移动通信有限公司 Power saving control method and electronic equipment

Similar Documents

Publication Publication Date Title
CN109002387B (en) User reminding method and device of application program, terminal equipment and storage medium
KR100663277B1 (en) Device and?method for processing system-related event in wireless terminal
CN107577522B (en) Application control method, device, storage medium and electronic equipment
CN108363593A (en) Application program preloads method, apparatus, storage medium and terminal
CN108920156A (en) Application program prediction model method for building up, device, storage medium and terminal
US10901608B2 (en) Method for recognizing a screen-off gesture, and storage medium and terminal thereof
CN111052040A (en) Method for reducing power consumption of terminal and terminal
CN107704876B (en) Application control method, device, storage medium and electronic equipment
CN107770372B (en) Battery electric quantity management method and device and mobile terminal
CN106055404B (en) Method and device for cleaning background application program
CN108664285A (en) Application program preloads method, apparatus, storage medium and mobile terminal
CN107479744B (en) Method, device, terminal and storage medium for adjusting scheduling priority of touch screen
CN106648854A (en) Task execution method and device for terminal
CN114647550A (en) Process control method, device, storage medium and electronic equipment
CN107766218A (en) system optimization method, device, storage medium and terminal device
CN107291213B (en) Mode selection method, device, terminal and computer readable storage medium
CN107277906B (en) Mode selecting method, device, terminal and computer readable storage medium
CN113596555A (en) Video playing method and device and electronic equipment
CN113271360A (en) Recommendation method and device of application program, electronic device and medium
CN113596529A (en) Terminal control method and device, computer equipment and storage medium
CN108762838A (en) Application program preloads method, apparatus, storage medium and terminal
CN111867024A (en) Electronic equipment control method and device and electronic equipment
CN106843440B (en) A kind of mobile terminal restarts control method, device and mobile terminal
CN112083788A (en) Power saving method and device
US9985469B2 (en) Display apparatus and controlling method thereof

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

Application publication date: 20201030