WO2015090077A1 - 移动终端充电的控制方法、装置、系统和移动终端 - Google Patents
移动终端充电的控制方法、装置、系统和移动终端 Download PDFInfo
- Publication number
- WO2015090077A1 WO2015090077A1 PCT/CN2014/084188 CN2014084188W WO2015090077A1 WO 2015090077 A1 WO2015090077 A1 WO 2015090077A1 CN 2014084188 W CN2014084188 W CN 2014084188W WO 2015090077 A1 WO2015090077 A1 WO 2015090077A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mobile terminal
- client
- power
- charging
- instruction
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 description 20
- 229910052744 lithium Inorganic materials 0.000 description 20
- 238000007599 discharging Methods 0.000 description 18
- 238000013507 mapping Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 6
- 238000012544 monitoring process Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000009434 installation Methods 0.000 description 4
- 230000005611 electricity Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002035 prolonged effect Effects 0.000 description 2
- 230000002238 attenuated effect Effects 0.000 description 1
- 238000001816 cooling Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003446 memory effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/44—Methods for charging or discharging
-
- 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/007—Regulation of charging or discharging current or voltage
- H02J7/00712—Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
- H02J7/00714—Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery charging or discharging current
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Definitions
- the present invention relates to the field of mobile terminal manufacturing technologies, and in particular, to a mobile terminal charging control method, apparatus, system, and mobile terminal. Background technique
- Lithium battery technology provides performance guarantees for a variety of mobile terminals. Due to the high power density of lithium batteries, lithium batteries can provide longer life for mobile terminals. And since the lithium battery has no memory effect, the lithium battery does not need to be charged after being completely discharged, that is, the lithium battery can be charged at any time.
- lithium batteries use a fast charging method, which can quickly fill it with about 80% of electricity, and then switch to continuous recharge to continue charging.
- a lithium battery can be charged multiple times, the number of times of charging is limited, and the number of times the lithium battery can be repeatedly charged depends on the charging cycle of the lithium battery.
- one charging cycle of the lithium battery is not equal to charging a single charge, but all the power of the lithium battery is used up. For example, the lithium battery is used up halfway, then fully charged, and then the second time, the lithium battery is used up halfway and then fully charged. At this time, it is counted as a complete charging cycle of the lithium battery. The lithium battery capacity is reduced a little after each charge cycle of the lithium battery.
- the inventors have found that at least the following problems exist in the prior art:
- a USB (Universal Serial Bus) interface of a mobile terminal is connected to a client
- the client can provide 5V for the mobile terminal through the USB interface.
- the left and right voltages, the mobile terminal can usually be connected to the USB interface of the client for charging purposes.
- the client starts charging the mobile terminal, and sometimes because the mobile terminal and the client are frequently connected, the client often performs the mobile terminal when the mobile terminal does not need to be charged. Insignificant charge and discharge. Therefore, the number of complete charging of the lithium battery is increased, resulting in a decrease in the capacity of the lithium battery and a decrease in the service life of the lithium battery.
- the present invention aims to solve at least one of the above technical problems.
- a first object of the present invention is to provide a control method for charging a mobile terminal.
- the method can reduce the meaningless charging and discharging times of the mobile terminal, and avoids the mobile terminal being overcharged for a long time after being fully charged, thereby effectively reducing the attenuation of the battery capacity and prolonging the service life of the mobile terminal battery.
- a second object of the present invention is to provide a control device for charging a mobile terminal.
- a third object of the present invention is to provide a control system for charging a mobile terminal.
- a fourth object of the present invention is to provide a mobile terminal.
- a fifth object of the present invention is to provide a storage medium.
- a method for controlling charging of a mobile terminal includes the following steps: acquiring a current power when the mobile terminal detects connection with a client; and determining, when the mobile terminal determines the current power When the first preset value is exceeded, a power-off instruction is generated, and the power-off command is sent to the client, so that the client powers off the mobile terminal.
- the method for controlling the charging of the mobile terminal in the embodiment of the present invention detects the battery power of the mobile terminal in real time, and analyzes the current power of the mobile terminal. When the current power exceeds the first preset value, the client performs the USB interface. Effective control of power outage of mobile terminals. Thereby, the meaningless charging and discharging times of the mobile terminal can be reduced, and the mobile terminal is prevented from being overcharged for a long time after being fully charged, thereby effectively reducing the attenuation of the battery capacity and prolonging the service life of the mobile terminal battery.
- a control device for charging a mobile terminal includes: a detecting module, configured to acquire a current power when the mobile terminal detects connection with a client; and a first generating module, configured to When the mobile terminal determines that the current power exceeds the first preset value, generates a power-off instruction; and the sending module, configured to send the power-off command to the client, so that the client The mobile terminal is powered off.
- the control device for charging the mobile terminal in the embodiment of the present invention detects the battery power of the mobile terminal in real time, and analyzes the current power of the mobile terminal. When the current power exceeds the first preset value, the client performs the pair on the USB interface. Effective control of power outage of mobile terminals. Thereby, the meaningless charging and discharging times of the mobile terminal can be reduced, and the mobile terminal is prevented from being overcharged for a long time after being fully charged, thereby effectively reducing the attenuation of the battery capacity and prolonging the service life of the mobile terminal battery.
- a control system for charging a mobile terminal includes: a mobile terminal and a client, where the mobile terminal is configured to acquire a current when the mobile terminal detects the connection with the client. a power quantity, and when the mobile terminal determines that the current power quantity exceeds a first preset value, generates a power-off instruction, and sends the power-off command to the client; the client is configured to receive the And the power-off instruction sent by the mobile terminal, and powering off the mobile terminal according to the power-off instruction.
- the control system for charging the mobile terminal in the embodiment of the present invention detects the battery power of the mobile terminal in real time, and analyzes the current power of the mobile terminal. When the current power exceeds the first preset value, the client performs the USB interface. Effective control of power outage of mobile terminals. Thereby, the meaningless charging and discharging times of the mobile terminal can be reduced, and the mobile terminal is prevented from being overcharged for a long time after being fully charged, thereby effectively reducing the attenuation of the battery capacity and prolonging the service life of the mobile terminal battery.
- a mobile terminal includes: a casing, a screen, a processor, and a circuit board; the screen is disposed on the casing, and the circuit board is disposed in the casing Inside the space, The processor is disposed on the circuit board; the processor is configured to process data, specifically: when the mobile terminal detects the connection with the client, acquiring the current power; and when determining that the current power exceeds the first When the value is set, a power-off command is generated, and the power-off command is sent to the client, so that the client powers off the mobile terminal.
- the mobile terminal of the embodiment of the invention can reduce the meaningless charging and discharging times of the mobile terminal, and avoids the state that the mobile terminal is overcharged or overdischarged for a long time, thereby effectively reducing the attenuation of the battery capacity and prolonging the battery of the mobile terminal.
- the power-off command and the charging command effectively control the cycle of charging the mobile terminal battery, reduce the meaningless full charging cycle, and avoid the problem of repeated charging and discharging caused by frequent connection of the mobile terminal and the client through the USB interface, thereby avoiding the problem.
- the actual use capacity of the battery is reduced due to the meaningless full charge cycle.
- a storage medium for storing an application program for performing a control method for charging a mobile terminal according to an embodiment of the present invention at runtime.
- the storage medium detects the battery power of the mobile terminal in real time, and analyzes the current power of the mobile terminal. When the current power exceeds the first preset value, the client disconnects the USB interface from the mobile terminal. Effective control of electricity. Thereby, the meaningless charging and discharging times of the mobile terminal can be reduced, and the mobile terminal is prevented from being overcharged for a long time after being fully charged, thereby effectively reducing the attenuation of the battery capacity and prolonging the service life of the mobile terminal battery.
- FIG. 1 is a flowchart of a method for controlling charging of a mobile terminal according to an embodiment of the present invention
- FIG. 2 is a flow chart of a method for controlling charging of a mobile terminal according to an embodiment of the present invention
- FIG. 3 is a schematic structural diagram of a control apparatus for charging a mobile terminal according to an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a control apparatus for charging a mobile terminal according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of a control apparatus for charging a mobile terminal according to another embodiment of the present invention.
- FIG. 6 is a schematic structural diagram of a control system for charging a mobile terminal according to an embodiment of the present invention.
- the client immediately charges the mobile terminal, and after the mobile terminal is fully charged, the client still supplies power to the mobile terminal, causing the mobile terminal to perform meaningless repeated charging. Discharges and causes the mobile terminal to be in an overcharged state. Therefore, the number of complete charging of the mobile terminal battery is increased, which causes the battery capacity of the mobile terminal to be attenuated, thereby affecting the actual service life of the mobile terminal battery. If the client can effectively control the charging and discharging of the mobile terminal, the meaningless charging and discharging times of the mobile terminal can be reduced, and the mobile terminal is prevented from being overcharged, thereby prolonging the actual service life of the mobile terminal battery.
- the present invention proposes a control method for charging a mobile terminal.
- a method for controlling charging of a mobile terminal comprising the steps of: acquiring a current power when the mobile terminal detects connection with the client; and generating a power-off command when the mobile terminal determines that the current power exceeds the first preset value, and The power-off command is sent to the client to cause the client to power off the mobile terminal.
- FIG. 1 is a flow chart of a method of controlling charging of a mobile terminal according to an embodiment of the present invention.
- a control method for charging a mobile terminal includes.
- the mobile terminal may be a hardware device having various operating systems, such as a mobile phone, a tablet computer, a personal digital assistant, an electronic book, or the like.
- the client can be a hardware device having various operating systems such as a personal computer PC or a notebook computer.
- the mobile terminal when the mobile terminal detects that the mobile terminal is connected to the client through the universal serial bus USB interface of the client, the mobile terminal acquires the current power of the mobile terminal.
- the mobile terminal can pass the Application Programming Interface (API) in the mobile terminal for monitoring battery power and battery status, such as Battery Level and Battery Monitoring in UI Device (User Interface Device).
- API Application Programming Interface
- the mobile terminal can obtain information about the battery in the mobile terminal through the application programming interface.
- the mobile terminal of the Android Android operating system the mobile terminal can detect the current power of the mobile terminal through an application program such as a battery doctor or a mobile assistant. It should be understood that the foregoing examples are only for illustrating the method in the embodiment of the present invention, and the method for the mobile terminal to detect the current power of the mobile terminal may be implemented by other existing technologies, and details are not described herein again.
- the client invokes the driver programming interface API of the client and disconnects the USB connection to the mobile terminal through the driver programming interface in accordance with the power down command.
- the first preset value may be defaulted in the mobile terminal system, or may be set by the user in the mobile terminal system according to different requirements.
- the first preset value may be 90% of the rated power of the mobile terminal battery; or the first preset value may also be 80% of the rated power of the mobile terminal battery.
- the mobile terminal may determine whether the current power is exceeded by the first preset value. If the mobile terminal determines that the current power exceeds the first preset value, the mobile terminal generates a power-off command, and transmits the power-off command to the client through, for example, an application installed in the mobile terminal system or the like.
- the client may invoke the driver programming interface of the client, and close the USB connection between the client and the mobile terminal through the driver programming interface, that is, the mobile terminal stops the USB interface of the client to move. Power supply to the terminal. For example, on a Windows operating system client, the client can control the shutdown of the underlying USB interface through the Windows Driver Kit (Windows Driver Installation Package) on the client.
- the method for controlling the charging of the mobile terminal in the embodiment of the present invention detects the battery power of the mobile terminal in real time, and analyzes the current power of the mobile terminal. When the current power exceeds the first preset value, the client performs the pair on the USB interface. Effective control of power outage of mobile terminals. Thereby, the meaningless charging and discharging times of the mobile terminal can be reduced, and the mobile terminal is prevented from being overcharged for a long time after being fully charged, thereby effectively reducing the attenuation of the battery capacity and prolonging the service life of the mobile terminal battery.
- . 2 is a flow chart of a method for controlling charging of a mobile terminal according to an embodiment of the present invention.
- a method for controlling charging of a mobile terminal includes.
- S201 Acquire a current power when the mobile terminal detects connection with the client. 5202.
- the mobile terminal determines that the current power exceeds the first preset value, generates a power-off command, and sends a power-off command to the client, so that the client powers off the mobile terminal.
- the client invokes the driver programming interface API of the client and disconnects the USB connection to the mobile terminal through the driver programming interface in accordance with the power down command.
- the charging command is sent to the cloud server, so that the cloud server forwards the charging instruction to the client to control the client to charge the mobile terminal.
- the second preset value may be defaulted in the mobile terminal system, or may be set by the user in the mobile terminal system according to different requirements.
- the second preset value may be 30% of the rated power of the mobile terminal battery; or the second preset value may also be 20% of the rated power of the mobile terminal battery.
- the mobile terminal continues to detect the current power of the mobile terminal. It should be understood that if the mobile terminal detects the current power of the mobile terminal through an application such as a battery doctor or a mobile assistant, the application should be installed in the mobile terminal, so that the mobile terminal is disconnected from the USB connection of the client.
- the mobile terminal can also detect the current power of the mobile terminal through the application. Further, the mobile terminal determines whether the current power of the mobile terminal is lower than a second preset value, and if it is lower than the second preset value, the mobile terminal generates a charging instruction.
- the USB interface of the client stops supplying power to the mobile terminal, that is, the connection state of the mobile terminal and the client is disconnected. Therefore, the mobile terminal needs to send the generated charging command to the cloud server, and the charging is performed by the cloud server.
- the instructions are forwarded to the client.
- the client invokes the driver programming interface of the client and opens a USB connection to the mobile terminal via the driver programming interface in accordance with the charging command. Specifically, after receiving the charging instruction, the client can open the USB connection between the client and the mobile terminal by calling the driver programming interface, that is, the client starts to supply power to the mobile terminal through the USB interface, that is, at this time, The client restarts charging of the mobile terminal.
- the mobile terminal after detecting that the mobile terminal connects with the client, the mobile terminal establishes an association relationship between the mobile terminal and the client, and sends the association relationship to the cloud server.
- the cloud server should store the association relationship between the mobile terminal and the client in a database such as a cloud server.
- the mobile terminal can obtain the identity code of the client, for example, the physical address MAC (Media Access Control) of the personal computer PC (Personal Computer). Then, the mobile terminal can establish a mapping relationship between the obtained identity code of the client and the identity code of the mobile terminal itself, for example, an IMEI number (International Mobile Equipment Identity), and then the mapping relationship is performed by the mobile terminal.
- MAC Media Access Control
- IMEI number International Mobile Equipment Identity
- the cloud server may save the mapping relationship in a database of, for example, a cloud server.
- the mobile terminal determines that the current power is lower than the second preset value, generates a charging instruction, and sends the charging instruction to the cloud server.
- the cloud server can identify the mobile terminal by using the stored relationship between the mobile terminal and the client, and identify the client corresponding to the charging instruction, and then forward and recharge the charging. To the corresponding client.
- the charging terminal when the current power of the mobile terminal is lower than the second preset value, the charging terminal is sent to the client, so that the client opens the USB interface to re-power the mobile terminal. Therefore, the battery of the mobile terminal is prevented from being over-discharged, the loss of the battery of the mobile terminal is reduced, and the actual service life of the battery of the mobile terminal is prolonged.
- the power-off command and the charging command effectively control the cycle of charging the mobile terminal battery, reduce the meaningless full charging cycle, and avoid the problem of repeated charging and discharging caused by frequent connection of the mobile terminal and the client through the USB interface, thereby avoiding the problem.
- the actual use capacity of the battery is reduced due to the meaningless full charge cycle.
- the present invention also provides a control device for charging a mobile terminal.
- a control device for charging a mobile terminal comprising: an acquiring module, configured to: when the mobile terminal detects the connection with the client, acquire the current power; the first generating module is configured to: when the mobile terminal determines that the current power exceeds the first preset value And generating a power-off instruction; and sending a module, configured to send the power-off command to the client, so that the client powers off the mobile terminal.
- FIG. 3 is a schematic structural diagram of a control apparatus for charging a mobile terminal according to an embodiment of the present invention.
- the control device for charging the mobile terminal includes: an acquisition module 110, a first generation module 120, and a transmission module 130.
- the obtaining module 110 is configured to acquire the current power when the mobile terminal detects the connection with the client.
- the mobile terminal may be a hardware device having various operating systems such as a mobile phone, a tablet computer, a personal digital assistant, an e-book, or the like.
- the client can be a hardware device having various operating systems such as a personal computer PC or a notebook computer. More specifically, when the mobile terminal is connected to the client through the client's universal serial bus USB interface, the acquisition module 110 detects the current power of the mobile terminal.
- the first generating module 120 is configured to generate a power-off instruction when the mobile terminal determines that the current power exceeds the first preset value.
- the first preset value may be defaulted in the mobile terminal system, or may be set by the user in the mobile terminal system according to different requirements. For example, the first preset value may be 90% of the rated power of the mobile terminal battery; or the first preset value may also be 80% of the rated power of the mobile terminal battery. More specifically, after the obtaining module 110 acquires the current power of the mobile terminal, the first generating module 120 may determine whether the current power amount exceeds the first preset value. If the first generation module 120 determines that the current power exceeds the first preset value, the first generation module 120 generates a power-off instruction.
- the sending module 130 is configured to send a power-off command to the client, so that the client powers off the mobile terminal.
- the client invokes the driver programming interface API of the client, and passes the power-off command according to the instruction.
- the driver programming interface disconnects from the USB connection of the mobile terminal. More specifically, the sending module 130 sends the power-off instruction to the client through, for example, an application program.
- the client can call the driver programming interface of the client to program through the driver.
- the interface closes the USB connection between the client and the mobile terminal, that is, the mobile terminal stops the power supply of the mobile terminal by the USB interface of the client.
- the client can control the shutdown of the underlying USB interface through the Windows Driver Kit (Windows driver installation package) on the client.
- the control device for charging the mobile terminal in the embodiment of the present invention detects the battery power of the mobile terminal in real time, and analyzes the current power of the mobile terminal. When the current power exceeds the first preset value, the client performs the pair on the USB interface. Effective control of power outage of mobile terminals. Thereby, the meaningless charging and discharging times of the mobile terminal can be reduced, and the mobile terminal is prevented from being overcharged for a long time after being fully charged, thereby effectively reducing the attenuation of the battery capacity and prolonging the service life of the mobile terminal battery.
- FIG. 4 is a schematic structural diagram of a control apparatus for charging a mobile terminal according to an embodiment of the present invention.
- the control device for charging the mobile terminal includes: an acquisition module 110, a first generation module 120, a transmission module 130, a second generation module 140, and a second transmission module 150.
- the second generating module 140 is configured to generate a charging instruction when the mobile terminal determines that the current power is lower than the second preset value.
- the second preset value may be defaulted in the mobile terminal system, or may be set by the user in the mobile terminal system according to different requirements. For example, the second preset value may be 30% of the rated power of the mobile terminal battery; or the second preset value may also be 20% of the rated power of the mobile terminal battery. More specifically, specifically, after the client powers off the mobile terminal, the acquisition module 110 continues to detect the current power of the mobile terminal. The second generation module 140 determines whether the current power of the mobile terminal is lower than a second preset value, and if lower than the second preset value, the second generation module 140 generates a charging instruction.
- the second sending module 150 is configured to send the charging instruction to the cloud server, so that the cloud server forwards the charging instruction to the client, and the client charges the mobile terminal.
- the client invokes the driver programming interface API of the client system and opens a USB connection to the mobile terminal through the driver programming interface in accordance with the charging instruction. More specifically, since the USB interface of the client stops powering the mobile terminal, that is, the connection state of the mobile terminal and the client is disconnected, the second sending module 150 needs to send the generated charging command to the cloud server. , the charging instruction is forwarded to the client by the cloud server.
- the second sending module 150 may send the generated charging instruction to the cloud server, and after receiving the charging instruction sent by the mobile terminal, the cloud server may query the client associated with the mobile terminal in, for example, a database of the cloud server, and then, the cloud server The charging instruction is forwarded to the client.
- the client can open the USB connection between the client and the mobile terminal by calling the driver programming interface, that is, the client starts to supply power to the mobile terminal through the USB interface, that is, at this time, the client pair The mobile terminal resumes charging.
- the control device for charging the mobile terminal according to the embodiment of the present invention, when the current power of the mobile terminal is lower than the second preset value, sends a charging command to the client, so that the client opens the USB interface to re-power the mobile terminal.
- the battery of the mobile terminal is prevented from being in an over-discharge state, the loss of the battery of the mobile terminal is reduced, and the actual service life of the battery of the mobile terminal is prolonged.
- the power-off command and the charging command effectively control the cycle of charging the mobile terminal battery, reduce the meaningless full charging cycle, and avoid the problem of repeated charging and discharging caused by frequent connection of the mobile terminal and the client through the USB interface, thereby avoiding the problem.
- the actual use capacity of the battery is reduced due to the meaningless full charge cycle.
- FIG. 5 is a schematic structural diagram of a control apparatus for charging a mobile terminal according to another embodiment of the present invention.
- the control device for charging the mobile terminal includes: an acquisition module 110, a first generation module 120, a transmission module 130, a second generation module 140, a second transmission module 150, and a transmission module 160.
- the establishing module 160 is configured to establish an association relationship between the mobile terminal and the client.
- the second sending module 150 is further configured to send the association relationship to the cloud server.
- the cloud server should store the association relationship between the mobile terminal and the client in a database such as a cloud server.
- the mobile terminal can obtain the identity code of the client, for example, the physical address MAC (Media Access Control) of the personal computer PC (Personal Computer).
- the mobile terminal can establish a mapping relationship between the obtained identity of the client and the identity code of the mobile terminal itself, for example, an IMEI number (International Mobile Equipment Identity), and then the mapping relationship is performed by the mobile terminal.
- the cloud server may save the mapping relationship in a database of, for example, a cloud server.
- the cloud server can identify the mobile terminal by using the stored relationship between the mobile terminal and the client, and identify the client corresponding to the charging instruction, and then forward and recharge the charging. To the corresponding client.
- the mobile terminal charging control device of the embodiment of the present invention establishes an association relationship between the mobile terminal and the client, and sends the management relationship to the cloud server for storage, thereby facilitating the cloud server to find the client corresponding to the mobile terminal.
- a control system for charging a mobile terminal comprising: a mobile terminal and a client, wherein the mobile terminal is further configured to: when the mobile terminal determines that the current power is lower than the second preset value, generate a charging instruction, and send the charging instruction to the cloud a server; a cloud server, configured to forward the charging instruction to the client; and the client is further configured to receive a charging instruction forwarded by the cloud server, and charge the mobile terminal according to the charging instruction.
- FIG. 6 is a schematic structural diagram of a control system for charging a mobile terminal according to an embodiment of the present invention.
- the control system for charging the mobile terminal includes: the mobile terminal 10, the client 20, and the cloud server 30.
- the mobile terminal 10 is configured to acquire the current power when the mobile terminal 10 detects the connection with the client 20, and generate a power-off command when the mobile terminal 10 determines that the current power exceeds the first preset value, and will power off
- the instructions are sent to the client 20.
- the mobile terminal 10 may be a hardware device having various operating systems, such as a mobile phone, a tablet computer, a personal digital assistant, an e-book, or the like.
- the client 20 may be a hardware device having various operating systems such as a personal computer PC or a notebook computer.
- the first preset value may be defaulted in the system of the mobile terminal 10, or may be set by the user in the system of the mobile terminal 10 according to different needs.
- the first preset value may be 90% of the rated battery power of the mobile terminal 10; or the first preset value may also be 80% of the rated battery power of the mobile terminal 10. More specifically, when the mobile terminal 10 detects that the mobile terminal 10 is connected to the client 20 through the universal serial bus USB interface of the client 20, the mobile terminal 10 acquires the current power amount.
- a programmable interface API Application Programming Interface
- UI Device User Interface Device
- the user interface device Battery Monitoring Enabled, etc.
- the current power of the mobile terminal 10 can be detected by an application such as a battery doctor or a mobile assistant. After the mobile terminal 10 acquires the current power of the mobile terminal 10, the mobile terminal 10 can determine whether the current power amount exceeds the first preset value. If the mobile terminal 10 judges that the current power exceeds the first preset value, a power-off command is generated, and the power-off command is transmitted to the client 20 through, for example, an application installed in the system of the mobile terminal 10.
- the client 20 is configured to receive a power-off command sent by the mobile terminal 10, and power off the mobile terminal 10 according to the power-off command. More specifically, after receiving the power-off instruction sent by the mobile terminal 10, the client 20 may call the driver programming interface of the client 20, and close the client 20 and the mobile terminal 10 through the driver programming interface API.
- the USB connection that is, the power supply to the mobile terminal 10 is stopped by the USB interface of the client 20.
- the shutdown of the underlying USB interface can be controlled via the Windows Driver Kit (Windows Driver Installation Package) on the client 20.
- the control system for charging the mobile terminal in the embodiment of the present invention detects the battery power of the mobile terminal in real time, and analyzes the current power of the mobile terminal. When the current power exceeds the first preset value, the client performs the pair on the USB interface. Effective control of power outage of mobile terminals. Thereby, the meaningless charging and discharging times of the mobile terminal can be reduced, and the mobile terminal is prevented from being overcharged for a long time after being fully charged, thereby effectively reducing the attenuation of the battery capacity and prolonging the service life of the mobile terminal battery.
- the mobile terminal 10 after the client 20 powers off the mobile terminal 10, the mobile terminal 10 further The current power of the mobile terminal 10 can be continuously detected.
- the mobile terminal 10 is further configured to generate a charging instruction when the current power is lower than the second preset value, and send the charging instruction to the cloud server 30.
- the second preset value may be defaulted in the system of the mobile terminal 10, or may be set by the user in the system of the mobile terminal 10 according to different requirements. For example, the second preset value may be 30% of the rated power of the battery of the mobile terminal 10; or the second preset value may also be 20% of the rated power of the battery of the mobile terminal 10.
- the mobile terminal 10 continues to detect the current power of the mobile terminal 10.
- the mobile terminal 10 determines whether the detected current power of the mobile terminal 10 is lower than a second preset value, and if it is lower than the second preset value, generates a charging instruction.
- the USB interface of the client 20 stops supplying power to the mobile terminal 10, that is, the connection state of the mobile terminal 10 and the client 20 is the disconnected state. Therefore, the mobile terminal 10 needs to send the generated charging command to the cloud server. 30.
- the charging instruction is forwarded by the cloud server 30 to the client 20.
- the cloud server 30 is configured to forward charging instructions to the client 20 to cause the client 20 to charge the mobile terminal 10. Specifically, after receiving the charging instruction sent by the mobile terminal 10, the cloud server 30 may query the client 20 associated with the mobile terminal 10 in, for example, a database of the cloud server 30, and then the cloud server 30 forwards the charging instruction to the Client 20. After receiving the charging instruction, the client 20 opens the USB connection between the client 20 and the mobile terminal 10 by calling the driver programming interface API, that is, the client 20 starts to supply power to the mobile terminal 10 through the USB interface, that is, The client 20 restarts charging of the mobile terminal 10.
- the meaningless charging and discharging times of the mobile terminal can be reduced, and the mobile terminal is prevented from being overcharged for a long time after being fully charged, thereby effectively reducing the attenuation of the battery capacity and prolonging the service life of the mobile terminal battery.
- the mobile terminal 10 establishes an association relationship between the mobile terminal and the client, and sends the association relationship to the cloud server 30.
- the cloud server should store the association relationship between the mobile terminal and the client in a database such as a cloud server.
- the mobile terminal can obtain the identity code of the client, for example, the physical address MAC (Media Access Control) of the personal computer PC (Personal Computer).
- the mobile terminal can establish a mapping relationship between the obtained identity code of the client and the identity code of the mobile terminal itself, for example, an IMEI number (International Mobile Equipment Identity), and then the mapping relationship is performed by the mobile terminal.
- the cloud server may save the mapping relationship in a database of, for example, a cloud server.
- the mobile terminal determines that the current power is lower than the second preset value, generates a charging instruction, and sends the charging instruction to the cloud server.
- the cloud server can identify the mobile terminal by using the stored relationship between the mobile terminal and the client, and identify the client corresponding to the charging instruction, and then forward and recharge the charging. To the corresponding client.
- the present invention proposes a mobile terminal.
- a mobile terminal includes: a casing, a screen, a processor and a circuit board; the screen is disposed on the casing, the circuit board is disposed inside the space enclosed by the casing, and the processor is disposed on the circuit board; the processor is configured to process data, specifically Perform the following steps:
- the mobile terminal may be a hardware device having various operating systems, such as a mobile phone, a tablet computer, a personal digital assistant, an electronic book, or the like.
- the client can be a hardware device having various operating systems such as a personal computer PC or a notebook computer.
- the mobile terminal when the mobile terminal detects that the mobile terminal is connected to the client through the universal serial bus USB interface of the client, the mobile terminal acquires the current power of the mobile terminal.
- the mobile terminal can pass a programmable interface API (Application Programming Interface) in the mobile terminal for monitoring battery power and battery status, such as UI Device (User Interface Device, user)
- UI Device User Interface Device, user
- the mobile terminal can obtain information about the battery in the mobile terminal through the application programming interface.
- the mobile terminal in the mobile terminal of the Android Android operating system, the mobile terminal can detect the current power of the mobile terminal through an application program such as a battery doctor or a mobile assistant.
- the client invokes the driver programming interface API of the client and disconnects the USB connection to the mobile terminal through the driver programming interface in accordance with the power down command.
- the first preset value may be defaulted in the mobile terminal system, or may be set by the user in the mobile terminal system according to different requirements.
- the first preset value may be 90% of the rated power of the mobile terminal battery; or the first preset value may also be 80% of the rated power of the mobile terminal battery.
- the mobile terminal may determine whether the current power amount exceeds the first preset value. If the mobile terminal determines that the current power exceeds the first preset value, the mobile terminal generates a power-off command, and sends the power-off command to the client through, for example, an application installed in the mobile terminal system.
- the client may invoke the driver programming interface of the client, and close the USB connection between the client and the mobile terminal through the driver programming interface, that is, the mobile terminal stops the USB interface of the client to move. Power supply to the terminal.
- the client can control the shutdown of the underlying USB interface through the Windows Driver Kit (Windows driver installation package) on the client.
- S 103 ′ when the mobile terminal determines that the current power is lower than the second preset value, and sends the charging instruction to the cloud server, so that the cloud server forwards the charging instruction to the client to control the client to charge the mobile terminal.
- the second preset value may be defaulted in the mobile terminal system, or may be set by the user in the mobile terminal system according to different requirements.
- the second preset value may be 30% of the rated power of the mobile terminal battery; or the second preset value may also be 20% of the rated power of the mobile terminal battery.
- the mobile terminal continues to detect the current power of the mobile terminal. It should be understood that if the mobile terminal detects the current power of the mobile terminal through an application such as a battery doctor or a mobile assistant, the application should be installed in the mobile terminal, so that the mobile terminal is disconnected from the USB connection of the client.
- the mobile terminal can also detect the current power of the mobile terminal through the application. Further, the mobile terminal determines whether the current power of the mobile terminal is lower than a second preset value, and if it is lower than the second preset value, the mobile terminal generates a charging instruction.
- the USB interface of the client stops supplying power to the mobile terminal, that is, the connection state of the mobile terminal and the client is disconnected. Therefore, the mobile terminal needs to send the generated charging command to the cloud server, and the charging is performed by the cloud server.
- the instructions are forwarded to the client.
- the client invokes the driver programming interface of the client and opens a USB connection to the mobile terminal via the driver programming interface in accordance with the charging command. Specifically, after receiving the charging instruction, the client can open the USB connection between the client and the mobile terminal by calling the driver programming interface, that is, the client starts to supply power to the mobile terminal through the USB interface, that is, at this time, The client restarts charging of the mobile terminal.
- the mobile terminal after detecting that the mobile terminal connects with the client, the mobile terminal establishes an association relationship between the mobile terminal and the client, and sends the association relationship to the cloud server.
- the mobile terminal determines that the current battery is lower than the second preset value, generates a charging command, and sends the charging command to the cloud server, so that the cloud server forwards the charging instruction to the client according to the association relationship.
- the cloud server should store the association relationship between the mobile terminal and the client in a database such as a cloud server.
- the mobile terminal can obtain the identity code of the client, for example, the physical address MAC (Media Access Control) of the personal computer PC (Personal Computer).
- the mobile terminal can establish a mapping relationship between the obtained identity of the client and the identity code of the mobile terminal itself, for example, an IMEI number (International Mobile Equipment Identity), and then the mapping relationship is performed by the mobile terminal.
- the cloud server may save the mapping relationship in a database of, for example, a cloud server.
- the cloud server may identify the mobile terminal by using the stored relationship between the mobile terminal and the client, and identify the charging instruction. The corresponding client then forwards the charging and cooling to the corresponding client.
- the mobile terminal of the embodiment of the invention can reduce the meaningless charging and discharging times of the mobile terminal, and avoids the state that the mobile terminal is overcharged or overdischarged for a long time, thereby effectively reducing the attenuation of the battery capacity and prolonging the battery of the mobile terminal.
- the power-off command and the charging command effectively control the cycle of charging the mobile terminal battery, reduce the meaningless full charging cycle, and avoid the problem of repeated charging and discharging caused by frequent connection of the mobile terminal and the client through the USB interface, thereby avoiding the problem.
- the actual use capacity of the battery is reduced due to the meaningless full charge cycle.
- the present invention also provides a storage medium for storing an application for performing a control method of charging a mobile terminal according to an embodiment of the present invention at runtime.
- the storage medium detects the battery power of the mobile terminal in real time, and analyzes the current power of the mobile terminal. When the current power exceeds the first preset value, the client disconnects the USB interface from the mobile terminal. Effective control of electricity. Thereby, the meaningless charging and discharging times of the mobile terminal can be reduced, and the mobile terminal is prevented from being overcharged for a long time after being fully charged, thereby effectively reducing the attenuation of the battery capacity and prolonging the service life of the mobile terminal battery.
- portions of the invention may be implemented in hardware, software, firmware or a combination thereof.
- multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
- a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented with any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
- the description of the terms “one embodiment”, “some embodiments”, “example”, “specific example”, or “some examples” and the like means a specific feature described in connection with the embodiment or example.
- a structure, material or feature is included in at least one embodiment or example of the invention.
- the schematic representation of the above terms does not necessarily mean the same embodiment or example.
- the particular features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples.
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Manufacturing & Machinery (AREA)
- Chemical & Material Sciences (AREA)
- Chemical Kinetics & Catalysis (AREA)
- Electrochemistry (AREA)
- General Chemical & Material Sciences (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
提供一种移动终端充电的控制方法、装置、系统和移动终端。其中,该方法包括以下步骤:当移动终端检测到与客户端连接时,获取当前电量;以及当移动终端判断当前电量超过第一预设值时,生成断电指令,并将断电指令发送至客户端,以使客户端对移动终端断电。可减少移动终端无意义的充放电次数,并且避免了移动终端在充满电之后长时间处于过充的状态,从而有效地减缓了电池容量的衰减,延长了移动终端电池的使用寿命。
Description
移动终端充电的控制方法、 装置、 系统和移动终端
技术领域
本发明涉及移动终端制造技术领域, 尤其涉及一种移动终端充电的控制方法、 装置、 系统和移动终端。 背景技术
锂电池技术为各种移动终端提供了性能保障, 由于锂电池的功率密度较高, 因此锂电 池可为移动终端提供更长的使用时间。 并且由于锂电池没有记忆效应, 因此锂电池无需在 完全放电之后再进行充电, 也就是说可以随时为锂电池进行充电。
目前, 大多数锂电池均采用一种快速充电的方式, 可快速的为其充满 80%左右的电量, 然后再转换为连续补充式充电方式为其继续充电。 然而, 虽然锂电池均可多次对其进行充 电, 但充电次数有限, 并且锂电池可重复的充电次数视锂电池的充电周期而定。 具体地, 锂电池的一个充电周期并不等于充一次电, 而是用完锂电池的所有电量。 例如, 将锂电池 的电量用掉一半, 然后为其充满电, 然后第二次还是如此, 又将锂电池的电量用掉一半, 然后又为其充满电。 此时, 才算作锂电池的一个完整的充电周期。 锂电池每完成一个充电 周期后, 锂电池的容量就会减少一点。
实现本发明的过程中, 发明人发现现有技术至少存在以下问题: 当移动终端 USB (Universal Serial Bus,通用串行总线) 接口连接到客户端时, 客户端可以通过 USB接口为 移动终端提供 5V左右的电压, 移动终端通常可以通过连接客户端的 USB接口达到充电的 目的。 然而由于移动终端和客户端连接之后, 客户端即开始对移动终端进行充电, 并且有 时由于频繁连接移动终端和客户端, 因此, 往往在移动终端不需要进行充电时, 客户端会 对移动终端进行无意义的充放电。 因此, 增加了锂电池的完全充电次数, 导致锂电池容量 的衰减, 降低了锂电池的使用寿命。 发明内容
本发明旨在至少解决上述技术问题之一。
为此, 本发明的第一个目的在于提出一种移动终端充电的控制方法。该方法可减少移 动终端无意义的充放电次数, 并且避免了移动终端在充满电之后长时间处于过充的状态, 从而有效地减缓了电池容量的衰减, 延长了移动终端电池的使用寿命。
本发明的第二个目的在于提出一种移动终端充电的控制装置。
本发明的第三个目的在于提出一种移动终端充电的控制系统。
本发明的第四个目的在于提出一种移动终端。
本发明的第五个目的在于提出一种存储介质。
为了实现上述目的, 本发明第一方面实施例的移动终端充电的控制方法, 包括以下步 骤: 当移动终端检测到与客户端连接时, 获取当前电量; 以及当所述移动终端判断所 述当前电量超过第一预设值时, 生成断电指令, 并将所述断电指令发送至所述客户端, 以使所述客户端对所述移动终端断电。
本发明实施例的移动终端充电的控制方法, 通过实时检测移动终端的电池电量, 并 对移动终端的当前电量进行分析, 在当前电量超过第一预设值时, 使客户端对 USB接 口进行对移动终端断电的有效控制。 由此, 可以减少移动终端无意义的充放电次数, 并且避免了移动终端在充满电之后长时间处于过充的状态, 从而有效地减缓了电池容 量的衰减, 延长了移动终端电池的使用寿命。
为了实现上述目的, 本发明第二方面实施例的移动终端充电的控制装置, 包括: 检测模块, 用于当移动终端检测到与客户端连接时, 获取当前电量; 第一生成模块, 用于当所述移动终端判断所述当前电量超过第一预设值时, 生成断电指令; 以及发送 模块, 用于将所述断电指令发送至所述客户端, 以使所述客户端对所述移动终端断电。
本发明实施例的移动终端充电的控制装置, 通过实时检测移动终端的电池电量, 并 对移动终端的当前电量进行分析, 在当前电量超过第一预设值时, 使客户端对 USB接 口进行对移动终端断电的有效控制。 由此, 可以减少移动终端无意义的充放电次数, 并且避免了移动终端在充满电之后长时间处于过充的状态, 从而有效地减缓了电池容 量的衰减, 延长了移动终端电池的使用寿命。
为了实现上述目的, 本发明第三方面实施例的移动终端充电的控制系统, 包括: 移动终端和客户端, 其中, 所述移动终端, 用于当移动终端检测到与客户端连接时, 获取当前电量, 并当所述移动终端判断所述当前电量超过第一预设值时, 生成断电指 令, 以及将所述断电指令发送至所述客户端; 所述客户端, 用于接收所述移动终端发 送的所述断电指令, 并根据所述断电指令对所述移动终端断电。
本发明实施例的移动终端充电的控制系统, 通过实时检测移动终端的电池电量, 并 对移动终端的当前电量进行分析, 在当前电量超过第一预设值时, 使客户端对 USB接 口进行对移动终端断电的有效控制。 由此, 可以减少移动终端无意义的充放电次数, 并且避免了移动终端在充满电之后长时间处于过充的状态, 从而有效地减缓了电池容 量的衰减, 延长了移动终端电池的使用寿命。
为了实现上述目的, 本发明第四方面实施例的移动终端, 包括: 外壳, 屏幕, 处理 器和电路板; 所述屏幕安置在所述外壳上, 所述电路板安置在所述外壳围成的空间内部,
所述处理器设置在所述电路板上; 所述处理器用于处理数据, 具体用于: 当移动终端检测 到与客户端连接时, 获取当前电量; 以及当判断所述当前电量超过第一预设值时, 生 成断电指令, 并将所述断电指令发送至所述客户端, 以使所述客户端对所述移动终端 断电。
本发明实施例的移动终端, 可减少移动终端无意义的充放电次数, 并且避免了移动终 端长时间处于过充电或过放电的状态, 从而有效地减缓了电池容量的衰减, 延长了移动终 端电池的使用寿命。 此外, 通过断电指令和充电指令有效地控制了移动终端电池充电的周 期, 减少无意义的完全充电周期, 避免了移动终端和客户端通过 USB接口频繁连接引起地 反复充放电的问题, 避免了由于无意义的完全充电周期而减少了电池的实际使用容量。
为了实现上述目的, 本发明第五方面实施例的存储介质, 用于存储应用程序, 该应用 程序用于在运行时执行如本发明实施例所述的移动终端充电的控制方法。
根据本发明实施例的存储介质, 通过实时检测移动终端的电池电量, 并对移动终端 的当前电量进行分析, 在当前电量超过第一预设值时, 使客户端对 USB接口进行对移 动终端断电的有效控制。 由此, 可以减少移动终端无意义的充放电次数, 并且避免了 移动终端在充满电之后长时间处于过充的状态, 从而有效地减缓了电池容量的衰减, 延长了移动终端电池的使用寿命。
本发明附加的方面和优点将在下面的描述中部分给出, 部分将从下面的描述中变得明 显, 或通过本发明的实践了解到。 附图说明
本发明上述的和 /或附加的方面和优点从下面结合附图对实施例的描述中将变得明显 和容易理解, 其中,
图 1是本发明一个实施例的移动终端充电的控制方法的流程图;
图 2是本发明一个具体实施例的移动终端充电的控制方法的流程图;
图 3是本发明一个实施例的移动终端充电的控制装置的结构示意图;
图 4是本发明一个具体实施例的移动终端充电的控制装置的结构示意图;
图 5是本发明另一个具体实施例的移动终端充电的控制装置的结构示意图; 以及 图 6是本发明一个实施例的移动终端充电的控制系统的结构示意图。 具体实施方式
下面详细描述本发明的实施例, 所述实施例的示例在附图中示出, 其中自始至终相同 或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。 下面通过参考附图描
述的实施例是示例性的, 仅用于解释本发明, 而不能理解为对本发明的限制。 相反, 本发 明的实施例包括落入所附加权利要求书的精神和内涵范围内的所有变化、 修改和等同物。
在本发明的描述中, 需要理解的是, 术语"第一"、 "第二"等仅用于描述目的, 而不能 理解为指示或暗示相对重要性。 在本发明的描述中, 需要说明的是, 除非另有明确的规定 和限定, 术语"相连"、 "连接 "应做广义理解, 例如, 可以是固定连接, 也可以是可拆卸连 接, 或一体地连接; 可以是机械连接, 也可以是电连接; 可以是直接相连, 也可以通过中 间媒介间接相连。 对于本领域的普通技术人员而言, 可以具体情况理解上述术语在本发明 中的具体含义。 此外, 在本发明的描述中, 除非另有说明, "多个 "的含义是两个或两个以 上。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为, 表示包括一个 或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、 片段或部分, 并且本发明的优选实施方式的范围包括另外的实现, 其中可以不按所示出或讨论的顺序, 包括根据所涉及的功能按基本同时的方式或按相反的顺序, 来执行功能, 这应被本发明的 实施例所属技术领域的技术人员所理解。
目前, 在移动终端与客户端通过 USB接口连接之后, 客户端会立即为移动终端进行充 电, 并且在移动终端充满电后, 客户端仍然会对移动终端供电, 导致移动终端进行无意义 的反复充放电, 并且使得移动终端处于过充的状态。 因此, 增加了移动终端电池的完全充 电次数, 造成了移动终端电池容量的衰减, 从而影响了移动终端电池的实际使用寿命。 如 果客户端可对移动终端的充放电进行有效控制, 则可减少移动终端无意义的充放电次数, 避免移动终端处于过充的状态, 从而延长了移动终端电池的实际使用寿命。 为此, 本发明 提出一种移动终端充电的控制方法。一种移动终端充电的控制方法, 包括以下步骤: 当移 动终端检测到与客户端连接时, 获取当前电量; 以及当移动终端判断当前电量超过第 一预设值时, 生成断电指令, 并将断电指令发送至客户端, 以使客户端对移动终端断 电。
图 1是本发明一个实施例的移动终端充电的控制方法的流程图。
如图 1所示, 移动终端充电的控制方法包括。
S101 , 当移动终端检测到与客户端连接时, 获取当前电量。
在本发明一个实施例中, 移动终端可为例如是手机、 平板电脑、 个人数字助理、 电子 书等具有各种操作系统的硬件设备。客户端可以是个人计算机 PC、 笔记本电脑等具有各种 操作系统的硬件设备。
具体地,当移动终端检测到移动终端通过客户端的通用串行总线 USB 接口与客户端连 接时, 移动终端获取移动终端的当前电量。 例如, 在 IOS(Iphone Operation System)操作系
统的移动终端上, 移动终端可通过移动终端中的监控电池电量和电池状态的可编程接口 API ( Application Programming Interface ) , 例如 UI Device (User Interface Device, 用户界面 设备) 中的 Battery Level、 Battery Monitoring Enabled等应用程序, 移动终端通过该应用程 序编程接口可获取移动终端中电池的相关信息。 再例如, 在安卓 Android操作系统的移动 终端中, 移动终端可通过电池医生、手机助手等应用程序对移动终端的当前电量进行检测。 应理解, 上述举例仅仅是为了说明本发明实施例中的方法, 移动终端检测移动终端当前电 量的方法还可以通过其它现有技术实现, 此处不再赘述。
S 102, 当移动终端判断当前电量超过第一预设值时, 生成断电指令, 并将断电指 令发送至客户端, 以使客户端对移动终端断电。
在本发明一个实施例中, 客户端调用客户端的驱动程序编程接口 API, 并根据断 电指令通过驱动程序编程接口断开和移动终端的 USB连接。
其中, 第一预设值可以是移动终端系统中默认的, 还可以是用户根据不同的需求 在移动终端系统中设置的。 例如, 第一预设值可为移动终端电池额定电量的 90% ; 或 者第一预设值还可以为移动终端电池额定电量的 80%等。
具体地, 在移动终端获取移动终端的当前电量之后, 移动终端可判断移该当前电 量是否超过第一预设值。如果移动终端判断该当前电量超过了第一预设值, 则移动终端 生成断电指令, 并将断电指令通过例如安装在移动终端系统中的应用程序等发送至客 户端。 客户端在接收到移动终端发送的断电指令之后, 客户端可调用客户端的驱动程 序编程接口, 通过驱动程序编程接口关闭客户端与移动终端的 USB连接, 即移动终端 停止客户端的 USB接口对移动终端的供电。 例如, 在 Windows操作系统的客户端上, 客户端可通过客户端上的 Windows Driver Kit ( Windows 驱动程序安装包) 控制底层 USB接口的关闭。
本发明实施例的移动终端充电的控制方法, 通过实时检测移动终端的电池电量, 并对移动终端的当前电量进行分析, 在当前电量超过第一预设值时, 使客户端对 USB 接口进行对移动终端断电的有效控制。 由此, 可以减少移动终端无意义的充放电次数, 并且避免了移动终端在充满电之后长时间处于过充的状态,从而有效地减缓了电池容量的 衰减, 延长了移动终端电池的使用寿命。
在客户端对移动终端断电之后, 还可以继续检测移动终端电池的当前电量, 在移 动终端的当前电量过低时, 客户端可重新打开 USB接口供电, 以使客户端重新对移动 终端进行充电。 图 2是本发明一个具体实施例的移动终端充电的控制方法的流程图。
如图 2所示, 移动终端充电的控制方法包括。
S201 , 当移动终端检测到与客户端连接时, 获取当前电量。
5202, 当移动终端判断当前电量超过第一预设值时, 生成断电指令, 并将断电指令发 送至客户端, 以使客户端对移动终端断电。
在本发明一个实施例中, 客户端调用客户端的驱动程序编程接口 API, 并根据断电 指令通过驱动程序编程接口断开和移动终端的 USB连接。
5203, 当移动终端判断当前电量低于第二预设值时, 并将充电指令发送至云端服务 器, 以使云端服务器将充电指令转发至客户端以控制客户端对移动终端充电。
其中,第二预设值可以是移动终端系统中默认的, 还可以是用户根据不同的需求在 移动终端系统中设置的。 例如, 第二预设值可为移动终端电池额定电量的 30% ; 或者 第二预设值还可以为移动终端电池额定电量的 20%等。
具体地, 在客户端对移动终端断电之后, 移动终端继续检测移动终端的当前电量。 应当理解, 如果移动终端是通过电池医生、 或者手机助手等应用程序对移动终端的当 前电量进行检测时, 应当将应用程序安装至移动终端中, 以使移动终端在断开和客户 端的 USB连接之后, 移动终端还可通过应用程序对移动终端的当前电量进行检测。 进 一步而言, 移动终端判断移动终端的当前电量是否低于第二预设值, 如果低于第二预 设值, 则移动终端生成充电指令。 由于此时客户端的 USB接口停止对移动终端进行供 电, 即此时移动终端和客户端的连接状态为断开状态, 因此, 移动终端需要将生成的 充电指令发送至云端服务器, 由云端服务器将该充电指令转发至客户端。
在本发明的一个实施例中, 客户端调用客户端的驱动程序编程接口, 并根据充电指 令通过驱动程序编程接口打开和移动终端的 USB连接。具体地, 客户端在接收到充电指 令之后, 客户端可通过调用驱动程序编程接口打开客户端与移动终端的 USB 连接, 即 客户端开始对移动终端通过 USB接口供电, 也就是说, 此时, 客户端对移动终端重新 开始充电。
在本发明的一个实施例中, 移动终端在检测到与客户端连接之后, 移动终端建立 移动终端和客户端的关联关系, 并将关联关系发送至云端服务器。 换言之, 云端服务 器在例如云端服务器的数据库中应当存储移动终端和客户端对应的关联关系。 举例来 说, 当客户端与移动终端首次进行连接时, 移动终端可获取客户端的身份识别码, 例 如, 个人计算机 PC ( Personal Computer) 的物理地址 MAC ( Media Access Control, 媒 体访问控制) 等。 然后移动终端可建立获取到的客户端的身份识别码和移动终端自身 的身份识别码, 例如, IMEI号 ( International Mobile Equipment Identity, 国际移动设备 身份号) 等的映射关系, 然后移动终端将该映射关系发送至云端服务器进行保存。 云 端服务器在接收到移动终端发送的映射关系之后, 可将该映射关系保存在例如云端服 务器的数据库中。
当移动终端判断当前电量低于第二预设值时, 生成充电指令, 并将充电指令发送 至云端服务器。 云端服务器在接收到移动终端发送的充电指令之后, 云端服务器可通 过存储的移动终端和客户端的关联关系, 对移动终端进行识别, 并且识别该充电指令 所对应的客户端, 然后将该充电制冷转发至对应的客户端。
本发明实施例的移动终端充电的控制方法, 在移动终端的当前电量低于第二预设值 时, 通过向客户端发送充电指令, 以使客户端打开 USB接口的对移动终端重新供电。 从 而, 避免了移动终端电池处于过放电状态, 减少了移动终端电池的损耗, 延长了移动终端 电池的实际使用寿命。 此外, 通过断电指令和充电指令有效地控制了移动终端电池充电的 周期, 减少无意义的完全充电周期, 避免了移动终端和客户端通过 USB接口频繁连接引起 地反复充放电的问题, 避免了由于无意义的完全充电周期而减少了电池的实际使用容量。
为了实现上述实施例, 本发明还提出一种移动终端充电的控制装置。
一种移动终端充电的控制装置, 包括: 获取模块, 用于当移动终端检测到与客户端 连接时, 获取当前电量; 第一生成模块, 用于当移动终端判断当前电量超过第一预设 值时, 生成断电指令; 以及发送模块, 用于将断电指令发送至客户端, 以使客户端对 移动终端断电。
图 3是本发明一个实施例的移动终端充电的控制装置的结构示意图。
如图 3所示, 移动终端充电的控制装置包括: 获取模块 110、 第一生成模块 120和发 送模块 130。
具体地, 获取模块 110用于当移动终端检测到与客户端连接时, 获取当前电量。 其 中, 移动终端可为例如是手机、 平板电脑、 个人数字助理、 电子书等具有各种操作系统的 硬件设备。 客户端可以是个人计算机 PC、 笔记本电脑等具有各种操作系统的硬件设备。 更 具体地, 当移动终端通过客户端的通用串行总线 USB接口与客户端连接时, 获取模块 110 检测移动终端的当前电量。
第一生成模块 120用于当移动终端判断当前电量超过第一预设值时,生成断电指令。 其中, 第一预设值可以是移动终端系统中默认的, 还可以是用户根据不同的需求在移 动终端系统中设置的。 例如, 第一预设值可为移动终端电池额定电量的 90% ; 或者第 一预设值还可以为移动终端电池额定电量的 80%等。更具体地, 在获取模块 110获取移 动终端的当前电量之后, 第一生成模块 120可判断移该当前电量是否超过第一预设值。 如果第一生成模块 120判断该当前电量超过了第一预设值, 则第一生成模块 120生成断 电指令。
发送模块 130用于将断电指令发送至客户端, 以使客户端对移动终端断电。在本发 明一个实施例中, 客户端调用客户端的驱动程序编程接口 API, 并根据断电指令通过
驱动程序编程接口断开和移动终端的 USB连接。 更具体地, 发送模块 130将断电指令通 过例如应用程序等发送至客户端, 客户端在接收到移动终端发送的断电指令之后, 客户 端可调用客户端的驱动程序编程接口, 通过驱动程序编程接口关闭客户端与移动终端 的 USB连接,即移动终端停止客户端的 USB接口对移动终端的供电。例如,在 Windows 操作系统的客户端上, 客户端可通过客户端上的 Windows Driver Kit (Windows 驱动 程序安装包) 控制底层 USB接口的关闭。
本发明实施例的移动终端充电的控制装置, 通过实时检测移动终端的电池电量, 并 对移动终端的当前电量进行分析, 在当前电量超过第一预设值时, 使客户端对 USB接 口进行对移动终端断电的有效控制。 由此, 可以减少移动终端无意义的充放电次数, 并且避免了移动终端在充满电之后长时间处于过充的状态,从而有效地减缓了电池容量的 衰减, 延长了移动终端电池的使用寿命。
图 4是本发明一个具体实施例的移动终端充电的控制装置的结构示意图。
如图 4所示, 移动终端充电的控制装置包括: 获取模块 110、 第一生成模块 120、 发送 模块 130、 第二生成模块 140和第二发送模块 150。
具体地, 第二生成模块 140用于当移动终端判断当前电量低于第二预设值时, 生 成充电指令。 其中, 第二预设值可以是移动终端系统中默认的, 还可以是用户根据不 同的需求在移动终端系统中设置的。 例如, 第二预设值可为移动终端电池额定电量的 30%; 或者第二预设值还可以为移动终端电池额定电量的 20%等。 更具体地, 具体地, 在客户端对移动终端断电之后, 获取模块 110继续检测移动终端的当前电量。第二生成 模块 140判断移动终端的当前电量是否低于第二预设值, 如果低于第二预设值, 则第 二生成模块 140生成充电指令。
第二发送模块 150用于将充电指令发送至云端服务器, 以使云端服务器将充电指 令转发至客户端, 客户端对移动终端充电。 在本发明的一个实施例中, 客户端调用客 户端系统的驱动程序编程接口 API, 并根据充电指令通过驱动程序编程接口打开和移 动终端的 USB连接。 更具体地, 由于此时客户端的 USB接口停止对移动终端进行供 电, 即此时移动终端和客户端的连接状态为断开状态, 因此, 第二发送模块 150 需要 将生成的充电指令发送至云端服务器, 由云端服务器将该充电指令转发至客户端。 第 二发送模块 150可将生成的充电指令发送至云端服务器, 云端服务器接收到移动终端 发送的充电指令之后, 可在云端服务器的例如数据库中查询与该移动终端关联的客户 端, 然后, 云端服务器将该充电指令转发至客户端。 客户端在接收到充电指令之后, 客 户端可通过调用驱动程序编程接口打开客户端与移动终端的 USB连接, 即客户端开始 对移动终端通过 USB接口供电, 也就是说, 此时, 客户端对移动终端重新开始充电。
本发明实施例的移动终端充电的控制装置, 在移动终端的当前电量低于第二预设 值时,通过向客户端发送充电指令, 以使客户端打开 USB接口的对移动终端重新供电。 从而, 避免了移动终端电池处于过放电状态, 减少了移动终端电池的损耗, 延长了移 动终端电池的实际使用寿命。 此外, 通过断电指令和充电指令有效地控制了移动终端 电池充电的周期, 减少无意义的完全充电周期, 避免了移动终端和客户端通过 USB接 口频繁连接引起地反复充放电的问题, 避免了由于无意义的完全充电周期而减少了电 池的实际使用容量。
图 5是本发明另一个具体实施例的移动终端充电的控制装置的结构示意图。
如图 5所示, 移动终端充电的控制装置包括: 获取模块 110、 第一生成模块 120、 发送 模块 130、 第二生成模块 140、 第二发送模块 150和发送模块 160。
具体地, 建立模块 160用于建立移动终端和客户端的关联关系。
第二发送模块 150还用于将关联关系发送至云端服务器。 换言之, 云端服务器在 例如云端服务器的数据库中应当存储移动终端和客户端对应的关联关系。 举例来说, 当客户端与移动终端首次进行连接时, 移动终端可获取客户端的身份识别码, 例如, 个人计算机 PC ( Personal Computer) 的物理地址 MAC ( Media Access Control, 媒体访 问控制) 等。 然后移动终端可建立获取到的客户端的身份识别码和移动终端自身的身 份识别码, 例如, IMEI号 (International Mobile Equipment Identity, 国际移动设备身份 号) 等的映射关系, 然后移动终端将该映射关系发送至云端服务器进行保存。 云端服 务器在接收到移动终端发送的映射关系之后, 可将该映射关系保存在例如云端服务器 的数据库中。
当移动终端判断当前电量低于第二预设值时, 生成充电指令, 并将充电指令发送 至云端服务器。 云端服务器在接收到移动终端发送的充电指令之后, 云端服务器可通 过存储的移动终端和客户端的关联关系, 对移动终端进行识别, 并且识别该充电指令 所对应的客户端, 然后将该充电制冷转发至对应的客户端。
本发明实施例的移动终端充电的控制装置, 建立移动终端和客户端的关联关系, 并 将管理关系发送至云端服务器进行保存, 由此, 可以方便云端服务器查找移动终端对 应的客户端。
一种移动终端充电的控制系统, 包括: 移动终端和客户端, 其中, 移动终端还用 于当移动终端判断当前电量低于第二预设值时, 生成充电指令, 并将充电指令发送至 云端服务器; 云端服务器, 用于将充电指令转发至客户端; 以及客户端还用于接收云 端服务器转发的充电指令, 并根据充电指令对移动终端充电。
图 6是本发明一个实施例的移动终端充电的控制系统的结构示意图。
如图 6所示, 移动终端充电的控制系统包括: 移动终端 10、 客户端 20和云端服务 器 30。
具体地, 移动终端 10用于当移动终端 10检测到与客户端 20连接时, 获取当前电 量, 并当移动终端 10判断当前电量超过第一预设值时, 生成断电指令, 以及将断电指 令发送至客户端 20。 其中, 移动终端 10可为例如是手机、 平板电脑、 个人数字助理、 电子书等具有各种操作系统的硬件设备。 客户端 20可以是个人计算机 PC、 笔记本电 脑等具有各种操作系统的硬件设备。 第一预设值可以是移动终端 10系统中默认的, 还 可以是用户根据不同的需求在移动终端 10系统中设置的。 例如, 第一预设值可为移动 终端 10电池额定电量的 90% ; 或者第一预设值还可以为移动终端 10电池额定电量的 80%等。 更具体地, 当移动终端 10检测到移动终端 10通过客户端 20的通用串行总线 USB接口与客户端 20连接时,移动终端 10获取当前电量。例如,在 IOS(Iphone Operation System)操作系统的移动终端 10上, 可通过移动终端 10中的监控电池电量和电池状态 的可编程接口 API ( Application Programming Interface) (例如, UI Device ( User Interface Device, 用户界面设备) 中的 Battery Lev el、 Battery Monitoring Enabled等应用程序) , 通过该应用程序编程接口可获取移动终端 10 中电池的相关信息。 再例如, 在安卓 Android操作系统的移动终端 10中, 可通过电池医生、 手机助手等应用程序对移动终 端 10的当前电量进行检测。 在移动终端 10获取到移动终端 10的当前电量之后, 移动 终端 10可判断当前电量是否超过第一预设值。 如果移动终端 10判断当前电量超过了 第一预设值, 则生成断电指令, 并将断电指令通过例如安装在移动终端 10系统中的应 用程序等发送至客户端 20。
客户端 20用于接收移动终端 10发送的断电指令, 并根据断电指令对移动终端 10 断电。 更具体地, 客户端 20在接收到移动终端 10发送的断电指令之后, 客户端 20可 调用客户端 20的驱动程序编程接口, 通过该驱动程序编程接口 API关闭客户端 20与 移动终端 10的 USB连接, 即停止客户端 20的 USB接口对移动终端 10的供电。例如, 在 Windows 操作系统的客户端 20 上, 可通过客户端 20 上的 Windows Driver Kit ( Windows 驱动程序安装包) 控制底层 USB接口的关闭。
本发明实施例的移动终端充电的控制系统, 通过实时检测移动终端的电池电量, 并对移动终端的当前电量进行分析, 在当前电量超过第一预设值时, 使客户端对 USB 接口进行对移动终端断电的有效控制。 由此, 可以减少移动终端无意义的充放电次数, 并且避免了移动终端在充满电之后长时间处于过充的状态,从而有效地减缓了电池容量的 衰减, 延长了移动终端电池的使用寿命。
在本发明的一个实施例中, 在客户端 20对移动终端 10断电之后, 移动终端 10还
可以继续检测移动终端 10当前电量, 其中, 移动终端 10还用于判断当前电量低于第 二预设值时, 生成充电指令, 并将充电指令发送至云端服务器 30。 其中, 第二预设值 可以是移动终端 10系统中默认的, 还可以是用户根据不同的需求在移动终端 10系统 中设置的。 例如, 第二预设值可为移动终端 10电池额定电量的 30% ; 或者第二预设值 还可以为移动终端 10电池额定电量的 20%等。 具体地, 在客户端 20对移动终端 10断 电之后, 移动终端 10继续检测移动终端 10的当前电量。 然后, 移动终端 10判断检测 到的移动终端 10的当前电量是否低于第二预设值, 如果低于第二预设值, 则生成充电 指令。 由于此时客户端 20的 USB接口停止对移动终端 10进行供电, 即此时移动终端 10和客户端 20的连接状态为断开状态, 因此, 移动终端 10需要将生成的充电指令发 送至云端服务器 30, 由云端服务器 30将该充电指令转发至客户端 20。
在本发明的一个实施例中, 云端服务器 30用于将充电指令转发至客户端 20, 以使 客户端 20对移动终端 10充电。 具体地, 云端服务器 30在接收到移动终端 10发送的 充电指令之后, 可在云端服务器 30的例如数据库中查询与该移动终端 10关联的客户 端 20, 然后, 云端服务器 30将该充电指令转发至客户端 20。 客户端 20在接收到充电 指令之后,客户端 20通过调用驱动程序编程接口 API打开客户端 20与移动终端 10的 USB连接, 即客户端 20开始对移动终端 10通过 USB接口供电, 也就是说, 客户端 20对移动终端 10重新开始充电。 由此, 可以减少移动终端无意义的充放电次数, 并且 避免了移动终端在充满电之后长时间处于过充的状态, 从而有效地减缓了电池容量的 衰减, 延长了移动终端电池的使用寿命。
在本发明的一个实施例中, 移动终端 10建立移动终端和客户端的关联关系, 并将 关联关系发送至云端服务器 30。 换言之, 云端服务器在例如云端服务器的数据库中应 当存储移动终端和客户端对应的关联关系。 举例来说, 当客户端与移动终端首次进行 连接时, 移动终端可获取客户端的身份识别码, 例如, 个人计算机 PC ( Personal Computer) 的物理地址 MAC ( Media Access Control, 媒体访问控制) 等。 然后移动终 端可建立获取到的客户端的身份识别码和移动终端自身的身份识别码, 例如, IMEI号 ( International Mobile Equipment Identity, 国际移动设备身份号) 等的映射关系, 然后 移动终端将该映射关系发送至云端服务器进行保存。 云端服务器在接收到移动终端发 送的映射关系之后, 可将该映射关系保存在例如云端服务器的数据库中。
当移动终端判断当前电量低于第二预设值时, 生成充电指令, 并将充电指令发送 至云端服务器。 云端服务器在接收到移动终端发送的充电指令之后, 云端服务器可通 过存储的移动终端和客户端的关联关系, 对移动终端进行识别, 并且识别该充电指令 所对应的客户端, 然后将该充电制冷转发至对应的客户端。
为了实现上述实施例, 本发明提出一种移动终端。
一种移动终端, 包括: 外壳, 屏幕, 处理器和电路板; 屏幕安置在外壳上, 电路板安 置在外壳围成的空间内部, 处理器设置在电路板上; 处理器用于处理数据, 具体用于执行 以下步骤:
S 101' , 当移动终端检测到与客户端连接时, 获取当前电量。
在本发明一个实施例中, 移动终端可为例如是手机、 平板电脑、 个人数字助理、 电子 书等具有各种操作系统的硬件设备。客户端可以是个人计算机 PC、 笔记本电脑等具有各种 操作系统的硬件设备。
具体地,当移动终端检测到移动终端通过客户端的通用串行总线 USB 接口与客户端连 接时, 移动终端获取移动终端的当前电量。 例如, 在 IOS(Iphone Operation System)操作系 统的移动终端上, 移动终端可通过移动终端中的监控电池电量和电池状态的可编程接口 API ( Application Programming Interface ) , 例如 UI Device (User Interface Device, 用户界面 设备) 中的 Battery Level、 Battery Monitoring Enabled等应用程序, 移动终端通过该应用程 序编程接口可获取移动终端中电池的相关信息。 再例如, 在安卓 Android操作系统的移动 终端中, 移动终端可通过电池医生、手机助手等应用程序对移动终端的当前电量进行检测。 应理解, 上述举例仅仅是为了说明本发明实施例中的方法, 移动终端检测移动终端当前电 量的方法还可以通过其它现有技术实现, 此处不再赘述。
S 102' , 当移动终端判断当前电量超过第一预设值时, 生成断电指令, 并将断电指 令发送至客户端, 以使客户端对移动终端断电。
在本发明一个实施例中, 客户端调用客户端的驱动程序编程接口 API, 并根据断 电指令通过驱动程序编程接口断开和移动终端的 USB连接。
其中, 第一预设值可以是移动终端系统中默认的, 还可以是用户根据不同的需求 在移动终端系统中设置的。 例如, 第一预设值可为移动终端电池额定电量的 90% ; 或 者第一预设值还可以为移动终端电池额定电量的 80%等。
具体地, 在移动终端获取移动终端的当前电量之后, 移动终端可判断移该当前电 量是否超过第一预设值。如果移动终端判断该当前电量超过了第一预设值, 则移动终端 生成断电指令, 并将断电指令通过例如安装在移动终端系统中的应用程序等发送至客 户端。 客户端在接收到移动终端发送的断电指令之后, 客户端可调用客户端的驱动程 序编程接口, 通过驱动程序编程接口关闭客户端与移动终端的 USB连接, 即移动终端 停止客户端的 USB接口对移动终端的供电。 例如, 在 Windows操作系统的客户端上, 客户端可通过客户端上的 Windows Driver Kit ( Windows 驱动程序安装包) 控制底层 USB接口的关闭。
S 103', 当移动终端判断当前电量低于第二预设值时, 并将充电指令发送至云端服务 器, 以使云端服务器将充电指令转发至客户端以控制客户端对移动终端充电。
其中,第二预设值可以是移动终端系统中默认的, 还可以是用户根据不同的需求在 移动终端系统中设置的。 例如, 第二预设值可为移动终端电池额定电量的 30% ; 或者 第二预设值还可以为移动终端电池额定电量的 20%等。
具体地, 在客户端对移动终端断电之后, 移动终端继续检测移动终端的当前电量。 应当理解, 如果移动终端是通过电池医生、 或者手机助手等应用程序对移动终端的当 前电量进行检测时, 应当将应用程序安装至移动终端中, 以使移动终端在断开和客户 端的 USB连接之后, 移动终端还可通过应用程序对移动终端的当前电量进行检测。 进 一步而言, 移动终端判断移动终端的当前电量是否低于第二预设值, 如果低于第二预 设值, 则移动终端生成充电指令。 由于此时客户端的 USB接口停止对移动终端进行供 电, 即此时移动终端和客户端的连接状态为断开状态, 因此, 移动终端需要将生成的 充电指令发送至云端服务器, 由云端服务器将该充电指令转发至客户端。
在本发明的一个实施例中, 客户端调用客户端的驱动程序编程接口, 并根据充电指 令通过驱动程序编程接口打开和移动终端的 USB连接。具体地, 客户端在接收到充电指 令之后, 客户端可通过调用驱动程序编程接口打开客户端与移动终端的 USB 连接, 即 客户端开始对移动终端通过 USB接口供电, 也就是说, 此时, 客户端对移动终端重新 开始充电。
在本发明的一个实施例中, 移动终端在检测到与客户端连接之后, 移动终端建立 移动终端和客户端的关联关系, 并将关联关系发送至云端服务器。 当移动终端判断当 前电量低于第二预设值时, 生成充电指令, 并将充电指令发送至云端服务器, 以使云 端服务器根据关联关系将充电指令转发至客户端。 换言之, 云端服务器在例如云端服 务器的数据库中应当存储移动终端和客户端对应的关联关系。 举例来说, 当客户端与 移动终端首次进行连接时, 移动终端可获取客户端的身份识别码, 例如, 个人计算机 PC ( Personal Computer) 的物理地址 MAC ( Media Access Control, 媒体访问控制)等。 然后移动终端可建立获取到的客户端的身份识别码和移动终端自身的身份识别码, 例 如, IMEI号 (International Mobile Equipment Identity, 国际移动设备身份号)等的映射 关系, 然后移动终端将该映射关系发送至云端服务器进行保存。 云端服务器在接收到 移动终端发送的映射关系之后, 可将该映射关系保存在例如云端服务器的数据库中。
当移动终端判断当前电量低于第二预设值时, 生成充电指令, 并将充电指令发送 至云端服务器。 云端服务器在接收到移动终端发送的充电指令之后, 云端服务器可通 过存储的移动终端和客户端的关联关系, 对移动终端进行识别, 并且识别该充电指令
所对应的客户端, 然后将该充电制冷转发至对应的客户端。
本发明实施例的移动终端, 可减少移动终端无意义的充放电次数, 并且避免了移动终 端长时间处于过充电或过放电的状态, 从而有效地减缓了电池容量的衰减, 延长了移动终 端电池的使用寿命。 此外, 通过断电指令和充电指令有效地控制了移动终端电池充电的周 期, 减少无意义的完全充电周期, 避免了移动终端和客户端通过 USB接口频繁连接引起地 反复充放电的问题, 避免了由于无意义的完全充电周期而减少了电池的实际使用容量。
为了实现上述实施例, 本发明还提出一种存储介质, 用于存储应用程序, 该应用程序 用于在运行时执行如本发明实施例所述的移动终端充电的控制方法。
根据本发明实施例的存储介质, 通过实时检测移动终端的电池电量, 并对移动终端 的当前电量进行分析, 在当前电量超过第一预设值时, 使客户端对 USB接口进行对移 动终端断电的有效控制。 由此, 可以减少移动终端无意义的充放电次数, 并且避免了 移动终端在充满电之后长时间处于过充的状态, 从而有效地减缓了电池容量的衰减, 延长 了移动终端电池的使用寿命。
应当理解, 本发明的各部分可以用硬件、 软件、 固件或它们的组合来实现。 在上述实 施方式中, 多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或 固件来实现。 例如, 如果用硬件来实现, 和在另一实施方式中一样, 可用本领域公知的下 列技术中的任一项或他们的组合来实现: 具有用于对数据信号实现逻辑功能的逻辑门电路 的离散逻辑电路, 具有合适的组合逻辑门电路的专用集成电路, 可编程门阵列 (PGA), 现 场可编程门阵列 (FPGA) 等。
在本说明书的描述中, 参考术语"一个实施例"、 "一些实施例"、 "示例"、 "具体示例"、 或"一些示例"等的描述意指结合该实施例或示例描述的具体特征、 结构、 材料或者特点包 含于本发明的至少一个实施例或示例中。 在本说明书中, 对上述术语的示意性表述不一定 指的是相同的实施例或示例。 而且, 描述的具体特征、 结构、 材料或者特点可以在任何的 一个或多个实施例或示例中以合适的方式结合。
尽管已经示出和描述了本发明的实施例, 本领域的普通技术人员可以理解: 在不脱离 本发明的原理和宗旨的情况下可以对这些实施例进行多种变化、 修改、 替换和变型, 本发 明的范围由权利要求及其等同物限定。
Claims
1、 一种移动终端充电的控制方法, 其特征在于, 包括以下步骤:
当移动终端检测到与客户端连接时, 获取当前电量; 以及
当所述移动终端判断所述当前电量超过第一预设值时, 生成断电指令, 并将所述 断电指令发送至所述客户端, 以使所述客户端对所述移动终端断电。
2、 如权利要求 1所述的方法, 其特征在于, 所述移动终端通过通用串行总线 USB 接口与所述客户端连接, 所述将断电指令发送至所述客户端, 以使所述客户端对所述 移动终端断电, 包括:
将断电指令发送至所述客户端, 以使所述客户端调用所述客户端的驱动程序编程 接口 API,并根据所述断电指令通过所述驱动程序编程接口断开和所述移动终端的 USB 的连接。
3、 如权利要求 1或 2所述的方法, 其特征在于, 在所述客户端对所述移动终端断 电之后, 还包括:
当所述移动终端判断所述当前电量低于第二预设值时, 生成充电指令, 并将所述 充电指令发送至云端服务器, 以使所述云端服务器将所述充电指令转发至所述客户端 以控制所述客户端对所述移动终端充电。
4、 如权利要求 3所述的方法, 其特征在于, 所述将充电指令发送至云端服务器, 以使所述云端服务器将所述充电指令转发至所述客户端以控制所述客户端对所述移动 终端充电, 还包括:
将充电指令发送至云端服务器, 以使所述云端服务器将所述充电指令转发至所述 客户端以控制所述客户端调用所述客户端的驱动程序编程接口, 并根据所述充电指令 通过所述驱动程序编程接口打开和所述移动终端的 USB连接。
5、 如权利要求 1-4任一项所述的方法, 其特征在于, 在所述当移动终端检测到与 客户端连接之后, 还包括:
所述移动终端建立和所述客户端的关联关系, 并将所述关联关系发送至所述云端 服务器;
当所述移动终端判断所述当前电量低于第二预设值时, 生成充电指令, 并将所述 充电指令发送至云端服务器, 以使所述云端服务器根据所述关联关系将所述充电指令 转发至所述客户端。
6、 一种移动终端充电的控制装置, 其特征在于, 包括:
获取模块, 用于当移动终端检测到与客户端连接时, 获取当前电量; 第一生成模块, 用于当所述移动终端判断所述当前电量超过第一预设值时, 生成 断电指令; 以及
发送模块, 用于将所述断电指令发送至所述客户端, 以使所述客户端对所述移动 终端断电。
7、 如权利要求 6所述的装置, 其特征在于, 将断电指令发送至所述客户端, 以使 所述客户端用于调用所述客户端的驱动程序编程接口 API, 并根据所述断电指令通过 所述驱动程序编程接口断开和所述移动终端的 USB连接。
8、 如权利要求 6或 7所述的装置, 其特征在于, 还包括:
第二生成模块, 用于当所述移动终端判断所述当前电量低于第二预设值时, 生成 充电指令;
第二发送模块, 用于将所述充电指令发送至云端服务器, 以使所述云端服务器将 所述充电指令转发至所述客户端以控制所述客户端对所述移动终端充电。
9、 如权利要求 8所述的装置, 其特征在于, 将充电指令发送至云端服务器, 以使 所述云端服务器将所述充电指令转发至所述客户端以控制所述客户端调用所述客户端 的驱动程序编程接口, 并根据所述充电指令通过所述驱动程序编程接口打开和所述移 动终端的 USB连接。
10、 如权利要求 6-9任一项所述的装置, 其特征在于, 还包括:
建立模块, 用于建立所述移动终端和所述客户端的关联关系; 以及
所述第二发送模块还用于将所述关联关系发送至所述云端服务器。
11、 一种移动终端充电的控制系统, 其特征在于, 包括: 移动终端和客户端, 其 中,
所述移动终端, 用于当移动终端检测到与客户端连接时, 获取当前电量, 并当所 述移动终端判断所述当前电量超过第一预设值时, 生成断电指令, 以及将所述断电指 令发送至所述客户端;
所述客户端, 用于接收所述移动终端发送的所述断电指令, 并根据所述断电指令 对所述移动终端断电。
12、 如权利要求 11所述的系统, 其特征在于, 所述系统还包括: 云端服务器, 其 中,
所述移动终端还用于当所述移动终端判断所述当前电量低于第二预设值时, 生成 充电指令, 并将所述充电指令发送至云端服务器;
所述云端服务器, 用于将所述充电指令转发至所述客户端; 以及
所述客户端还用于接收所述云端服务器转发的所述充电指令, 并根据所述充电指 令对所述移动终端充电。
13、 一种移动终端, 其特征在于, 包括: 外壳, 屏幕, 处理器和电路板; 所述屏幕安置在所述外壳上, 所述电路板安置在所述外壳围成的空间内部, 所述 处理器设置在所述电路板上;
所述处理器用于处理数据, 具体用于:
当移动终端检测到与客户端连接时, 获取当前电量; 以及
当判断所述当前电量超过第一预设值时, 生成断电指令, 并将所述断电指令 发送至所述客户端, 以使所述客户端对所述移动终端断电。
14、 如权利要求 13所述的移动终端, 其特征在于, 其中, 所述移动终端通过通用 串行总线 USB接口与所述客户端连接, 所述处理器具体用于:
将断电指令发送至所述客户端, 以使所述客户端调用所述客户端的驱动程序编程 接口 API,并根据所述断电指令通过所述驱动程序编程接口断开和所述移动终端的 USB 连接。
15、 如权利要求 13或 14所述的移动终端, 其特征在于, 在所述客户端对所述移 动终端断电之后, 所述处理器还用于:
当判断所述当前电量低于第二预设值时, 生成充电指令, 并将所述充电指令发送 至云端服务器, 以使所述云端服务器将所述充电指令转发至所述客户端以控制所述客 户端对所述移动终端充电。
16、 如权利要求 15所述的移动终端, 其特征在于, 所述处理器具体用于: 将充电指令发送至云端服务器, 所述云端服务器将所述充电指令转发至所述客户 端以控制所述客户端调用所述客户端的驱动程序编程接口 API, 并根据所述充电指令 通过所述驱动程序编程接口打开和所述移动终端的 USB连接。
17、 如权利要求 13-16任一项所述的移动终端, 其特征在于, 在所述当移动终端检 测到与客户端连接之后, 所述处理器还用于:
建立所述移动终端和所述客户端的关联关系, 并将所述关联关系发送至所述云端 服务器;
当判断所述当前电量低于第二预设值时, 生成充电指令, 并将所述充电指令发送 至云端服务器, 以使所述云端服务器将所述充电指令转发至所述客户端。
18、 一种存储介质, 其特征在于, 用于存储应用程序, 所述应用程序用于在运行时执 行如权利要求 1-5任一项所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310706371.7A CN103700900B (zh) | 2013-12-19 | 2013-12-19 | 移动终端充电的控制方法、装置、系统和移动终端 |
CN201310706371.7 | 2013-12-19 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015090077A1 true WO2015090077A1 (zh) | 2015-06-25 |
Family
ID=50362354
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/084188 WO2015090077A1 (zh) | 2013-12-19 | 2014-08-12 | 移动终端充电的控制方法、装置、系统和移动终端 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103700900B (zh) |
WO (1) | WO2015090077A1 (zh) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103700900B (zh) * | 2013-12-19 | 2016-09-28 | 贝壳网际(北京)安全技术有限公司 | 移动终端充电的控制方法、装置、系统和移动终端 |
CN104283259B (zh) * | 2014-09-22 | 2017-12-05 | 小米科技有限责任公司 | 供电处理的方法和装置 |
CN105244955A (zh) * | 2015-10-19 | 2016-01-13 | 杭州德澜科技有限公司 | 一种自动识别充电的电子设备的方法 |
CN105762888A (zh) * | 2016-04-22 | 2016-07-13 | 金陵科技学院 | 一种智能笔记本电脑电池活化器 |
US11646591B2 (en) * | 2019-05-09 | 2023-05-09 | Apple Inc. | Indication for protective charging mode |
CN110568916A (zh) * | 2019-09-06 | 2019-12-13 | 秒针信息技术有限公司 | 一种设备充电的控制方法、装置、电子设备及存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080218125A1 (en) * | 2007-03-09 | 2008-09-11 | Ravi Prakash Bansal | Battery Charging System |
CN101783427A (zh) * | 2010-01-19 | 2010-07-21 | 中兴通讯股份有限公司 | 一种终端的智能充电方法和智能充电装置 |
CN103019350A (zh) * | 2011-09-22 | 2013-04-03 | 奇智软件(北京)有限公司 | 一种用于具有供电接口的终端的关闭控制方法及系统 |
CN103413986A (zh) * | 2013-08-27 | 2013-11-27 | 贝壳网际(北京)安全技术有限公司 | 实现移动终端充满电后自动停止充电的方法及装置 |
CN103700900A (zh) * | 2013-12-19 | 2014-04-02 | 贝壳网际(北京)安全技术有限公司 | 移动终端充电的控制方法、装置、系统和移动终端 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1516507A (zh) * | 2003-01-01 | 2004-07-28 | 宋春雨 | 内嵌usb接口快闪存储器的新型手机 |
KR100643750B1 (ko) * | 2004-07-28 | 2006-11-10 | 주식회사 레인콤 | 유에스비를 이용한 배터리 충전 장치 및 그 충전 방법 |
CN101694889B (zh) * | 2009-10-20 | 2015-06-03 | 中兴通讯股份有限公司 | 智能充电方法和装置 |
CN102709963A (zh) * | 2012-05-07 | 2012-10-03 | 北京小米科技有限责任公司 | 一种备用电源装置 |
CN102832670B (zh) * | 2012-09-06 | 2014-12-24 | 南京物联传感技术有限公司 | 汽车充电系统 |
-
2013
- 2013-12-19 CN CN201310706371.7A patent/CN103700900B/zh not_active Expired - Fee Related
-
2014
- 2014-08-12 WO PCT/CN2014/084188 patent/WO2015090077A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080218125A1 (en) * | 2007-03-09 | 2008-09-11 | Ravi Prakash Bansal | Battery Charging System |
CN101783427A (zh) * | 2010-01-19 | 2010-07-21 | 中兴通讯股份有限公司 | 一种终端的智能充电方法和智能充电装置 |
CN103019350A (zh) * | 2011-09-22 | 2013-04-03 | 奇智软件(北京)有限公司 | 一种用于具有供电接口的终端的关闭控制方法及系统 |
CN103413986A (zh) * | 2013-08-27 | 2013-11-27 | 贝壳网际(北京)安全技术有限公司 | 实现移动终端充满电后自动停止充电的方法及装置 |
CN103700900A (zh) * | 2013-12-19 | 2014-04-02 | 贝壳网际(北京)安全技术有限公司 | 移动终端充电的控制方法、装置、系统和移动终端 |
Also Published As
Publication number | Publication date |
---|---|
CN103700900B (zh) | 2016-09-28 |
CN103700900A (zh) | 2014-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2015090077A1 (zh) | 移动终端充电的控制方法、装置、系统和移动终端 | |
TWI453566B (zh) | 功率控制管理器及方法 | |
US11011925B2 (en) | Battery charging apparatus and method, terminal, power adapter, and storage medium | |
KR102315042B1 (ko) | 역방향 충전 기기 | |
US7795842B2 (en) | Adjustable cut-off voltage for mobile device battery | |
JP5669320B2 (ja) | 電子機器 | |
JP2013143911A (ja) | 電池充電システム及びその方法 | |
CN112540304B (zh) | 电池电量管理方法、电子设备及计算机存储介质 | |
WO2015027889A1 (zh) | 实现移动终端充满电后自动停止充电的方法及装置 | |
CN104135053A (zh) | 电量共享方法和装置 | |
KR101511886B1 (ko) | 에너지 저장 디바이스들을 충전하기 위한 방법 및 디바이스 | |
CN111464674B (zh) | 一种电子设备及其充电时温度控制方法 | |
CN108513616A (zh) | 一种电池漏电流检测方法、装置和电路 | |
CN105576753A (zh) | 一种信息处理方法及电子设备 | |
TW201329682A (zh) | 電子裝置供電系統及方法 | |
US9348397B2 (en) | Method of power management, portable system and portable power bank | |
CN106356946A (zh) | 充电方法及装置 | |
CN104956567B (zh) | 一种开启近场通信nfc无线充电服务的方法和设备 | |
WO2014190831A1 (zh) | 一种电池控制方法、装置、终端及计算机存储介质 | |
CN112448429B (zh) | 一种控制方法、终端及计算机存储介质 | |
CN109638930B (zh) | 电池充电控制方法及供电系统 | |
US20200379542A1 (en) | Battery state wireless displaying device and method | |
CN103199604A (zh) | 电子装置供电系统及方法 | |
US20240272696A1 (en) | Electronic device and performance optimization method thereof | |
CN117175752B (zh) | 充电异常处理方法、设备、系统、存储介质及程序产品 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14871102 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14871102 Country of ref document: EP Kind code of ref document: A1 |