CN108804294A - Method, apparatus, equipment and the computer readable storage medium that electricity is reminded - Google Patents
Method, apparatus, equipment and the computer readable storage medium that electricity is reminded Download PDFInfo
- Publication number
- CN108804294A CN108804294A CN201810515801.XA CN201810515801A CN108804294A CN 108804294 A CN108804294 A CN 108804294A CN 201810515801 A CN201810515801 A CN 201810515801A CN 108804294 A CN108804294 A CN 108804294A
- Authority
- CN
- China
- Prior art keywords
- terminal
- charge
- current location
- current
- operating 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/328—Computer systems status display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/321—Display for diagnostics, e.g. diagnostic result display, self-test user interface
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
Abstract
The present invention provides a kind of method, apparatus, equipment and computer readable storage medium that electricity is reminded, and this method includes:If the current battery charge of terminal reaches default power threshold, the current location of the terminal is obtained;Judge whether the current location has the condition to charge to the terminal;If the current location has the condition to charge to the terminal, charge reminder is sent out in the terminal.The program solves the blindness sex chromosome mosaicism that terminal low battery is reminded in the prior art.The condition element for considering the current location residing for terminal improves the intelligence and personalization of terminal power prompting, improves the validity and specific aim of prompting message.
Description
Technical field
The present invention relates to method, apparatus, equipment and calculating that technical field of mobile terminals more particularly to a kind of electricity are reminded
Machine readable storage medium storing program for executing.
Background technology
With the fast development of communications industry, intelligent terminal rapid proliferation, and from original as the communicating of people, social activity
Tool is changed into the sectional center of study, work and life.It is used along with the raising of terminal configuration, the increasing of screen, user
One of an important factor for change etc. of pattern, the cruising ability of end cell has become influence user experience.
In the prior art, in order to extend the battery durable ability of terminal, on the one hand, manufacturer terminal, battery manufacturer and member
Device manufacturer all is making great efforts to research and develop various battery new technologies, but Recent Progresses In The Development and effect are all less apparent.On the other hand, system factory
Quotient adjusts the working condition of terminal soft and hardware from system level, to reduce the consumption of terminal battery electricity quantity, to extend terminal
Stand-by time.The mode for commonly extending stand-by time in terminal is:Terminal is when monitoring that battery capacity is less than predetermined threshold value
User can be reminded.Can be terminal charge, or adjustment terminal according to actual conditions after user perceives the low battery prompting of terminal
Operating mode, for example unnecessary application program is closed, to reduce terminal energy consumption.
But the scheme of above-mentioned extension terminal standby time compares mechanization when reminding user's low battery.It does not account for carrying
Wake up after user operability, such as remind user be terminal charge when, if user does not have charging equipment, can not be in time just
Terminal charges.Fail the terminal to charge in time, because electricity exhausts due to automatic shutdown quickly, at this time if user have it is urgent logical
Letter demand may then be delayed.
Invention content
The present invention provides a kind of method, apparatus, equipment and computer readable storage medium that electricity is reminded, and solves existing
The blindness sex chromosome mosaicism that terminal low battery is reminded in technology.The condition element for considering the current location residing for terminal, improves
The intelligence and personalization that terminal power is reminded, improve the validity and specific aim of prompting message.
The first aspect of the present invention provides a kind of method that electricity is reminded, including:If the current battery charge of terminal reaches
Default power threshold, then obtain the current location of the terminal;Judge whether the current location has to carry out to the terminal
The condition of charging;If the current location has the condition to charge to the terminal, charging is sent out in the terminal
It reminds.
Optionally, described to judge whether the current location has the condition to charge to the terminal, it specifically includes:
Obtain the history record of charging of the terminal;Judge to whether there is and the current location matches in the history record of charging
Record of charging;If there is the record of charging with the current location matches in the history record of charging, it is determined that described current
Position has the condition to charge to the terminal, is filled to the terminal otherwise, it determines the current location does not have
The condition of electricity.
Optionally, further include:If the current location does not have the condition to charge to the terminal, obtain the
The communications records of the terminal in one preset time period;The communications records are counted, are obtained after current time
The communication requirement distributed data of the terminal in second preset time period;According to the communication requirement distributed data and described current
Battery capacity determines the final operating mode of the terminal.
Optionally, described that the terminal is determined most according to the communication requirement distributed data and the current battery charge
Whole operating mode specifically includes:Standby cutoff of the terminal under different working modes is determined according to the current battery charge
Time;Determine the call duration time the latest in the communication requirement distributed data;By the standby cutoff time be in it is described the latest
Operating mode after call duration time is determined as the final operating mode of the terminal.
Optionally, the terminal is determined according to the communication requirement distributed data and the current battery charge described
After final operating mode, further include:Obtain the current operation mode of the terminal;Judge the current operation mode with it is described
Whether final operating mode is identical;If the current operation mode is different from the final operating mode, in the terminal
Operating mode change is sent out to remind.
The second aspect of the present invention provides a kind of device that electricity is reminded, including:Acquisition module, if for the current of terminal
Battery capacity reaches default power threshold, then obtains the current location of the terminal;Judgment module, for judging the present bit
The condition for whether having and charging to the terminal set;Reminding module, if having to the terminal for the current location
The condition to charge then sends out charge reminder in the terminal.
Optionally, the judgment module is specifically used for:Obtain the history record of charging of the terminal;Judge that the history is filled
With the presence or absence of the record of charging with the current location matches in electrographic recording;Work as with described if existing in the history record of charging
The matched record of charging in front position, it is determined that the current location has the condition to charge to the terminal, otherwise, it determines
The current location does not have the condition to charge to the terminal.
Optionally, if the acquisition module is additionally operable to the current location and does not have the item to charge to the terminal
Part then obtains the communications records of the terminal in the first preset time period;And described device further includes:Statistical module is used
It is counted in the communications records, obtaining the communication of the terminal in the second preset time period after current time needs
Seek distributed data;Determining module, for determining the end according to the communication requirement distributed data and the current battery charge
The final operating mode at end.
Optionally, the determining module is specifically used for:Determine the terminal in different works according to the current battery charge
The standby cutoff time under operation mode;Determine the call duration time the latest in the communication requirement distributed data;By described standby section
Only the time is in the operating mode after the call duration time the latest, is determined as the final operating mode of the terminal.
Optionally, the acquisition module is additionally operable to obtain the current operation mode of the terminal;The judgment module is also used
In judging whether the current operation mode and the final operating mode are identical;If the reminding module is additionally operable to described current
Operating mode is different from the final operating mode, then sends out operating mode change in the terminal and remind.
The third aspect of the present invention provides a kind of equipment that electricity is reminded, including:Memory;Processor;And computer
Program;Wherein, the computer program is stored in the memory, and is configured as executing the present invention the by the processor
Method described in one side and its any optionally scheme.
The fourth aspect of the present invention provides a kind of computer readable storage medium, including:Program, when it is transported on computers
When row so that computer executes the method described in first aspect present invention and its any optionally scheme.
Method, apparatus, equipment and the computer readable storage medium that electricity provided by the invention is reminded, by terminal electricity
When pond electricity reaches default power threshold, first determines whether the current location residing for terminal has and charge to the terminal
Condition just can send out charge reminder, to remind user in time only in the case where current location has charge condition in terminal
It charges.Solves the blindness sex chromosome mosaicism that terminal low battery is reminded in the prior art.Consider the present bit residing for terminal
The condition element set improves the intelligence and personalization of terminal power prompting, improves the validity and specific aim of prompting message.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Some bright embodiments for those of ordinary skill in the art without having to pay creative labor, can be with
Obtain other attached drawings according to these attached drawings.
Fig. 1 is the flow chart for the method that the electricity shown in an exemplary embodiment of the invention is reminded;
Fig. 2 is the flow chart for the method that the electricity shown in another exemplary embodiment of the present invention is reminded;
Fig. 3 is the structure chart for the device that the electricity shown in an exemplary embodiment of the invention is reminded;
Fig. 4 is the structure chart for the device that the electricity shown in another exemplary embodiment of the present invention is reminded;
Fig. 5 is the structure chart for the equipment that the electricity shown in an exemplary embodiment of the invention is reminded.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those skilled in the art are not having
There is the every other embodiment obtained under the premise of making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is the flow chart for the method that the electricity shown in an exemplary embodiment of the invention is reminded.
As shown in Figure 1, the executive agent of the present embodiment is the device that electricity is reminded, the device which reminds can integrate
In the terminal.Then the present embodiment provides a kind of method that electricity is reminded, this method comprises the following steps:
Step 101:If the current battery charge of terminal reaches default power threshold, the current location of terminal is obtained.
Wherein, terminal can be smart mobile phone, the equipment such as tablet computer.Default power threshold can in advance be set by user
It is fixed, can also be by system default, for example because of the difference of manufacturer terminal, default power threshold is generally 15%-20% or so.This reality
Example is applied not limit this.Default power threshold can be the minimum charge value for needing to charge, and can also be appointing for user setting
One charge value, the present embodiment obtain size to default power threshold and do not limit.
In this step, it obtains the current battery charge of terminal in real time first, and by the current battery charge and presets electricity
Amount threshold value is compared, if the current battery charge of terminal reaches default power threshold, such as current battery charge be equal to or
Less than the minimum charge value that needs charge, illustrate terminal shortly after, battery capacity will exhaust, and need to remind user's charging.For
Electricity prompting more effectively is carried out to user, obtains the current location of terminal at this time.Existing terminal can be used to obtain itself position
The method set, such as obtain current location using GPS/WLAN and mobile network/using GPS, WLAN and mobile network.This hair
The bright terminal that do not limit obtains used specific method when current location.
Step 102:Judge whether current location has the condition to charge to terminal.If having, then follow the steps
103。
In this step, environment that terminal is presently in can be known by the current location of terminal, and then can basis
The environment of terminal surrounding determines whether current location has the condition to charge to terminal.Such as it can be in map Shangdi
The current location of position terminal, and then can be shown on map nearby either with or without the facility information that can be charged.
Step 103:If current location has the condition to charge to terminal, charge reminder is sent out in terminal.
In this step, if passing through the judgement to terminal current location, it is determined that have in the environment residing for terminal to
The condition that terminal charges, for example display has equipment or charging interface of charging pile etc etc. in cartographic information, then may be used
To send out charge reminder on holding, charge reminder is sent out at this time, if user perceives prompting, can be filled in time for terminal to the greatest extent
Electricity avoids and blindly carries out the problem of electricity reminds the prompting message inefficiency brought in the prior art.
Specifically, it can be vibrations, icon or text information etc., such as battery icon change that terminal, which reminds the mode of user,
Red, word prompting message similar " battery capacity is low, please charge or open battery saving mode " etc..
The method that electricity provided by the invention is reminded, by when terminal battery electricity quantity reaches default power threshold, first
Judge whether the current location residing for terminal has the condition to charge to terminal, only has charge condition in current location
In the case of, just charge reminder can be sent out in terminal, to remind user to charge in time.Solves the low electricity of terminal in the prior art
Measure the blindness sex chromosome mosaicism reminded.The condition element for considering the current location residing for terminal improves terminal power prompting
It is intelligent and personalized, improve the validity and specific aim of prompting message.
Fig. 2 is the flow chart for the method that the electricity shown in another exemplary embodiment of the present invention is reminded.
As shown in Fig. 2, the present embodiment provides a kind of method that electricity is reminded, shown in an exemplary embodiment of the invention
The method reminded of electricity on the basis of, further comprise determining current location whether have the condition to charge to terminal and
If current location do not have in the case of the condition to charge to terminal the step of being further processed etc..
In order to more intuitively specifically describe the method flow of the present embodiment, come with reference to a specific embodiment detailed
Thin description this embodiment scheme.If the intelligent electricity that a Samsung terminal Note 8 (state's row version) of user A may be implemented carries
The phone number of awake function, user A is 1851111xxxx.Then this method comprises the following steps:
Step 201:If the current battery charge of terminal reaches default power threshold, the current location of terminal is obtained.
Wherein, terminal can be smart mobile phone, the equipment such as tablet computer.Default power threshold can in advance be set by user
It is fixed, can also be by system default, for example because of the difference of manufacturer terminal, default power threshold is generally 15%-20% or so.This reality
Example is applied not limit this.Default power threshold can be the minimum charge value for needing to charge, and can also be appointing for user setting
One charge value, the present embodiment obtain size to default power threshold and do not limit.
In this step, it obtains the current battery charge of terminal in real time first, and by the current battery charge and presets electricity
Amount threshold value is compared, if the current battery charge of terminal reaches default power threshold, such as current battery charge be equal to or
Less than the minimum charge value that needs charge, illustrate terminal shortly after, battery capacity will exhaust, and need to remind user's charging.For
Electricity prompting more effectively is carried out to user, obtains the current location of terminal at this time.Existing terminal can be used to obtain itself position
The method set, such as obtain current location using GPS/WLAN and mobile network/using GPS, WLAN and mobile network.This hair
The bright terminal that do not limit obtains used specific method when current location.For example, in the present embodiment, Samsung Note 8 is supervised in real time
The electric quantity consumption situation for surveying end cell should send out similar " battery electricity when current battery charge is equal to 15% by existing method
Measure low, please charge or open battery saving mode " prompting message, while the battery icon on SOT state of termination column also begins to redden.But
In the present embodiment, Note 8 wouldn't carry out traditional low battery and remind, then obtain the real-time position information of Note 8 at this time.This
In embodiment, if the real time position that Note 8 is obtained is:" when No. 63 posts Lou Fu in Beijing economic and technological development zone Cultural Park East Road
Still hotel ".
Step 202:Obtain the history record of charging of terminal.
In this step, the charge information of terminal once is saved in the history record of charging of terminal, including had used
Charging equipment and charging equipment where place etc., history record of charging can be obtained in terminal local, can also be passed through
Third-party server obtains, and the present embodiment do not limit this.
Step 203:Judge in history record of charging with the presence or absence of the record of charging with current location matches.
In this step, terminal is according to the current location of acquisition, in conjunction with the previous terminal preserved in data library module
The location information (i.e. history record of charging) of charging, analysis current location whether any of which one with previous terminal charge position
A matching, to determine in history record of charging with the presence or absence of the record of charging with current location matches.Specifically, can distinguish
The current location of computing terminal and the distance between multiple charge positions in history record of charging, and it is multiple by what is be calculated
Distance is compared with preset distance threshold, if current location and wherein one of the charge position in history record of charging
When a distance is less than or equal to preset distance threshold, current location and the charge position in history record of charging can determine that
It overlaps, determines the record of charging existed in history record of charging with current location matches at this time.Otherwise, if current location and history
The distance of all charge positions in record of charging is both greater than pre-determined distance threshold value, illustrates the current location residing for terminal and history
All charge positions in record of charging are all misaligned, then judge that there is no filled with current location matches in history record of charging
Electrographic recording.Wherein distance threshold can be preset when terminal is dispatched from the factory by manufacturer, or provides operation interface and allow User Defined.For example,
In the present embodiment, Samsung Note 8 is according to the current location obtained in step 201:" Beijing economic and technological development zone Cultural Park
3 posts the Lou Fu fashion hotels of East Road 6 " calculate the current location of Note 8:" Beijing economic and technological development zone Cultural Park East Road 6
Number 3 posts Lou Fu fashion hotels " in database at a distance from the charge position of each record of charging, and with preset distance threshold
It is compared, is preset if the charge position of some or multiple record of charging is less than or equal at a distance from the current location of Note 8
When distance threshold, so that it may judge that the charge position of the record of charging is overlapped with the current location of Note 8;Otherwise, can determine that does not have
The charge position of record of charging is overlapped with the current location of Note 8.
Further, if there is the record of charging with current location matches in history record of charging, it is determined that current location
Have the condition to charge to terminal, thens follow the steps 204;It charges to terminal otherwise, it determines current location does not have
Condition, then follow the steps 205.
In this step, if there is the charging with the current location matches of terminal in step 203 judgement history record of charging
Record, then can determine that current location has the condition to charge to terminal, otherwise, it determines current location does not have to terminal
The condition to charge.For example, in the present embodiment, Samsung Note 8 is according to the current location obtained in step 201:" Beijing
3 posts the Lou Fu fashion hotels of economic and technological development zone Cultural Park East Road 6 ", the previous charging preserved in data library module
The record that charging address coincides with is searched in record.If there is the record of charging overlapped with real time position in 8 databases of Note
When, it can determine that the real time position of Note 8:" 3 posts the Lou Fu fashion hotels of Beijing economic and technological development zone Cultural Park East Road 6 "
Has charge condition;Otherwise, it can determine that the current location of Note 8:" No. 63, Beijing economic and technological development zone Cultural Park East Road
The posts Lou Fu fashion hotel " does not have charge condition.In the present embodiment, the reality that address and Note 8 are not present in database can be set
When position:The record of charging that " 3 posts the Lou Fu fashion hotels of Beijing economic and technological development zone Cultural Park East Road 6 " overlap.Therefore it can
Judge real time position " 3 posts Lou Fu of Beijing economic and technological development zone Cultural Park East Road 6 of the Samsung Note 8 in the present embodiment
Fashion hotel " does not have charge condition.
Step 204:If current location has the condition to charge to terminal, charge reminder is sent out in terminal.
In the present embodiment, the description of the realization method of step 204 referring particularly to step 103 in embodiment as shown in Figure 1;
Further, terminal can monitor reaction of the user to charge reminder, that is, monitor after issuing the user with charge reminder
Whether user is terminal charge after whether checking charge reminder and checking.If terminal monitoring is not looked into whithin a period of time to user
It sees charge reminder, then can execute step 205.
Step 205:If current location does not have the condition to charge to terminal, obtain in the first preset time period
The communications records of terminal.
Wherein the first preset time period is defined as the period having occurred and that, exists using the terminal in the period
The communications records of user.
In this step, if though when the current location of terminal the does not have charge condition or current location of terminal has
Charge condition, but after user does not check that the charge reminder of terminal or user check the charge reminder of terminal, in specified one end
Without being terminal charge in time, when one of the above situation occurs, terminal can obtain the communications records of user.Communications records
It can be the message registration of voice/video, can also be the transmitting-receiving record of SMS/MMS, can also be on user social contact network
Relationship record.When obtaining user's communications records, the period (i.e. the first preset time period) of acquisition may specify.First preset time
Section can be preset when terminal dispatch from the factory by manufacturer, or offer operation interface allows User Defined.If terminal local does not preserve logical
Letter record can obtain the communications records of terminal by network to the server of user's operator.For example, in the present embodiment,
In step 203 it has assumed that the current location of judgement Samsung Note 8 does not have charge condition.Then Note 8 obtains the logical of user A
Letter record, in the present embodiment, by taking the voice communication of user A record as an example, if the user A obtained within 1 week (i.e. first it is default when
Between in section) voice communication record, as shown in table 1:
The voice communication record (part-example) of 1 user A of table
Step 206:Communications records are counted, the terminal in the second preset time period after current time is obtained
Communication requirement distributed data.
Wherein the second preset time period is defined as a period of time after current time, is future state, i.e. communication requirement
Distributed data is the prediction result to the communication requirement of user in following a period of time.
In this step, before predicting user's communication requirement, terminal should obtain current time information.Terminal is worked as according to acquisition
(as unit of day, i.e., the preceding time can count user's communications records after current time as unit of 24 hours one day
24 hours are unit), the call duration time that number of communications or frequency are more than or equal to preset time threshold screens, and obtains working as
The communication requirement distributed data of terminal in the second preset time period after the preceding time;Certainly, in addition to according to number of communications or frequency
The size of rate is predicted outside user's communication requirement, can also predict communication requirement according to the stability of communication object and communication time
Distributed data.The present invention does not limit used concrete mode method when prediction communication requirement distributed data.It is logical in counting user
When letter record, also can communications records be carried out with certain pretreatment, for example delete the communications records etc. of strange number, to reduce number
According to treating capacity.If there is no the communications records of user after current time, it can determine that user terminates after current time on the day of
(24:When 00) there is no communication requirement.For example, in the present embodiment, Samsung Note 8 obtains current time t0 first, is set as:"14:
30".Note 8 as unit of day (00:00-24:00) it will obtain in current time t0:"14:30 " later message registrations are (i.e.
Communications records) it is counted, the message registration number time of Tc=3 times more than preset frequency threshold value is screened as logical
Letter demand distributed data.
Step 207:The final operating mode of terminal is determined according to communication requirement distributed data and current battery charge.
In actually using scene, in general, terminal has 3 kinds of balanced mode, performance mode and battery saving mode work
It is whole or at least two kinds of in pattern.Wherein, under performance mode the equipment full speed running such as processor of terminal in maximum performance states
Under, all application software (such as APP) have use to be switched on;Under balanced mode, the processor of terminal can be run in application software
Automatic frequency reducing when load reduction, to reduce the consumption to battery capacity.Once application software high-speed cruising, terminal handler are just stood
It raises speed, to ensure that the smooth of application software is run;Under battery saving mode, terminal closes all function and applications that can not be run
The processor low speed as possible of software, terminal is run, and only ensures the normal use of necessary function (for example making a phone call, send short messages).
It should be pointed out that this 3 kinds of patterns of performance mode, balanced mode and the battery saving mode of terminal, at the end of different vendor and brand
In end, title may be different with statement, it is also possible to only have 2 kinds therein.In general, terminal, which can be given tacit consent to, is operated in performance mode
Under, the equipment full speed running such as processor of terminal, to ensure the good terminal usage experience of user.
In this step, different communication requirement distributed data determines user within following a period of time to terminal
Desirability, terminal remaining current battery charge at present is incorporated into, to determine the final operating mode of terminal.Not only may be used
It to make full use of terminal power, and can further meet the different communication demand of user, and then improve user experience.
Further, step 207 can specifically include:Determine terminal under different working modes according to current battery charge
The standby cutoff time.Determine the call duration time the latest in communication requirement distributed data.The standby cutoff time is in and is led to the latest
Believe the operating mode after the time, is determined as the final operating mode of terminal.
In the present embodiment, terminal is estimated according to current battery charge in different working modes (all works that terminal is supported
Operation mode) under terminal standby time, existing method can be used in the method for estimating standby time, and the present embodiment do not limit this
It is fixed.And then according to the estimation results of terminal standby duration under different working modes, terminal under different working modes is calculated
The standby cutoff time.And according in communication requirement distributed data, in the second preset time period when the communication of each communications records
The length of spacing current time communicates the latest using the time away from the longest communications records of current time as the present embodiment is available
Time.The operating mode finally the standby cutoff time being in after call duration time the latest, is determined as the final Working mould of terminal
Formula.Specifically, according to the call duration time the latest of the standby cutoff time of terminal under different working modes and prediction, by presetting rule
Confirm the final operating mode that terminal should use.Prefabricated rule can be as shown in table 2:
Table 2 confirms the rule (example) of terminal work mode
Serial number | Condition | Operating mode |
1 | t0<tc<t1 | Performance mode |
2 | t1<tc<t2 | Balanced mode |
3 | t2<tc<t3 | Battery saving mode |
4 | t3<tc | Battery saving mode |
Wherein, it is explained in table 1 as follows:
tc:The call duration time the latest of predictably terminal imagination;
t1:Terminal estimates the standby cutoff time under performance mode;
t2:Terminal estimates the standby cutoff time in the balanced mode;
t3:Terminal estimates the standby cutoff time in a power-save mode;
t0:The current time of terminal.
In the present embodiment, step 207 is located at from the communication requirement distributed data come out in table 1, each communication note
The call duration time of record is respectively:"15:02,15:23,16:08,17:20,18:40".Note 8 calculates separately current time t0:
"14:30 " with time difference of above-mentioned call duration time, and by comparing, select away from the longest call duration times of current time t0.This
In embodiment, it is clear that call duration time:"18:40 " with the time difference longest of current time, can be as the present embodiment user A's
Call duration time tc the latest.
Further, after step 207, can also include:
Step 208:Obtain the current operation mode of terminal.
Wherein, current operation mode is defined as, the operating mode that terminal current time is currently running.
In this step, after the most suitable final operating mode that terminal is determined in step 207, in order to confirm terminal
Whether need to carry out operating mode adjustment, can first obtain the present operating mode of terminal, i.e. current operation mode.
Step 209:Judge whether current operation mode is identical as final operating mode.If it is different, then executing step
210。
In this step, after the current operation mode for obtaining terminal, compare current operation mode and determination in step 207
Whether final operating mode is identical.If the current operation mode of terminal is identical as final operating mode, illustrate, end need not be changed
The operating mode at end can not then remind user to adjust the operating mode of terminal.To avoid blindly reminding, brought to user bad
Experience.
Step 210:If current operation mode is different from final operating mode, operating mode change is sent out in terminal and is carried
It wakes up.
In this step, it if the current operation mode of terminal is different from the final operating mode determined in step 207, says
It is bright, it needs the operating mode of terminal being adjusted to final operating mode, the communication requirement of user could be met, otherwise may delay
The communication service of user.Operating mode change is sent out in terminal at this time to remind, is arrived with reminding user to adjust terminal work mode
Final operating mode.If user selects to agree to that the operating mode of change terminal, terminal can directly be adjusted operating mode,
User need not enter back into setting menu and manually adjust.User operation process is simplified, and then improves user experience.
If in addition, user at the appointed time in terminal work mode change remind without processing when, adjust automatically terminal
Operating mode to final operating mode.If user's selection disagrees the operating mode of change terminal, terminal keeps existing
Operating mode does not adjust.
For example, in the present embodiment, it is assumed that the current operation mode that Samsung Note 8 is obtained is normal mode, step
Determining final operating mode is in 207:" ultra electric power-saving mode ".Then, Note 8 compares current operation mode:" normal mode
Formula " and the final operating mode determined in step 207:Whether " ultra electric power-saving mode " be identical, it is clear that the work at present of Note 8
Pattern and the final operating mode in step 207 simultaneously differ, then Note 8 should send out that similar " battery capacity is low, if agrees to
Into ultra electric power-saving mode?" etc. operating mode change remind.After user A clicks agreement, Note 8 is directly entered super power saving
Pattern enters setting menu without user A and carries out manual configuration.Note 8 is opened while sending out operating mode change prompting
A timer is moved, 1 minute when setting.If at the end of timer, user A carries out operating mode tune still without agreement is clicked
It is whole, then automatically into ultra electric power-saving mode.
The method that electricity provided in this embodiment is reminded judges end on the basis of the history record of charging of previous terminal
It holds whether current location when low battery has charge condition, if had, user is reminded to charge for end cell;If no
Have, then further the communication requirement distributed data of user is predicted, according to communication requirement distribution number by the communications records of terminal
According to prediction result, and combine different working modes under terminal standby time estimation results, confirm terminal use final work
Operation mode, and user is reminded to agree to use final operating mode.Not only solve the blind of terminal low battery prompting in the prior art
Mesh sex chromosome mosaicism realizes that terminal low battery reminds intelligent, personalization, improves the validity and specific aim of prompting message;Moreover, filling
Divide user when considering low battery to determine final operating mode to the communication requirement of terminal, the communication service of user is avoided to be indulged in
Accidentally;The operation link that happy user manually adjusts terminal work mode is reduced simultaneously, improves the operating experience of terminal.
Fig. 3 is the structure chart for the device that the electricity shown in an exemplary embodiment of the invention is reminded.
As shown in figure 3, the present embodiment provides the device that a kind of electricity is reminded, the device which reminds can be integrated in end
In end, which includes:Acquisition module 301, judgment module 302 and reminding module 303.
Wherein, acquisition module 301 obtain terminal if the current battery charge for terminal reaches default power threshold
Current location.
Judgment module 302, for judging whether current location has the condition to charge to terminal.
Reminding module 303 sends out charging if having the condition to charge to terminal for current location in terminal
It reminds.
The detailed content of above-mentioned modules is referring to the description in the corresponding embodiments of above-mentioned Fig. 1.
Fig. 4 is the structure chart for the device that the electricity shown in another exemplary embodiment of the present invention is reminded.
As shown in figure 4, the device that electricity provided in this embodiment is reminded is in an exemplary reality as shown in Figure 3 of the invention
On the basis of applying the device that the electricity exemplified is reminded, further, further comprise:
Optionally, judgment module 402 is specifically used for:Obtain the history record of charging of terminal;Judge in history record of charging
With the presence or absence of the record of charging with current location matches;If having the charging with current location matches in history record of charging to remember
Record, it is determined that current location has the condition to charge to terminal, is filled to terminal otherwise, it determines current location does not have
The condition of electricity.
Optionally, it if acquisition module 401 is additionally operable to current location and does not have the condition to charge to terminal, obtains
The communications records of terminal in first preset time period;And device further includes:Statistical module 404, for being carried out to communications records
Statistics, obtains the communication requirement distributed data of the terminal in the second preset time period after current time;Determining module 405,
Final operating mode for determining terminal according to communication requirement distributed data and current battery charge.
Optionally it is determined that module 405 is specifically used for:Determine terminal under different working modes according to current battery charge
The standby cutoff time;Determine the call duration time the latest in communication requirement distributed data;The standby cutoff time is in and is communicated the latest
Operating mode after time is determined as the final operating mode of terminal.
Optionally, acquisition module 401 is additionally operable to obtain the current operation mode of terminal;Judgment module 402 is additionally operable to judge
Whether current operation mode is identical as final operating mode;If reminding module 403 is additionally operable to current operation mode and final work
Pattern is different, then sends out operating mode change in terminal and remind.
The detailed content of above-mentioned modules is referring to the description in the corresponding embodiments of above-mentioned Fig. 2.
The embodiment of the present invention also provides a kind of equipment that electricity is reminded, including:Memory;Processor;And computer journey
Sequence;Wherein, computer program stores in memory, and is configured as executing the present invention such as one example of Fig. 1 correspondences by processor
Property implement the electricity of method or the present invention that the electricity that exemplifies is reminded as shown in the corresponding another exemplary embodiments of Fig. 2 and remind
Method.
Fig. 5 is the structure chart for the equipment that the electricity shown in an exemplary embodiment of the invention is reminded.
As shown in figure 5, the present embodiment provides the equipment that a kind of electricity is reminded, including:At least one processor 51 and storage
Device 52, in Fig. 5 by taking a processor 51 as an example, processor 51 and memory 52 are connected by bus 50, and memory 52 is stored with
The instruction that can be executed by least one processor 51, instruction is executed by least one processor 51, so that at least one processor
51 execute the method reminded such as the electricity of Fig. 1 or Fig. 2 in above-described embodiment.
Related description can correspond to the corresponding associated description and effect of the step of referring to Fig. 1 to Fig. 2 and be understood, herein
It does not do and excessively repeats.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, including:Program, when it is transported on computers
When row so that computer can perform all or part of flow of method in the corresponding embodiments of above-mentioned Fig. 1 or Fig. 2.Wherein, it stores
Medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM), random access memory (Random
Access Memory, RAM), flash memory (Flash Memory), hard disk (Hard Disk Drive, abbreviation:HDD) or
Solid state disk (Solid-State Drive, SSD) etc.;Storage medium can also include the combination of the memory of mentioned kind.
Although being described in conjunction with the accompanying the embodiment of the present invention, those skilled in the art can not depart from the present invention
Spirit and scope in the case of various modifications and variations can be made, such modifications and variations are each fallen within by appended claims institute
Within the scope of restriction.
Claims (12)
1. a kind of method that electricity is reminded, which is characterized in that including:
If the current battery charge of terminal reaches default power threshold, the current location of the terminal is obtained;
Judge whether the current location has the condition to charge to the terminal;
If the current location has the condition to charge to the terminal, charge reminder is sent out in the terminal.
2. according to the method described in claim 1, it is characterized in that, described judge whether the current location had to the end
The condition to charge is held, is specifically included:
Obtain the history record of charging of the terminal;
Judge in the history record of charging with the presence or absence of the record of charging with the current location matches;
If there is the record of charging with the current location matches in the history record of charging, it is determined that the current location tool
The standby condition to charge to the terminal, otherwise, it determines the current location does not have the item to charge to the terminal
Part.
3. according to the method described in claim 1, it is characterized in that, further including:
If the current location does not have the condition to charge to the terminal, obtain described in the first preset time period
The communications records of terminal;
The communications records are counted, the communication of the terminal in the second preset time period after current time is obtained
Demand distributed data;
The final operating mode of the terminal is determined according to the communication requirement distributed data and the current battery charge.
4. according to the method described in claim 3, it is characterized in that, described according to the communication requirement distributed data and described work as
Preceding battery capacity determines that the final operating mode of the terminal specifically includes:
Standby cutoff time of the terminal under different working modes is determined according to the current battery charge;
Determine the call duration time the latest in the communication requirement distributed data;
The operating mode standby cutoff time being in after the call duration time the latest, is determined as the final of the terminal
Operating mode.
5. method according to claim 3 or 4, which is characterized in that it is described according to the communication requirement distributed data and
After the current battery charge determines the final operating mode of the terminal, further include:
Obtain the current operation mode of the terminal;
Judge whether the current operation mode and the final operating mode are identical;
If the current operation mode is different from the final operating mode, operating mode change is sent out in the terminal and is carried
It wakes up.
6. the device that a kind of electricity is reminded, which is characterized in that including:
Acquisition module obtains the present bit of the terminal if the current battery charge for terminal reaches default power threshold
It sets;
Judgment module, for judging whether the current location has the condition to charge to the terminal;
Reminding module is sent out if having the condition to charge to the terminal for the current location in the terminal
Go out charge reminder.
7. device according to claim 6, which is characterized in that the judgment module is specifically used for:
Obtain the history record of charging of the terminal;
Judge in the history record of charging with the presence or absence of the record of charging with the current location matches;
If there is the record of charging with the current location matches in the history record of charging, it is determined that the current location tool
The standby condition to charge to the terminal, otherwise, it determines the current location does not have the item to charge to the terminal
Part.
8. device according to claim 6, which is characterized in that
If the acquisition module is additionally operable to the current location and does not have the condition to charge to the terminal, obtain the
The communications records of the terminal in one preset time period;And described device further includes:
Statistical module is obtained for being counted to the communications records in the second preset time period after current time
The communication requirement distributed data of the terminal;
Determining module, for determining the final of the terminal according to the communication requirement distributed data and the current battery charge
Operating mode.
9. device according to claim 8, which is characterized in that the determining module is specifically used for:
Standby cutoff time of the terminal under different working modes is determined according to the current battery charge;
Determine the call duration time the latest in the communication requirement distributed data;
The operating mode standby cutoff time being in after the call duration time the latest, is determined as the final of the terminal
Operating mode.
10. device according to claim 8 or claim 9, which is characterized in that
The acquisition module is additionally operable to obtain the current operation mode of the terminal;
The judgment module is additionally operable to judge whether the current operation mode and the final operating mode are identical;
If it is different from the final operating mode that the reminding module is additionally operable to the current operation mode, in the terminal
Operating mode change is sent out to remind.
11. the equipment that a kind of electricity is reminded, which is characterized in that including:
Memory;Processor;And computer program;
Wherein, the computer program is stored in the memory, and is configured as being executed as right is wanted by the processor
Seek the method described in any one of 1 to 5.
12. a kind of computer readable storage medium, which is characterized in that including:Program, when run on a computer so that
Computer perform claim requires the method described in any one of 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810515801.XA CN108804294A (en) | 2018-05-25 | 2018-05-25 | Method, apparatus, equipment and the computer readable storage medium that electricity is reminded |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810515801.XA CN108804294A (en) | 2018-05-25 | 2018-05-25 | Method, apparatus, equipment and the computer readable storage medium that electricity is reminded |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108804294A true CN108804294A (en) | 2018-11-13 |
Family
ID=64091886
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810515801.XA Pending CN108804294A (en) | 2018-05-25 | 2018-05-25 | Method, apparatus, equipment and the computer readable storage medium that electricity is reminded |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108804294A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109587777A (en) * | 2018-12-12 | 2019-04-05 | 上海联影医疗科技有限公司 | Device and method, computer readable storage medium, remote control device and the medical imaging device of power management |
CN110602774A (en) * | 2019-10-21 | 2019-12-20 | 中国联合网络通信集团有限公司 | Personal hotspot management method and mobile terminal |
CN112199027A (en) * | 2020-09-14 | 2021-01-08 | 努比亚技术有限公司 | Terminal interaction control method, terminal and computer readable storage medium |
CN112449052A (en) * | 2019-09-03 | 2021-03-05 | 北京小米移动软件有限公司 | Method and device for adjusting electric quantity prompt, terminal and storage medium |
CN113194201A (en) * | 2021-04-26 | 2021-07-30 | 中国联合网络通信集团有限公司 | Electric quantity reminding method and device |
CN113555921A (en) * | 2021-06-29 | 2021-10-26 | 中国联合网络通信集团有限公司 | Charging reminding method based on scene digitization and mobile terminal |
CN114825560A (en) * | 2022-06-23 | 2022-07-29 | 荣耀终端有限公司 | Charging reminding method and electronic equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101645979A (en) * | 2008-08-06 | 2010-02-10 | 比亚迪股份有限公司 | Method, system and mobile terminal for switching working modes of mobile terminal |
CN103533619A (en) * | 2012-07-05 | 2014-01-22 | 华为技术有限公司 | Mobile communication terminal and power management method thereof |
CN104780269A (en) * | 2015-03-24 | 2015-07-15 | 广东欧珀移动通信有限公司 | Method and device for regulating performance of mobile terminal based on electric quantity |
CN105323362A (en) * | 2014-06-27 | 2016-02-10 | 中兴通讯股份有限公司 | Terminal working mode adjustment method and device |
CN106055458A (en) * | 2016-05-26 | 2016-10-26 | 深圳天珑无线科技有限公司 | Charging reminding method, device and mobile device |
CN106528378A (en) * | 2016-11-14 | 2017-03-22 | 上海斐讯数据通信技术有限公司 | Charging reminding device and method for intelligent equipment |
CN107197103A (en) * | 2017-07-06 | 2017-09-22 | 三星电子(中国)研发中心 | The power saving progress control method and device of intelligent terminal |
CN107241513A (en) * | 2017-06-30 | 2017-10-10 | 广东欧珀移动通信有限公司 | charging reminding method, device, storage medium and electronic equipment |
-
2018
- 2018-05-25 CN CN201810515801.XA patent/CN108804294A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101645979A (en) * | 2008-08-06 | 2010-02-10 | 比亚迪股份有限公司 | Method, system and mobile terminal for switching working modes of mobile terminal |
CN103533619A (en) * | 2012-07-05 | 2014-01-22 | 华为技术有限公司 | Mobile communication terminal and power management method thereof |
CN105323362A (en) * | 2014-06-27 | 2016-02-10 | 中兴通讯股份有限公司 | Terminal working mode adjustment method and device |
CN104780269A (en) * | 2015-03-24 | 2015-07-15 | 广东欧珀移动通信有限公司 | Method and device for regulating performance of mobile terminal based on electric quantity |
CN106055458A (en) * | 2016-05-26 | 2016-10-26 | 深圳天珑无线科技有限公司 | Charging reminding method, device and mobile device |
CN106528378A (en) * | 2016-11-14 | 2017-03-22 | 上海斐讯数据通信技术有限公司 | Charging reminding device and method for intelligent equipment |
CN107241513A (en) * | 2017-06-30 | 2017-10-10 | 广东欧珀移动通信有限公司 | charging reminding method, device, storage medium and electronic equipment |
CN107197103A (en) * | 2017-07-06 | 2017-09-22 | 三星电子(中国)研发中心 | The power saving progress control method and device of intelligent terminal |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109587777A (en) * | 2018-12-12 | 2019-04-05 | 上海联影医疗科技有限公司 | Device and method, computer readable storage medium, remote control device and the medical imaging device of power management |
CN112449052A (en) * | 2019-09-03 | 2021-03-05 | 北京小米移动软件有限公司 | Method and device for adjusting electric quantity prompt, terminal and storage medium |
CN110602774A (en) * | 2019-10-21 | 2019-12-20 | 中国联合网络通信集团有限公司 | Personal hotspot management method and mobile terminal |
CN112199027A (en) * | 2020-09-14 | 2021-01-08 | 努比亚技术有限公司 | Terminal interaction control method, terminal and computer readable storage medium |
CN113194201A (en) * | 2021-04-26 | 2021-07-30 | 中国联合网络通信集团有限公司 | Electric quantity reminding method and device |
CN113194201B (en) * | 2021-04-26 | 2022-08-26 | 中国联合网络通信集团有限公司 | Electric quantity reminding method and device |
CN113555921A (en) * | 2021-06-29 | 2021-10-26 | 中国联合网络通信集团有限公司 | Charging reminding method based on scene digitization and mobile terminal |
CN113555921B (en) * | 2021-06-29 | 2023-05-05 | 中国联合网络通信集团有限公司 | Charging reminding method based on scene digitization and mobile terminal |
CN114825560A (en) * | 2022-06-23 | 2022-07-29 | 荣耀终端有限公司 | Charging reminding method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108804294A (en) | Method, apparatus, equipment and the computer readable storage medium that electricity is reminded | |
EP3502880B1 (en) | Method for preloading application, storage medium, and terminal device | |
EP3502889B1 (en) | Method and device for preloading application, storage medium, and terminal device | |
CN103823543B (en) | Portable electronic device and the method operated wherein | |
CN104484031B (en) | The optimization method and device of terminal device power consumption state | |
EP3066743B1 (en) | Intelligent context based battery charging | |
CN104166542A (en) | Method and device for detecting electricity consumption of application | |
CN103686595B (en) | State switching method and electronic equipment | |
CN109947497A (en) | Application program preloads method, apparatus, storage medium and mobile terminal | |
CN107533094B (en) | Method and system for optimizing execution of user commands related to power management | |
CN103199310A (en) | Battery power guaranteeing method and battery power guaranteeing apparatus for portable electronic product, and mobile terminal | |
CN105072292A (en) | Application control method and terminal | |
CN104199538A (en) | Mobile terminal power saving method and system and mobile terminal | |
CN106055077A (en) | Wake-up lock-based processing method and device | |
CN110008008A (en) | Applied program processing method and device, electronic equipment, computer readable storage medium | |
CN104849664A (en) | Method for determining residual use duration of terminal, and terminal | |
CN109992370A (en) | Applied program processing method and device, electronic equipment, computer readable storage medium | |
CN105511589A (en) | Power saving mode starting method and device and user terminal | |
CN107463436A (en) | Course control method, device, storage medium and electronic equipment | |
CN105677141A (en) | Application program management method and terminal | |
CN114172563A (en) | Communication satellite dormancy control method, heaven-earth integrated communication network and storage medium | |
CN105210007B (en) | System and method for the rechargeable power supply management in the portable computing with two or more use patterns | |
CN106533763A (en) | Method and device for downloading application update package and user terminal | |
CN111050378A (en) | Network searching method and device and electronic equipment | |
CN110032439A (en) | Method for managing resource, device, mobile terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181113 |