WO2023024824A1 - Procédé et appareil de détermination de protocole de charge, dispositif électronique et support de stockage lisible - Google Patents

Procédé et appareil de détermination de protocole de charge, dispositif électronique et support de stockage lisible Download PDF

Info

Publication number
WO2023024824A1
WO2023024824A1 PCT/CN2022/108791 CN2022108791W WO2023024824A1 WO 2023024824 A1 WO2023024824 A1 WO 2023024824A1 CN 2022108791 W CN2022108791 W CN 2022108791W WO 2023024824 A1 WO2023024824 A1 WO 2023024824A1
Authority
WO
WIPO (PCT)
Prior art keywords
charging
protocol
charging protocol
protocols
target
Prior art date
Application number
PCT/CN2022/108791
Other languages
English (en)
Chinese (zh)
Inventor
刘臻
林尚波
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2023024824A1 publication Critical patent/WO2023024824A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00045Authentication, i.e. circuits for checking compatibility between one component, e.g. a battery or a battery charger, and another component, e.g. a power source

Definitions

  • the present application relates to the technical field of charging, and more specifically, relates to a method, device, electronic device and readable storage medium for determining a charging protocol.
  • the existing charging equipment and power supply equipment can support multiple fast charging protocols.
  • the charging equipment detects the signal of the power supply equipment, it can try to shake hands with one of the fast charging protocols with the power supply equipment. If the handshake If it succeeds, perform fast charging; if the handshake fails, select another fast charging protocol, and try to shake hands with the power supply device according to the fast charging protocol; and so on, until the handshake is realized based on a certain fast charging protocol or all supported protocols are Handshake failed.
  • the traditional fast charging protocol selection method is easy to cause multiple fast charging protocol handshake failures, thereby prolonging the interaction time before charging.
  • the present application discloses a method, device, electronic device, and computer-readable storage medium for determining a charging protocol, which can reduce the interaction time before charging.
  • a method for determining a charging protocol is provided, which is applied to a first device, including:
  • Receive charging protocol information sent by the second device includes identifications of at least two charging protocols supported by the second device;
  • a method for determining a charging protocol is provided, which is applied to a first device, including:
  • the charging protocol information includes identifications of at least two charging protocols supported by the first device;
  • the target charging protocol is determined by the second device based on at least two charging protocols supported by the first device and the charging protocol supported by the second device .
  • an apparatus for determining a charging protocol is provided, which is applied to a first device, including:
  • a receiving module configured to receive charging protocol information sent by the second device; the charging protocol information includes identifications of at least two charging protocols supported by the second device;
  • a determining module configured to determine a target charging protocol based on at least two charging protocols supported by the second device and a charging protocol supported by the first device;
  • a sending module configured to send the identifier of the target charging protocol to the second device.
  • an apparatus for determining a charging protocol is provided, which is applied to the first device, including:
  • a sending module configured to send charging protocol information to the second device;
  • the charging protocol information includes identifications of at least two charging protocols supported by the first device;
  • the receiving module is configured to receive the identification of the target charging protocol sent by the second device; the target charging protocol is based on at least two charging protocols supported by the first device and the second device supported by the second device. determined by the charging protocol.
  • an electronic device including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor is made to perform the functions described in the first aspect and the second aspect.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the methods described in the first aspect and the second aspect are implemented.
  • the first device receives the charging protocol information sent by the second device.
  • the charging protocol information includes the identifiers of at least two charging protocols supported by the second device, which means that the second device sends multiple charging protocols to the first device at one time, and the first device can be based on multiple charging protocols supported by the second device.
  • FIG. 1 is an application environment diagram of a method for determining a charging protocol in an embodiment
  • Fig. 2 is a flowchart of a method for determining a charging protocol in an embodiment
  • Fig. 3 is a flowchart of a method for determining a charging protocol in another embodiment
  • Fig. 4 is a structural block diagram of a device for determining a charging protocol in an embodiment
  • Fig. 5 is a structural block diagram of a device for determining a charging protocol in an embodiment
  • Fig. 6 is an internal structure diagram of an electronic device in one embodiment.
  • first, second and the like used in this application may be used to describe various elements herein, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element.
  • a first client could be termed a second client, and, similarly, a second client could be termed a first client, without departing from the scope of the present application.
  • Both the first client and the second client are clients, but they are not the same client.
  • Fig. 1 is a schematic diagram of an application environment of a method for determining a charging protocol in an embodiment.
  • the application environment includes a first device 102 and a second device 104, wherein the first device 102 may be a charging device, the second device 104 may be a power supply device, or the first device 102 may be a power supply device,
  • the second device 104 is a charging device.
  • Both the first device 102 and the second device 104 support multiple charging protocols, and the first device 102 and the second device 104 can select a charging protocol supported by both of the multiple charging protocols supported by themselves for charging.
  • the power supply device can be a charger, a charging head, a power bank, an adapter, etc.
  • the charging device can be various terminals such as a mobile phone, a tablet computer, and a watch.
  • Fig. 2 is a flowchart of a method for determining a charging protocol in an embodiment.
  • the method for determining the charging protocol in this embodiment is described by taking the first device running in FIG. 1 as an example. As shown in Figure 2, the method for determining the charging protocol includes:
  • S201 Receive charging protocol information sent by the second device; the charging protocol information includes identifications of at least two charging protocols supported by the second device.
  • the identification of at least two charging protocols supported by the second device may be the name of the charging protocol supported by the second device, or the code of the charging protocol supported by the second device, or may be the charging protocol supported by the second device.
  • the manufacturer's name and the like of the manufacturer to whom the protocol belongs are not limited in this embodiment of the application.
  • the second device may send charging protocol information including identifications of at least two charging protocols it supports to the first device. For example, if the charging protocols supported by the second device include charging protocol A, charging protocol B, and charging protocol C, the second device carries the identification of charging protocol A, charging protocol B, and charging protocol C in the charging The protocol information is sent to the first device.
  • the at least two charging protocols supported by the second device may be charging protocols belonging to different manufacturers, or may be charging protocols corresponding to different charging powers.
  • the first device may be a charging device
  • the second device may be a power supply device
  • the first device may be a power supply device
  • the second device may be a charging device.
  • S202 Determine a target charging protocol based on the at least two charging protocols supported by the second device and the charging protocol supported by the first device.
  • the first device may determine one of the charging protocols supported by both the first device and the second device as the target charging protocol, that is, from the second One charging protocol among the at least two charging protocols supported by the device and the charging protocols supported by the first device is determined as the target charging protocol.
  • the first device may determine multiple charging protocols supported by the first device and the second device, and then select one of the charging protocols as the target charging protocol according to some selection mechanism, for example, according to the priority order of the commonly supported charging protocols Determine the target charging protocol, or determine the target charging protocol according to the rated power of commonly supported charging protocols, and so on.
  • the charging protocol supported by the second device includes charging protocol A, charging protocol B, and charging protocol C
  • the charging protocol supported by the first device includes charging protocol A and charging protocol C as an example.
  • a device determines that charging protocol A and charging protocol C are charging protocols supported by both, and then determines the target charging protocol from protocol A and protocol C.
  • the target charging protocol determined by the first device may be protocol A or protocol C. It can be understood that the target charging protocol determined by the first device may be the charging protocol with the highest priority among the charging protocols supported by the first device and the second device, or may be the charging protocol supported by the first device and the second device.
  • the charging protocol with the highest charging power among the protocols is not limited in this embodiment of the present application.
  • the first device determines the target charging protocol, it sends the identification of the target charging protocol to the second device, and continues to use the charging protocols supported by the second device including three protocols: protocol A, protocol B, and protocol C.
  • the charging protocol supported by the second device includes protocol A and protocol C as an example. If the target charging protocol determined by the first device is protocol A, the first device sends the identifier of protocol A to the second device; if the first The target charging protocol determined by the device is protocol C, and the first device sends the identifier of protocol C to the second device.
  • the first device After the second device receives the identification of the target charging protocol, the first device performs a charging process with the second device based on the target charging protocol. For example, if the first device is a power supply device and the second device is a charging device, the first device charges the second device according to the target charging protocol; if the first device is a charging device and the second device is a power supply device, the second device The first device is charged according to the target charging protocol.
  • the first device when both the first device and the second device support multiple charging protocols, the first device receives the charging protocol information sent by the second device, since the charging protocol information includes at least one of the charging protocols supported by the second device.
  • the identification of the two charging protocols is equivalent to the second device sending multiple charging protocols to the first device at one time, and the first device can directly determine the target charging protocol based on the multiple charging protocols supported by the second device and the charging protocols supported by itself.
  • the protocol avoids the process of selecting the charging protocol multiple times, thereby shortening the time for the first charging device to select the charging protocol, and reducing the interaction time between the first device and the second device before charging.
  • the second A device determines multiple commonly supported charging protocols based on at least two charging protocols supported by the second device and the charging protocol supported by the first device.
  • the above-mentioned target charging protocol is the second One of the charging protocols supported by both the device and the first device.
  • the first device performs a charging process with the second device based on the target charging protocol.
  • the power supply device supplies power to the charging device according to the target charging protocol.
  • the charging protocol can specify the authentication, communication sequence, message format, data packet format, charging exception handling, etc. between the power supply equipment and the charging equipment.
  • the power supply device can send the voltage/current information it can provide to the charging device in the response message format according to the target charging protocol, and the charging device according to its own needs, After selecting the voltage/current, send feedback information to the power supply device, and the power supply device will output the charging voltage/current according to the voltage/current to charge the charging device.
  • the target charging protocol is one of the charging protocols supported by both the second device and the first device, that is, any one of the charging protocols supported by the second device and the first device is determined Charge protocol for the target.
  • the charging protocol supported by both the second device and the first device may be a charging protocol with the same identification, or a charging protocol with the same charging power, or a charging protocol with the same charging current, etc. No limitation is imposed in the application examples.
  • the charging protocols supported by the second device include charging protocol A, charging protocol B, and charging protocol C
  • the charging protocols supported by the first device include charging protocol A and charging protocol C
  • the charging protocols supported by the second device A and charging protocols The charging protocol A supported by one device has the same protocol identifier
  • the charging protocol C supported by the second device and the charging protocol C supported by the first device have the same protocol identifier, then the first device determines the charging protocol A and charging protocol C as A charging protocol supported by both the second device and the first device.
  • the first device may determine a charging protocol as a target from the charging protocols supported by both the second device and the first device according to the priorities of the charging protocols supported by both the second device and the first device.
  • the charging protocol may also be determined as the target charging protocol from the charging protocols supported by both the second device and the first device according to the charging power of the charging protocols supported by both the second device and the first device. For example, if the priority of charging protocol A is greater than that of charging protocol C, the first device determines charging protocol A as the target charging protocol. Alternatively, if the charging power of the charging protocol A is greater than the charging power of the charging protocol C, the first device determines the charging protocol A as the target charging protocol.
  • the target charging protocol is one of the charging protocols supported by both the second device and the first device, and by determining one of the charging protocols supported by both the second device and the first device as the target charging protocol, Improved the reliability of determining the target charging protocol.
  • the first device can determine the target charging protocol based on the charging protocols supported by both the second device and the first device, including the priority of two or more charging protocols, or based on the charging protocols supported by both the second device and the first device.
  • the protocol includes the charging power of two or more charging protocols to determine the target charging protocol. The following will determine the target charging for the first device based on two or more charging protocols supported by both the second device and the first device. The protocol process is described in detail:
  • the charging protocol with the highest priority among the two or more charging protocols is determined as the target charging protocol.
  • the first device determines that there are two or more charging protocols supported by both the second device and the first device
  • the first device The target charging protocol is determined at the first level, that is, the first device determines the charging protocol with the highest priority among the two or more charging protocols supported by both the second device and the first device as the target charging protocol.
  • the charging protocols supported by the second device include charging protocol A, charging protocol B, and charging protocol C
  • the charging protocols supported by the first device include charging protocol A and charging protocol C
  • the second device and The charging protocols supported by the first device are charging protocol A and charging protocol C, and if the priority of the charging protocol is charging protocol A>charging protocol C, then the first device determines charging protocol A as the above-mentioned target charging protocol.
  • the first device determines the charging protocol with the highest priority among the two or more charging protocols supported by the second device and the first device as the target charging protocol.
  • a device selects a charging protocol time, and the selected target charging protocol is better.
  • the charging protocol with the highest charging power among the two or more charging protocols is determined as the target charging protocol:
  • the first device determines that there are two or more charging protocols supported by the second device and the first device
  • the first device The charging power determines the target charging protocol, that is, the first device determines the charging protocol with the highest charging power among the two or more charging protocols supported by both the second device and the first device as the target charging protocol.
  • the charging protocols supported by the second device include charging protocol A, charging protocol B, and charging protocol C
  • the charging protocols supported by the first device include charging protocol A and charging protocol C
  • the second device and The charging protocols supported by the first device are charging protocol A and charging protocol C. If the charging power of charging protocol C is greater than that of charging protocol A, the first device determines charging protocol C as the target charging protocol.
  • the charging protocol information sent by the second device in order to reduce the signaling of the charging protocol information sent by the second device to the first device, in the scenario of the charging protocol information sent by the second device to the first device, the charging protocol information sent by the second device
  • the charging power of each charging protocol supported by the second device may be included, and the level of charging power of each charging protocol supported by the second device may also be included.
  • the first device determines the charging protocol with the highest charging power as the target charging protocol among the two or more charging protocols supported by the second device and the first device. A time for the device to select a charging protocol.
  • the first device will use the two or more charging protocols supported by the second device and the first device.
  • the charging protocols supported by both the second device and the first device may include a first candidate protocol and a second candidate protocol, where the first candidate protocol and the second candidate protocol are For charging protocols owned by different manufacturers, in this scenario, in one embodiment, if the charging protocols supported by both the second device and the first device include the first candidate protocol and the second candidate protocol, and the charging protocol of the second candidate protocol If the power is greater than the sum of the charging power of the first candidate protocol and the preset power increment, the second candidate protocol is determined as the target charging protocol.
  • the first candidate protocol and the second candidate protocol are protocols owned by different manufacturers.
  • the first candidate protocol may be a protocol owned by the first manufacturer
  • the second candidate protocol may be a protocol owned by the second manufacturer.
  • the first device may sum the charging power of the first candidate protocol and a preset power increment, To obtain the corrected power of the first candidate protocol, for example, the preset power increment can be 20, then the first device can sum the charging power of the first candidate protocol and 20 to obtain the corrected power of the first candidate protocol, and the above The charging power of the second candidate protocol is compared with the correction power of the first candidate protocol.
  • the first device determines that the charging power of the second candidate protocol is greater than the correction power of the first candidate protocol, the first device will The protocol identified above is the target charging protocol. It can be understood that, in this embodiment, the charging power of the first candidate protocol is the corrected power. In this case, if the charging power of the second candidate protocol is still greater than the corrected power of the first candidate protocol, it means The charging power of the protocol is the maximum power, so the second candidate protocol is determined as the target charging protocol, ensuring the accuracy of the determined target charging protocol.
  • the first device determines the second candidate protocol as the target charging protocol, so that the scenario adaptability of the protocol selection method is more flexible.
  • Scenario 3 If both the second device and the first device support two or more charging protocols, the first device can use the following two methods to determine the target charging protocol, and the following two determine the target charging protocol respectively The method is explained:
  • Method A If the charging protocols supported by both the second device and the first device include two or more, determine the third candidate charging protocol with the highest priority among the two or more charging protocols as the target charging protocol;
  • the third candidate charging protocol is a preset number of charging protocols determined from two or more charging protocols in descending order of charging power.
  • the first device determines that both the second device and the first device support two or more charging protocols, after receiving the charging protocol information sent by the second device, the first device In the information, the charging power of the charging protocol supported by the second device is determined from the charging power of the second device and the first device, including two or more charging protocols, according to the order of charging power from large to small.
  • Charging protocol for example, two or more charging protocols supported by both the second device and the first device are charging protocol A, charging protocol C and charging protocol D, and the first device receives the charging protocol sent by the second device
  • the power of charging protocol A is 50W
  • the power of charging protocol C is 20W
  • the power of charging protocol D is 10W
  • the first device determines charging protocol A and charging protocol C as the third candidate charging protocol, and then sets the priority The highest third candidate charging protocol is determined as the target charging protocol.
  • the determined third candidate charging protocol is charging protocol C and charging protocol D, and the priority of charging protocol C is higher than that of charging protocol D
  • the first device determines charging protocol C as the target charging protocol
  • the determined third candidate charging protocol is charging protocol A, charging protocol C, and charging protocol D
  • the priority of charging protocol A is higher than that of charging protocol C
  • the priority of charging protocol C is higher than that of charging protocol D level
  • the first device may determine charging protocol A as the target charging protocol.
  • the first device can quickly sort the charging protocols supported by both the second device and the first device according to the charging power according to the charging power of the charging protocols supported by the second device and the first device, and quickly A preset number of third candidate charging protocols are determined therefrom, so that the first device can quickly determine the third candidate charging protocol with the highest priority as the target charging protocol, because the determined target charging protocol is the third candidate charging protocol with the highest priority In this way, the two factors of the priority and power of the charging protocol are taken into account, making the determined target charging protocol more reliable and more adaptable to the scene.
  • Method B If the charging protocols supported by both the second device and the first device include two or more, determine the fourth candidate charging protocol with the highest charging power among the two or more charging protocols as the target charging protocol;
  • the fourth candidate charging protocol is a preset number of charging protocols determined from two or more charging protocols in descending order of priority.
  • the first device determines that both the second device and the first device support two or more charging protocols, after receiving the charging protocol information sent by the second device, the first device The priority of the charging protocol supported by the second device in the information, from the two or more charging protocols supported by both the second device and the first device, a preset number of charging protocols are determined in order of priority from high to low.
  • Charging protocol for example, two or more charging protocols supported by both the second device and the first device are charging protocol A, charging protocol C and charging protocol D, and the first device receives the charging protocol information sent by the second device
  • the priority of charging protocol A is higher than that of charging protocol C
  • the priority of charging protocol C is higher than that of charging protocol D
  • the first device determines charging protocol A and charging protocol C as the fourth candidate charging protocol , and then determine the fourth candidate charging protocol with the highest charging power as the target charging protocol.
  • the determined fourth candidate charging protocol is charging protocol C and charging protocol D, and the charging power of charging protocol C is greater than the charging power of charging protocol D, then the first device determines charging protocol C as the target charging protocol, and for another example, The determined fourth candidate charging protocol is charging protocol A, charging protocol C and charging protocol D, and the charging power of charging protocol A is greater than the charging power of charging protocol C, and the charging power of charging protocol C is greater than the charging power of charging protocol D, then The first device may determine charging protocol A as the target charging protocol.
  • the first device can quickly sort the charging protocols supported by both the second device and the first device according to the priority according to the priorities of the charging protocols supported by both the second device and the first device, and quickly select Determine a preset number of fourth candidate charging protocols, so that the first device can quickly determine the fourth candidate charging protocol with the largest charging power as the target charging protocol, because the determined target charging protocol is the fourth candidate charging protocol with the largest charging power , which takes into account the priority and power of the charging protocol, making the determined target charging protocol more reliable and more adaptable to the scene.
  • the above method further includes: A communication protocol, establishing a communication connection with the second device.
  • the preset standard communication protocol may be a communication protocol supported by both the first device and the second device, or may be a charging protocol supported by both the first device and the second device.
  • the first device may send a handshake request to the second device, and after receiving the handshake request from the first device, the second device sends a response message to the first device to establish a communication connection with the second device. It may also be that the second device sends a handshake request to the first device, and after receiving the handshake request sent by the second device, the first device sends a response message to the second device to establish a communication connection with the first device.
  • the above-mentioned target charging protocol may be the preset standard communication protocol. It can be understood that the first device and the second device can communicate based on a preset standard communication protocol. If the standard communication protocol supports the communication between the first device and the charging device of the second device, the above preset The standard communication protocol is directly used as the target charging protocol.
  • the process of establishing a communication connection between the first device and the second device based on a preset standard communication protocol is very simple, and the communication connection between the first device and the second device can be quickly established for subsequent A charging protocol negotiation is performed between the first device and the second device.
  • the charging protocol information includes identifications of at least two charging protocols supported by the second device.
  • step S3 if the charging protocols supported by both the second device and the first device include two or more than two, execute step S4 or step S5 or step S6 or step S7 or step S8;
  • the charging protocols supported by both the second device and the first device include two or more, determine the charging protocol with the highest charging power among the two or more charging protocols as the target charging protocol.
  • the charging protocols supported by both the second device and the first device include the first candidate protocol and the second candidate protocol, and the charging power of the second candidate protocol is greater than the difference between the charging power of the first candidate protocol and the preset power increment and, the second candidate protocol is determined as the target charging protocol.
  • the charging protocols supported by both the second device and the first device include two or more, determine the third candidate charging protocol with the highest priority among the two or more charging protocols as the target charging protocol;
  • the three candidate charging protocols are a preset number of charging protocols determined from two or more charging protocols in descending order of charging power.
  • the charging protocols supported by both the second device and the first device include two or more, determine the fourth candidate charging protocol with the highest charging power among the two or more charging protocols as the target charging protocol;
  • the four candidate charging protocols are a preset number of charging protocols determined from two or more charging protocols in descending order of priority.
  • the first device is a charging device
  • the second device is a power supply device
  • the first device is a power supply device
  • the second device is a charging device
  • Fig. 3 is a flowchart of a method for determining a charging protocol in an embodiment.
  • the method for determining the charging protocol in this embodiment is described by taking the first device running in FIG. 1 as an example. As shown in Figure 3, the method for determining the charging protocol includes:
  • the charging protocol information includes identifiers of at least two charging protocols supported by the first device.
  • the identification of the at least two charging protocols supported by the first device may be the name of the charging protocol supported by the first device, or the code of the charging protocol supported by the first device, or may be the charging protocol supported by the first device.
  • the manufacturer's name and the like of the manufacturer to whom the protocol belongs are not limited in this embodiment of the application.
  • the first device may send charging protocol information including identifications of at least two charging protocols it supports to the second device.
  • the charging protocol supported by the first device includes three protocols: charging protocol A, charging protocol B and charging protocol C, then the first device carries the identification of charging protocol A, charging protocol B and charging protocol C in the charging The protocol information is sent to the second device.
  • the at least two charging protocols supported by the first device may be charging protocols belonging to different manufacturers, or may be charging protocols corresponding to different charging powers.
  • the first device may be a charging device
  • the second device may be a power supply device
  • the first device may be a power supply device
  • the second device may be a charging device.
  • S302. Receive an identifier of a target charging protocol sent by the second device; the target charging protocol is determined by the second device based on at least two charging protocols supported by the first device and the charging protocols supported by the second device.
  • the second device after the second device determines the target charging protocol, it sends the identification of the target charging protocol to the first device, and the first device receives the identification of the target charging protocol sent by the second device, wherein the identification of the target charging protocol determined by the second device based on at least two charging protocols supported by the first device and the charging protocols supported by the second device.
  • the charging protocol supported by the first device includes protocol A, protocol B, and protocol C
  • the charging protocol supported by the second device includes protocol A and protocol C.
  • the second device sends the protocol A identifier to the first device, and the first device receives the protocol A identifier sent by the second device; if the target charging protocol determined by the second device is protocol C, then the second device The device sends the protocol-C identifier to the first device, and the first device receives the protocol-C identifier sent by the second device.
  • the second device may determine one of the charging protocols supported by both the first device and the second device as the target charging protocol, that is, the second device may start from One charging protocol among the at least two charging protocols supported by the first device and the same plurality of charging protocols supported by the second device is determined as the target charging protocol.
  • the second device may determine multiple charging protocols supported by both the first device and the second device, and then select one of the charging protocols as the target charging protocol according to some selection mechanisms.
  • the second device may The priority sequence of the charging protocol determines the target charging protocol, or the second device may determine the target charging protocol according to the rated power of the commonly supported charging protocols, and so on.
  • the second device includes the two or more charging protocols
  • the charging protocol with the highest priority is determined as the target charging protocol.
  • the second device determines the charging protocol with the highest charging power among the two or more charging protocols as the target charging protocol. protocol; further, if the charging protocol supported by both the second device and the first device includes the first candidate protocol and the second candidate protocol, and the charging power of the second candidate protocol is greater than the charging power of the first candidate protocol and the preset power
  • the second device may determine the second candidate protocol as the target charging protocol.
  • the second device may determine the third candidate charging protocol with the highest priority among the two or more charging protocols is the target charging protocol; wherein, the third candidate charging protocol is a preset number of charging protocols determined from the above two or more than two charging protocols in descending order of charging power.
  • the second device may determine the fourth candidate charging protocol with the highest charging power among the above two or more charging protocols as The target charging protocol; wherein, the fourth candidate charging protocol is a preset number of charging protocols determined from the above two or more charging protocols in descending order of priority.
  • the first device After the first device receives the identification of the target charging protocol, the first device performs a charging process with the second device based on the target charging protocol. For example, if the first device is a power supply device and the second device is a charging device, the first device charges the second device according to the target charging protocol; if the first device is a charging device and the second device is a power supply device, the second device The first device is charged according to the target charging protocol.
  • the first device when both the first device and the second device support multiple charging protocols, the first device sends charging protocol information to the second device, since the charging protocol information includes at least two charging protocols supported by the first device.
  • the identification of a charging protocol is equivalent to the first device sending multiple charging protocols to the second device at one time, and the second device can directly determine the target charging protocol based on the multiple charging protocols supported by the first device and the charging protocols supported by itself , avoiding the process of selecting the charging protocol multiple times, thereby shortening the time for the second charging device to select the charging protocol, and reducing the interaction time between the first device and the second device before charging.
  • the above method further includes: A communication protocol, establishing a communication connection with the second device.
  • the preset standard communication protocol may be a communication protocol supported by both the first device and the second device, or may be a charging protocol supported by both the first device and the second device.
  • the first device may send a handshake request to the second device, and after receiving the handshake request from the first device, the second device sends a response message to the first device to establish a communication connection with the second device. It may also be that the second device sends a handshake request to the first device, and after receiving the handshake request sent by the second device, the first device sends a response message to the second device to establish a communication connection with the first device.
  • the above-mentioned target charging protocol may be the preset standard communication protocol. It can be understood that the first device and the second device can communicate based on a preset standard communication protocol. If the standard communication protocol supports the communication between the first device and the charging device of the second device, the above target charging protocol can be Directly as the preset standard communication protocol.
  • the process of establishing a communication connection between the first device and the second device based on a preset standard communication protocol is very simple, and the communication connection between the first device and the second device can be quickly established for subsequent A charging protocol negotiation is performed between the first device and the second device.
  • the charging protocol information includes identifiers of at least two charging protocols supported by the first device.
  • the target charging protocol is determined by the second device based on at least two charging protocols supported by the first device and the charging protocol supported by the second device; the target charging protocol is determined by the second device One of the charging protocols supported by both the first device.
  • the target charging protocol is a preset standard communication protocol.
  • the first device is a charging device
  • the second device is a power supply device
  • the first device is a power supply device
  • the second device is a charging device
  • steps in the flow charts of FIG. 2 to FIG. 3 are shown sequentially as indicated by the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in FIGS. 2 to 3 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. These sub-steps or The execution order of the stages is not necessarily performed sequentially, but may be executed alternately or alternately with at least a part of other steps or substeps of other steps or stages.
  • Fig. 4 is a structural block diagram of an apparatus for determining a charging protocol according to an embodiment.
  • the device for determining the charging protocol is applied to the first device, and the device for determining the charging protocol includes: a receiving module, a determining module, and a sending module, wherein:
  • a receiving module configured to receive charging protocol information sent by the second device; the charging protocol information includes identifications of at least two charging protocols supported by the second device;
  • a determining module configured to determine a target charging protocol based on at least two charging protocols supported by the second device and a charging protocol supported by the first device;
  • a sending module configured to send the identification of the target charging protocol to the second device.
  • the first device is a charging device
  • the second device is a power supply device
  • the first device is a power supply device
  • the second device is a charging device
  • the device for determining the charging protocol provided in this embodiment can execute the above-mentioned method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here.
  • the target charging protocol is one of the charging protocols supported by both the second device and the first device.
  • the device for determining the charging protocol provided in this embodiment can execute the above-mentioned method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here.
  • the charging protocols supported by both the second device and the first device include two or more than two charging protocols, among the two or more charging protocols, the one with the highest priority
  • the charging protocol is determined as the target charging protocol.
  • the device for determining the charging protocol provided in this embodiment can execute the above-mentioned method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here.
  • both the second device and the first device support two or more charging protocols, the one with the highest charging power among the two or more charging protocols
  • the charging protocol is determined as the target charging protocol.
  • the device for determining the charging protocol provided in this embodiment can execute the above-mentioned method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here.
  • the charging protocols supported by both the second device and the first device include the first candidate protocol and the second candidate protocol, and the charging power of the second candidate protocol is greater than that of the first candidate protocol
  • the sum of the charging power and the preset power increment determines the second candidate protocol as the target charging protocol.
  • the device for determining the charging protocol provided in this embodiment can execute the above-mentioned method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here.
  • the third charging protocol with the highest priority among the two or more charging protocols is determined as the target charging protocol; the third candidate charging protocol is a preset number of charging protocols determined from two or more charging protocols in descending order of charging power.
  • the device for determining the charging protocol provided in this embodiment can execute the above-mentioned method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here.
  • the fourth charging protocol with the highest charging power among the two or more charging protocols is determined as the target charging protocol; the fourth candidate charging protocol is a preset number of charging protocols determined from two or more charging protocols in descending order of priority.
  • the device for determining the charging protocol provided in this embodiment can execute the above-mentioned method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here.
  • the foregoing apparatus further includes: an execution module, wherein:
  • An executing module configured to execute a charging process with the second device based on the target charging protocol.
  • the device for determining the charging protocol provided in this embodiment can execute the above-mentioned method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here.
  • the foregoing apparatus further includes: an establishment module, wherein:
  • the establishment module is used to establish a communication connection with the second device based on a preset standard communication protocol.
  • the target charging protocol is a preset standard communication protocol.
  • the device for determining the charging protocol provided in this embodiment can execute the above-mentioned method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here.
  • each module in the device for determining the charging protocol is only for illustration. In other embodiments, the device for determining the charging protocol can be divided into different modules according to needs, so as to complete all or part of the device for determining the charging protocol. Function.
  • Each module in the above-mentioned device for determining the charging protocol may be implemented in whole or in part by software, hardware or a combination thereof.
  • the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above-mentioned modules.
  • each module in the device for determining the charging protocol provided in the embodiment of the present application may be in the form of a computer program.
  • the computer program can run on a terminal or a server.
  • the program modules constituted by the computer program can be stored in the memory of the electronic device.
  • the steps of the methods described in the embodiments of the present application are realized.
  • Fig. 5 is a structural block diagram of an apparatus for determining a charging protocol according to an embodiment. As shown in FIG. 5, the device for determining the charging protocol is applied to the first device, and the device for determining the charging protocol includes: a sending module and a receiving module, wherein:
  • a sending module configured to send charging protocol information to the second device;
  • the charging protocol information includes identifications of at least two charging protocols supported by the first device;
  • the receiving module is configured to receive the identification of the target charging protocol sent by the second device; the target charging protocol is determined by the second device based on at least two charging protocols supported by the first device and the charging protocols supported by the second device.
  • the first device is a charging device
  • the second device is a power supply device
  • the first device is a power supply device
  • the second device is a charging device
  • the device for determining the charging protocol provided in this embodiment can execute the above-mentioned method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here.
  • the foregoing target charging protocol is one of the charging protocols supported by both the second device and the first device.
  • the device for determining the charging protocol provided in this embodiment can execute the above-mentioned method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here.
  • the foregoing apparatus further includes: an execution module, wherein:
  • An execution module configured to execute a charging process with the second device based on the target charging protocol.
  • the device for determining the charging protocol provided in this embodiment can execute the above-mentioned method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here.
  • the foregoing apparatus further includes: an establishment module, wherein:
  • the establishment module is used to establish a communication connection with the second device based on a preset standard communication protocol.
  • the target charging protocol is a preset standard communication protocol.
  • the device for determining the charging protocol provided in this embodiment can execute the above-mentioned method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here.
  • each module in the device for determining the charging protocol is only for illustration. In other embodiments, the device for determining the charging protocol can be divided into different modules according to needs, so as to complete all or part of the device for determining the charging protocol. Function.
  • Each module in the above-mentioned device for determining the charging protocol may be implemented in whole or in part by software, hardware or a combination thereof.
  • the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above-mentioned modules.
  • each module in the device for determining the charging protocol provided in the embodiment of the present application may be in the form of a computer program.
  • the computer program can run on a terminal or a server.
  • the program modules constituted by the computer program can be stored in the memory of the electronic device.
  • the steps of the methods described in the embodiments of the present application are realized.
  • Fig. 6 is a schematic diagram of the internal structure of an electronic device in one embodiment.
  • the electronic device can be any terminal device such as mobile phone, tablet computer, notebook computer, desktop computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, sales terminal), vehicle-mounted computer, wearable device, etc.
  • the electronic device includes a processor and memory connected by a system bus.
  • the processor may include one or more processing units.
  • the processor can be a CPU (Central Processing Unit, central processing unit) or a DSP (Digital Signal Processing, digital signal processor), etc.
  • the memory may include non-volatile storage media and internal memory. Nonvolatile storage media store operating systems and computer programs.
  • the computer program can be executed by a processor, so as to implement a method for determining a charging protocol provided in the following embodiments.
  • the internal memory provides a high-speed running environment for the operating system computer program in the non-volatile storage medium.
  • the embodiment of the present application also provides a computer-readable storage medium.
  • One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the method for determining the charging protocol.
  • the embodiment of the present application also provides a computer program product containing instructions, which, when run on a computer, causes the computer to execute the method for determining the charging protocol.
  • Non-volatile memory can include ROM (Read-Only Memory, read-only memory), PROM (Programmable Read-only Memory, programmable read-only memory), EPROM (Erasable Programmable Read-Only Memory, erasable programmable read-only memory) Memory), EEPROM (Electrically Erasable Programmable Read-only Memory, Electrically Erasable Programmable Read-only Memory) or flash memory.
  • Volatile memory can include RAM (Random Access Memory, random access memory), which is used as an external cache memory.
  • RAM is available in various forms, such as SRAM (Static Random Access Memory, static random access memory), DRAM (Dynamic Random Access Memory, dynamic random access memory), SDRAM (Synchronous Dynamic Random Access Memory, synchronous dynamic Random access memory), double data rate DDR SDRAM (Double DataRate Synchronous Dynamic Random Access memory, double data rate synchronous dynamic random access memory), ESDRAM (Enhanced Synchronous Dynamic Random Access memory, enhanced synchronous dynamic random access memory), SLDRAM ( Sync LinkDynamic Random Access Memory, synchronous link dynamic random access memory), RDRAM (Rambus Dynamic Random Access Memory, bus dynamic random access memory), DRDRAM (Direct Rambus Dynamic Random Access Memory, interface dynamic random access memory).
  • SRAM Static Random Access Memory, static random access memory
  • DRAM Dynanamic Random Access Memory, dynamic random access memory
  • SDRAM Synchronous Dynamic Random Access Memory, synchronous dynamic Random access memory
  • double data rate DDR SDRAM Double DataRate Synchronous Dynamic Random Access memory, double

Landscapes

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

Abstract

Des modes de réalisation de la présente divulgation concernent un procédé et un appareil de détermination de protocole de charge, un dispositif électronique et un support de stockage lisible. Le procédé est appliqué à un premier dispositif. Le procédé consiste : à recevoir des informations de protocole de charge envoyées par un second dispositif, les informations de protocole de charge comprenant des identifiants d'au moins deux protocoles de charge pris en charge par le second dispositif ; à déterminer un protocole de charge cible sur la base des au moins deux protocoles de charge pris en charge par le second dispositif et un protocole de charge pris en charge par le premier dispositif ; et à envoyer un identifiant du protocole de charge cible au second dispositif. Selon le présent procédé, de multiples sélections du protocole de charge cible sont évitées, de sorte que le temps de sélection pour un premier dispositif de charge pour sélectionner un protocole de charge est raccourci, et le temps d'interaction entre le premier dispositif et le second dispositif avant la charge est réduit.
PCT/CN2022/108791 2021-08-25 2022-07-29 Procédé et appareil de détermination de protocole de charge, dispositif électronique et support de stockage lisible WO2023024824A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110984469.3A CN113690981A (zh) 2021-08-25 2021-08-25 充电协议的确定方法、装置、电子设备和可读存储介质
CN202110984469.3 2021-08-25

Publications (1)

Publication Number Publication Date
WO2023024824A1 true WO2023024824A1 (fr) 2023-03-02

Family

ID=78582713

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/108791 WO2023024824A1 (fr) 2021-08-25 2022-07-29 Procédé et appareil de détermination de protocole de charge, dispositif électronique et support de stockage lisible

Country Status (2)

Country Link
CN (1) CN113690981A (fr)
WO (1) WO2023024824A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116526704A (zh) * 2023-05-16 2023-08-01 湖南旭联科技有限公司 多设备自适应无线充电方法、装置、设备及存储介质

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113690981A (zh) * 2021-08-25 2021-11-23 Oppo广东移动通信有限公司 充电协议的确定方法、装置、电子设备和可读存储介质
CN117955206A (zh) * 2021-12-08 2024-04-30 华为技术有限公司 协议信息测试方法、测试仪、存储介质及程序产品
CN114844180B (zh) * 2022-07-01 2022-09-27 龙旗电子(惠州)有限公司 应用于电子设备的充电方法、装置、设备及存储介质
CN115782658B (zh) * 2022-11-22 2023-10-20 深圳市赛特新能科技有限公司 一种基于多种充电标准的多通道充电控制方法及系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668315A (zh) * 2009-10-12 2010-03-10 上海华为技术有限公司 对不同协议版本的网元进行操作的方法及装置
US20180037128A1 (en) * 2016-08-03 2018-02-08 Proterra Inc. Multi-protocol charge port for an electric bus
CN111384738A (zh) * 2018-12-29 2020-07-07 比亚迪汽车工业有限公司 充电协议的控制方法和装置
CN112448435A (zh) * 2019-09-03 2021-03-05 中兴通讯股份有限公司 终端设备充电方法、装置和存储介质
CN113178906A (zh) * 2021-04-13 2021-07-27 北京小米移动软件有限公司 充电方法、装置、电子设备及存储介质
CN113690981A (zh) * 2021-08-25 2021-11-23 Oppo广东移动通信有限公司 充电协议的确定方法、装置、电子设备和可读存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668315A (zh) * 2009-10-12 2010-03-10 上海华为技术有限公司 对不同协议版本的网元进行操作的方法及装置
US20180037128A1 (en) * 2016-08-03 2018-02-08 Proterra Inc. Multi-protocol charge port for an electric bus
CN111384738A (zh) * 2018-12-29 2020-07-07 比亚迪汽车工业有限公司 充电协议的控制方法和装置
CN112448435A (zh) * 2019-09-03 2021-03-05 中兴通讯股份有限公司 终端设备充电方法、装置和存储介质
CN113178906A (zh) * 2021-04-13 2021-07-27 北京小米移动软件有限公司 充电方法、装置、电子设备及存储介质
CN113690981A (zh) * 2021-08-25 2021-11-23 Oppo广东移动通信有限公司 充电协议的确定方法、装置、电子设备和可读存储介质

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116526704A (zh) * 2023-05-16 2023-08-01 湖南旭联科技有限公司 多设备自适应无线充电方法、装置、设备及存储介质
CN116526704B (zh) * 2023-05-16 2024-05-24 湖南旭联科技有限公司 多设备自适应无线充电方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN113690981A (zh) 2021-11-23

Similar Documents

Publication Publication Date Title
WO2023024824A1 (fr) Procédé et appareil de détermination de protocole de charge, dispositif électronique et support de stockage lisible
EP3547727A1 (fr) Procédé de connexion bluetooth, dispositif et terminal intelligent
US11191111B2 (en) Bluetooth connection establishment method, device and system
WO2020248375A1 (fr) Procédé et système de synchronisation de données entre des bases de données, dispositif informatique, et support d'informations
WO2021164125A1 (fr) Procédé de création de session et dispositif associé
WO2017092594A1 (fr) Procédé et dispositif de traitement d'informations
CN111355844B (zh) 终端应用启动管理的方法、装置、终端、usim及存储介质
EP2823688B1 (fr) Systèmes et procédés destinés à mettre en oeuvre une connexion d'homologue à homologue
EP3409073B1 (fr) Procédé et dispositif électronique aptes à fournir un service de modem affilié
WO2021121407A1 (fr) Procédé et appareil de changement de capacité pour machine virtuelle
WO2017101186A1 (fr) Procédé pour établir une connexion sans fil pour une application d'un équipement utilisateur
US11770212B2 (en) Data transmission methods, data transmission device, and data transmission apparatuses
US20210044961A1 (en) Electronic device for managing embedded subscriber identification module and method for same
US20160286594A1 (en) Method for establishing communications between peer devices, wireless communication device using the same and computer-readable medium
WO2019047117A1 (fr) Procédé d'accès au réseau, dispositif terminal et dispositif réseau
WO2021012506A1 (fr) Procédé et appareil pour réaliser un équilibrage de charge dans un système de reconnaissance de la parole et dispositif informatique
WO2019201248A1 (fr) Procédé et dispositif de réamorçage dans un système de machine à machine léger
WO2017181465A1 (fr) Procédé et dispositif de configuration de nom de point d'accès
WO2017088294A1 (fr) Procédé et dispositif pour l'établissement d'une connexion sans fil
WO2016169079A1 (fr) Procédé et système d'enregistrement sans fil de terminal mobile
KR20210068933A (ko) 메시지 채팅 서비스를 제공하는 전자 장치 및 방법
CN111966530A (zh) 应用系统灾备切换方法、装置、计算机设备和存储介质
WO2023124264A1 (fr) Procédé d'établissement d'une connexion de communication, terminal et support de stockage
KR20190093383A (ko) 프로파일을 설치하는 전자 장치 및 전자 장치의 동작 방법
CN111464395B (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: 22860170

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE