CN107608855A - Based reminding method and mobile terminal - Google Patents

Based reminding method and mobile terminal Download PDF

Info

Publication number
CN107608855A
CN107608855A CN201710807971.0A CN201710807971A CN107608855A CN 107608855 A CN107608855 A CN 107608855A CN 201710807971 A CN201710807971 A CN 201710807971A CN 107608855 A CN107608855 A CN 107608855A
Authority
CN
China
Prior art keywords
mobile terminal
coordinate
charging
duration
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710807971.0A
Other languages
Chinese (zh)
Other versions
CN107608855B (en
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 CN201710807971.0A priority Critical patent/CN107608855B/en
Publication of CN107608855A publication Critical patent/CN107608855A/en
Application granted granted Critical
Publication of CN107608855B publication Critical patent/CN107608855B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention provides a kind of based reminding method and mobile terminal, is related to electronic technology field, and methods described includes:Geographical position according to residing for mobile terminal, determine whether user is in trip state, when it is determined that user is in trip state, determine mobile terminal current residual electricity uses duration, duration and charging moment are used according to described, user is reminded to carry charging equipment, at the time of the charging moment is mobile terminal charging next time.Mobile terminal can be charged by prejudging out mobile terminal when current residual electricity is finished, user can be reminded to carry charging equipment in advance, the problem of user can not charge when receiving the information for reminding charging is avoided, meets the demand that user charges in time according to the prompting message.

Description

Based reminding method and mobile terminal
Technical field
The present embodiments relate to electronic technology field, more particularly to a kind of based reminding method and mobile terminal.
Background technology
With the continuous development of mobile terminal, mobile terminal possessed function is also being continuously increased, and user is using During each function of mobile terminal, the power consumption rate of mobile terminal is also improving.
In correlation technique, during user uses mobile terminal, the electricity of remaining battery can be detected, and detecting When being reduced to a certain threshold value to the dump energy of battery, prompting message is exported to user, so that user is viewing prompting letter Can be charged in time after breath, prevent low battery and can not normal use.
But if user is in outdoor or in the environment of other can not charge, even if mobile terminal reminds user's electricity Measure too low, user still can not be charged, and can not meet user according to prompting message the needs of being charged in time.
The content of the invention
The present invention provides a kind of based reminding method and mobile terminal, with solve user in the prior art be in it is outdoor or other In the environment of can not charging, the problem of user can not be charged in time according to the prompting message of mobile terminal.
According to the first aspect of the invention, there is provided a kind of based reminding method, applied to mobile terminal, methods described includes:
Geographical position according to residing for mobile terminal, determines whether user is in trip state;
When it is determined that user is in trip state, determine mobile terminal current residual electricity uses duration;
According to described using duration and charging moment, prompting user carries charging equipment, and the charging moment is mobile whole At the time of charging next time of end.
According to the second aspect of the invention, there is provided a kind of mobile terminal, the mobile terminal include:
State determining module, for the geographical position according to residing for mobile terminal, determine whether user is in trip state;
Time determining module, for when it is determined that user is in trip state, determining mobile terminal current residual electricity Use duration;
Prompting module, for, using duration and charging moment, reminding user to carry charging equipment, the charging according to described At the time of moment is mobile terminal charging next time.
According to the third aspect of the invention we, there is provided a kind of mobile terminal, including processor, memory and be stored in described On memory and the computer program that can run on the processor, the computer program is by real during the computing device Now the step of based reminding method as any one of first aspect.
According to the fourth aspect of the invention, there is provided a kind of computer-readable recording medium, the computer-readable storage Computer program is stored on medium, is realized when the computer program is executed by processor as any one of first aspect The step of based reminding method.
A kind of based reminding method and mobile terminal provided in an embodiment of the present invention, pass through the geographical position according to residing for mobile terminal Put, determine whether user is in trip state, when it is determined that user is in trip state, determine mobile terminal current residual electricity Use duration, according to this using duration and charging the moment, remind user carry charging equipment, wherein the charging moment for movement At the time of terminal charging next time.Mobile terminal can be entered when current residual electricity is finished by prejudging out mobile terminal Row charging, can remind user to carry charging equipment in advance, and avoiding user can not fill when receiving the information for reminding charging The problem of electric, meet the demand that user charges in time according to the prompting message.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of hardware architecture diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 2 is a kind of step flow chart of based reminding method provided in an embodiment of the present invention;
Fig. 3 is a kind of step flow chart of based reminding method provided in an embodiment of the present invention;
Fig. 4 is a kind of structured flowchart of mobile terminal provided in an embodiment of the present invention.
Embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
In embodiments of the present invention, mobile terminal include but is not limited to be such as mobile phone, tablet personal computer, notebook computer, The mobile terminals such as palm PC, guider, wearable device, Intelligent bracelet, pedometer.
Fig. 1 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention, the mobile terminal 100 Including but not limited to:Radio frequency unit 101, mixed-media network modules mixed-media 102, audio output unit 103, (audio/video) input block 104, Sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, Yi Ji electricity The grade part of source 111.It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 1 is not formed to mobile terminal Restriction, mobile terminal can include than illustrating more or less parts, either combine some parts or different parts Arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution), TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution), Wi-Fi module, NFC module and bluetooth module Deng.
Mobile terminal can help user to send and receive e-mail, browse webpage and access streaming matchmaker by mixed-media network modules mixed-media 102 Body etc., it has provided the user wireless broadband internet and accessed, and mixed-media network modules mixed-media 102 includes but is not limited to be RJ45 port modules Deng.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or mixed-media network modules mixed-media 102 it is receiving or It is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103 The audio output related to the specific function that mobile terminal 100 performs can also be provided (for example, call signal receives sound, disappeared Breath receives sound etc.).Audio output unit 103 includes loudspeaker, buzzer and receiver etc..
Input block 104 is used to receive audio or video signal.Input block 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or mixed-media network modules mixed-media 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture should With (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) Deng;The fingerprint sensor that can also configure as mobile terminal, pressure sensor, iris sensor, molecule sensor, gyroscope, The other sensors such as barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
In addition, mobile terminal 100 includes some unshowned functional modules, will not be repeated here.
Based on the hardware configuration of above-mentioned mobile terminal, Detailed Description is carried out to various embodiments of the present invention below.
Embodiment one
Reference picture 2, a kind of step flow chart of based reminding method of the embodiment of the present invention is shown, can specifically included as follows Step:
Step 201, the geographical position according to residing for mobile terminal, determines whether user is in trip state.
Wherein, the geographical position residing for the mobile terminal is the geographical position that mobile terminal is currently located.
In order to remind user to carry charging equipment before user goes on a journey, mobile terminal can be according to the mobile terminal of acquisition The geographical position being presently in judged, determine whether user is in trip state, so as in subsequent step, it is mobile eventually End can determine the need for reminding user to carry charging equipment according to the judged result.
Wherein, the trip state can be that user will be away from home outgoing but not yet outgoing state, or use Family will leave the outgoing but not outgoing state of company, and the embodiment of the present invention is not limited this.
It should be noted that mobile terminal can obtain the geographical position being presently in of mobile terminal in real time, can also The geographical position being presently in periodically is obtained, other modes can also be used to obtain the geographical position being presently in certainly, The embodiment of the present invention is not limited this.
Step 202, when it is determined that user is in trip state, determine mobile terminal current residual electricity uses duration.
Wherein, the use duration for being used to indicate mobile terminal current residual electricity using duration.
If it is determined that user is in trip state, then mobile terminal can obtain the electricity of battery current residual, and according to The power consumption electric current of mobile terminal, mobile terminal is calculated uses duration, namely is to determine mobile terminal in the feelings not charged Under condition can also normal use how long.
Wherein, the power consumption electric current of mobile terminal can be determined according to the current power consumption electric current of mobile terminal, can also It is determined according to the average current of mobile terminal within a certain period of time, the embodiment of the present invention is not limited this.
Step 203, according to using duration and charging moment, user is reminded to carry charging equipment.
Wherein, at the time of the charging moment is mobile terminal charging next time.
After mobile terminal is calculated using duration, it can be judged according to this using duration and charging moment, will Current time is added with using duration, the charging moment whether is had arrived at the time of obtaining, if at the time of being calculated not The charging moment is reached, then illustrates that mobile terminal may have run out current residual electricity, it is necessary to remind use before next time charges Family carries charging equipment;But if having exceeded the charging moment at the time of being calculated, then illustrate that mobile terminal is being finished battery It can be charged before electricity, without reminding user to carry charging equipment.
Obtained it should be noted that charging moment is mobile terminal according to historical data, for example, mobile terminal can be with At the time of record charges every time, the moment of charging can be then determined according to substantial amounts of historical record;The charging equipment can be movement The equipment such as power supply or charger, the embodiment of the present invention are not limited this.
A kind of based reminding method provided in an embodiment of the present invention, by the geographical position according to residing for mobile terminal, it is determined that with Whether family is in trip state, when it is determined that user is in trip state, when determining the use of mobile terminal current residual electricity It is long, according to this using duration and charging moment, remind user to carry charging equipment, the wherein charging moment is mobile terminal next time At the time of charging.Mobile terminal can be charged by prejudging out mobile terminal when current residual electricity is finished, Can remind in advance user carry charging equipment, avoid user receive remind charging information when can not charge ask Topic, meets the demand that user charges in time according to the prompting message.
Embodiment two
Reference picture 3, a kind of step flow chart of based reminding method of the embodiment of the present invention is shown, can specifically included as follows Step:
Step 301, charging coordinate is obtained.
Mobile terminal can obtain the charging coordinate corresponding with charging place in advance, be moved to be combined in subsequent step The changing coordinates of dynamic terminal determine whether user is in trip state.For example, mobile terminal can be filled detecting user When electric, obtain and record the changing coordinates of mobile terminal, and the charging coordinate using the coordinate as mobile terminal.
But in actual applications, user may be charged by portable power source, then start to fill according to mobile terminal The behavior of electricity determines that charging coordinate has error, therefore coordinate when can also obtain mobile terminal complete charge, according to beginning The coordinate of charging and the coordinate of complete charge determine the charging coordinate of mobile terminal.
Optionally, when detecting that mobile terminal starts to charge up, the first coordinate can be obtained;When detecting mobile terminal knot When beam charges, the second coordinate can be obtained;The distance between the first coordinate and the second coordinate are calculated, when the first coordinate and second are sat , can be using the second coordinate as charging coordinate when being less than the second predetermined threshold value the distance between mark.
Wherein, first coordinate is used to indicate mobile terminal geographical position residing at the time of starting to charge up, and this second Coordinate is used to indicate mobile terminal geographical position residing at the time of complete charge, and between the first coordinate and the second coordinate Distance as mobile terminal is in charging process, distance that mobile terminal is moved;Second predetermined threshold value can be using value as 10 Rice, can also value other numerical value, the embodiment of the present invention do not limited this.
Specifically, if the distance between first coordinate and second coordinate very little, it is probably indoors to illustrate user Charged by the power supply of mains-supplied, can be using the second coordinate as charging coordinate.But if the first coordinate and second The distance between coordinate is larger, then illustrates that user may charged using portable power source to mobile terminal, can not now incite somebody to action Charging coordinate can be then set to null value, and ought detect user to mobile terminal again by the second coordinate as charging coordinate When being charged, step 301 is performed again so as to be updated to charging coordinate.
Step 302, the geographical position according to residing for mobile terminal, determines whether user is in trip state.
After the charging coordinate of mobile terminal is obtained, mobile terminal can obtain the geographical position residing for current mobile terminal Put, and by the geographical position that this is presently in compared with the coordinate that charges, after distance therebetween is more than certain threshold value, Then illustrate that user has moved away from the coordinate that charges, in trip state.
Optionally, mobile terminal can obtain changing coordinates, changing coordinates and the distance between the coordinate that charges be calculated, when this When changing coordinates are more than the first predetermined threshold value with the distance between the coordinate that charges, determine that user is in trip state, should but work as When changing coordinates are less than or equal to the first predetermined threshold value with the distance between the coordinate that charges, then it can determine that user is not in out Row state.
Wherein, the changing coordinates are used to indicate the geographical position that mobile terminal is presently in, and the changing coordinates are sat with charging The distance between mark can be that user carries the distance that mobile terminal moves, and first predetermined threshold value can be using value as 50 Rice, can also value be other numerical value, the embodiment of the present invention is not limited this.
For example, when user will be away from home, mobile terminal detects that changing coordinates and the distance between charging coordinate are big In 50 meters, then it can be determined that user is currently at trip state, so as to remind user according to the judged result in subsequent step Carry charging equipment.
Step 303, when it is determined that user is in trip state, determine mobile terminal current residual electricity uses duration.
After it is determined that user is in trip state, then it needs to be determined that the current residual electricity of mobile terminal can also use it is more For a long time, user's use can be supported to being charged again to mobile terminal.And during it is determined that using duration, it is mobile Terminal needs to obtain the electricity of battery current residual, and the power consumption electric current of mobile terminal, according to current residual electricity and power consumption The use duration of mobile terminal can be calculated in electric current.
Optionally, mobile terminal can obtain the average consumption electric current in preset duration, and obtain corresponding to current time History power consumption electric current, according to the average consumption electric current and the history power consumption electric current, obtain estimating power consumption electric current, it is last according to working as Preceding dump energy and power consumption electric current is estimated, obtain using duration.
Specifically, mobile terminal can obtain the average consumption electric current in nearest several hours, and obtain in these last few days The average consumption electric current at the charging moment that can be charged is returned from current time to user, and is carried out according to certain weight Distribution, obtains estimating power consumption electric current closest to mobile terminal actual power consumption.Mobile terminal can according to current residual electricity and It is calculated and estimates power consumption electric current, is calculated using duration.
For example, current time is the 15 of Friday:00, the charging moment is 18:00, then mobile terminal can obtain 13:00 To 15:00 average consumption electric current, and obtain from last Friday to this Thursday 15:00 to 18:00 history power consumption electric current, then To average consumption electric current and history power consumption electric current averaged, obtain estimating power consumption electric current.
Step 304, according to using duration and charging moment, user is reminded to carry charging equipment.
Wherein, the charging moment obtains according to historical data, at the time of being mobile terminal charging next time.
Mobile terminal can obtain current time, and according to the current time and charging moment, it is determined that returning to duration, obtain The return duration and this use duration between difference, when the return duration and this use duration between difference be more than time threshold During value, carrying charging equipment may remind the user that.
Wherein, a length of current time to the duration at moment of charging, that is to say between current time and charging moment during return Difference.
Specifically, after mobile terminal is estimated to obtain using duration, can according to it is current at the time of and what is obtained in advance fill The electric moment is calculated, the return duration for obtaining current time between the moment of charging, and by the return duration and uses duration It is compared, if the return duration, which is less than, uses duration, illustrates that user can be carried out before mobile terminal electricity is finished Charging, without reminding user to carry charging equipment;But use duration if returning to duration and being more than, then illustrate that user can not move Dynamic terminal power is charged before being finished, it is necessary to remind user to carry charging equipment.
Mobile terminal can also be calculated according to using duration and current time, and user can be supported by obtaining mobile terminal At the time of normal use, and need are determined whether according to comparative result compared with the moment of charging at the time of this is calculated User is reminded to carry charging equipment.
Certainly, mobile terminal can also use other modes according to using duration and charging moment, it is determined whether needs carry The user that wakes up carries charging equipment, and the embodiment of the present invention is not limited this.
It should be noted that mobile terminal when being charged, can be recorded at the time of starting to charge up, when mobile terminal is remembered After at the time of having recorded a large amount of, you can to being analyzed at the time of record, obtain the charging moment of mobile terminal charging.
Further, when mobile terminal is at the time of record is charged, the geographical position charged can also be recorded Information, and establish geographical location information and record charge at the time of between corresponding relation.Accordingly, determining the need for carrying , can be according to the charging coordinate currently determined and pre-recorded geographical location information phase when the user that wakes up carries charging equipment Match somebody with somebody, obtain the corresponding charging moment.
It is, of course, also possible to determine the charging moment using other modes, the embodiment of the present invention is not limited this.
A kind of based reminding method provided in an embodiment of the present invention, by the geographical position according to residing for mobile terminal, it is determined that with Whether family is in trip state, when it is determined that user is in trip state, when determining the use of mobile terminal current residual electricity It is long, according to this using duration and charging moment, remind user to carry charging equipment, the wherein charging moment is mobile terminal next time At the time of charging.Mobile terminal can be charged by prejudging out mobile terminal when current residual electricity is finished, Can remind in advance user carry charging equipment, avoid user receive remind charging information when can not charge ask Topic, meets the demand that user charges in time according to the prompting message.
Further, by calculating changing coordinates and the distance between the coordinate that charges, it is true the first predetermined threshold value can be combined Determine whether user is in trip state, improve the degree of accuracy for determining whether user is in trip state, can avoid due to fixed Position error and caused by miscue.
Further, the first coordinate and the second coordinate of complete charge by starting to charge up, it may be determined that mobile terminal The charging coordinate that can be charged, avoids and is charged by charging equipments such as portable power sources, and causes to charge coordinate not Accurate situation, improve the accuracy for determining charging coordinate.
Further, by obtaining average consumption electric current and history power consumption electric current, obtain estimating power consumption electric current, with reference to current Dump energy is calculated using duration, can more accurately estimate power consumption electricity of the mobile terminal within following a period of time Stream, and then can be calculated and more accurately use duration, improve the degree of accuracy for reminding user to carry charging equipment.
Embodiment three
Reference picture 4, a kind of structured flowchart of mobile terminal of the embodiment of the present invention is shown, can specifically be included:
State determining module 401, for the geographical position according to residing for mobile terminal, determine user whether in trip shape State;
Time determining module 402, for when it is determined that user is in trip state, determining mobile terminal current residual electricity Use duration;
Prompting module 403, for, using duration and charging moment, reminding user to carry charging equipment, the charging according to this At the time of moment is mobile terminal charging next time.
Optionally, the state determining module 401 includes:
Acquisition submodule, for obtaining changing coordinates, the changing coordinates are used to indicate the geography that mobile terminal is presently in Position;
Calculating sub module, for calculating the changing coordinates and the distance between the coordinate that charges;
First determination sub-module, for being more than the first predetermined threshold value when the distance between the changing coordinates and the charging coordinate When, determine that user is in trip state;
Second determination sub-module, for when the distance between the changing coordinates and the charging coordinate be less than or equal to this first During predetermined threshold value, determine that user is not in trip state.
Optionally, the mobile terminal also includes:
First acquisition module, for when detecting that mobile terminal starts to charge up, obtaining the first coordinate, first coordinate is used Residing geographical position at the time of indicating that mobile terminal is starting to charge up;
Second acquisition module, for when detecting mobile terminal complete charge, obtaining the second coordinate, second coordinate is used Residing geographical position at the time of mobile terminal is indicated in complete charge;
Computing module, for calculating the distance between first coordinate and second coordinate;
Coordinate determining module, for being less than the second predetermined threshold value when the distance between first coordinate and second coordinate When, using second coordinate as charging coordinate.
Optionally, the time determining module 402 includes:
First electric current acquisition submodule, for obtaining the average consumption electric current in preset duration;
Second electric current acquisition submodule, for obtaining the history power consumption electric current corresponding to current time;
3rd electric current acquisition submodule, for according to the average consumption electric current and the history power consumption electric current, obtaining estimating consumption Electric current;
Time determination sub-module, for estimating power consumption electric current with this according to current residual electricity, obtain this and use duration.
Optionally, the prompting module 403 includes:
Moment acquisition submodule, for obtaining current time;
Duration determination sub-module, for according to the current time and the charging moment, it is determined that returning to duration, the charging moment To be obtained according to historical data, during the return it is a length of deserve before moment to the charging moment duration;
Time difference calculating sub module, for obtain the return duration and this use duration between difference;
Information reminding submodule, for when the return duration and this use duration between difference be more than time threshold when, User is reminded to carry charging equipment.
Mobile terminal provided in an embodiment of the present invention can realize that mobile terminal is realized in Fig. 2 to Fig. 3 embodiment of the method Each process, to avoid repeating, repeat no more here.
A kind of mobile terminal provided in an embodiment of the present invention, by the geographical position according to residing for mobile terminal, it is determined that with Whether family is in trip state, when it is determined that user is in trip state, when determining the use of mobile terminal current residual electricity It is long, according to this using duration and charging moment, remind user to carry charging equipment, the wherein charging moment is mobile terminal next time At the time of charging.Mobile terminal can be charged by prejudging out mobile terminal when current residual electricity is finished, Can remind in advance user carry charging equipment, avoid user receive remind charging information when can not charge ask Topic, meets the demand that user charges in time according to the prompting message.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 110, memory 109, is stored in On memory 109 and the computer program that can be run on the processor 110, the computer program are performed by processor 110 Each process of the above-mentioned based reminding method embodiments of Shi Shixian, and identical technique effect can be reached, to avoid repeating, here no longer Repeat.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording medium Calculation machine program, the computer program realize each process of above-mentioned based reminding method embodiment when being executed by processor, and can reach Identical technique effect, to avoid repeating, repeat no more here.Wherein, described computer-readable recording medium, deposited Ru read-only Reservoir (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), Magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, these are belonged within the protection of the present invention.

Claims (12)

1. a kind of based reminding method, applied to mobile terminal, it is characterised in that methods described includes:
Geographical position according to residing for mobile terminal, determines whether user is in trip state;
When it is determined that user is in trip state, determine mobile terminal current residual electricity uses duration;
According to described using duration and charging moment, user is reminded to carry charging equipment, the charging moment is under mobile terminal At the time of secondary charging.
2. according to the method for claim 1, it is characterised in that the geographical position according to residing for mobile terminal, it is determined that Whether user is in trip state, including:
Changing coordinates are obtained, the changing coordinates are used to indicate the geographical position that mobile terminal is presently in;
Calculate the changing coordinates and the distance between the coordinate that charges;
When the changing coordinates are more than the first predetermined threshold value with described the distance between the coordinate that charges, determine that user is in trip State;
When the changing coordinates are less than or equal to first predetermined threshold value with described the distance between the coordinate that charges, it is determined that with Family is not in trip state.
3. method according to claim 1 or 2, it is characterised in that methods described also includes:
When detecting that mobile terminal starts to charge up, the first coordinate is obtained, first coordinate is used to indicate that mobile terminal is being opened Residing geographical position at the time of beginning to charge;
When detecting mobile terminal complete charge, the second coordinate is obtained, second coordinate is used to indicate that mobile terminal is being tied Beam geographical position residing at the time of charging;
Calculate the distance between first coordinate and second coordinate;
When the distance between first coordinate and second coordinate are less than the second predetermined threshold value, second coordinate is made For the coordinate that charges.
4. according to the method for claim 1, it is characterised in that during the use of the determination mobile terminal current residual electricity It is long, including:
Obtain the average consumption electric current in preset duration;
Obtain the history power consumption electric current corresponding to current time;
According to the average consumption electric current and the history power consumption electric current, obtain estimating power consumption electric current;
According to current residual electricity and it is described estimate power consumption electric current, obtain described using duration.
5. according to the method for claim 1, it is characterised in that described to use duration and charging moment, prompting according to described User carries charging equipment, including:
Obtain current time;
According to the current time and the charging moment, it is determined that returning to duration, the charging moment is to be obtained according to historical data Arrive, the duration at a length of current time to the charging moment during return;
Obtain the return duration and the difference using between duration;
When the return duration and the difference using between duration are more than time threshold, remind user to carry charging and set It is standby.
6. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
State determining module, for the geographical position according to residing for mobile terminal, determine whether user is in trip state;
Time determining module, for when it is determined that user is in trip state, determining the use of mobile terminal current residual electricity Duration;
Prompting module, for, using duration and charging moment, reminding user to carry charging equipment, the charging moment according to described At the time of charging for mobile terminal is next.
7. mobile terminal according to claim 6, it is characterised in that the state determining module includes:
Acquisition submodule, for obtaining changing coordinates, the changing coordinates are used to indicate the geographical position that mobile terminal is presently in Put;
Calculating sub module, for calculating the changing coordinates and the distance between the coordinate that charges;
First determination sub-module, for being more than the first predetermined threshold value when the changing coordinates and described the distance between the coordinate that charges When, determine that user is in trip state;
Second determination sub-module, for being less than or equal to described the when the changing coordinates and described charging the distance between coordinate During one predetermined threshold value, determine that user is not in trip state.
8. the mobile terminal according to claim 6 or 7, it is characterised in that the mobile terminal also includes:
First acquisition module, for when detecting that mobile terminal starts to charge up, obtaining the first coordinate, first coordinate is used for Indicate mobile terminal geographical position residing at the time of starting to charge up;
Second acquisition module, for when detecting mobile terminal complete charge, obtaining the second coordinate, second coordinate is used for Indicate mobile terminal geographical position residing at the time of complete charge;
Computing module, for calculating the distance between first coordinate and second coordinate;
Coordinate determining module, for being less than the second predetermined threshold value when the distance between first coordinate and second coordinate When, using second coordinate as charging coordinate.
9. mobile terminal according to claim 6, it is characterised in that the time determining module includes:
First electric current acquisition submodule, for obtaining the average consumption electric current in preset duration;
Second electric current acquisition submodule, for obtaining the history power consumption electric current corresponding to current time;
3rd electric current acquisition submodule, for according to the average consumption electric current and the history power consumption electric current, obtaining estimating consumption Electric current;
Time determination sub-module, for according to current residual electricity and it is described estimate power consumption electric current, obtain described using duration.
10. mobile terminal according to claim 6, it is characterised in that the prompting module includes:
Moment acquisition submodule, for obtaining current time;
Duration determination sub-module, for according to the current time and the charging moment, it is determined that return to duration, during the charging Carve to be obtained according to historical data, the duration at a length of current time to the charging moment during return;
Time difference calculating sub module, for obtaining the return duration and the difference using between duration;
Information reminding submodule, for when it is described return duration and the difference using between duration be more than time threshold when, User is reminded to carry charging equipment.
11. a kind of mobile terminal, it is characterised in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, the computer program is realized such as claim 1 to 5 during the computing device Any one of based reminding method the step of.
12. a kind of computer-readable recording medium, it is characterised in that computer journey is stored on the computer-readable recording medium Sequence, the step of the based reminding method as any one of claim 1 to 5 is realized when the computer program is executed by processor Suddenly.
CN201710807971.0A 2017-09-08 2017-09-08 Reminding method and mobile terminal Active CN107608855B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710807971.0A CN107608855B (en) 2017-09-08 2017-09-08 Reminding method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710807971.0A CN107608855B (en) 2017-09-08 2017-09-08 Reminding method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107608855A true CN107608855A (en) 2018-01-19
CN107608855B CN107608855B (en) 2020-03-06

Family

ID=61063225

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710807971.0A Active CN107608855B (en) 2017-09-08 2017-09-08 Reminding method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107608855B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322601A (en) * 2018-01-25 2018-07-24 维沃移动通信有限公司 A kind of based reminding method and terminal
CN108365645A (en) * 2018-02-02 2018-08-03 北京小米移动软件有限公司 Charge control method and device and storage medium
CN108566637A (en) * 2018-03-30 2018-09-21 努比亚技术有限公司 A kind of equipment charge based reminding method, terminal and computer readable storage medium
CN110753306A (en) * 2019-10-22 2020-02-04 东莞市小精灵教育软件有限公司 Method and system for improving download rate, storage medium and intelligent wearable device
CN111491259A (en) * 2019-01-29 2020-08-04 珠海格力电器股份有限公司 Position determination method, device, storage medium and processor
CN114825560A (en) * 2022-06-23 2022-07-29 荣耀终端有限公司 Charging reminding method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105069605A (en) * 2015-07-01 2015-11-18 小米科技有限责任公司 Charging prompt 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
CN107134823A (en) * 2017-04-25 2017-09-05 北京小米移动软件有限公司 Charge prompting method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105069605A (en) * 2015-07-01 2015-11-18 小米科技有限责任公司 Charging prompt 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
CN107134823A (en) * 2017-04-25 2017-09-05 北京小米移动软件有限公司 Charge prompting method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322601A (en) * 2018-01-25 2018-07-24 维沃移动通信有限公司 A kind of based reminding method and terminal
CN108365645A (en) * 2018-02-02 2018-08-03 北京小米移动软件有限公司 Charge control method and device and storage medium
CN108566637A (en) * 2018-03-30 2018-09-21 努比亚技术有限公司 A kind of equipment charge based reminding method, terminal and computer readable storage medium
CN111491259A (en) * 2019-01-29 2020-08-04 珠海格力电器股份有限公司 Position determination method, device, storage medium and processor
CN111491259B (en) * 2019-01-29 2021-10-08 珠海格力电器股份有限公司 Position determination method, device, storage medium and processor
CN110753306A (en) * 2019-10-22 2020-02-04 东莞市小精灵教育软件有限公司 Method and system for improving download rate, storage medium and intelligent wearable device
CN114825560A (en) * 2022-06-23 2022-07-29 荣耀终端有限公司 Charging reminding method and electronic equipment

Also Published As

Publication number Publication date
CN107608855B (en) 2020-03-06

Similar Documents

Publication Publication Date Title
CN108076218B (en) Charging reminding method and mobile terminal
CN107608855A (en) Based reminding method and mobile terminal
CN109041148B (en) Mobile terminal operation method and mobile terminal
CN107196363A (en) Adjust method, terminal and the computer-readable recording medium of charging current
CN107517494A (en) A kind of display methods of terminal battery electricity quantity, terminal and computer-readable recording medium
CN107911445A (en) A kind of information push method, mobile terminal and storage medium
CN107835495B (en) Message prompting method and device and mobile terminal
CN108846663A (en) A kind of two dimensional code method of adjustment, device and mobile terminal
CN108319421A (en) A kind of display triggering method and mobile terminal
CN110113528A (en) A kind of parameter acquiring method and terminal device
CN108512625A (en) Anti-interference method, mobile terminal and the storage medium of camera
CN107979697A (en) A kind of based reminding method and mobile terminal
CN107728847A (en) One kind charging interference processing method and mobile terminal
CN108551525B (en) State determination method of movement track and mobile terminal
CN107888765A (en) A kind of method of handoff scenario pattern, mobile terminal
CN107193779A (en) Residue charging duration calculation method, terminal and computer-readable recording medium
CN108762621B (en) Message display method and mobile terminal
CN108174017A (en) A kind of bluetooth open method and mobile terminal
CN109379700A (en) Localization method and mobile terminal
CN108429856A (en) A kind of location information acquisition methods and mobile terminal
CN109309953B (en) Power consumption detection method, device, terminal and readable storage medium
CN107800869A (en) A kind of multi-screen display method, mobile terminal and storage medium
CN109141355B (en) Relative height measuring method based on multiple sensors and wearable equipment
CN107277364A (en) A kind of image pickup method, mobile terminal and computer-readable recording medium
CN108650041B (en) Signal quality display method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant