CN108365645A - Charge control method and device and storage medium - Google Patents
Charge control method and device and storage medium Download PDFInfo
- Publication number
- CN108365645A CN108365645A CN201810107368.6A CN201810107368A CN108365645A CN 108365645 A CN108365645 A CN 108365645A CN 201810107368 A CN201810107368 A CN 201810107368A CN 108365645 A CN108365645 A CN 108365645A
- Authority
- CN
- China
- Prior art keywords
- terminal
- mobile power
- charged
- parameter
- sot state
- 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
Links
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0069—Charging or discharging for charge maintenance, battery initiation or rejuvenation
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/00032—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
- H02J7/00034—Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Telephone Function (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
This disclosure relates to a kind of charge control method and device and storage medium, the method includes:In terminal charge, the SOT state of termination parameter of the terminal is obtained;Determine whether the terminal is charged by mobile power according to the SOT state of termination parameter;When determining that the terminal is charged by the mobile power, the operational mode for controlling the terminal is switched to battery saving mode;The battery saving mode is the pattern for closing power consuming operation in the terminal.
Description
Technical field
This disclosure relates to terminal device technical field more particularly to a kind of charge control method and device and storage medium.
Background technology
Under the overall background of current Internet era, product of the terminal as mobile Internet not only has general
Call function, while also having the function of data-storing, personal information management function, multi-media player function, wireless access interconnection
Net function, data interaction function etc., so that the utilization rate of terminal constantly increases, and the continuation of the journey problem of terminal is puzzlement always
The a great problem of user, at present terminal be commonly equipped with high capacity cell, make mobile phone longer cruise duration, in addition, many users
Mobile power is carried to be that mobile phone charges in time when outgoing, to increase cruise duration.
Invention content
To overcome the problems in correlation technique, a kind of charge control method of disclosure offer and device and storage are situated between
Matter.
According to the first aspect of the embodiments of the present disclosure, a kind of charge control method is provided, terminal is applied to, including:
In terminal charge, the SOT state of termination parameter of the terminal is obtained;
Determine whether the terminal is charged by mobile power according to the SOT state of termination parameter;
When determining that the terminal is charged by the mobile power, the operational mode for controlling the terminal is switched to
Battery saving mode;The battery saving mode is the pattern for closing power consuming operation in the terminal.
Optionally, the SOT state of termination parameter includes the current location information of the terminal and a upper location information, described
Determine whether the terminal carries out charging by mobile power and include according to the SOT state of termination parameter:
Location variation is obtained according to the current location information and a upper location information;
Determine whether the location variation is more than or equal to predetermined threshold value;
When the location variation is more than or equal to the predetermined threshold value, determine that the terminal passes through the mobile electricity
It charges in source.
Optionally, the SOT state of termination parameter includes the attitude parameter of the terminal, described to be joined according to the SOT state of termination
Number determines whether the terminal carries out charging by mobile power and include:
By the attitude parameter input charged state disaggregated model determine the terminal whether by the mobile power into
Row charging.
Optionally, further include:
Acquire the posture sample parameter of the terminal;
Default disaggregated model is trained to obtain the charged state disaggregated model according to the posture sample parameter.
According to the second aspect of the embodiment of the present disclosure, a kind of battery charge controller is provided, is applied to terminal, including:
Acquisition module is configured as obtaining the SOT state of termination parameter of the terminal in terminal charge;
Determining module is configured as determining whether the terminal is carried out by mobile power according to the SOT state of termination parameter
Charging;
Control module is configured as, when determining that the terminal is charged by the mobile power, controlling the end
The operational mode at end is switched to battery saving mode;The battery saving mode is the pattern for closing power consuming operation in the terminal.
Optionally, the SOT state of termination parameter includes the current location information of the terminal and a upper location information, described
Determining module includes:
Acquisition submodule is configured as obtaining change in location according to the current location information and a upper location information
Amount;
First determination sub-module, is configured to determine that whether the location variation is more than or equal to predetermined threshold value;
Second determination sub-module is configured as when the location variation is more than or equal to the predetermined threshold value, really
The fixed terminal is charged by the mobile power.
Optionally, the SOT state of termination parameter includes the attitude parameter of the terminal, the determining module, be configured as by
The attitude parameter input charged state disaggregated model determines whether the terminal is charged by the mobile power.
Optionally, further include:
Acquisition module is configured as acquiring the posture sample parameter of the terminal;
Training module is configured as training default disaggregated model to obtain the charged state according to the posture sample parameter
Disaggregated model.
According to the third aspect of the embodiment of the present disclosure, a kind of battery charge controller is provided, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
In terminal charge, the SOT state of termination parameter of the terminal is obtained;
Determine whether the terminal is charged by mobile power according to the SOT state of termination parameter;
When determining that the terminal is charged by the mobile power, the operational mode for controlling the terminal is switched to
Battery saving mode;The battery saving mode is the pattern for closing power consuming operation in the terminal.
According to the fourth aspect of the embodiment of the present disclosure, a kind of computer readable storage medium is provided, is stored thereon with calculating
Machine program instruction, the program instruction realize the step for the charge control method that above-mentioned first aspect is provided when being executed by processor
Suddenly.
Through the above technical solutions, in terminal charge, the SOT state of termination parameter of the terminal is obtained;According to the terminal
State parameter determines whether the terminal is charged by mobile power;Determine the terminal by the mobile power into
When row charging, the operational mode for controlling the terminal is switched to battery saving mode;The battery saving mode is to close in the terminal to consume
Electrically operated pattern, in this way, can be automatically closed when terminal is charged by mobile power the power consuming operation in terminal with
The power consumption for reducing terminal reduces the electric quantity consumption to mobile power, and then extend terminal to save electricity in charging
Cruise duration.
Other feature and advantage of the disclosure will be described in detail in subsequent specific embodiment part.
Description of the drawings
Attached drawing is for providing further understanding of the disclosure, and a part for constitution instruction, with following tool
Body embodiment is used to explain the disclosure together, but does not constitute the limitation to the disclosure.In the accompanying drawings:
Fig. 1 is a kind of flow chart of charge control method shown according to an exemplary embodiment;
Fig. 2 is the block diagram according to the first battery charge controller shown in an exemplary embodiment;
Fig. 3 is the block diagram according to second of battery charge controller shown in an exemplary embodiment;
Fig. 4 is the block diagram according to the third battery charge controller shown in an exemplary embodiment;
Fig. 5 is the block diagram according to the 4th kind of battery charge controller shown in an exemplary embodiment.
Specific implementation mode
The specific implementation mode of the disclosure is described in detail below in conjunction with attached drawing.It should be understood that this place is retouched
The specific implementation mode stated is only used for describing and explaining the disclosure, is not limited to the disclosure.
First, the disclosure is illustrated, With the fast development of internet, it can be found that:Needed when user is outgoing with
When carried terminal, and more operation is carried out by terminal, for example, user can record video while outing by terminal,
Either user can play game or user while meetting by terminal to pass through end while reading a book in library
End listens to music, and the electricity of terminal can be caused to consume in this way, user carries out corresponding operation by using terminal, due to terminal
Electricity is limited, therefore in terminal out of power, can be terminal charge using portable mobile power as stand-by power supply, but
It is that since the electricity of mobile power is also limited, and user can not use power outlet to terminal and movement when outgoing
Power supply charges, and therefore, under the scene that user goes out, when the electricity of mobile power has expended, can not continue as terminal
It charges, so that terminal is shut down in out of power, causes user that can not use.
To solve the above-mentioned problems, the present disclosure proposes a kind of charge control method and device and storage medium, Ke Yitong
It crosses in terminal charge acquisition SOT state of termination parameter, and determines whether terminal is carried out by mobile power according to SOT state of termination parameter
Charging, and when terminal is charged by mobile power, the operational mode of control terminal is switched to battery saving mode, in this way, can
With the power consuming operation being automatically closed when terminal is charged by mobile power in terminal to reduce the power consumption of terminal, thus
Electricity is saved when charging, reduces the electric quantity consumption to mobile power, and then extend the cruise duration of terminal.
The disclosure is described in detail below in conjunction with specific embodiment.
Fig. 1 is a kind of flow chart of charge control method shown according to an exemplary embodiment, as shown in Figure 1, using
In terminal, include the following steps:
In a step 101, in terminal charge, the SOT state of termination parameter of the terminal is obtained.
Wherein, when detecting terminal charge, the SOT state of termination parameter of terminal is obtained, which can be eventually
The location information at end, the location information may include current location information and a upper location information, and the location information can be with
Pass through the GPS (global positioning systems in terminal;Global Positioning System) according to the first default collection period into
Row acquisition;The SOT state of termination parameter can also be the attitude parameter of terminal, which may include rotational angular velocity, center of gravity
At least one of variable quantity and direction change amount etc., and the attitude parameter can pass through the attitude transducer of terminal built-in
It is acquired according to the second default collection period, for example, rotational angular velocity can be acquired by gyro sensor, center of gravity
Variable quantity can be acquired by gravity sensor, and direction change amount can be acquired by direction sensor, above-mentioned to show
Example is merely illustrative, and the disclosure is not construed as limiting this.
In a step 102, determine whether the terminal is charged by mobile power according to the SOT state of termination parameter.
Due to when being charged by power outlet, the limited length of the charging wire of terminal, and the position of power outlet
Within a preset range, therefore, the location variation of terminal is smaller when being charged to terminal by power outlet;Conversely, because
Mobile power is portable power supply, and therefore, the location variation of terminal can when being charged to terminal by mobile power
Can be larger, it is based on this, the disclosure can be by determining whether the location variation of terminal is more than or equal to predetermined threshold value, with standard
Really judge whether the terminal is charged by mobile power, further, if the SOT state of termination parameter is the current of terminal
Location information and a upper location information then can determine whether the terminal is to be filled by mobile power by following steps
Electricity:
S11, location variation is obtained according to a location information on the current location information and this.
In one possible implementation, it is acquired eventually according to the first default collection period by opening the GPS in terminal
The location information at end, and collected location information is stored to default memory space, in this way, memory space can be preset from this
A location information in middle acquisition, and the position by obtaining a location information and the current location information on this in GPS coordinate
Variable quantity illustratively if the first default collection period is 10s, can acquire the position letter of the primary terminal every 10s
Breath, and collected location information is stored to default memory space, the end is obtained in memory space so as to be preset from this
End a upper location information, at this point it is possible to the current location information of computing terminal with this on a location information in GPS coordinate
Location variation, above-mentioned example are merely illustrative, and the disclosure is not construed as limiting this.
It should be noted that in alternatively possible realization method, which can also be in the following manner
It obtains:Third is obtained using pedometer built-in in terminal and presets the step number of terminal user in collection period, and calculates the step number
The location variation is obtained with the product of default unitary steps, which presets collection period can be with the first default acquisition week
Phase is identical, and certainly, which presets collection period can also be different from the first default collection period, illustratively, if this is default
Unitary steps are 0.5m, and it is 15s which, which presets collection period, and the third presets the step number of terminal user in collection period
For 10 steps, then the product that can calculate the default unitary steps and the step number in the default collection period of the third obtains position change
Change amount, i.e. 0.5m*10=5m, above-mentioned example are merely illustrative, and the disclosure is not construed as limiting this.
S12, determine whether the location variation is more than or equal to predetermined threshold value.
When variable quantity is more than or equal to the predetermined threshold value in the position, step S13 is executed;
When variable quantity is less than the predetermined threshold value in the position, return to step 101.
S13, determine that the terminal is charged by the mobile power.
Since terminal by power outlet when being charged, terminal is generally positioned at some position and charges, therefore,
The rotational angular velocity of terminal when being charged to terminal by power outlet, gravity center shift amount and direction change amount etc. are smaller;Phase
Instead, since mobile power is portable power supply, the angle of rotation of terminal when being charged to terminal by mobile power
Speed, gravity center shift amount and direction change amount etc. may be larger, are based on this, the disclosure can pass through different electrical power according to terminal
Posture sample parameter training when being charged presets disaggregated model and obtains charged state disaggregated model, the appearance to get
Whether state parameter (SOT state of termination parameter being equivalent in the disclosure) input charged state disaggregated model determines the terminal by this
Mobile power charges.
In the disclosure, it is known results by the collected posture sample parameter of attitude transducer built-in in terminal
Sample parameter, i.e. the posture sample parameter include positive sample parameter and negative sample parameter, which is that the terminal is logical
Corresponding sample parameter when crossing mobile power charging, the negative sample parameter are when the terminal is charged by power outlet pair
The sample parameter answered, in this way, can preset disaggregated model according to the positive sample parameter and negative sample parameter training obtains the charging
State classification model, which can be svm classifier model or Adaboost disaggregated models etc., need to illustrate
It is, when the attitude parameter includes at least one of the rotational angular velocity, the gravity center shift amount and direction variable quantity etc.,
Can by least one of the rotational angular velocity, the gravity center shift amount and direction variable quantity etc. constitute attitude characteristic to
Amount, and the posture feature vector is input to default disaggregated model and is trained to obtain the charged state disaggregated model, so as to
Obtain whether the terminal is charged by mobile power so that the attitude parameter is inputted the charged state disaggregated model, it is above-mentioned to show
Example is merely illustrative, and the disclosure is not construed as limiting this.
In step 103, when determining that the terminal is charged by the mobile power, the operational mode of the terminal is controlled
It is switched to battery saving mode.
In this step, which is the pattern for closing power consuming operation in the terminal, in this way, by closing in terminal
Power consuming operation reduce the power consumption of terminal so that the cruise duration of terminal increases, wherein the power consuming operation can be that terminal exists
The operation of default setting when manufacture, in addition, in order to improve the experience of user, which can also be by user according to using
Demand is pre-set, and such as can show there is operating list in the setting page of terminal, which includes terminal
In all operationss such as can be by choosing power consuming operation pair so that user selects power consuming operation successively in the operating list
The Option Box answered is to complete the setting of power consuming operation, illustratively, the power consuming operation may include data backup, data it is synchronous and
The operations such as software upgrading, above-mentioned example are merely illustrative, and the disclosure is not construed as limiting this.
It, can be by obtaining SOT state of termination parameter in terminal charge, and according to SOT state of termination parameter using the above method
Determine whether terminal is charged by mobile power, and when terminal is charged by mobile power, the fortune of control terminal
Row pattern switching is battery saving mode, in this way, the consumption in terminal can be automatically closed when terminal is charged by mobile power
It is electrically operated to reduce the power consumption of terminal, to save electricity in charging, reduce the electric quantity consumption to mobile power, and then extend
Cruise duration of terminal.
Fig. 2 is a kind of block diagram of battery charge controller shown according to an exemplary embodiment, as shown in Fig. 2, being applied to
Terminal, including:
Acquisition module 201 is configured as obtaining the SOT state of termination parameter of the terminal in terminal charge;
Determining module 202 is configured as determining whether the terminal is carried out by mobile power according to the SOT state of termination parameter
Charging;
Control module 203 is configured as, when determining that the terminal is charged by the mobile power, controlling the terminal
Operational mode is switched to battery saving mode;The battery saving mode is the pattern for closing power consuming operation in the terminal.
Fig. 3 is a kind of block diagram of battery charge controller shown according to an exemplary embodiment, as shown in figure 3, the terminal
State parameter includes the current location information of the terminal and a upper location information, which includes:
Acquisition submodule 2021 is configured as obtaining change in location according to a location information on the current location information and this
Amount;
First determination sub-module 2022, is configured to determine that whether the location variation is more than or equal to predetermined threshold value;
Second determination sub-module 2023, be configured as in the position variable quantity be more than or equal to the predetermined threshold value when, really
The fixed terminal is charged by the mobile power.
Optionally, which includes the attitude parameter of the terminal, and the determining module 202, being configured as should
Attitude parameter input charged state disaggregated model determines whether the terminal is charged by the mobile power.
Fig. 4 is a kind of block diagram of battery charge controller shown according to an exemplary embodiment, as shown in figure 4, further including:
Acquisition module 204 is configured as acquiring the posture sample parameter of the terminal;
Training module 205 is configured as training default disaggregated model to obtain the charged state according to the posture sample parameter
Disaggregated model.
It, can be by obtaining SOT state of termination parameter in terminal charge, and according to SOT state of termination parameter using above-mentioned apparatus
Determine whether terminal is charged by mobile power, and when terminal is charged by mobile power, the fortune of control terminal
Row pattern switching is battery saving mode, in this way, the consumption in terminal can be automatically closed when terminal is charged by mobile power
It is electrically operated to reduce the power consumption of terminal, to save electricity in charging, reduce the electric quantity consumption to mobile power, and then extend
Cruise duration of terminal.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
The disclosure also provides a kind of computer readable storage medium, is stored thereon with computer program instructions, which refers to
The step of enabling the localization method for the WLAN devices for realizing that the disclosure provides when being executed by processor.
Fig. 5 is a kind of block diagram of battery charge controller 500 shown according to an exemplary embodiment.For example, device 500 can
To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices are good for
Body equipment, personal digital assistant etc..
With reference to Fig. 5, device 500 may include following one or more components:Processing component 502, memory 504, electric power
Component 506, multimedia component 508, audio component 510, the interface 512 of input/output (I/O), sensor module 514, and
Communication component 516.
The integrated operation of 502 usual control device 500 of processing component, such as with display, call, data communication, phase
Machine operates and record operates associated operation.Processing component 502 may include that one or more processors 520 refer to execute
It enables, to complete all or part of step of above-mentioned charge control method.In addition, processing component 502 may include one or more
A module, convenient for the interaction between processing component 502 and other assemblies.For example, processing component 502 may include multimedia mould
Block, to facilitate the interaction between multimedia component 508 and processing component 502.
Memory 504 is configured as storing various types of data to support the operation in device 500.These data are shown
Example includes instruction for any application program or method that operate on device 500, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 504 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Electric power assembly 506 provides electric power for the various assemblies of device 500.Electric power assembly 506 may include power management system
System, one or more power supplys and other generated with for device 500, management and the associated component of distribution electric power.
Multimedia component 508 is included in the screen of one output interface of offer between described device 500 and user.One
In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action
Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers
Body component 508 includes a front camera and/or rear camera.When device 500 is in operation mode, such as screening-mode or
When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 510 is configured as output and/or input audio signal.For example, audio component 510 includes a Mike
Wind (MIC), when device 500 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The received audio signal can be further stored in memory 504 or via communication set
Part 516 is sent.In some embodiments, audio component 510 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 512 provide interface between processing component 502 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor module 514 includes one or more sensors, and the state for providing various aspects for device 500 is commented
Estimate.For example, sensor module 514 can detect the state that opens/closes of device 500, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 500, and sensor module 514 can be with 500 1 components of detection device 500 or device
Position change, the existence or non-existence that user contacts with device 500,500 orientation of device or acceleration/deceleration and device 500
Temperature change.Sensor module 514 may include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 514 can also include optical sensor, such as CMOS or ccd image sensor, at
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 515 is configured to facilitate the communication of wired or wireless way between device 500 and other equipment.Device
500 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation
In example, communication component 515 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 515 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 500 can be believed by one or more application application-specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing above-mentioned charge control method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of
Such as include the memory 504 of instruction, above-metioned instruction can be executed by the processor 520 of device 500 to complete above-mentioned charge control side
Method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic
Band, floppy disk and optical data storage devices etc..
The preferred embodiment of the disclosure is described in detail above in association with attached drawing, still, the disclosure is not limited to above-mentioned reality
The detail in mode is applied, in the range of the technology design of the disclosure, a variety of letters can be carried out to the technical solution of the disclosure
Monotropic type, these simple variants belong to the protection domain of the disclosure.
It is further to note that specific technical features described in the above specific embodiments, in not lance
In the case of shield, can be combined by any suitable means, in order to avoid unnecessary repetition, the disclosure to it is various can
The combination of energy no longer separately illustrates.
In addition, arbitrary combination can also be carried out between a variety of different embodiments of the disclosure, as long as it is without prejudice to originally
Disclosed thought equally should be considered as disclosure disclosure of that.
Claims (10)
1. a kind of charge control method, which is characterized in that it is applied to terminal, including:
In terminal charge, the SOT state of termination parameter of the terminal is obtained;
Determine whether the terminal is charged by mobile power according to the SOT state of termination parameter;
When determining that the terminal is charged by the mobile power, the operational mode for controlling the terminal is switched to power saving
Pattern;The battery saving mode is the pattern for closing power consuming operation in the terminal.
2. according to the method described in claim 1, it is characterized in that, the SOT state of termination parameter includes the present bit of the terminal
Confidence ceases and a upper location information, described to determine whether the terminal is carried out by mobile power according to the SOT state of termination parameter
Charging includes:
Location variation is obtained according to the current location information and a upper location information;
Determine whether the location variation is more than or equal to predetermined threshold value;
The location variation be more than or equal to the predetermined threshold value when, determine the terminal by the mobile power into
Row charging.
3. according to the method described in claim 1, it is characterized in that, the SOT state of termination parameter includes the posture ginseng of the terminal
Number, it is described to determine whether the terminal carries out charging by mobile power and include according to the SOT state of termination parameter:
Attitude parameter input charged state disaggregated model is determined whether the terminal is filled by the mobile power
Electricity.
4. according to the method described in claim 3, it is characterized in that, further including:
Acquire the posture sample parameter of the terminal;
Default disaggregated model is trained to obtain the charged state disaggregated model according to the posture sample parameter.
5. a kind of battery charge controller, which is characterized in that it is applied to terminal, including:
Acquisition module is configured as obtaining the SOT state of termination parameter of the terminal in terminal charge;
Determining module is configured as determining whether the terminal is filled by mobile power according to the SOT state of termination parameter
Electricity;
Control module is configured as, when determining that the terminal is charged by the mobile power, controlling the terminal
Operational mode is switched to battery saving mode;The battery saving mode is the pattern for closing power consuming operation in the terminal.
6. device according to claim 5, which is characterized in that the SOT state of termination parameter includes the present bit of the terminal
Confidence ceases and a upper location information, the determining module include:
Acquisition submodule is configured as obtaining location variation according to the current location information and a upper location information;
First determination sub-module, is configured to determine that whether the location variation is more than or equal to predetermined threshold value;
Second determination sub-module is configured as, when the location variation is more than or equal to the predetermined threshold value, determining institute
Terminal is stated to charge by the mobile power.
7. device according to claim 5, which is characterized in that the SOT state of termination parameter includes the posture ginseng of the terminal
Number, the determining module are configured as attitude parameter input charged state disaggregated model determining whether the terminal leads to
The mobile power is crossed to charge.
8. device according to claim 7, which is characterized in that further include:
Acquisition module is configured as acquiring the posture sample parameter of the terminal;
Training module is configured as training default disaggregated model to obtain the charged state classification according to the posture sample parameter
Model.
9. a kind of battery charge controller, which is characterized in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
In terminal charge, the SOT state of termination parameter of the terminal is obtained;
Determine whether the terminal is charged by mobile power according to the SOT state of termination parameter;
When determining that the terminal is charged by the mobile power, the operational mode for controlling the terminal is switched to power saving
Pattern;The battery saving mode is the pattern for closing power consuming operation in the terminal.
10. a kind of computer readable storage medium, is stored thereon with computer program instructions, which is characterized in that the program instruction
The step of any one of Claims 1 to 4 the method is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810107368.6A CN108365645B (en) | 2018-02-02 | 2018-02-02 | Charging control method and device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810107368.6A CN108365645B (en) | 2018-02-02 | 2018-02-02 | Charging control method and device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108365645A true CN108365645A (en) | 2018-08-03 |
CN108365645B CN108365645B (en) | 2020-06-02 |
Family
ID=63004307
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810107368.6A Active CN108365645B (en) | 2018-02-02 | 2018-02-02 | Charging control method and device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108365645B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110828923A (en) * | 2019-11-18 | 2020-02-21 | 北京小米移动软件有限公司 | Battery charging method, device and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104375624A (en) * | 2014-12-11 | 2015-02-25 | 北京奇虎科技有限公司 | Mobile terminal and power saving suggestion method for same |
US20150311737A1 (en) * | 2014-04-28 | 2015-10-29 | Samsung Electronics Co., Ltd. | Method and apparatus for power management |
CN105242607A (en) * | 2015-10-26 | 2016-01-13 | 彭德权 | Intelligent system used for luggage case |
CN107608855A (en) * | 2017-09-08 | 2018-01-19 | 维沃移动通信有限公司 | Based reminding method and mobile terminal |
-
2018
- 2018-02-02 CN CN201810107368.6A patent/CN108365645B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150311737A1 (en) * | 2014-04-28 | 2015-10-29 | Samsung Electronics Co., Ltd. | Method and apparatus for power management |
CN104375624A (en) * | 2014-12-11 | 2015-02-25 | 北京奇虎科技有限公司 | Mobile terminal and power saving suggestion method for same |
CN105242607A (en) * | 2015-10-26 | 2016-01-13 | 彭德权 | Intelligent system used for luggage case |
CN107608855A (en) * | 2017-09-08 | 2018-01-19 | 维沃移动通信有限公司 | Based reminding method and mobile terminal |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110828923A (en) * | 2019-11-18 | 2020-02-21 | 北京小米移动软件有限公司 | Battery charging method, device and medium |
Also Published As
Publication number | Publication date |
---|---|
CN108365645B (en) | 2020-06-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109167894B (en) | Camera control method and device, mobile terminal and storage medium | |
KR101529502B1 (en) | Method of controlling instant message and mobile terminal using the same | |
CN104578372B (en) | The method and device of control terminal equipment charge | |
CN104281432A (en) | Method and device for regulating sound effect | |
CN106371643B (en) | Touch chip crash handling method and device | |
CN103024182B (en) | Method and device which enter into photo album interface from shoot interface of mobile terminal | |
CN108574123A (en) | Battery charging control method, device and battery | |
CN105068632A (en) | Terminal charging method and device and terminal | |
CN106502560A (en) | Display control method and device | |
CN112650405B (en) | Interaction method of electronic equipment and electronic equipment | |
CN105720644A (en) | Charging control method and device and terminal device | |
CN105049763B (en) | Trigger the method and device of projection | |
CN109451811A (en) | Unmanned plane management method and device, electronic equipment and computer readable storage medium | |
CN109129484A (en) | robot control method, device and storage medium | |
CN110110315A (en) | Pending item management method and device | |
CN105205153B (en) | File memory method and device | |
CN105101078B (en) | Information prompting method, terminal and server | |
CN107566750A (en) | Control method, device and the storage medium of flash lamp | |
CN108539804A (en) | Battery charging control method, battery charging control device and electronic equipment | |
CN106455002A (en) | Wireless search method and device, and terminal | |
CN105677215A (en) | Application control method and apparatus | |
CN108365645A (en) | Charge control method and device and storage medium | |
CN105244936B (en) | Charging method, device and the terminal of terminal | |
CN109149669A (en) | Battery modules and its control method, charging adapter and its control method | |
CN105094891B (en) | effect display method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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 |