CN108471476B - Reverse charging management method for mobile terminal and mobile terminal - Google Patents

Reverse charging management method for mobile terminal and mobile terminal Download PDF

Info

Publication number
CN108471476B
CN108471476B CN201810686163.8A CN201810686163A CN108471476B CN 108471476 B CN108471476 B CN 108471476B CN 201810686163 A CN201810686163 A CN 201810686163A CN 108471476 B CN108471476 B CN 108471476B
Authority
CN
China
Prior art keywords
mobile terminal
electric quantity
charging
acquiring
time
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.)
Active
Application number
CN201810686163.8A
Other languages
Chinese (zh)
Other versions
CN108471476A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201810686163.8A priority Critical patent/CN108471476B/en
Publication of CN108471476A publication Critical patent/CN108471476A/en
Application granted granted Critical
Publication of CN108471476B publication Critical patent/CN108471476B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a reverse charging management method of a mobile terminal and the mobile terminal, which are characterized in that the current position of the mobile terminal is obtained, and whether the current position belongs to a pre-stored charging position is judged; if the current position does not belong to the pre-stored charging position, acquiring the electric quantity sharing capability of the mobile terminal battery; then, the equipment connected with the mobile terminal is reversely charged according to the electric quantity sharing capability, so that reverse charging is timely finished according to the electric quantity sharing capability when the current position does not have the charging condition, the problem that the mobile terminal is always powered outwards until the electric quantity of the battery is exhausted to influence the use of the mobile terminal is effectively avoided, and the use experience of a mobile terminal user is improved.

Description

Reverse charging management method for mobile terminal and mobile terminal
Technical Field
The invention relates to the technical field of communication, in particular to a reverse charging management method for a mobile terminal and the mobile terminal.
Background
With the improvement of living standard of people and the rapid development of communication industry, mobile terminals, especially intelligent mobile terminals, are rapidly popularized, and become an auxiliary center in daily study, work and life of people. And a plurality of mobile terminals are provided for a plurality of people simultaneously, so that the privacy of the people is protected, the separation of work and life is realized, and the requirements of all-weather and all-around communication, entertainment and the like of the people are even met. Due to the continuous enhancement of mobile terminal configuration, the continuous increase of screens, and the change and increase of time duration of terminal usage modes of users, battery endurance has become a major problem affecting users' use of mobile terminals. Although various terminal manufacturers, battery manufacturers and component manufacturers are all striving to develop new technologies for various batteries, the progress and effect are not obvious.
Based On The OTG (On-The-Go) technology published by USB Implementers Forum (USB standardization organization) at 12, month and 18 of 2001, The mobile terminal can charge another device. At present, if no user intervenes halfway, when the mobile terminal supplies power outwards, namely reversely charges, the power is supplied outwards all the time until the electric quantity of the battery of the mobile terminal is exhausted, and normal use of the mobile terminal is affected.
Disclosure of Invention
The invention provides a reverse charging management method of a mobile terminal and the mobile terminal, which are used for finishing reverse charging in due time when a charging condition is not met, avoiding the problem that the mobile terminal is always powered outwards until the electric quantity of a battery is exhausted to influence the use of the mobile terminal, and improving the use experience of a mobile terminal user.
One aspect of the present invention provides a method for managing reverse charging of a mobile terminal, including:
acquiring the current position of the mobile terminal, and judging whether the current position belongs to a pre-stored charging position;
if the current position does not belong to a pre-stored charging position, acquiring the electric quantity sharing capability of the mobile terminal battery;
and reversely charging the equipment connected with the mobile terminal according to the electric quantity sharing capacity.
Further, the acquiring the electric quantity sharing capability of the mobile terminal battery includes:
predicting the moment when the mobile terminal has the charging condition according to the current position, the pre-stored historical charging record and the historical activity record of the mobile terminal user;
acquiring a time difference between the current moment and the moment when the mobile terminal has the charging condition;
and acquiring the electric quantity sharing capability of the mobile terminal battery according to the time difference, the current electric quantity consumption condition of the mobile terminal and the residual electric quantity of the battery.
Further, the acquiring the electric quantity sharing capability of the mobile terminal battery according to the time difference, the current electric quantity consumption condition of the mobile terminal and the remaining electric quantity of the battery specifically includes:
predicting a first expected consumed electric quantity of the mobile terminal within the time difference duration according to the current electric quantity consumption condition of the mobile terminal, and acquiring a first electric quantity difference value between the residual electric quantity of the battery and the first expected consumed electric quantity;
if the first electric quantity difference value is larger than or equal to a preset electric quantity threshold value, taking the first electric quantity difference value as the electric quantity sharing capacity of the mobile terminal battery;
if the first electric quantity difference value is smaller than the preset electric quantity threshold value, acquiring a second expected consumed electric quantity within the time difference duration when the mobile terminal is in a second electric quantity consumption condition, and acquiring a second electric quantity difference value between the residual electric quantity of the battery and the second expected consumed electric quantity;
and if the second electric quantity difference value is larger than or equal to the preset electric quantity threshold value, automatically switching or prompting the mobile terminal user to switch the mobile terminal to a working mode corresponding to the second electric quantity consumption condition, and taking the second electric quantity difference value as the electric quantity sharing capacity of the mobile terminal battery.
Further, the method further comprises:
when the mobile terminal is detected to be in a charging state, acquiring a charging position and a charging starting and stopping moment of the mobile terminal, using the charging position as a pre-stored charging position, and storing the charging position and the charging starting and stopping moment in a correlation manner as the historical charging record.
Further, predicting the time when the mobile terminal has the charging condition according to the current location, the pre-stored historical charging record and the historical activity record of the mobile terminal user specifically includes:
acquiring the stopping starting time of the mobile terminal user at each pre-stored charging position according to the historical charging record and the historical activity record;
and taking the stopping starting time closest to the current time as the time when the mobile terminal has the charging condition, or taking the stopping starting time corresponding to the pre-stored charging position closest to the current position as the time when the mobile terminal has the charging condition.
Further, the method further comprises:
and if the current position belongs to a pre-stored charging position, directly carrying out reverse charging on the equipment connected with the mobile terminal.
Another aspect of the present invention provides a mobile terminal including:
the positioning module is used for acquiring the current position of the mobile terminal;
the processing module is used for judging whether the current position belongs to a pre-stored charging position or not; if the current position does not belong to a pre-stored charging position, acquiring the electric quantity sharing capability of the mobile terminal battery;
and the reverse charging module is used for reversely charging the equipment connected with the mobile terminal according to the electric quantity sharing capability.
Further, the processing module is specifically configured to:
predicting the moment when the mobile terminal has the charging condition according to the current position, the pre-stored historical charging record and the historical activity record of the mobile terminal user;
acquiring a time difference between the current moment and the moment when the mobile terminal has the charging condition;
and acquiring the electric quantity sharing capability of the mobile terminal battery according to the time difference, the current electric quantity consumption condition of the mobile terminal and the residual electric quantity of the battery.
Further, the processing module specifically includes:
predicting a first expected consumed electric quantity of the mobile terminal within the time difference duration according to the current electric quantity consumption condition of the mobile terminal, and acquiring a first electric quantity difference value between the residual electric quantity of the battery and the first expected consumed electric quantity;
if the first electric quantity difference value is larger than or equal to a preset electric quantity threshold value, taking the first electric quantity difference value as the electric quantity sharing capacity of the mobile terminal battery;
if the first electric quantity difference value is smaller than the preset electric quantity threshold value, acquiring a second expected consumed electric quantity within the time difference duration when the mobile terminal is in a second electric quantity consumption condition, and acquiring a second electric quantity difference value between the residual electric quantity of the battery and the second expected consumed electric quantity;
and if the second electric quantity difference value is larger than or equal to the preset electric quantity threshold value, automatically switching or prompting the mobile terminal user to switch the mobile terminal to a working mode corresponding to the second electric quantity consumption condition, and taking the second electric quantity difference value as the electric quantity sharing capacity of the mobile terminal battery.
Further, the mobile terminal further includes:
the acquisition module is used for acquiring the charging position and the charging starting and stopping time of the mobile terminal when the mobile terminal is detected to be in a charging state, taking the charging position as a pre-stored charging position, and storing the charging position and the charging starting and stopping time in a correlated manner as the historical charging record.
Further, the processing module specifically includes:
acquiring the stopping starting time of the mobile terminal user at each pre-stored charging position according to the historical charging record and the historical activity record;
and taking the stopping starting time closest to the current time as the time when the mobile terminal has the charging condition, or taking the stopping starting time corresponding to the pre-stored charging position closest to the current position as the time when the mobile terminal has the charging condition.
Further, the reverse charging module is further configured to, if the current location belongs to a pre-stored charging location, directly perform reverse charging on the device connected to the mobile terminal.
According to the reverse charging management method of the mobile terminal and the mobile terminal, provided by the invention, the current position of the mobile terminal is obtained, and whether the current position belongs to a pre-stored charging position is judged; if the current position does not belong to the pre-stored charging position, acquiring the electric quantity sharing capability of the mobile terminal battery; then, the equipment connected with the mobile terminal is reversely charged according to the electric quantity sharing capability, so that reverse charging is timely finished according to the electric quantity sharing capability when the current position does not have the charging condition, the problem that the mobile terminal is always powered outwards until the electric quantity of the battery is exhausted to influence the use of the mobile terminal is effectively avoided, and the use experience of a mobile terminal user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a reverse charging management method for a mobile terminal according to an embodiment of the present invention;
fig. 2 is a flowchart of a reverse charging management method for a mobile terminal according to another embodiment of the present invention;
fig. 3 is a block diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a method for managing reverse charging of a mobile terminal according to an embodiment of the present invention. As shown in fig. 1, the present embodiment provides a method for managing reverse charging of a mobile terminal, where the mobile terminal may be a mobile phone, a tablet computer, a PDA or a notebook computer, and the method includes the following specific steps:
s101, acquiring the current position of the mobile terminal, and judging whether the current position belongs to a pre-stored charging position.
In this embodiment, the current position of the mobile terminal may be obtained by using a Positioning method in the prior art, such as Positioning using a Global Positioning System (GPS), or obtaining information of a base station and a cell accessed by the mobile terminal to perform Positioning. The pre-stored charging location may be a historical charging location, that is, the mobile terminal acquires and stores the charging location each time it is charged, or may be set by the user, for example, the location of a residence or a work unit may be included. And judging whether the current position belongs to a pre-stored charging position or not, specifically, acquiring the distance between the current position and the pre-stored charging position by the method, determining that the current position belongs to the pre-stored charging position if the pre-stored charging position with the distance less than or equal to a preset distance threshold exists, and determining that the current position does not belong to the pre-stored charging position if the pre-stored charging position with the distance less than or equal to the preset distance threshold does not exist.
If the current position belongs to a pre-stored charging position, which indicates that the current mobile terminal has charging conditions, the device connected with the mobile terminal can be directly reversely charged, the mobile terminal can supply power outwards until the electric quantity of the battery is exhausted or the user stops reverse charging, and the user can charge the mobile terminal after the electric quantity of the battery is exhausted; if the current location does not belong to the pre-stored charging location, which indicates that the current mobile terminal may not have the charging condition, S102 is performed.
And S102, if the current position does not belong to a pre-stored charging position, acquiring the electric quantity sharing capability of the mobile terminal battery.
In this embodiment, by determining whether the current location belongs to a pre-stored charging location, if the current location does not belong to the pre-stored charging location, it is indicated that the current mobile terminal may not have a charging condition, and therefore, the remaining battery capacity of the mobile terminal cannot be shared with a device connected to the mobile terminal. Therefore, in this embodiment, when the current location does not belong to the pre-stored charging location, the power sharing capability of the mobile terminal battery is obtained, so that the device connected with the mobile terminal is reversely charged according to the power sharing capability, and the reversely charged power is limited. Specifically, the time when the mobile terminal has the charging condition can be predicted according to the historical data, and then the electric quantity sharing capability of the mobile terminal battery is obtained according to the current electric quantity consumption condition and the battery remaining electric quantity, wherein the electric quantity analysis capability is the electric quantity left after the electric quantity required for maintaining the normal work of the mobile terminal to the time when the mobile terminal has the charging condition is reserved.
And S103, reversely charging equipment connected with the mobile terminal according to the electric quantity sharing capacity.
In this embodiment, the reverse charging is managed according to the power sharing capability, and when the reverse charging power reaches the power value defined by the power sharing capability, the reverse charging is stopped. In this embodiment, The device to be charged may be connected to The mobile terminal through an OTG (On-The-Go) data line, and of course, other connection lines capable of realizing reverse charging may be used.
In the method for managing reverse charging of a mobile terminal provided by this embodiment, the current position of the mobile terminal is obtained, and whether the current position belongs to a pre-stored charging position is determined; if the current position does not belong to the pre-stored charging position, acquiring the electric quantity sharing capability of the mobile terminal battery; then, the equipment connected with the mobile terminal is reversely charged according to the electric quantity sharing capability, so that reverse charging is timely finished according to the electric quantity sharing capability when the current position does not have the charging condition, the problem that the mobile terminal is always powered outwards until the electric quantity of the battery is exhausted to influence the use of the mobile terminal is effectively avoided, and the use experience of a mobile terminal user is improved.
On the basis of the foregoing embodiment, as shown in fig. 2, the acquiring the power sharing capability of the mobile terminal battery in S102 may include:
s201, predicting the moment when the mobile terminal has the charging condition according to the current position, the pre-stored historical charging record and the historical activity record of the mobile terminal user.
In this embodiment, the pre-stored historical charging record of the mobile terminal user may be recorded by the mobile terminal during each charging, and may include a charging location and a charging start-stop time of the mobile terminal, that is, when it is detected that the mobile terminal is in a charging state, the charging location and the charging start-stop time of the mobile terminal are obtained, the charging location is used as the pre-stored charging location, and the charging location and the charging start-stop time are stored in association as the historical charging record. The historical activity record can record activity data of the user at each pre-stored charging location, such as the starting time and the ending time of the user's stay at each pre-stored charging location, by the mobile terminal.
Specifically, the predicting the time when the mobile terminal has the charging condition according to the current location, the pre-stored historical charging record and the historical activity record of the mobile terminal user specifically includes:
s2011, according to the historical charging record and the historical activity record, obtaining the stopping starting time of the mobile terminal user at each pre-stored charging position;
s2012, the stop starting time closest to the current time is taken as a time when the mobile terminal has the charging condition, or the stop starting time corresponding to the pre-stored charging location closest to the current location is taken as a time when the mobile terminal has the charging condition.
In this embodiment, for a user with regular activities, for example, 16:00 to 18:00 time periods each day is located at the pre-storage charging location a, and 19:00 to 24:00 time periods each day is located at the pre-storage charging location B, 16:00 and 19:00 can be regarded as two candidate times with charging conditions, the stop starting time closest to the current time can be regarded as the time when the mobile terminal has charging conditions, for example, the current time is 15:00, it can be predicted that the user will arrive at the pre-storage charging location a at about 16:00, and 16:00 can be regarded as the time when the mobile terminal has charging conditions. Certainly, the user may not all be the above situation, the user may count the stopping starting time of each pre-stored charging location in the past multiple days, for example, three times of 9:00, 16:00 and 18:00 are counted at the stopping starting time of the pre-stored charging location a, and it is counted that 9:00 exists for 1 time, 16:00 exists for 8 times and 18:00 exists for 1 time, and it is calculated that the stopping starting time of the user at the pre-stored charging location a is 9:00 to 10%, 16:00 to 80%, 18:00 to 10%, and the ratio of the stopping starting time of 16:00 is greater than the preset ratio threshold value 60%, and then the stopping starting time of the pre-stored charging location a is 16:00 as the candidate time with the charging condition; and similarly, the stop starting time of the pre-stored charging position B is 19:00 which is larger than a preset proportion threshold value by 60 percent and is used as another candidate time with the charging condition. The time earlier than the current time may be automatically ignored in obtaining the candidate time.
In addition, in this embodiment, the stay start time corresponding to the pre-stored charging location closest to the current location may be the time when the mobile terminal has the charging condition, for example, in the above example, if the distance between the pre-stored charging location B and the current location is closer to the pre-stored charging location a and the current location, the stay start time 19:00 of the pre-stored charging location B is used as the time when the mobile terminal has the charging condition. The method can be specifically applied to the conditions of user business trip, travel and the like, for example, if the pre-stored charging position A is located in a city where the user lives frequently and the pre-stored charging position B is located in a city where the user is currently business trip, the stop starting time 19:00 corresponding to the pre-stored charging position B is used as the time when the mobile terminal has the charging condition, wherein the charging position closest to the mobile terminal can be obtained and compared with other pre-stored charging positions, and if the distance exceeds a threshold value, the user is determined to be in the business trip or the travel condition. Of course, if there are a plurality of candidate times with charging conditions even during business trips or traveling, the optimal time with charging conditions may be selected by comprehensively determining the distance from the current location and the time difference from the current time.
It should be noted that the method for acquiring the time when the mobile terminal has the charging condition in the present invention is not limited to the above-listed method, and the time when the mobile terminal has the charging condition may be acquired by analyzing the historical charging record and the historical activity record through a machine learning algorithm, or the time when the mobile terminal has the charging condition may be set by the user, or the time when the mobile terminal has the charging condition may be queried and the time when the mobile terminal receives the user input may be used as the time when the mobile terminal has the charging condition.
S202, acquiring a time difference between the current time and the time when the mobile terminal has the charging condition.
And S203, acquiring the electric quantity sharing capability of the mobile terminal battery according to the time difference, the current electric quantity consumption condition of the mobile terminal and the residual electric quantity of the battery.
In this embodiment, the electric quantity that the mobile terminal still needs to consume before reaching the time with the charging condition can be obtained according to the time difference and the current electric quantity consumption condition of the mobile terminal, the reservation is performed, and the electric quantity sharing capability of the mobile terminal battery can be obtained after the reserved electric quantity is deducted from the remaining electric quantity of the battery, so that the normal operation of the mobile terminal can be ensured, and the reverse charging can be realized. The current power consumption condition may obtain the power consumption in a unit time according to the power consumed by the mobile terminal in a predetermined time period, and certainly, other methods may be adopted to evaluate the current power consumption, such as analyzing data of current, voltage, and the like.
More specifically, in step S203, the obtaining of the power sharing capability of the mobile terminal battery according to the time difference, the current power consumption of the mobile terminal, and the remaining power of the battery may specifically include:
s2031, predicting a first expected consumed electric quantity of the mobile terminal in the time difference duration according to the current electric quantity consumption condition of the mobile terminal, and acquiring a first electric quantity difference value between the residual electric quantity of the battery and the first expected consumed electric quantity;
s2032, if the first electric quantity difference value is larger than or equal to a preset electric quantity threshold value, taking the first electric quantity difference value as the electric quantity sharing capacity of the mobile terminal battery.
In this embodiment, if the first electric quantity difference is greater than or equal to the preset electric quantity threshold, it indicates that the remaining electric quantity of the battery of the mobile terminal is sufficient, so that normal operation of the mobile terminal in the current operating mode can be ensured, and reverse charging can be performed on other devices.
S2033, if the first electric quantity difference is smaller than the preset electric quantity threshold, acquiring a second expected electric quantity consumed by the mobile terminal within the time difference duration under the condition of second electric quantity consumption, and acquiring a second electric quantity difference between the battery residual electric quantity and the second expected electric quantity consumed;
s2034, if the second electric quantity difference value is larger than or equal to the preset electric quantity threshold value, automatically switching or prompting the mobile terminal user to switch the mobile terminal to a working mode corresponding to the second electric quantity consumption condition, and taking the second electric quantity difference value as the electric quantity sharing capacity of the mobile terminal battery.
In this embodiment, if the first electric quantity difference is smaller than the preset electric quantity threshold, it indicates that the electric quantity sharing capability of the mobile terminal operating in the current operating mode is insufficient, and sufficient electric quantity cannot be output, and at this time, it may calculate the electric quantity that can be reversely output if the mobile terminal operates in the second electric quantity consumption condition (such as the power saving mode), that is, the second electric quantity difference, and if the second electric quantity difference is greater than or equal to the preset electric quantity threshold, it indicates that the mobile terminal can reversely charge other devices in the power saving mode, and it may automatically switch or prompt the user to switch the operating mode of the mobile terminal. Of course, if the second power difference is also smaller than the preset power threshold, the reverse charging may be suspended.
In order to more intuitively and specifically explain the method for managing reverse charging of a mobile terminal provided in the above embodiments, embodying the advantages of the present invention and bringing convenience to the user, the following detailed description is given with reference to a specific embodiment. Assuming that the user has a samsung mobile phone with the functions provided in the above embodiments, the user wants to perform reverse charging for another samsung mobile phone at 12: 00. Suppose that the samsung mobile phone has pre-stored historical charging records and historical activity records, wherein the historical charging records comprise pre-stored charging positions and charging starting and stopping moments, and the historical activity records comprise stopping starting and stopping moments of users at the pre-stored charging positions.
The three-star mobile phone firstly obtains the current position as 'Nongda Nanlu No. 1' of Hai lake district, Beijing City through a GPS module, then compares the current position with each pre-stored charging position, and can determine that the current position belongs to the pre-stored charging position if the pre-stored charging position with the distance less than or equal to a preset distance threshold value exists, and determine that the current position does not belong to the pre-stored charging position if the pre-stored charging position with the distance less than or equal to the preset distance threshold value does not exist. Through comparison, it is determined that the 'Nongda Nanlu No. 1' of the Haishen district of Beijing City does not belong to any pre-stored charging location, that is, the current location does not have a charging condition.
And then predicting the moment when the Samsung mobile phone has the charging condition. By statistically analyzing the historical charging records and the historical activity records, the following table can be derived, wherein the duty ratio is used for reflecting the frequency of the user at the position.
Figure BDA0001711681840000091
In this embodiment, the current time is 12:00, and the preset ratio threshold is 60%, the record earlier than the current time is excluded, then the record later than the current time is counted, the ratio of each stop starting time of each pre-stored charging location is obtained, and the ratio is compared with the preset ratio threshold, so as to obtain: the ratio of the stop start time "13: 35" at point 1 is 80% > 60%, and the ratio of the stop start time "20: 45" at point 2 is 83% > 60%, which are candidate times having the charging condition. The Samsung mobile phone selects 13:35 which is the closest to the current time as the actually usable time with the charging condition according to the two candidate times, and then obtains the time difference from the current time to the time with the charging condition as 1.58 hours.
According to the electricity consumption condition of the current working mode of the Samsung mobile phone, the electricity demand from the current working time to 13:35 is obtained, and the electricity consumption condition of the Samsung mobile phone in a preset time period can be counted, for example, the electricity consumption of a battery is reduced from 95% to 50% when the Samsung mobile phone works from 6:00 to 12:00 in the same working mode, so that the electricity consumption of Note 8 in unit time can be estimated: (95% -50%)/6 ═ 7.5%, then the first expected power consumption at 13:35 was calculated to be 7.5% × 1.58 ═ 11.85%. And acquiring the electric quantity sharing capability of the Samsung mobile phone battery by combining the acquired 50% of the residual electric quantity of the battery. Specifically, a first electric quantity difference value of 50% -11.85% between the remaining electric quantity of the battery and the first expected consumed electric quantity is obtained and is 38.15%, and the first electric quantity difference value is larger than a preset electric quantity threshold value by 10%, so that the electric quantity sharing capacity of the battery of the samsung mobile phone is determined to be capable of providing 38.15% of electric quantity outwards.
And finally, the Samsung mobile phone reversely charges the Huawei mobile phone connected with the Samsung mobile phone according to the electric quantity sharing capability. The electric quantity of the Samsung mobile phone battery and the electric quantity of the externally-supplied power are monitored in real time in the charging process, when the upper limit value of the battery sharing capacity is 38.15%, the externally-supplied power is finished, and a terminal user can be reminded.
In the method for managing reverse charging of a mobile terminal provided by this embodiment, the current position of the mobile terminal is obtained, and whether the current position belongs to a pre-stored charging position is determined; if the current position does not belong to the pre-stored charging position, acquiring the electric quantity sharing capability of the mobile terminal battery; then, the equipment connected with the mobile terminal is reversely charged according to the electric quantity sharing capability, so that reverse charging is timely finished according to the electric quantity sharing capability when the current position does not have the charging condition, the problem that the mobile terminal is always powered outwards until the electric quantity of the battery is exhausted to influence the use of the mobile terminal is effectively avoided, and the use experience of a mobile terminal user is improved.
Fig. 3 is a block diagram of a mobile terminal according to an embodiment of the present invention. As shown in fig. 3, the mobile terminal provided in this embodiment includes a positioning module 301, a processing module 302, and a reverse charging module 303.
A positioning module 301, configured to obtain a current position of the mobile terminal;
a processing module 302, configured to determine whether the current location belongs to a pre-stored charging location; if the current position does not belong to a pre-stored charging position, acquiring the electric quantity sharing capability of the mobile terminal battery;
and the reverse charging module 303 is configured to perform reverse charging on the device connected to the mobile terminal according to the electric quantity sharing capability.
Further, the processing module 302 is specifically configured to:
predicting the moment when the mobile terminal has the charging condition according to the current position, the pre-stored historical charging record and the historical activity record of the mobile terminal user;
acquiring a time difference between the current moment and the moment when the mobile terminal has the charging condition;
and acquiring the electric quantity sharing capability of the mobile terminal battery according to the time difference, the current electric quantity consumption condition of the mobile terminal and the residual electric quantity of the battery.
Further, the processing module 302 specifically includes:
predicting a first expected consumed electric quantity of the mobile terminal within the time difference duration according to the current electric quantity consumption condition of the mobile terminal, and acquiring a first electric quantity difference value between the residual electric quantity of the battery and the first expected consumed electric quantity;
if the first electric quantity difference value is larger than or equal to a preset electric quantity threshold value, taking the first electric quantity difference value as the electric quantity sharing capacity of the mobile terminal battery;
if the first electric quantity difference value is smaller than the preset electric quantity threshold value, acquiring a second expected consumed electric quantity within the time difference duration when the mobile terminal is in a second electric quantity consumption condition, and acquiring a second electric quantity difference value between the residual electric quantity of the battery and the second expected consumed electric quantity;
and if the second electric quantity difference value is larger than or equal to the preset electric quantity threshold value, automatically switching or prompting the mobile terminal user to switch the mobile terminal to a working mode corresponding to the second electric quantity consumption condition, and taking the second electric quantity difference value as the electric quantity sharing capacity of the mobile terminal battery.
Further, the mobile terminal further includes:
an obtaining module 304, configured to obtain a charging location and a charging start-stop time of the mobile terminal when it is detected that the mobile terminal is in a charging state, use the charging location as a pre-stored charging location, and store the charging location and the charging start-stop time in association as the historical charging record.
Further, the processing module 302 specifically includes:
acquiring the stopping starting time of the mobile terminal user at each pre-stored charging position according to the historical charging record and the historical activity record;
and taking the stopping starting time closest to the current time as the time when the mobile terminal has the charging condition, or taking the stopping starting time corresponding to the pre-stored charging position closest to the current position as the time when the mobile terminal has the charging condition.
Further, the reverse charging module 303 is further configured to, if the current location belongs to a pre-stored charging location, directly perform reverse charging on the device connected to the mobile terminal.
The mobile terminal provided in this embodiment may be specifically configured to execute the method embodiments provided in fig. 1 and fig. 2, and specific functions are not described herein again.
The mobile terminal provided by this embodiment acquires the current position of the mobile terminal, and determines whether the current position belongs to a pre-stored charging position; if the current position does not belong to the pre-stored charging position, acquiring the electric quantity sharing capability of the mobile terminal battery; then, the equipment connected with the mobile terminal is reversely charged according to the electric quantity sharing capability, so that reverse charging is timely finished according to the electric quantity sharing capability when the current position does not have the charging condition, the problem that the mobile terminal is always powered outwards until the electric quantity of the battery is exhausted to influence the use of the mobile terminal is effectively avoided, and the use experience of a mobile terminal user is improved.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A reverse charging management method for a mobile terminal is characterized by comprising the following steps:
acquiring the current position of the mobile terminal, and judging whether the current position belongs to a pre-stored charging position;
if the current position does not belong to a pre-stored charging position, acquiring the electric quantity sharing capability of the mobile terminal battery;
reversely charging equipment connected with the mobile terminal according to the electric quantity sharing capacity;
the acquiring of the electric quantity sharing capability of the mobile terminal battery comprises the following steps:
predicting the moment when the mobile terminal has the charging condition according to the current position, the pre-stored historical charging record and the historical activity record of the mobile terminal user;
acquiring a time difference between the current moment and the moment when the mobile terminal has the charging condition;
acquiring the electric quantity sharing capability of the mobile terminal battery according to the time difference, the current electric quantity consumption condition of the mobile terminal and the residual electric quantity of the battery;
the method for acquiring the electric quantity sharing capability of the mobile terminal battery according to the time difference, the current electric quantity consumption condition of the mobile terminal and the residual electric quantity of the battery specifically comprises the following steps:
predicting a first expected consumed electric quantity of the mobile terminal within the time difference duration according to the current electric quantity consumption condition of the mobile terminal, and acquiring a first electric quantity difference value between the residual electric quantity of the battery and the first expected consumed electric quantity;
if the first electric quantity difference value is larger than or equal to a preset electric quantity threshold value, taking the first electric quantity difference value as the electric quantity sharing capacity of the mobile terminal battery;
if the first electric quantity difference value is smaller than the preset electric quantity threshold value, acquiring a second expected consumed electric quantity within the time difference duration when the mobile terminal is in a second electric quantity consumption condition, and acquiring a second electric quantity difference value between the residual electric quantity of the battery and the second expected consumed electric quantity;
and if the second electric quantity difference value is larger than or equal to the preset electric quantity threshold value, automatically switching or prompting the mobile terminal user to switch the mobile terminal to a working mode corresponding to the second electric quantity consumption condition, and taking the second electric quantity difference value as the electric quantity sharing capacity of the mobile terminal battery.
2. The method of claim 1, further comprising:
when the mobile terminal is detected to be in a charging state, acquiring a charging position and a charging starting and stopping moment of the mobile terminal, taking the charging position as the pre-stored charging position, and storing the charging position and the charging starting and stopping moment in a correlation manner as the historical charging record.
3. The method according to claim 2, wherein the predicting the time when the mobile terminal has the charging condition according to the current location, a pre-stored historical charging record of the mobile terminal user and a historical activity record specifically comprises:
acquiring the stopping starting time of the mobile terminal user at each pre-stored charging position according to the historical charging record and the historical activity record;
and taking the stopping starting time closest to the current time as the time when the mobile terminal has the charging condition, or taking the stopping starting time corresponding to the pre-stored charging position closest to the current position as the time when the mobile terminal has the charging condition.
4. The method according to any one of claims 1-3, further comprising:
and if the current position belongs to a pre-stored charging position, directly carrying out reverse charging on the equipment connected with the mobile terminal.
5. A mobile terminal, comprising:
the positioning module is used for acquiring the current position of the mobile terminal;
the processing module is used for judging whether the current position belongs to a pre-stored charging position or not; if the current position does not belong to a pre-stored charging position, acquiring the electric quantity sharing capability of the mobile terminal battery;
the reverse charging module is used for reversely charging equipment connected with the mobile terminal according to the electric quantity sharing capacity; the processing module is specifically configured to:
predicting the moment when the mobile terminal has the charging condition according to the current position, the pre-stored historical charging record and the historical activity record of the mobile terminal user;
acquiring a time difference between the current moment and the moment when the mobile terminal has the charging condition;
acquiring the electric quantity sharing capability of the mobile terminal battery according to the time difference, the current electric quantity consumption condition of the mobile terminal and the residual electric quantity of the battery;
the processing module specifically comprises:
predicting a first expected consumed electric quantity of the mobile terminal within the time difference duration according to the current electric quantity consumption condition of the mobile terminal, and acquiring a first electric quantity difference value between the residual electric quantity of the battery and the first expected consumed electric quantity;
if the first electric quantity difference value is larger than or equal to a preset electric quantity threshold value, taking the first electric quantity difference value as the electric quantity sharing capacity of the mobile terminal battery;
if the first electric quantity difference value is smaller than the preset electric quantity threshold value, acquiring a second expected consumed electric quantity within the time difference duration when the mobile terminal is in a second electric quantity consumption condition, and acquiring a second electric quantity difference value between the residual electric quantity of the battery and the second expected consumed electric quantity;
and if the second electric quantity difference value is larger than or equal to the preset electric quantity threshold value, automatically switching or prompting the mobile terminal user to switch the mobile terminal to a working mode corresponding to the second electric quantity consumption condition, and taking the second electric quantity difference value as the electric quantity sharing capacity of the mobile terminal battery.
6. The mobile terminal of claim 5, further comprising:
and the acquisition module is used for acquiring the charging position and the charging starting and stopping time of the mobile terminal when the mobile terminal is detected to be in a charging state, taking the charging position as the pre-stored charging position, and storing the charging position and the charging starting and stopping time in a correlated manner as the historical charging record.
7. The mobile terminal according to claim 6, wherein the processing module specifically includes:
acquiring the stopping starting time of the mobile terminal user at each pre-stored charging position according to the historical charging record and the historical activity record;
and taking the stopping starting time closest to the current time as the time when the mobile terminal has the charging condition, or taking the stopping starting time corresponding to the pre-stored charging position closest to the current position as the time when the mobile terminal has the charging condition.
8. Mobile terminal according to any of claims 5-7,
and the reverse charging module is also used for directly performing reverse charging on the equipment connected with the mobile terminal if the current position belongs to a pre-stored charging position.
CN201810686163.8A 2018-06-28 2018-06-28 Reverse charging management method for mobile terminal and mobile terminal Active CN108471476B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810686163.8A CN108471476B (en) 2018-06-28 2018-06-28 Reverse charging management method for mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810686163.8A CN108471476B (en) 2018-06-28 2018-06-28 Reverse charging management method for mobile terminal and mobile terminal

Publications (2)

Publication Number Publication Date
CN108471476A CN108471476A (en) 2018-08-31
CN108471476B true CN108471476B (en) 2020-08-25

Family

ID=63259808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810686163.8A Active CN108471476B (en) 2018-06-28 2018-06-28 Reverse charging management method for mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN108471476B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109890072B (en) * 2019-03-28 2023-08-15 努比亚技术有限公司 Terminal power saving control method and device, mobile terminal and readable storage medium
CN110545499B (en) * 2019-05-16 2021-07-06 珠海市杰理科技股份有限公司 Communication method, communication device, chip of communication device, equipment to be charged and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014233111A (en) * 2013-05-28 2014-12-11 日立マクセル株式会社 Non-contact power transmission device, non-contact power transmission system, and non-contact power transmission method
CN107248767A (en) * 2017-07-27 2017-10-13 珠海市魅族科技有限公司 Method, terminal and the storage medium of terminal room charging
CN108076218A (en) * 2017-11-24 2018-05-25 维沃移动通信有限公司 A kind of charging reminding method and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014233111A (en) * 2013-05-28 2014-12-11 日立マクセル株式会社 Non-contact power transmission device, non-contact power transmission system, and non-contact power transmission method
CN107248767A (en) * 2017-07-27 2017-10-13 珠海市魅族科技有限公司 Method, terminal and the storage medium of terminal room charging
CN108076218A (en) * 2017-11-24 2018-05-25 维沃移动通信有限公司 A kind of charging reminding method and mobile terminal

Also Published As

Publication number Publication date
CN108471476A (en) 2018-08-31

Similar Documents

Publication Publication Date Title
CN107181298A (en) Charge control method, device, terminal installation and storage medium
US11955827B2 (en) Rule based smart charging
US20150123595A1 (en) Intelligent context based battery charging
CN103369124A (en) Battery management method and device
JP2017515452A (en) Load scheduling in multiple battery devices
CN102138128A (en) Intelligent power monitoring
CN107742757A (en) A kind of charging management method and device
CN104659881B (en) Charging method and device for mobile terminal
JP2012210130A (en) Power storage device, power storage method, and program
CN108471476B (en) Reverse charging management method for mobile terminal and mobile terminal
CN110350626B (en) Charging control method and device, electronic equipment and computer readable storage medium
CN104866058A (en) Method and apparatus for determining battery endurance of electronic device
CN107506017A (en) Charging reminding method and device, electronic equipment and computer-readable recording medium
CN204740288U (en) Multi -user shows smart electric meter
CN103841249A (en) Handheld device and battery power monitoring method
CN108777330A (en) charging management method, device and terminal
CN108881630B (en) Reverse charging management method and device and terminal
CN110365084B (en) Charging control method, device, terminal and storage medium
US8438412B1 (en) System, method, and computer program for enabling an amount of multitasking for use by an operating system
CN107222612B (en) Background application program closing method and device of mobile terminal
CN108736084A (en) Charging method and terminal
CN110690737B (en) Charging control method and device, storage medium and mobile terminal
CN107979849B (en) TAU period configuration method and device
CN113602127B (en) Charging pile energy management method and device
CN108848553B (en) Charging management method, device and system

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