Charging method and apparatus
A charging method and power-side technology, applied in the field of communication, can solve problems such as inability to adjust power supply roles, poor user experience, etc., and achieve the effect of providing user experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0019] like figure 1 As shown, it is a schematic flow chart of the charging method in Embodiment 1 of the present invention. In the embodiment of the present invention, two terminal devices are included, wherein one terminal device is an execution subject and executes the charging method, and the other terminal device is a peer device. In the embodiment of the present invention, a mobile phone is used as an example for explanation. For ease of understanding, the mobile phone executing the charging method is referred to as the first mobile phone, and another mobile phone as the opposite device is referred to as the second mobile phone. The charging method includes the following steps:
[0020] S101. Send an indication message for switching power supply roles to a peer device.
[0021] Among them, the role of the power supply includes: the charging party and the receiving party.
[0022] In the embodiment of the present invention, when the first mobile phone and the second mo...
Embodiment 2
[0030] like figure 2 As shown, it is a schematic flow chart of the charging method in Embodiment 2 of the present invention. In the embodiment of the present invention, two terminal devices are included, wherein one terminal device is an execution subject and executes the charging method, and the other terminal device is a peer device. In the embodiment of the present invention, a mobile phone is used as an example for explanation. For ease of understanding, the mobile phone executing the charging method is referred to as the first mobile phone, and another mobile phone as the opposite device is referred to as the second mobile phone. The charging method includes the following steps:
[0031] S200. Obtain the current remaining power of the local device.
[0032] In the embodiment of the present invention, the local device is the executive body, that is, the first mobile phone, and the first mobile phone can monitor its own power, so that the first mobile phone can obtain it...
Embodiment 3
[0055] like image 3 As shown in , it is a schematic structural diagram of the charging device according to Embodiment 3 of the present invention. In the embodiment of the present invention, the charging device is arranged on the local device, and the local device has functions of charging and receiving power. Both the local device and the peer device have charging and power receiving functions.
[0056] The charging device includes: a sending module 11 and a switching module 12 .
[0057] Wherein, the sending module 11 is configured to send an instruction message for switching power roles to the peer device, wherein the power roles include: a charging party and a receiving party.
[0058] The switching module 12 is configured to perform the power supply role switching with the peer device.
[0059] When the local device and the peer device are connected through the communication interface, the peer device and the local device where the charging device is located will be ra...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 