WO2017012267A1 - 充电方法及装置 - Google Patents

充电方法及装置 Download PDF

Info

Publication number
WO2017012267A1
WO2017012267A1 PCT/CN2015/098849 CN2015098849W WO2017012267A1 WO 2017012267 A1 WO2017012267 A1 WO 2017012267A1 CN 2015098849 W CN2015098849 W CN 2015098849W WO 2017012267 A1 WO2017012267 A1 WO 2017012267A1
Authority
WO
WIPO (PCT)
Prior art keywords
power
charging
remaining
slave device
slave
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.)
Ceased
Application number
PCT/CN2015/098849
Other languages
English (en)
French (fr)
Inventor
雷振飞
孙伟
王向东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to KR1020167004583A priority Critical patent/KR101869410B1/ko
Priority to MX2016002130A priority patent/MX360309B/es
Priority to RU2016116959A priority patent/RU2642439C2/ru
Priority to JP2017529130A priority patent/JP6273404B2/ja
Publication of WO2017012267A1 publication Critical patent/WO2017012267A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
    • H02J7/34Parallel operation in networks using both storage and other DC sources, e.g. providing buffering
    • H02J7/342The other DC source being a battery actively interacting with the first one, i.e. battery to battery charging
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
    • H02J7/80Circuit arrangements for charging or discharging batteries or for supplying loads from batteries including monitoring or indicating arrangements
    • H02J7/82Control of state of charge [SOC]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Definitions

  • the present disclosure relates to the field of smart device technologies, and in particular, to a charging method and device.
  • Smart devices play an increasingly important role in people's daily lives, but because of the small built-in battery capacity, portable smart devices such as smart phones have the problem of short battery life.
  • users usually carry a mobile power source to provide additional power to the smart device when the smart device is low.
  • mobile power supplies are usually bulky and are not suitable for users to carry around.
  • Embodiments of the present disclosure provide a charging method and apparatus, which are as follows:
  • the O interface is connected, and the method includes:
  • the charging direction is the first charging direction, determining that the charging operation is to be charged by the master device to the slave device;
  • the charging direction is the second charging direction, determining that the charging operation is to be charged by the slave device to the master device;
  • a corresponding charging instruction is sent to the power management chip of the master device and the power management chip of the slave device.
  • a charging method for connecting, from a device, a multi-function I/O interface of a slave device to a multi-function I/O interface of the master device through a connection line, the method comprising:
  • the charging command master device receives a charging instruction sent by the master device to the power management chip of the slave device; the charging command master device generates the charging operation determined according to the charging direction set by the user;
  • the charging operation is completed with the main device through the connection line and the power management chip.
  • a charging apparatus for a main device wherein a multi-function I/O interface of the main device is connected to a multi-function I/O interface of the slave device through a connection line, the device comprising:
  • a receiving module configured to receive a setting signal and determine a charging direction according to the setting signal
  • a first determining module configured to determine that the charging operation is to be charged by the master device to the slave device when the charging direction is the first charging direction
  • a second determining module configured to determine that the charging operation is to be charged by the slave device to the master device when the charging direction is the second charging direction;
  • the first sending module is configured to send a corresponding charging instruction to the power management chip of the master device and the power management chip of the slave device according to the charging operation.
  • a charging apparatus for connecting, from a device, a multi-function I/O interface of a slave device to a multi-function I/O interface of the master device through a connection line, the device comprising:
  • the instruction receiving module is configured to receive a charging instruction sent by the master device to the power management chip of the slave device; the charging command master device generates the charging operation determined according to the charging direction set by the user;
  • the charging module is configured to perform a charging operation with the main device through the connection line and the power management chip according to the charging instruction.
  • a charging apparatus comprising:
  • a memory for storing executable instructions of the processor
  • processor is configured to:
  • the charging direction is the first charging direction, determining that the charging operation is to be charged by the master device to the slave device;
  • the charging direction is the second charging direction, determining that the charging operation is to be charged by the slave device to the master device;
  • a corresponding charging instruction is sent to the power management chip of the master device and the power management chip of the slave device.
  • a charging apparatus comprising:
  • a memory for storing executable instructions of the processor
  • processor is configured to:
  • the charging command master device receives a charging instruction sent by the master device to the power management chip of the slave device; the charging command master device generates the charging operation determined according to the charging direction set by the user;
  • the charging operation is completed with the main device through the connection line and the power management chip.
  • the main device sends a corresponding charging instruction to the power management chip of the master device and the slave device according to the set charging direction, thereby implementing charging for the slave device or charging the slave device as the master device; and solving the charging of the smart device by using the mobile power source, Due to the large volume of the mobile power source, it is not conducive to the problem of the user; the two smart devices connected by the connection line are realized, that is, the charging direction between the smart devices can be achieved according to the charging direction set by the user.
  • FIG. 1 is a schematic structural diagram of an implementation environment involved in a charging method according to various embodiments of the present invention
  • 2A is a flowchart of a method of charging according to an exemplary embodiment
  • 2B is a flowchart of a method of setting a charging direction process involved in a charging method according to an exemplary embodiment
  • 2C is a flowchart of a method of a power control progress bar update process involved in a charging method according to another exemplary embodiment
  • FIG. 3 is a flowchart of a method of charging according to another exemplary embodiment
  • 4A is a flowchart of a method of charging according to still another exemplary embodiment
  • FIG. 4B is a flowchart of a method for displaying a power control progress bar according to a charging method according to still another exemplary embodiment
  • FIG. 4C and 4D are schematic views showing the implementation of the charging method shown in FIG. 4A;
  • FIG. 5 is a block diagram showing the structure of a charging apparatus according to an exemplary embodiment
  • FIG. 6 is a block diagram showing the structure of a charging apparatus according to another exemplary embodiment
  • FIG. 7 is a block diagram showing the structure of a charging apparatus according to still another exemplary embodiment.
  • FIG. 8 is a block diagram of a charging apparatus, according to an exemplary embodiment.
  • FIG. 1 is a schematic structural diagram of an implementation environment involved in a charging method provided by various embodiments of the present invention.
  • the implementation environment includes a master device 120, a slave device 140, and a connection line 160.
  • the master device 120 and the slave device 140 are electronic devices having a multifunctional I/O interface, which may be a smart phone, a tablet computer, an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image compression standard). Audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV) player or laptop portable computer, and the like.
  • the master device 120 and the slave device 140 have the same multi-function I/O interface, and the multi-function I/O interface enables conversion between the master device and the slave device.
  • the multi-function I/O interface can be a Type C interface.
  • connection line 160 The master device 120 and the slave device 140 are connected by a connection line 160.
  • Connector 162 and connector of the connecting wire 160 164 matches the multifunction I/O interfaces of the master device 120 and the slave device 140, respectively.
  • the connection line 160 is a Type C connection line
  • the connector 162 and the connector 164 of the Type C connection line are both Type C connectors.
  • the master device 120 and the slave device 140 are smart phones, and the multi-function I/O interface on the master device 120 and the slave device 140 is a Type C interface, and the connection line 160 is a Type C connection.
  • the drawings are exemplified and are not intended to limit the disclosure.
  • FIG. 2A is a flow chart of a method of charging according to an exemplary embodiment.
  • the charging method is used as an example for the main device 120 in the implementation environment shown in FIG. 1, and the method includes:
  • step 201 receiving a setting signal, and determining a charging direction according to the setting signal
  • step 202 when the charging direction is the first charging direction, determining that the charging operation is to be charged by the master device to the slave device;
  • step 203 when the charging direction is the second charging direction, determining that the charging operation is to be charged by the slave device to the master device;
  • step 204 according to the charging operation, a corresponding charging instruction is sent to the power management chip of the master device and the power management chip of the slave device.
  • the charging method provided by the embodiment sends a corresponding charging instruction to the power management chip of the master device and the slave device according to the set charging direction, thereby implementing charging for the slave device or by the slave device.
  • the device is charged; it solves the problem of charging the smart device by using the mobile power source. Because the mobile power source is large in size, it is not conducive to the user to carry; the two smart devices connected through the connection line are realized, that is, the charging direction can be realized according to the charging direction set by the user. The effect of charging each other between devices.
  • the master device can display the remaining power of the master device and the slave device in the form of a progress bar, and pass the progress.
  • the foregoing step 201 may include the following steps:
  • the initial power information is displayed by the power control progress bar, and the initial power information includes the initial remaining power of the primary device and the initial remaining power of the secondary device as a percentage of the remaining total power; the remaining total power is the initial remaining power of the primary device and the secondary device. The sum of the initial remaining power;
  • step 201B receiving a sliding operation on the power control progress bar
  • the target power information is determined according to the sliding operation; the target power information includes a percentage of the remaining power of the target device and a percentage of the remaining power of the slave device respectively occupying the remaining total power;
  • step 201D the charging direction is determined based on the initial power amount information and the target power amount information.
  • the master device may acquire the current remaining power of the master device and the slave device at predetermined time intervals, and update the progress bar according to the current remaining battery information, as a A possible implementation, as shown in FIG. 2C, the method may further include:
  • step 205 the first power consumption information and the current remaining power of the primary device are acquired every predetermined time interval; the first power consumption information is used to indicate the power consumption of the primary device during charging;
  • step 206 the second power consumption information and the current remaining power of the slave device are read from the slave device by the connection established by the connection line every predetermined time interval; the second power consumption information is used to indicate the consumption of the slave device during the charging period. Electric condition
  • step 207 the power control progress bar is updated according to the current remaining power of the primary device, the current remaining power of the secondary device, the first power consumption information, and the second power consumption information respectively occupying a percentage of the remaining total power.
  • FIG. 3 is a flow chart of a method of charging according to another exemplary embodiment. This embodiment uses the charging method for the slave device 140 in the implementation environment shown in FIG. 1 as an example. The method includes:
  • step 301 receiving a charging instruction sent by the master device to the power management chip of the slave device; the charging command master device generates the charging operation determined according to the charging direction set by the user;
  • step 302 according to the charging instruction, the charging operation is completed with the main device through the connection line and the power management chip.
  • the charging method provided by the embodiment receives the charging instruction sent by the master device to the slave device power management chip from the device, and completes the charging operation with the master device according to the charging command; and solves the problem that the mobile power source is used as the smart device. Charging, due to the large volume of the mobile power supply, is not conducive to the problem of the user; the two smart devices connected by the connection line are realized, that is, the charging direction of the smart devices can be achieved according to the charging direction set by the user.
  • FIG. 4A is a flow chart of a method of charging according to still another exemplary embodiment. This embodiment is described by using the charging method for the implementation environment shown in FIG. 1.
  • the method includes:
  • step 401 the master device displays the initial battery information through the power control progress bar.
  • connection line can be a Type C connection line
  • both ends of the Type C connection line are Type C connectors
  • the multifunctional I/O interfaces of the two smart devices are Type C interfaces
  • the Type C connection line is used.
  • a connection can be established between two smart devices. It should be noted that two smart devices with a Type C interface adopt the Type C protocol.
  • one smart device is the master device, and the other smart device is the slave device.
  • the master device can read and write data to and from the slave device, but the slave device cannot read and write data from the master device. data.
  • the smart device first inserted into the Type C cable is set as the default master device, and correspondingly, the smart device inserted into the Type C cable is set as the default slave device.
  • the master device (or the slave device) can send the master device switch request to the slave device (or the master device), and the slave device (or the master device) switches to the master device according to the master device switch request (or Slave device) and establish new data communication based on the current master-slave relationship.
  • the master device switch request or Slave device
  • the main The device may display the initial power information of the power control progress bar, where the initial power information includes the initial remaining power of the primary device and the percentage of the remaining remaining power of the secondary device respectively; the remaining total power is the initial remaining power of the primary device and the initial device The sum of the remaining power.
  • this step may include the following steps:
  • step 401A the master device acquires the initial remaining amount of power of the master device.
  • the master device of the two smart devices can automatically call a predetermined application, which is used to control the charging operation between the smart devices.
  • the master device can call the corresponding process to obtain the current remaining capacity of the master device, and determine the current remaining battery capacity as the initial remaining power of the master device.
  • step 401B the master device reads the initial remaining power of the slave device corresponding to the slave device through the connection established by the connection line.
  • the master device can read and write data from the slave device, the master device can read the current remaining power of the slave device through the Type C cable while obtaining the remaining power of the slave device, and determine the current remaining battery capacity as the slave device. Initial remaining capacity.
  • step 401C the master device determines, according to the initial remaining power of the primary device and the initial remaining power of the slave device, the progress bar corresponding to the initial remaining power of the primary device and the progress bar corresponding to the initial remaining power of the secondary device respectively. Controls the percentage of the length of the progress bar.
  • the master device calculates the remaining power according to the obtained initial remaining capacity of the master device and the initial remaining battery capacity of the slave device. In order to make the user more intuitively understand the relationship between the remaining power of the master device and the slave device, the master device further calculates the percentage of the initial remaining power of the master device and the initial remaining battery power of the slave device respectively.
  • the primary device After calculating the initial remaining power of the primary device and the initial remaining power of the secondary device as a percentage of the remaining total power, the primary device displays a power control progress bar on the screen.
  • the progress bar corresponding to the initial remaining power of the main device accounts for the length percentage of the power control progress bar, that is, the percentage of the initial remaining power of the main device as a percentage of the remaining total power; the progress bar corresponding to the initial remaining power of the device accounts for the length percentage of the power control progress bar.
  • the percentage of the remaining remaining power from the device as a percentage of the remaining total. It should be noted that the progress bar corresponding to the initial remaining power of the primary device and the progress bar corresponding to the initial remaining power of the device are identified by different background colors, which is convenient for the user to distinguish.
  • the master device 41 when the master device 41 acquires the initial remaining power of the master device as 1000 mA, and reads the initial remaining power of the slave device of the slave device 42 through the connection line to 500 mA, the master device is calculated. The initial remaining power and the initial remaining power of the device accounted for 67% and 33% of the remaining total power, respectively. According to the calculated percentage, the main device 41 displays the power control progress bar 43, wherein the progress bar 431 corresponding to the initial remaining battery capacity of the main device accounts for 67% of the length of the power control progress bar 43, and the progress bar corresponding to the initial remaining power of the device The 432% of the power control progress bar 43 is 33%.
  • step 402 the master device receives a sliding operation on the power control progress bar.
  • the user After the main device displays the power control progress bar, the user performs the sliding operation of the power control progress bar to determine the target power information set by the user.
  • the sliding operation may refer to dragging the slider on the power control progress bar. Need to say It is obvious that the main device receives the sliding operation of the power control progress bar, and needs to update the numerical information displayed on the power control progress bar according to the real-time position of the sliding bar.
  • the main device 41 receives the user's sliding operation through the slide bar 433 on the power control progress bar 43, and updates the percentage values displayed in the progress bar 431 and the progress bar 432 according to the sliding operation.
  • the master device determines target power amount information according to the sliding operation; the target power amount information includes a percentage of the master device target remaining power amount and the slave device target remaining power amount respectively occupying the remaining total power amount.
  • the master device determines, according to the sliding operation, a percentage of the remaining capacity of the master device target set by the user and the remaining battery power of the slave device respectively occupying the remaining total power.
  • the slide bar 433 is dragged to the illustrated position.
  • the main device 41 determines the user according to the position of the current slide bar 433 on the power control progress bar 43.
  • the set main unit target remaining power and the percentage of the remaining power of the slave target to the remaining total power are 33% and 67%, respectively.
  • step 404 the master device determines the charging direction based on the initial power amount information and the target power amount information.
  • the master device can charge the slave device, and the slave device can also charge the master device, the master device needs to further determine the charging direction according to the initial power amount information and the target power amount information set by the user.
  • this step may include the following steps:
  • step 404A when the percentage of the remaining power of the primary device to the remaining total power is less than the percentage of the initial remaining power of the primary device to the remaining total power, or when the percentage of the remaining power of the secondary device to the remaining total is greater than the initial remaining power of the secondary device When the percentage of the remaining total power is occupied, the master device determines that the charging direction is the first charging direction.
  • the first charging direction refers to charging the slave device by the master device.
  • step 405 is performed.
  • the percentage of the remaining power of the main device to the remaining total power is 33%, which is less than 67% of the total remaining power of the main device, and the main device 41 determines that the charging direction is the first charging direction.
  • step 404B when the percentage of the remaining power of the main device target to the remaining total power is greater than the percentage of the initial remaining power of the main device as a percentage of the remaining total power, or when the percentage of the remaining battery power of the slave device is less than the initial remaining battery power of the slave device When the percentage of the remaining total power is occupied, the master device determines that the charging direction is the second charging direction.
  • the second charging direction refers to charging the slave device as a master device.
  • step 406 is performed.
  • step 405 when the charging direction is the first charging direction, the master device determines that the charging operation is to be charged by the master device to the slave device.
  • the main device determines the charging direction
  • the corresponding charging direction icon is also displayed.
  • the main device 41 displays a corresponding first charging direction icon 45 according to the charging direction set by the user.
  • step 406 when the charging direction is the second charging direction, the master device determines that the charging operation is to be charged by the slave device to the master device.
  • the master device determines that the charging direction is the second charging direction
  • the corresponding second charging direction icon is displayed.
  • step 407 the master device sends a corresponding charging command to the power management chip of the master device and the power management chip of the slave device according to the charging operation.
  • the master device sends a corresponding charging instruction to the power management chip of the master device and the power management chip of the slave device according to the determined charging operation.
  • the master device When the charging operation indicates that the master device charges the slave device, the master device sends an instruction to the power management chip of the master device to instruct the master device to discharge, and sends a notification to the power management chip of the slave device through the Type C connection line.
  • the charging instruction when the charging operation indicates that the slave device charges the master device, the master device sends an instruction to the power management chip of the master device to instruct the master device to perform charging, and sends the command to the power management chip of the slave device through the Type C cable.
  • step 408 the slave device receives a charging command sent by the master device to the slave device's power management chip.
  • the slave device receives the charging command sent by the master device through the Type C cable.
  • step 409 the slave device completes the charging operation with the master device through the connection line and the power management chip according to the charging instruction.
  • the slave device When receiving a charging instruction from the device indicating that it is charging the master device, the slave device charges the master device through the Type C connection line;
  • the slave device When the master device received from the device is a charging command for charging the slave device, the slave device receives the power resource transmitted by the master device through the Type C cable.
  • step 410 the primary device acquires the first power consumption information and the current remaining power of the primary device every predetermined time interval; the first power consumption information is used to indicate the power consumption of the primary device during the charging.
  • the master device acquires the current remaining power of the master device every predetermined time interval, and the predetermined time interval may be 10 seconds.
  • the master device acquires the current remaining power of the master device.
  • the first power consumption information for indicating the power consumption of the master device during charging will be obtained.
  • step 411 the master device reads the second power consumption information and the current remaining power of the slave device from the slave device through the connection established by the connection line every predetermined time interval.
  • the master device needs to read the second power consumption information of the slave device and the current remaining power of the slave device through the Type C cable while acquiring the first power consumption information and the current remaining power of the master device, wherein the second battery
  • the consumption information is used to indicate the power consumption of the slave device during charging.
  • the slave device transmits the second power consumption information and the current remaining power of the slave device to the master device through the connection established by the connection line every predetermined time interval.
  • the slave device transmits the second power consumption information and the current remaining power of the slave device to the master device through the Type C cable.
  • the master device can actively read the second power consumption information and the current remaining power of the slave device, or The present disclosure does not limit the second power consumption information actively transmitted by the slave device and the current power remaining capacity of the slave device.
  • the master device updates the power control progress bar according to the current remaining power of the master device, the current remaining battery power of the slave device, the first power consumption information, and the second power consumption information, respectively, as a percentage of the remaining total power.
  • the main device updates the value in the power control progress bar in real time according to the current remaining power of the primary device, the current remaining power of the secondary device, the first power consumption information, and the second power consumption information.
  • the main device displays the current battery information through the power control progress bar, the progress bar corresponding to the current remaining power of the main device, the progress bar corresponding to the current remaining power of the device, the progress bar corresponding to the first power consumption information, and the first The progress bar corresponding to the second power consumption information is identified.
  • the master device 41 identifies the current remaining power of the primary device, the current remaining power of the secondary device, the first power consumption information, and the second power consumption information by using different background colors.
  • the master device may also display a corresponding target power indicator on the power control progress bar according to the target power information set by the user, and is used to indicate the target power set by the user.
  • the master device can also calculate the amount to be charged according to the current remaining power and the target remaining power, and calculate the remaining charging time according to the to-be-charged amount and the current charging speed, and display it to facilitate the user to grasp the charging. time.
  • the first power consumption speed corresponding to the master device and the second power consumption speed corresponding to the slave device are calculated.
  • the master device determines that the power consumption during the charging period is too fast, and issues a corresponding prompt message to remind the user to use the device to ensure the charging effect is reduced, or automatically Call the appropriate program to clean up the scheduled program for better charging.
  • the predetermined program can be a program running in the background or a program with a lower frequency.
  • step 414 when the current remaining power of the primary device reaches the remaining power of the primary device target, or the current remaining power of the secondary device reaches the remaining power of the secondary device, the primary device sends a stop charging to the power management chip of the primary device and the power management chip of the secondary device. instruction.
  • the master device When the master device detects that the current remaining power reaches the target remaining power, it automatically sends a stop charging command to the power management chip of the master device and the power management chip of the slave device, and commands the charging operation to stop between the master device and the slave device.
  • step 415 the slave device receives a stop charging command sent by the master device via the connection established by the connection line.
  • the stop charging command is sent when the master device detects that the current remaining power of the master device reaches the target device power level, or detects that the current remaining power of the slave device reaches the target device power level.
  • step 416 the slave device stops the charging operation with the master device in accordance with the stop charging command.
  • the power management chip of the slave device stops the charging operation with the master device according to the received stop charging command.
  • the charging method provided by the embodiment sends a corresponding charging instruction to the power management chip of the master device and the slave device according to the set charging direction, thereby implementing charging for the slave device or by the slave device.
  • Equipment Charging solves the problem of using the mobile power source to charge the smart device, because the mobile power source is large, which is not conducive to the user to carry; the two smart devices connected through the connection line are realized, that is, the smart device can be realized according to the charging direction set by the user The effect of charging each other.
  • the master device displays the power information of the master device and the slave device in the form of a progress bar, and receives the charging direction set by the user and the charged power through the progress bar, so that the entire charging process is more intuitive and accurate.
  • the master device also obtains the current remaining power of the self and the slave device in real time, and displays the current remaining power and the power consumption during the charging period in the progress bar, so that the user can understand the charging process.
  • the master device when the current remaining power reaches the target power set by the user, the master device sends a stop charging command to the power control chip in the master device and the power control chip in the slave device, thereby avoiding overcharging of the master device or the slave device. To improve the accuracy of charging between the master device and the slave device.
  • FIG. 5 is a block diagram showing the structure of a charging apparatus according to an exemplary embodiment.
  • the charging device can be implemented as part or all of the main device 120 in FIG. 1 by software, hardware or a combination of both.
  • the charging device can include:
  • the receiving module 510 is configured to receive a setting signal, and determine a charging direction according to the setting signal;
  • the first determining module 520 is configured to determine that the charging operation is to be charged by the master device to the slave device when the charging direction is the first charging direction;
  • the second determining module 530 is configured to determine that the charging operation is to be charged by the slave device to the master device when the charging direction is the second charging direction;
  • the first sending module 540 is configured to send a corresponding charging instruction to the power management chip of the master device and the power management chip of the slave device according to the charging operation.
  • the charging device provided by the embodiment sends a corresponding charging instruction to the power management chip of the master device and the slave device according to the set charging direction, thereby implementing charging for the slave device or by the slave device.
  • the device is charged; it solves the problem of charging the smart device by using the mobile power source. Because the mobile power source is large in size, it is not conducive to the user to carry; the two smart devices connected through the connection line are realized, that is, the charging direction can be realized according to the charging direction set by the user. The effect of charging each other between devices.
  • FIG. 6 is a block diagram showing the structure of a charging apparatus according to another exemplary embodiment.
  • the charging device can be implemented as part or all of the main device 120 in FIG. 1 by software, hardware or a combination of both.
  • the charging device can include:
  • the receiving module 610 is configured to receive a setting signal, and determine a charging direction according to the setting signal;
  • the first determining module 620 is configured to determine that the charging operation is to be charged by the master device to the slave device when the charging direction is the first charging direction;
  • the second determining module 630 is configured to determine that the charging operation is to be charged by the slave device to the master device when the charging direction is the second charging direction;
  • the first sending module 640 is configured to send a corresponding charging instruction to the power management chip of the master device and the power management chip of the slave device according to the charging operation.
  • the receiving module 610 includes:
  • the display sub-module 611 is configured to display initial power information by using a power control progress bar, where the initial power information includes a percentage of the initial remaining power of the primary device and a percentage of the remaining remaining power of the secondary device respectively, respectively, of the remaining total power;
  • the total power is the sum of the initial remaining power of the master device and the initial remaining power of the slave device;
  • the operation receiving submodule 612 is configured to receive a sliding operation on the power control progress bar
  • the first determining sub-module 613 is configured to determine target power quantity information according to the sliding operation; the target power quantity information includes the percentage of the remaining power of the primary device target and the remaining power of the slave device respectively occupying the remaining total power ;
  • the second determining submodule 614 is configured to determine the charging direction according to the initial power amount information and the target power amount information.
  • the second determining submodule 614 includes:
  • the first direction determining submodule 614A is configured to: when the percentage of the remaining power of the primary device to the remaining total power is less than the percentage of the initial remaining power of the primary device to the remaining total power, or when Determining that the charging direction is the first charging direction when a percentage of the remaining power of the device target is greater than a percentage of the remaining remaining power of the slave device to the remaining total amount of power;
  • the second direction determining submodule 614B is configured to: when the percentage of the remaining power of the primary device to the remaining total power is greater than the percentage of the initial remaining power of the primary device to the percentage of the remaining total power, or when The charging direction is determined to be the second charging direction when the percentage of the remaining power of the device target to the remaining total power is less than the percentage of the initial remaining power of the slave device to the remaining total amount of power.
  • the display submodule 611 includes:
  • the obtaining submodule 611A is configured to acquire an initial remaining power of the primary device
  • the reading sub-module 611B is configured to read, by the connection established by the connection line, an initial remaining amount of power of the slave device corresponding to the slave device;
  • the third determining sub-module 611C is configured to determine, according to the initial remaining power of the primary device and the initial remaining power of the slave device, a percentage of the remaining total power, and a progress bar and the slave corresponding to the initial remaining power of the primary device.
  • the progress bar corresponding to the initial remaining power of the device accounts for the percentage of the length of the power control progress bar.
  • the device further includes:
  • the obtaining module 650 is configured to acquire the first power consumption information and the current remaining power of the primary device every predetermined time interval; the first power consumption information is used to indicate the power consumption of the primary device during charging;
  • the reading module 660 is configured to read the second power consumption information and the current remaining power of the slave device from the slave device every second at the predetermined time interval through the connection established by the connection line; the second power consumption The information is used to indicate the power consumption of the slave device during charging;
  • the update module 670 is configured to update, according to the current remaining power of the primary device, the current remaining power of the secondary device, the first power consumption information, and the second power consumption information, respectively, as a percentage of the remaining total power The power control progress bar.
  • a progress bar corresponding to the current remaining power of the master device when the master device displays current power information by using the power control progress bar, a progress bar corresponding to the current remaining power of the master device, a progress bar corresponding to the current remaining power of the slave device, and the first A progress bar corresponding to the power consumption information and a progress bar corresponding to the second power consumption information are identified.
  • the device further includes:
  • the second sending module 680 is configured to: when the current remaining power of the primary device reaches the remaining power of the primary device target, or when the current remaining power of the secondary device reaches the remaining power of the secondary device, the power management chip and the device of the primary device The power management chip of the slave device sends a stop charging command.
  • connection line is a Type C connection line
  • both ends of the Type C connection line are Type C connectors
  • the multi-function I/O interfaces of the master device and the slave device are Type C interface.
  • the charging device provided by the embodiment sends a corresponding charging instruction to the power management chip of the master device and the slave device according to the set charging direction, thereby implementing charging for the slave device or by the slave device.
  • the device is charged; it solves the problem of charging the smart device by using the mobile power source. Because the mobile power source is large in size, it is not conducive to the user to carry; the two smart devices connected through the connection line are realized, that is, the charging direction can be realized according to the charging direction set by the user. The effect of charging each other between devices.
  • the master device displays the power information of the master device and the slave device in the form of a progress bar, and receives the charging direction set by the user and the charged power through the progress bar, so that the entire charging process is more intuitive and accurate.
  • the master device also obtains the current remaining power of the self and the slave device in real time, and displays the current remaining power and the power consumption during the charging period in the progress bar, so that the user can understand the charging process.
  • the master device when the current remaining power reaches the target power set by the user, the master device sends a stop charging command to the power control chip in the master device and the power control chip in the slave device, thereby avoiding overcharging of the master device or the slave device. To improve the accuracy of charging between the master device and the slave device.
  • FIG. 7 is a block diagram showing the structure of a charging apparatus according to still another exemplary embodiment.
  • the charging device can be implemented as part or all of the slave device 160 in FIG. 1 by software, hardware or a combination of both.
  • the charging device can include:
  • the instruction receiving module 710 is configured to receive a charging instruction sent by the master device to the power management chip of the slave device; the charging command is generated by the master device according to the charging operation determined by the charging direction set by the user;
  • the charging module 720 is configured to perform a charging operation with the host device through the connection line and the power management chip according to the charging instruction.
  • the device further includes:
  • the third sending module 730 is configured to send the second power consumption information and the current remaining power of the slave device to the master device by using the connection established by the connection line every predetermined time interval; the second power consumption information Used to refer to The power consumption of the slave device during charging is shown.
  • the device further includes:
  • the stop instruction receiving module 740 is configured to receive a stop charging command sent by the master device through the connection established by the connection line; the stop charging command is that the master device detects that the current remaining power of the master device reaches the target device target power , or when it is detected that the current remaining capacity of the slave device reaches the target target power level;
  • the stop charging module 750 is configured to stop the charging operation with the master device in accordance with the stop charging command.
  • connection line is a Type C connection line
  • both ends of the Type C connection line are Type C connectors
  • the multifunctional I/O interfaces of the master device and the slave device are Type C interface.
  • the charging device receives the charging instruction sent by the master device to the slave device power management chip from the device, and completes the charging operation with the master device according to the charging command; and solves the problem that the mobile power source is used as the smart device. Charging, due to the large volume of the mobile power supply, is not conducive to the problem of the user; the two smart devices connected by the connection line are realized, that is, the charging direction of the smart devices can be achieved according to the charging direction set by the user.
  • FIG. 8 is a block diagram of a charging device 800, according to an exemplary embodiment.
  • device 800 can be a smartphone, tablet device or e-book reader, and the like.
  • device 800 can include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, And a communication component 816.
  • Processing component 802 typically controls the overall operation of device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 802 can include one or more processors 820 to execute instructions to perform all or part of the steps of the above described methods.
  • processing component 802 can include one or more modules to facilitate interaction between component 802 and other components.
  • processing component 802 can include a multimedia module to facilitate interaction between multimedia group 808 and processing component 802.
  • Memory 804 is configured to store various types of data to support operation at device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 804 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM Electrically erasable programmable read only memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 806 provides power to various components of device 800.
  • Power component 806 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 800.
  • the multimedia component 808 includes a screen between the device 800 and the user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 808 includes a front camera and/or a rear camera. When the device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 810 is configured to output and/or input an audio signal.
  • the audio component 810 includes a microphone (MIC) that is configured to receive an external audio signal when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 804 or transmitted via communication component 816.
  • the audio component 810 also includes a speaker for outputting an audio signal.
  • the I/O interface 812 provides an interface between the processing component 802 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • the I/O interface 812 can also be a Type C interface.
  • Sensor assembly 814 includes one or more sensors for providing device 800 with a status assessment of various aspects.
  • sensor assembly 814 can detect an open/closed state of device 800, relative positioning of components, such as the display and keypad of device 800, and sensor component 814 can also detect a change in position of one component of device 800 or device 800. The presence or absence of user contact with device 800, device 800 orientation or acceleration/deceleration, and temperature variation of device 800.
  • Sensor assembly 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor assembly 814 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 816 is configured to facilitate wired or wireless communication between device 800 and other devices.
  • the device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • communication component 816 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 816 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • device 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a package
  • the memory 804 of instructions is executable by the processor 820 of the apparatus 800 to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of the apparatus 800, enables the apparatus 800 to perform the charging method on the master side or the slave side.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)

Abstract

一种充电方法及装置,属于智能设备技术领域。该方法包括:接收设置信号,根据设置信号确定充电方向(201);当充电方向为第一充电方向时,确定充电操作为由主设备(120)向从设备(140)充电(202);当充电方向为第二充电方向时,确定充电操作为由从设备(140)向主设备(120)充电(203);根据充电操作,向主设备(120)的电源管理芯片和从设备(140)的电源管理芯片发送相应的充电指令(204)。该技术方案达到了通过连接线连接的两个智能设备,即能够根据用户设置的充电方向,实现智能设备之间相互充电的效果。

Description

充电方法及装置
本申请基于申请号为201510428970.6、申请日为2015/7/20的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及智能设备技术领域,特别涉及一种充电方法及装置。
背景技术
智能设备在人们的日常生活中扮演着越来越重要的角色,但是由于内置电池容量较小,诸如智能手机一类的便携式智能设备都存在续航时间较短的问题。为了解决续航时间短这一问题,用户通常会携带一个移动电源,当智能设备电量较低时,为智能设备提供额外的电量。但是移动电源通常体积较大,不利于用户随身携带。
发明内容
本公开实施例提供了一种充电方法及装置,该技术方案如下:
根据本公开实施例的第一方面,提供一种充电方法,用于主设备中,主设备的多功能I/O(Input/Output,输入输出)接口通过连接线与从设备的多功能I/O接口相连,该方法包括:
接收设置信号,根据设置信号确定充电方向;
当充电方向为第一充电方向时,确定充电操作为由主设备向从设备充电;
当充电方向为第二充电方向时,确定充电操作为由从设备向主设备充电;
根据充电操作,向主设备的电源管理芯片和从设备的电源管理芯片发送相应的充电指令。
根据本公开实施例的第二方面,提供一种充电方法,用于从设备中,从设备的多功能I/O接口通过连接线与主设备的多功能I/O接口相连,该方法包括:
接收主设备向从设备的电源管理芯片发送的充电指令;充电指令主设备根据用户设置的充电方向确定的充电操作生成的;
根据充电指令,通过连接线和电源管理芯片,与主设备完成充电操作。
根据本公开实施例的第三方面,提供一种充电装置,用于主设备中,主设备的多功能I/O接口通过连接线与从设备的多功能I/O接口相连,该装置包括:
接收模块,被配置为接收设置信号,根据设置信号确定充电方向;
第一确定模块,被配置为当充电方向为第一充电方向时,确定充电操作为由主设备向从设备充电;
第二确定模块,被配置为当充电方向为第二充电方向时,确定充电操作为由从设备向主设备充电;
第一发送模块,被配置为根据充电操作,向主设备的电源管理芯片和从设备的电源管理芯片发送相应的充电指令。
根据本公开实施例的第四方面,提供一种充电装置,用于从设备中,从设备的多功能I/O接口通过连接线与主设备的多功能I/O接口相连,该装置包括:
指令接收模块,被配置为接收主设备向从设备的电源管理芯片发送的充电指令;充电指令主设备根据用户设置的充电方向确定的充电操作生成的;
充电模块,被配置为根据充电指令,通过连接线和电源管理芯片,与主设备完成充电操作。
根据本公开实施例的第五方面,提供一种充电装置,该装置包括:
处理器;
用于存储处理器的可执行指令的存储器;
其中,处理器被配置为:
接收设置信号,根据设置信号确定充电方向;
当充电方向为第一充电方向时,确定充电操作为由主设备向从设备充电;
当充电方向为第二充电方向时,确定充电操作为由从设备向主设备充电;
根据充电操作,向主设备的电源管理芯片和从设备的电源管理芯片发送相应的充电指令。
根据本公开实施例的第六方面,提供一种充电装置,该装置包括:
处理器;
用于存储处理器的可执行指令的存储器;
其中,处理器被配置为:
接收主设备向从设备的电源管理芯片发送的充电指令;充电指令主设备根据用户设置的充电方向确定的充电操作生成的;
根据充电指令,通过连接线和电源管理芯片,与主设备完成充电操作。
本公开实施例提供的技术方案可以包括以下有益效果:
通过主设备根据设置的充电方向,向主设备和从设备的电源管理芯片发送相应的充电指令,从而实现为从设备充电或由从设备为主设备充电;解决了使用移动电源为智能设备充电,由于移动电源体积较大,不利于用户携带的问题;达到了通过连接线连接的两个智能设备,即能够根据用户设置的充电方向,实现智能设备之间相互充电的效果。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
图1是本发明各个实施例提供的充电方法所涉及的实施环境的结构示意图;
图2A是根据一示例性实施例示出的充电方法的方法流程图;
图2B是根据一示例性实施例示出的充电方法所涉及的设置充电方向过程的方法流程图;
图2C是根据另一示例性实施例示出的充电方法所涉及的电量控制进度条更新过程的方法流程图;
图3是根据另一示例性实施例示出的充电方法的方法流程图;
图4A是根据再一示例性实施例示出的充电方法的方法流程图;
图4B是根据再一示例性实施例示出的充电方法所涉及的电量控制进度条显示过程的方法流程图;
图4C和图4D是图4A示出的充电方法的实施示意图;
图5是根据一示例性实施例示出的一种充电装置的结构方框图;
图6是根据另一示例性实施例示出的一种充电装置的结构方框图;
图7是根据再一示例性实施例示出的一种充电装置的结构方框图;
图8是根据一示例性实施例示出的一种充电装置的框图。
通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
请参考图1,其示出了本发明各个实施例提供的充电方法所涉及的实施环境的结构示意图。该实施环境包括主设备120、从设备140和连接线160。
主设备120和从设备140是具有多功能I/O接口的电子设备,该电子设备可以为智能手机、平板电脑、电子书阅读器、MP3播放器(Moving Picture Experts Group Audio LayerⅢ,动态影像压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio LayerⅣ,动态影像压缩标准音频层面4)播放器或膝上型便携计算机等等。通常情况下,主设备120和从设备140上的多功能I/O接口相同,且该多功能I/O接口能够实现主设备和从设备的转换。比如,该多功能I/O接口可以为Type C接口。
主设备120和从设备140之间通过连接线160相连。该连接线160的接头162和接头 164分别与主设备120和从设备140的多功能I/O接口匹配。比如,当主设备120和从设备140的多功能I/O接口均为Type C接口时,连接线160即为Type C连接线,Type C连接线的接头162和接头164均为Type C接头。
为了方便描述,下述实施例中,仅以主设备120和从设备140为智能手机,主设备120和从设备140上的多功能I/O接口为Type C接口,连接线160为Type C连接线为例进行举例说明,并不对本公开构成限定。
图2A是根据一示例性实施例示出的充电方法的方法流程图。本实施例以该充电方法用于图1所示实施环境中的主设备120为例进行说明,该方法包括:
在步骤201中,接收设置信号,根据设置信号确定充电方向;
在步骤202中,当充电方向为第一充电方向时,确定充电操作为由主设备向从设备充电;
在步骤203中,当充电方向为第二充电方向时,确定充电操作为由从设备向主设备充电;
在步骤204中,根据充电操作,向主设备的电源管理芯片和从设备的电源管理芯片发送相应的充电指令。
综上所述,本实施例提供的充电方法,通过主设备根据设置的充电方向,向主设备和从设备的电源管理芯片发送相应的充电指令,从而实现为从设备充电或由从设备为主设备充电;解决了使用移动电源为智能设备充电,由于移动电源体积较大,不利于用户携带的问题;达到了通过连接线连接的两个智能设备,即能够根据用户设置的充电方向,实现智能设备之间相互充电的效果。
为了使用户能够更加直观了解到主设备和从设备的剩余电量,并根据该剩余电量设置充电方向,主设备可以以进度条的形式对主设备和从设备的剩余电量进行显示,并通过该进度条接收用户设置的目标剩余电量,作为一种可能的实施方式,如图2B所示,上述步骤201,可以包括如下步骤:
在步骤201A中,通过电量控制进度条显示初始电量信息,初始电量信息包含主设备初始剩余电量和从设备初始剩余电量分别占剩余总电量的百分比;剩余总电量为主设备初始剩余电量与从设备初始剩余电量之和;
在步骤201B中,接收对电量控制进度条的滑动操作;
在步骤201C中,根据滑动操作确定目标电量信息;目标电量信息包含主设备目标剩余电量和从设备目标剩余电量分别占剩余总电量的百分比;
在步骤201D中,根据初始电量信息和目标电量信息确定充电方向。
为了使用户实时了解到主设备和从设备之间的充电情况,主设备可以每隔预定时间间隔获取主设备和从设备的当前剩余电量,并根据当前剩余电量信息对进度条进行更新,作为一种可能的实施方式,如图2C所示,该方法,还可以包括:
在步骤205中,每隔预定时间间隔获取第一电量消耗信息和主设备当前剩余电量;第一电量消耗信息用于指示主设备在充电期间的耗电情况;
在步骤206中,每隔预定时间间隔通过连接线建立的连接,从从设备中读取第二电量消耗信息和从设备当前剩余电量;第二电量消耗信息用于指示从设备在充电期间的耗电情况;
在步骤207中,根据主设备当前剩余电量、从设备当前剩余电量、第一电量消耗信息和第二电量消耗信息分别占剩余总电量的百分比,更新电量控制进度条。
图3是根据另一示例性实施例示出的充电方法的方法流程图。本实施例以该充电方法用于图1所示实施环境中的从设备140为例进行说明,该方法包括:
在步骤301中,接收主设备向从设备的电源管理芯片发送的充电指令;充电指令主设备根据用户设置的充电方向确定的充电操作生成的;
在步骤302中,根据充电指令,通过连接线和电源管理芯片,与主设备完成充电操作。
综上所述,本实施例提供的充电方法,通过从设备接收主设备向从设备电源管理芯片发送的充电指令,并根据该充电指令与主设备完成充电操作;解决了使用移动电源为智能设备充电,由于移动电源体积较大,不利于用户携带的问题;达到了通过连接线连接的两个智能设备,即能够根据用户设置的充电方向,实现智能设备之间相互充电的效果。
图4A是根据再一示例性实施例示出的充电方法的方法流程图。本实施例以该充电方法用于图1所示实施环境来进行说明,该方法包括:
在步骤401中,主设备通过电量控制进度条显示初始电量信息。
用户使用连接线连接两个智能设备时,即在两个智能设备之间建立了数据通信连接,智能设备之间可以通过该连接线进行数据的传输。比如,该连接线可以为Type C连接线,Type C连接线的两端均为Type C接头,且两个智能设备的多功能I/O接口均为Type C接口,使用该Type C连接线即可在两个智能设备之间建立连接。需要说明的是,具有Type C接口的两个智能设备采用Type C协议。
通过该Type C连接线连接的两个智能设备中,其中一个智能设备为主设备,另一个智能设备为从设备,主设备可以向从设备中读写数据,但是从设备不能主设备中读写数据。作为一种可能的实施方式,两个智能设备中,首先插入Type C连接线的智能设备被设置为默认的主设备,相应的,后插入Type C连接线的智能设备被设置为默认从设备。并且,智能设备建立连接后,主设备(或从设备)可以向从设备(或主设备)发送主设备切换请求,从设备(或主设备)则根据该主设备切换请求切换为主设备(或从设备),并根据当前的主从设备关系建立新的数据通信。通过Type C协议实现主从设备的自由切换为本领域技术人员所熟知,在此不再赘述。
为了使用户能够知悉智能设备当前的剩余电量,并根据该剩余电量设置充电方向,主 设备可以以电量控制进度条初始电量信息进行显示,该初始电量信息包含主设备初始剩余电量和从设备初始剩余电量分别占剩余总电量的百分比;剩余总电量为主设备初始剩余电量与从设备初始剩余电量之和。
作为一种可能的实施方式,如图4B所示,本步骤可以包括如下步骤:
在步骤401A中,主设备获取主设备初始剩余电量。
用户使用Type C连接线将两个智能设备连接时,两个智能设备中的主设备可以自动调用预定应用程序,该预定应用程序用于控制智能设备之间进行充电操作。
启动该预定应用程序后,主设备可以调用相应的进程获取主设备当前剩余电量,并将当前剩余电量确定为主设备初始剩余电量。
在步骤401B中,主设备通过连接线建立的连接读取从设备对应的从设备初始剩余电量。
由于主设备能够从从设备中读写数据,所以主设备在获取自身剩余电量的同时,可以通过Type C连接线读取从设备当前剩余电量,并将读取到的当前剩余电量确定为从设备初始剩余电量。
在步骤401C中,主设备根据主设备初始剩余电量和从设备初始剩余电量分别占剩余总电量的百分比,确定主设备初始剩余电量对应的进度条和从设备初始剩余电量对应的进度条分别占电量控制进度条的长度百分比。
主设备根据获取到的主设备初始剩余电量和从设备初始剩余电量,计算得到剩余电量。且为了使用户更加直观了解到主设备和从设备剩余电量的大小关系,主设备进一步计算主设备初始剩余电量和从设备初始剩余电量分别占剩余总电量的百分比。
计算得到主设备初始剩余电量和从设备初始剩余电量分别占剩余总电量的百分比后,主设备即在屏幕上显示电量控制进度条。其中,主设备初始剩余电量对应的进度条占电量控制进度条的长度百分比即主设备初始剩余电量占剩余总电量的百分比;从设备初始剩余电量对应的进度条占电量控制进度条的长度百分比即从设备初始剩余电量占剩余总电量的百分比。需要说明的,主设备初始剩余电量对应的进度条和从设备初始剩余电量对应的进度条采用不同的背景色进行标识,方便用户区分。
比如,如图4C所示,主设备41获取到主设备初始剩余电量为1000毫安时,并通过连接线读取到从设备42的从设备初始剩余电量为500毫安时,计算得到主设备初始剩余电量和从设备初始剩余电量分别占剩余总电量的百分比分别为67%和33%。根据计算得到的百分比,主设备41显示电量控制进度条43,其中,主设备初始剩余电量对应的进度条431占电量控制进度条43的长度百分比为67%,从设备初始剩余电量对应的进度条432占电量控制进度条43的长度百分比为33%。
在步骤402中,主设备接收对电量控制进度条的滑动操作。
主设备显示电量控制进度条后,通过用户对该电量控制进度条的滑动操作,确定用户设置的目标电量信息。其中,该滑动操作可以指拖动电量控制进度条上的滑动杆。需要说 明的是,主设备接收对电量控制进度条的滑动操作的同时,需要根据滑动杆的实时位置更新电量控制进度条上显示的数值信息。
比如,如图4C所示,主设备41通过电量控制进度条43上的滑动杆433接收用户的滑动操作,并根据滑动操作更新进度条431和进度条432中显示的百分数值。
在步骤403中,主设备根据滑动操作确定目标电量信息;目标电量信息包含主设备目标剩余电量和从设备目标剩余电量分别占剩余总电量的百分比。
主设备根据该滑动操作确定用户设置的主设备目标剩余电量和从设备目标剩余电量分别占剩余总电量的百分比。
比如,如图4D所示,滑动杆433被拖动至图示位置,当用户点击确定按钮44时,主设备41即根据当前滑动杆433在电量控制进度条43上所处的位置,确定用户设置的主设备目标剩余电量和从设备目标剩余电量占剩余总电量的百分比分别为33%和67%。
在步骤404中,主设备根据初始电量信息和目标电量信息确定充电方向。
由于可以由主设备向从设备充电,也可以由从设备向主设备充电,主设备需要根据初始电量信息及用户设置的目标电量信息进一步确定充电方向。
作为一种可能的实施方式,本步骤可以包括如下步骤:
在步骤404A中,当主设备目标剩余电量占剩余总电量的百分比小于主设备初始剩余电量占剩余总电量的百分比时,或,当从设备目标剩余电量占剩余总电量的百分比大于从设备初始剩余电量占剩余总电量的百分比时,主设备确定充电方向为第一充电方向。
其中,第一充电方向指由主设备为从设备充电。
当充电方向为第一充电方向时,执行步骤405。
比如,如图4D所示,主设备目标剩余电量占剩余总电量的百分比为33%,小于主设备初始剩余电量占剩余总电量的百分比67%,主设备41即确定充电方向为第一充电方向,
在步骤404B中,当主设备目标剩余电量占剩余总电量的百分比大于主设备初始剩余电量占剩余总电量的百分比时,或,当从设备目标剩余电量占剩余总电量的百分比小于从设备初始剩余电量占剩余总电量的百分比时,主设备确定充电方向为第二充电方向。
其中,第二充电方向指由从设备为主设备充电。
当充电方向为第二充电方向时,执行步骤406。
在步骤405中,当充电方向为第一充电方向时,主设备确定充电操作为由主设备向从设备充电。
为了使用户更加直观了解到设置的充电方向,主设备确定充电方向后,还会显示相应的充电方向图标。
比如,如图4D所示,主设备41根据用户设置的充电方向显示相应的第一充电方向图标45。
在步骤406中,当充电方向为第二充电方向时,主设备确定充电操作为由从设备向主设备充电。
相应的,当主设备确定充电方向为第二充电方向时,显示相应的第二充电方向图标。
在步骤407中,主设备根据充电操作,向主设备的电源管理芯片和从设备的电源管理芯片发送相应的充电指令。
主设备根据确定的充电操作,向主设备的电源管理芯片和从设备的电源管理芯片发送相应的充电指令。
当充电操作指示由主设备向从设备充电时,主设备即向主设备的电源管理芯片发送指示主设备进行放电的指令,并通过Type C连接线向从设备的电源管理芯片发送指示从设备进行充电的指令;当充电操作指示由从设备向主设备充电时,主设备即向主设备的电源管理芯片发送指示主设备进行充电的指令,并通过Type C连接线向从设备的电源管理芯片发送指示从设备进行放电的指令。
在步骤408中,从设备接收主设备向从设备的电源管理芯片发送的充电指令。
对应的,从设备通过Type C连接线接收主设备发送的充电指令。
在步骤409中,从设备根据充电指令,通过连接线和电源管理芯片,与主设备完成充电操作。
当从设备接收到的指示其向主设备充电的充电指令时,从设备即通过Type C连接线向主设备进行充电;
当从设备接收到的主设备为从设备充电的充电指令时,从设备即通过Type C连接线接收主设备传输的电量资源。
在步骤410,主设备每隔预定时间间隔获取第一电量消耗信息和主设备当前剩余电量;第一电量消耗信息用于指示主设备在充电期间的耗电情况。
为了使用户能够了解到充电进程,主设备会每隔预定时间间隔获取主设备当前剩余电量,该预定时间间隔可以为10秒。
另外,主设备和从设备进行充电的过程中,由于程序运行和用户使用等原因,会不断耗电,为了使用户了解设备的耗电情况,主设备在获取主设备当前剩余电量的同时,还将获取用于指示主设备在充电期间耗电情况的第一电量消耗信息。
在步骤411中,主设备每隔预定时间间隔通过连接线建立的连接,从从设备中读取第二电量消耗信息和从设备当前剩余电量。
对应的,主设备在获取第一电量消耗信息和主设备当前剩余电量的同时,还需要通过Type C连接线读取从设备的第二电量消耗信息和从设备当前剩余电量,其中,第二电量消耗信息用于指示从设备在充电期间耗电情况。
在步骤412中,从设备每隔预定时间间隔,通过连接线建立的连接,向主设备中发送第二电量消耗信息和从设备当前剩余电量。
对应的,从设备通过Type C连接线将第二电量消耗信息和从设备当前剩余电量发送至主设备。
需要说明的是,主设备可以主动读取第二电量消耗信息和从设备当前剩余电量,也可 以接收从设备主动发送的第二电量消耗信息和从设备当前剩余电量,本公开并不对此进行限定。
在步骤413中,主设备根据主设备当前剩余电量、从设备当前剩余电量、第一电量消耗信息和第二电量消耗信息分别占剩余总电量的百分比,更新电量控制进度条。
主设备根据获取到主设备当前剩余电量、从设备当前剩余电量、第一电量消耗信息和第二电量消耗信息,对电量控制进度条中的数值进行实时更新。
其中,主设备通过电量控制进度条显示当前电量信息时,使用不同颜色对主设备当前剩余电量对应的进度条、从设备当前剩余电量对应的进度条、第一电量消耗信息对应的进度条和第二电量消耗信息对应的进度条进行标识。
比如,如图4D所示,主设备41对分别采用不同的背景颜色对主设备当前剩余电量、从设备当前剩余电量、第一电量消耗信息和第二电量消耗信息进行标识。
需要说明的一点是,主设备还可以根据用户设置的目标电量信息,在电量控制进度条上显示相应的目标电量提示标识,用于指示用户设置的目标电量。
需要说明的另一点是,主设备还可以根据当前剩余电量和目标剩余电量计算得到待充电量,并根据该待充电量和当前的充电速度计算得到剩余充电时间,并进行显示,方便用户把握充电的时间。
需要说明的是,为了保证充电效果,主设备获取到第一电量消耗信息和第二电量消耗信息后,计算充电期间主设备对应的第一耗电速度以及从设备对应的第二耗电速度,当第一耗电速度或第二耗电速度大于预设耗电阈值时,主设备即确定充电期间耗电过快,并发出相应的提示信息,提醒用户为了保证充电效果减少使用设备,或自动调用相应的程序,对预定程序进行清理,从而达到更好的充电效果。其中,预定程序可以为后台运行程序或使用频率较低程序。
在步骤414中,当主设备当前剩余电量达到主设备目标剩余电量,或从设备当前剩余电量达到从设备目标剩余电量时,主设备向主设备的电源管理芯片和从设备的电源管理芯片发送停止充电指令。
当主设备检测到当前剩余电量达到目标剩余电量时,自动向主设备的电源管理芯片和从设备的电源管理芯片发送停止充电指令,命令主设备和从设备之间停止充电操作。
在步骤415中,从设备接收主设备通过连接线建立的连接发送的停止充电指令。
该停止充电指令是主设备检测到主设备当前剩余电量达到主设备目标电量,或检测到从设备当前剩余电量达到从设备目标电量时发送的。
在步骤416中,从设备根据停止充电指令停止与主设备之间的充电操作。
对应的,从设备的电源管理芯片根据接收到的停止充电指令,停止与主设备之间的充电操作。
综上所述,本实施例提供的充电方法,通过主设备根据设置的充电方向,向主设备和从设备的电源管理芯片发送相应的充电指令,从而实现为从设备充电或由从设备为主设备 充电;解决了使用移动电源为智能设备充电,由于移动电源体积较大,不利于用户携带的问题;达到了通过连接线连接的两个智能设备,即能够根据用户设置的充电方向,实现智能设备之间相互充电的效果。
本实施例中,主设备以进度条的形式对主设备和从设备的电量信息进行显示,并通过该进度条接收用户设置的充电方向以及充电的电量,使得整个充电过程更加直观且精确。
本实施例中,主设备还会实时获取自身和从设备的当前剩余电量,并在进度条中,对当前剩余电量和充电期间的耗电情况进行显示,方便用户了解充电进程。
本实施例中,当当前剩余电量达到用户设置的目标电量时,主设备即向主设备中的电源控制芯片和从设备中的电源控制芯片发送停止充电指令,避免了主设备或从设备过充,提高主设备和从设备之间充电的精确度。
图5是根据一示例性实施例示出的一种充电装置的结构方框图。该充电装置可以通过软件、硬件或者两者的结合实现成为图1中主设备120的部分或全部。该充电装置可以包括:
接收模块510,被配置为接收设置信号,根据设置信号确定充电方向;
第一确定模块520,被配置为当充电方向为第一充电方向时,确定充电操作为由主设备向从设备充电;
第二确定模块530,被配置为当充电方向为第二充电方向时,确定充电操作为由从设备向主设备充电;
第一发送模块540,被配置为根据充电操作,向主设备的电源管理芯片和从设备的电源管理芯片发送相应的充电指令。
综上所述,本实施例提供的充电装置,通过主设备根据设置的充电方向,向主设备和从设备的电源管理芯片发送相应的充电指令,从而实现为从设备充电或由从设备为主设备充电;解决了使用移动电源为智能设备充电,由于移动电源体积较大,不利于用户携带的问题;达到了通过连接线连接的两个智能设备,即能够根据用户设置的充电方向,实现智能设备之间相互充电的效果。
图6是根据另一示例性实施例示出的一种充电装置的结构方框图。该充电装置可以通过软件、硬件或者两者的结合实现成为图1中主设备120的部分或全部。该充电装置可以包括:
接收模块610,被配置为接收设置信号,根据设置信号确定充电方向;
第一确定模块620,被配置为当充电方向为第一充电方向时,确定充电操作为由主设备向从设备充电;
第二确定模块630,被配置为当充电方向为第二充电方向时,确定充电操作为由从设备向主设备充电;
第一发送模块640,被配置为根据充电操作,向主设备的电源管理芯片和从设备的电源管理芯片发送相应的充电指令。
可选地,接收模块610,包括:
显示子模块611,被配置为通过电量控制进度条显示初始电量信息,所述初始电量信息包含所述主设备初始剩余电量和所述从设备初始剩余电量分别占剩余总电量的百分比;所述剩余总电量为所述主设备初始剩余电量与所述从设备初始剩余电量之和;
操作接收子模块612,被配置为接收对所述电量控制进度条的滑动操作;
第一确定子模块613,被配置为根据所述滑动操作确定目标电量信息;所述目标电量信息包含所述主设备目标剩余电量和所述从设备目标剩余电量分别占所述剩余总电量的百分比;
第二确定子模块614,被配置为根据所述初始电量信息和所述目标电量信息确定所述充电方向。
可选地,第二确定子模块614,包括:
第一方向确定子模块614A,被配置为当所述主设备目标剩余电量占所述剩余总电量的百分比小于所述主设备初始剩余电量占所述剩余总电量的百分比时,或,当所述从设备目标剩余电量占所述剩余总电量的百分比大于所述从设备初始剩余电量占所述剩余总电量的百分比时,确定所述充电方向为所述第一充电方向;
或,
第二方向确定子模块614B,被配置为当所述主设备目标剩余电量占所述剩余总电量的百分比大于所述主设备初始剩余电量占所述剩余总电量的百分比时,或,当所述从设备目标剩余电量占所述剩余总电量的百分比小于所述从设备初始剩余电量占所述剩余总电量的百分比时,确定所述充电方向为所述第二充电方向。
可选地,显示子模块611,包括:
获取子模块611A,被配置为获取所述主设备初始剩余电量;
读取子模块611B,被配置为通过所述连接线建立的连接读取所述从设备对应的所述从设备初始剩余电量;
第三确定子模块611C,被配置为根据所述主设备初始剩余电量和所述从设备初始剩余电量分别占剩余总电量的百分比,确定所述主设备初始剩余电量对应的进度条和所述从设备初始剩余电量对应的进度条分别占所述电量控制进度条的长度百分比。
可选的,该装置,还包括:
获取模块650,被配置为每隔预定时间间隔获取第一电量消耗信息和主设备当前剩余电量;所述第一电量消耗信息用于指示所述主设备在充电期间的耗电情况;
读取模块660,被配置为每隔所述预定时间间隔通过所述连接线建立的连接,从所述从设备中读取第二电量消耗信息和从设备当前剩余电量;所述第二电量消耗信息用于指示所述从设备在充电期间的耗电情况;
更新模块670,被配置为根据所述主设备当前剩余电量、所述从设备当前剩余电量、所述第一电量消耗信息和所述第二电量消耗信息分别占所述剩余总电量的百分比,更新所述电量控制进度条。
可选地,所述主设备通过所述电量控制进度条显示当前电量信息时,使用不同颜色对所述主设备当前剩余电量对应的进度条、从设备当前剩余电量对应的进度条、所述第一电量消耗信息对应的进度条和所述第二电量消耗信息对应的进度条进行标识。
可选地,该装置,还包括:
第二发送模块680,被配置为当主设备当前剩余电量达到所述主设备目标剩余电量,或从设备当前剩余电量达到所述从设备目标剩余电量时,向所述主设备的电源管理芯片和所述从设备的电源管理芯片发送停止充电指令。
可选地,所述连接线为Type C连接线,所述Type C连接线的两端均为Type C接头,且所述主设备和所述从设备的所述多功能I/O接口均为Type C接口。
综上所述,本实施例提供的充电装置,通过主设备根据设置的充电方向,向主设备和从设备的电源管理芯片发送相应的充电指令,从而实现为从设备充电或由从设备为主设备充电;解决了使用移动电源为智能设备充电,由于移动电源体积较大,不利于用户携带的问题;达到了通过连接线连接的两个智能设备,即能够根据用户设置的充电方向,实现智能设备之间相互充电的效果。
本实施例中,主设备以进度条的形式对主设备和从设备的电量信息进行显示,并通过该进度条接收用户设置的充电方向以及充电的电量,使得整个充电过程更加直观且精确。
本实施例中,主设备还会实时获取自身和从设备的当前剩余电量,并在进度条中,对当前剩余电量和充电期间的耗电情况进行显示,方便用户了解充电进程。
本实施例中,当当前剩余电量达到用户设置的目标电量时,主设备即向主设备中的电源控制芯片和从设备中的电源控制芯片发送停止充电指令,避免了主设备或从设备过充,提高主设备和从设备之间充电的精确度。
图7是根据再一示例性实施例示出的一种充电装置的结构方框图。该充电装置可以通过软件、硬件或者两者的结合实现成为图1中从设备160的部分或全部。该充电装置可以包括:
指令接收模块710,被配置为接收主设备向从设备的电源管理芯片发送的充电指令;充电指令是主设备根据用户设置的充电方向确定的充电操作生成的;
充电模块720,被配置为根据充电指令,通过连接线和电源管理芯片,与主设备完成充电操作。
可选地,该装置,还包括:
第三发送模块730,被配置为每隔预定时间间隔,通过所述连接线建立的连接,向所述主设备中发送第二电量消耗信息和从设备当前剩余电量;所述第二电量消耗信息用于指 示所述从设备在充电期间的耗电情况。
可选地,该装置,还包括:
停止指令接收模块740,被配置为接收所述主设备通过所述连接线建立的连接发送的停止充电指令;所述停止充电指令是所述主设备检测到主设备当前剩余电量达到主设备目标电量,或检测到从设备当前剩余电量达到从设备目标电量时发送的;
停止充电模块750,被配置为根据所述停止充电指令停止与所述主设备之间的所述充电操作。
可选的,该连接线为Type C连接线,所述Type C连接线的两端均为Type C接头,且所述主设备和所述从设备的所述多功能I/O接口均为Type C接口。
综上所述,本实施例提供的充电装置,通过从设备接收主设备向从设备电源管理芯片发送的充电指令,并根据该充电指令与主设备完成充电操作;解决了使用移动电源为智能设备充电,由于移动电源体积较大,不利于用户携带的问题;达到了通过连接线连接的两个智能设备,即能够根据用户设置的充电方向,实现智能设备之间相互充电的效果。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
图8是根据一示例性实施例示出的一种充电装置800的框图。例如,装置800可以是智能手机、平板设备或电子书阅读器等等。
参照图8,装置800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。
处理组件802通常控制装置800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组808和处理组件802之间的交互。
存储器804被配置为存储各种类型的数据以支持在装置800的操作。这些数据的示例包括用于在装置800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件806为装置800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为装置800生成、管理和分配电力相关联的组件。
多媒体组件808包括在所述装置800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当装置800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当装置800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。该I/O接口812还可以为Type C接口。
传感器组件814包括一个或多个传感器,用于为装置800提供各个方面的状态评估。例如,传感器组件814可以检测到装置800的打开/关闭状态,组件的相对定位,例如所述组件为装置800的显示器和小键盘,传感器组件814还可以检测装置800或装置800一个组件的位置改变,用户与装置800接触的存在或不存在,装置800方位或加速/减速和装置800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件816被配置为便于装置800和其他设备之间有线或无线方式的通信。装置800可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包 括指令的存储器804,上述指令可由装置800的处理器820执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
一种非临时性计算机可读存储介质,当所述存储介质中的指令由装置800的处理器执行时,使得装置800能够执行上述主设备侧或从设备侧的充电方法。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (26)

  1. 一种充电方法,其特征在于,用于主设备中,所述主设备的多功能输入输出I/O接口通过连接线与从设备的多功能I/O接口相连,所述方法包括:
    接收设置信号,根据所述设置信号确定充电方向;
    当所述充电方向为第一充电方向时,确定充电操作为由所述主设备向所述从设备充电;
    当所述充电方向为第二充电方向时,确定所述充电操作为由所述从设备向所述主设备充电;
    根据所述充电操作,向所述主设备的电源管理芯片和所述从设备的电源管理芯片发送相应的充电指令。
  2. 根据权利要求1所述的方法,其特征在于,所述接收设置信号,根据所述设置信号确定充电方向,包括:
    通过电量控制进度条显示初始电量信息,所述初始电量信息包含所述主设备初始剩余电量和所述从设备初始剩余电量分别占剩余总电量的百分比;所述剩余总电量为所述主设备初始剩余电量与所述从设备初始剩余电量之和;
    接收对所述电量控制进度条的滑动操作;
    根据所述滑动操作确定目标电量信息;所述目标电量信息包含所述主设备目标剩余电量和所述从设备目标剩余电量分别占所述剩余总电量的百分比;
    根据所述初始电量信息和所述目标电量信息确定所述充电方向。
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述初始电量信息和所述目标电量信息确定所述充电方向,包括:
    当所述主设备目标剩余电量占所述剩余总电量的百分比小于所述主设备初始剩余电量占所述剩余总电量的百分比时,或,当所述从设备目标剩余电量占所述剩余总电量的百分比大于所述从设备初始剩余电量占所述剩余总电量的百分比时,确定所述充电方向为所述第一充电方向;
    或,
    当所述主设备目标剩余电量占所述剩余总电量的百分比大于所述主设备初始剩余电量占所述剩余总电量的百分比时,或,当所述从设备目标剩余电量占所述剩余总电量的百分比小于所述从设备初始剩余电量占所述剩余总电量的百分比时,确定所述充电方向为所述第二充电方向。
  4. 根据权利要求2所述的方法,其特征在于,所述通过电量控制进度条显示初始电量信息,包括:
    获取所述主设备初始剩余电量;
    通过所述连接线建立的连接读取所述从设备对应的所述从设备初始剩余电量;
    根据所述主设备初始剩余电量和所述从设备初始剩余电量分别占剩余总电量的百分比,确定所述主设备初始剩余电量对应的进度条和所述从设备初始剩余电量对应的进度条分别占所述电量控制进度条的长度百分比。
  5. 根据权利要求1至4任一所述的方法,其特征在于,所述方法,还包括:
    每隔预定时间间隔获取第一电量消耗信息和主设备当前剩余电量;所述第一电量消耗信息用于指示所述主设备在充电期间的耗电情况;
    每隔所述预定时间间隔通过所述连接线建立的连接,从所述从设备中读取第二电量消耗信息和从设备当前剩余电量;所述第二电量消耗信息用于指示所述从设备在充电期间的耗电情况;
    根据所述主设备当前剩余电量、所述从设备当前剩余电量、所述第一电量消耗信息和所述第二电量消耗信息分别占所述剩余总电量的百分比,更新所述电量控制进度条。
  6. 根据权利要求5所述的方法,其特征在于,所述主设备通过所述电量控制进度条显示当前电量信息时,使用不同颜色对所述主设备当前剩余电量对应的进度条、从设备当前剩余电量对应的进度条、所述第一电量消耗信息对应的进度条和所述第二电量消耗信息对应的进度条进行标识。
  7. 根据权利要求2所述的方法,其特征在于,所述方法,还包括:
    当主设备当前剩余电量达到所述主设备目标剩余电量,或从设备当前剩余电量达到所述从设备目标剩余电量时,向所述主设备的电源管理芯片和所述从设备的电源管理芯片发送停止充电指令。
  8. 根据权利要求1所述的方法,其特征在于,所述连接线为Type C连接线,所述Type C连接线的两端均为Type C接头,且所述主设备和所述从设备的所述多功能I/O接口均为Type C接口。
  9. 一种充电方法,其特征在于,用于从设备中,所述从设备的多功能输入输出I/O接口通过连接线与主设备的多功能I/O接口相连,所述方法包括:
    接收所述主设备向所述从设备的电源管理芯片发送的充电指令;所述充电指令是所述主设备根据用户设置的充电方向确定的充电操作生成的;
    根据所述充电指令,通过所述连接线和所述电源管理芯片,与所述主设备完成所述充电操作。
  10. 根据权利要求9所述的方法,其特征在于,所述方法,还包括:
    每隔预定时间间隔,通过所述连接线建立的连接,向所述主设备中发送第二电量消耗信息和从设备当前剩余电量;所述第二电量消耗信息用于指示所述从设备在充电期间的耗电情况。
  11. 根据权利要求9所述的方法,其特征在于,所述方法,还包括:
    接收所述主设备通过所述连接线建立的连接发送的停止充电指令;所述停止充电指令是所述主设备检测到主设备当前剩余电量达到主设备目标电量,或检测到从设备当前剩余电量达到从设备目标电量时发送的;
    根据所述停止充电指令停止与所述主设备之间的所述充电操作。
  12. 根据权利要求9所述的方法,其特征在于,所述连接线为Type C连接线,所述Type C连接线的两端均为Type C接头,且所述主设备和所述从设备的所述多功能I/O接口均为Type C接口。
  13. 一种充电装置,其特征在于,用于主设备中,所述主设备的多功能输入输出I/O接口通过连接线与从设备的多功能I/O接口相连,所述装置包括:
    接收模块,被配置为接收设置信号,根据所述设置信号确定充电方向;
    第一确定模块,被配置为当所述充电方向为第一充电方向时,确定充电操作为由所述主设备向所述从设备充电;
    第二确定模块,被配置为当所述充电方向为第二充电方向时,确定所述充电操作为由所述从设备向所述主设备充电;
    第一发送模块,被配置为根据所述充电操作,向所述主设备的电源管理芯片和所述从设备的电源管理芯片发送相应的充电指令。
  14. 根据权利要求13所述的装置,其特征在于,所述接收模块,包括:
    显示子模块,被配置为通过电量控制进度条显示初始电量信息,所述初始电量信息包含所述主设备初始剩余电量和所述从设备初始剩余电量分别占剩余总电量的百分比;所述剩余总电量为所述主设备初始剩余电量与所述从设备初始剩余电量之和;
    操作接收子模块,被配置为接收对所述电量控制进度条的滑动操作;
    第一确定子模块,被配置为根据所述滑动操作确定目标电量信息;所述目标电量信息包含所述主设备目标剩余电量和所述从设备目标剩余电量分别占所述剩余总电量的百分比;
    第二确定子模块,被配置为根据所述初始电量信息和所述目标电量信息确定所述充电 方向。
  15. 根据权利要求14所述的装置,其特征在于,所述第二确定子模块,包括:
    第一方向确定子模块,被配置为当所述主设备目标剩余电量占所述剩余总电量的百分比小于所述主设备初始剩余电量占所述剩余总电量的百分比时,或,当所述从设备目标剩余电量占所述剩余总电量的百分比大于所述从设备初始剩余电量占所述剩余总电量的百分比时,确定所述充电方向为所述第一充电方向;
    或,
    第二方向确定子模块,被配置为当所述主设备目标剩余电量占所述剩余总电量的百分比大于所述主设备初始剩余电量占所述剩余总电量的百分比时,或,当所述从设备目标剩余电量占所述剩余总电量的百分比小于所述从设备初始剩余电量占所述剩余总电量的百分比时,确定所述充电方向为所述第二充电方向。
  16. 根据权利要求14所述的装置,其特征在于,所述显示子模块,包括:
    获取子模块,被配置为获取所述主设备初始剩余电量;
    读取子模块,被配置为通过所述连接线建立的连接读取所述从设备对应的所述从设备初始剩余电量;
    第三确定子模块,被配置为根据所述主设备初始剩余电量和所述从设备初始剩余电量分别占剩余总电量的百分比,确定所述主设备初始剩余电量对应的进度条和所述从设备初始剩余电量对应的进度条分别占所述电量控制进度条的长度百分比。
  17. 根据权利要求13至16任一所述的装置,其特征在于,所述装置,还包括:
    获取模块,被配置为每隔预定时间间隔获取第一电量消耗信息和主设备当前剩余电量;所述第一电量消耗信息用于指示所述主设备在充电期间的耗电情况;
    读取模块,被配置为每隔所述预定时间间隔通过所述连接线建立的连接,从所述从设备中读取第二电量消耗信息和从设备当前剩余电量;所述第二电量消耗信息用于指示所述从设备在充电期间的耗电情况;
    更新模块,被配置为根据所述主设备当前剩余电量、所述从设备当前剩余电量、所述第一电量消耗信息和所述第二电量消耗信息分别占所述剩余总电量的百分比,更新所述电量控制进度条。
  18. 根据权利要求17所述的装置,其特征在于,所述主设备通过所述电量控制进度条显示当前电量信息时,使用不同颜色对所述主设备当前剩余电量对应的进度条、从设备当前剩余电量对应的进度条、所述第一电量消耗信息对应的进度条和所述第二电量消耗信息对应的进度条进行标识。
  19. 根据权利要求14所述的装置,其特征在于,所述装置,还包括:
    第二发送模块,被配置为当主设备当前剩余电量达到所述主设备目标剩余电量,或从设备当前剩余电量达到所述从设备目标剩余电量时,向所述主设备的电源管理芯片和所述从设备的电源管理芯片发送停止充电指令。
  20. 根据权利要求13所述的装置,其特征在于,所述连接线为Type C连接线,所述Type C连接线的两端均为Type C接头,且所述主设备和所述从设备的所述多功能I/O接口均为Type C接口。
  21. 一种充电装置,其特征在于,用于从设备中,所述从设备的多功能输入输出I/O接口通过连接线与主设备的多功能I/O接口相连,所述装置包括:
    指令接收模块,被配置为接收所述主设备向所述从设备的电源管理芯片发送的充电指令;所述充电指令是所述主设备根据用户设置的充电方向确定的充电操作生成的;
    充电模块,被配置为根据所述充电指令,通过所述连接线和所述电源管理芯片,与所述主设备完成所述充电操作。
  22. 根据权利要求21所述的装置,其特征在于,所述装置,还包括:
    第三发送模块,被配置为每隔预定时间间隔,通过所述连接线建立的连接,向所述主设备中发送第二电量消耗信息和从设备当前剩余电量;所述第二电量消耗信息用于指示所述从设备在充电期间的耗电情况。
  23. 根据权利要求21所述的装置,其特征在于,所述装置,还包括:
    停止指令接收模块,被配置为接收所述主设备通过所述连接线建立的连接发送的停止充电指令;所述停止充电指令是所述主设备检测到主设备当前剩余电量达到主设备目标电量,或检测到从设备当前剩余电量达到从设备目标电量时发送的;
    停止充电模块,被配置为根据所述停止充电指令停止与所述主设备之间的所述充电操作。
  24. 根据权利要求21所述的装置,其特征在于,所述连接线为Type C连接线,所述Type C连接线的两端均为Type C接头,且所述主设备和所述从设备的所述多功能I/O接口均为Type C接口。
  25. 一种充电装置,其特征在于,所述装置包括:
    处理器;
    用于存储所述处理器的可执行指令的存储器;
    其中,所述处理器被配置为:
    接收设置信号,根据所述设置信号确定充电方向;
    当所述充电方向为第一充电方向时,确定充电操作为由所述主设备向所述从设备充电;
    当所述充电方向为第二充电方向时,确定所述充电操作为由所述从设备向所述主设备充电;
    根据所述充电操作,向所述主设备的电源管理芯片和所述从设备的电源管理芯片发送相应的充电指令。
  26. 一种充电装置,其特征在于,所述装置包括:
    处理器;
    用于存储所述处理器的可执行指令的存储器;
    其中,所述处理器被配置为:
    接收所述主设备向所述从设备的电源管理芯片发送的充电指令;所述充电指令所述主设备根据用户设置的充电方向确定的充电操作生成的;
    根据所述充电指令,通过所述连接线和所述电源管理芯片,与所述主设备完成所述充电操作。
PCT/CN2015/098849 2015-07-20 2015-12-25 充电方法及装置 Ceased WO2017012267A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
KR1020167004583A KR101869410B1 (ko) 2015-07-20 2015-12-25 충전방법, 장치, 프로그램 및 컴퓨터가 판독가능한 기록매체
MX2016002130A MX360309B (es) 2015-07-20 2015-12-25 Metodo y aparato de carga.
RU2016116959A RU2642439C2 (ru) 2015-07-20 2015-12-25 Способ и устройство зарядки
JP2017529130A JP6273404B2 (ja) 2015-07-20 2015-12-25 充電方法、装置、プログラム及び記録媒体

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510428970.6A CN105098888B (zh) 2015-07-20 2015-07-20 充电方法及装置
CN201510428970.6 2015-07-20

Publications (1)

Publication Number Publication Date
WO2017012267A1 true WO2017012267A1 (zh) 2017-01-26

Family

ID=54578725

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/098849 Ceased WO2017012267A1 (zh) 2015-07-20 2015-12-25 充电方法及装置

Country Status (8)

Country Link
US (1) US10205332B2 (zh)
EP (1) EP3121926B1 (zh)
JP (1) JP6273404B2 (zh)
KR (1) KR101869410B1 (zh)
CN (1) CN105098888B (zh)
MX (1) MX360309B (zh)
RU (1) RU2642439C2 (zh)
WO (1) WO2017012267A1 (zh)

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101898185B1 (ko) * 2014-11-11 2018-09-12 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 전원 어댑터, 단말기 및 충전 시스템
CN105098888B (zh) 2015-07-20 2018-11-30 小米科技有限责任公司 充电方法及装置
CN105098273B (zh) * 2015-07-20 2018-11-02 小米科技有限责任公司 充电方法及装置
CN105680510A (zh) * 2016-01-29 2016-06-15 宇龙计算机通信科技(深圳)有限公司 用于电子设备的充电控制方法及充电控制装置
CN105956458A (zh) * 2016-04-28 2016-09-21 乐视控股(北京)有限公司 终端交互控制方法和装置
CN106058968A (zh) * 2016-06-06 2016-10-26 乐视控股(北京)有限公司 充电方法及装置
CN106026240A (zh) * 2016-06-06 2016-10-12 乐视控股(北京)有限公司 充电方法及装置
CN106249836A (zh) * 2016-08-02 2016-12-21 乐视控股(北京)有限公司 一种终端控制方法和终端
US11258280B2 (en) 2017-07-21 2022-02-22 Huawei Technologies Co., Ltd. Mobile terminal, peripheral device, and charging method thereof
WO2019043391A1 (en) * 2017-08-30 2019-03-07 Bullitt Group Limited DISCHARGEABLE MOBILE COMPUTING DEVICE, METHOD AND COMPUTER PROGRAM PRODUCT
CN108054794A (zh) * 2017-12-12 2018-05-18 广东小天才科技有限公司 一种用于智能终端的充放电方法、装置、终端及存储介质
CN108881630B (zh) * 2018-06-11 2021-08-17 中国联合网络通信集团有限公司 反向充电管理方法、装置及终端
CN113131022A (zh) * 2019-12-31 2021-07-16 海信视像科技股份有限公司 充电方法及装置
CN111371204B (zh) * 2020-03-25 2021-10-26 维沃移动通信有限公司 充电方法及电能中转装置
US11824375B2 (en) 2020-07-02 2023-11-21 Apple Inc. State of charge information for a wireless power transmitting device
FR3114700B1 (fr) * 2020-09-29 2023-09-29 Thales Sa Dispositif de gestion d'alimentation en energie, systeme, procede et programme d'ordinateur associes
CN114498784B (zh) * 2020-10-26 2025-10-17 北京小米移动软件有限公司 充电方法、装置、电子设备及存储介质
CN112398196B (zh) * 2020-11-11 2022-03-25 合肥联宝信息技术有限公司 一种充放电控制方法、装置及系统
US20220285970A1 (en) * 2021-03-05 2022-09-08 RHiot, Inc. Managing power between wearable devices
CN113078709B (zh) * 2021-04-01 2024-10-25 博阳能源科技有限公司 一种快充电路角色控制方法、协议处理系统及电路
CN113852760A (zh) * 2021-09-26 2021-12-28 联想(北京)有限公司 一种控制方法和控制装置
CN115756543A (zh) * 2022-11-21 2023-03-07 珠海读书郎软件科技有限公司 一种可分体式平板固件升级方法及设备
US20240427401A1 (en) * 2023-06-20 2024-12-26 Dell Products L.P. External display device auxiliary power mechanism during power outage
US12554303B2 (en) * 2023-12-19 2026-02-17 Microsoft Technology Licensing, Llc Dynamic charge rate control of battery powered devices

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009232638A (ja) * 2008-03-25 2009-10-08 Nec Corp 電源管理システム、及び電源装置
CN102566675A (zh) * 2010-10-06 2012-07-11 仁宝电脑工业股份有限公司 具有可扩展的规格因数的模块化系统
CN103248089A (zh) * 2013-04-11 2013-08-14 鸿富锦精密工业(深圳)有限公司 电源管理系统及其电子设备
CN105098888A (zh) * 2015-07-20 2015-11-25 小米科技有限责任公司 充电方法及装置
CN105098273A (zh) * 2015-07-20 2015-11-25 小米科技有限责任公司 充电方法及装置

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005287278A (ja) * 2004-03-31 2005-10-13 Casio Comput Co Ltd 電子端末の充電制御装置及び電子端末の充電制御方法
US7508162B2 (en) * 2006-04-07 2009-03-24 Nokia Corporation Method and apparatus for providing electrical energy to a portable device from energy storage of another portable device
US7701168B2 (en) * 2007-03-23 2010-04-20 Sony Ericsson Mobile Communications Ab Universal serial bus charger device
US20090134836A1 (en) * 2007-11-27 2009-05-28 Motorola, Inc. Devices and methods for electronic device recharging
CN101340652B (zh) * 2008-08-11 2011-09-14 宇龙计算机通信科技(深圳)有限公司 分体式移动终端电源管理方法、管理装置及分体式终端
JP2010115064A (ja) * 2008-11-07 2010-05-20 Canon Inc 充電システム、電力供給機器及び充電機器
KR101583383B1 (ko) * 2009-07-08 2016-01-07 엘지전자 주식회사 다중 배터리를 구비하는 이동 단말기
US8898485B2 (en) * 2009-07-15 2014-11-25 Microsoft Corporation Power transfer between devices
CN102255346B (zh) * 2010-05-20 2015-11-25 宏达国际电子股份有限公司 便携式电子装置
US20130217274A1 (en) * 2011-12-06 2013-08-22 Transwitch Corporation Connector for achieving complete interoperability between different types of data and multimedia interfaces
CN103457458B (zh) * 2012-05-28 2016-03-30 华为终端有限公司 电流切换控制设备及电子设备
CN103682491B (zh) * 2012-09-13 2016-04-27 华平信息技术股份有限公司 电子设备间的充电方法、充电电路以及电子设备
KR101457889B1 (ko) * 2013-01-31 2014-11-07 주식회사 휴아스커뮤니케이션 전력 송신 장치, 전력 수신 장치 및 그 방법
US9912016B2 (en) * 2013-04-08 2018-03-06 Ford Meazell Link for battery power transfer between portable electronic devices
US10476283B2 (en) * 2013-09-27 2019-11-12 Intel Corporation Bi-directional charger for battery device with control logic based on sensed voltage and device type
KR102193181B1 (ko) * 2014-02-21 2020-12-18 삼성전자주식회사 전력 공유 방법 및 이를 구현하는 전자 장치
CN103972957B (zh) * 2014-04-21 2017-01-11 技嘉科技股份有限公司 可携式电子装置互相供应电力系统、可携式电子装置互相供应电力方法及电力传输媒介
CA2851983C (en) * 2014-05-21 2016-08-16 Blackberry Limited Management of power delivered over a port

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009232638A (ja) * 2008-03-25 2009-10-08 Nec Corp 電源管理システム、及び電源装置
CN102566675A (zh) * 2010-10-06 2012-07-11 仁宝电脑工业股份有限公司 具有可扩展的规格因数的模块化系统
CN103248089A (zh) * 2013-04-11 2013-08-14 鸿富锦精密工业(深圳)有限公司 电源管理系统及其电子设备
CN105098888A (zh) * 2015-07-20 2015-11-25 小米科技有限责任公司 充电方法及装置
CN105098273A (zh) * 2015-07-20 2015-11-25 小米科技有限责任公司 充电方法及装置

Also Published As

Publication number Publication date
US20170025874A1 (en) 2017-01-26
CN105098888B (zh) 2018-11-30
EP3121926A1 (en) 2017-01-25
EP3121926B1 (en) 2018-12-05
JP2017528112A (ja) 2017-09-21
KR20170020735A (ko) 2017-02-24
US10205332B2 (en) 2019-02-12
RU2016116959A (ru) 2017-11-02
MX360309B (es) 2018-10-26
KR101869410B1 (ko) 2018-06-20
CN105098888A (zh) 2015-11-25
RU2642439C2 (ru) 2018-01-25
MX2016002130A (es) 2017-03-06
JP6273404B2 (ja) 2018-01-31

Similar Documents

Publication Publication Date Title
JP6273404B2 (ja) 充電方法、装置、プログラム及び記録媒体
CN106774774B (zh) 终端电池的电量显示方法及装置
CN105098273A (zh) 充电方法及装置
CN104578372B (zh) 控制终端设备充电的方法及装置
JP2017509308A (ja) 充電管理方法、充電管理装置、プログラム、及び記録媒体
WO2017028425A1 (zh) 节能模式启动方法和装置
CN106067571A (zh) 为电池充电的方法及电子设备
JP2016527577A (ja) ユーザー指令の実行方法、実行装置、プログラム及び記憶媒体
CN107196372A (zh) 充电方法及装置
US10572424B2 (en) Method and apparatus for switching state
CN105807894B (zh) 应用持锁的处理方法和装置
CN108539804B (zh) 电池充电控制方法、电池充电控制装置和电子设备
CN107809545B (zh) 智能设备的控制方法、装置及存储介质
CN106299515A (zh) 充电方法及装置
CN106791089B (zh) 一种电池电量的提示方法及装置
CN106708243B (zh) 终端设备控制方法及装置
CN107528098B (zh) 充电方法及装置
CN109038697A (zh) 充电控制方法及充电控制装置、电子设备
CN108874107B (zh) 荷电状态的控制方法及装置
CN106451670A (zh) 一种充电控制方法、装置及终端设备
CN106374558A (zh) 移动终端充电控制方法及装置
CN106228933A (zh) 背光灯电路、背光实现方法及电子设备
CN107463478A (zh) 终端设备的控制方法及装置
CN106774800A (zh) 低电量提示方法和终端
CN111381667A (zh) 界面布局的调整方法、装置及存储介质

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: MX/A/2016/002130

Country of ref document: MX

ENP Entry into the national phase

Ref document number: 20167004583

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2017529130

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2016116959

Country of ref document: RU

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15898823

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: 15898823

Country of ref document: EP

Kind code of ref document: A1