CN116506839A - Protocol upgrading method, device, equipment, system and storage medium - Google Patents

Protocol upgrading method, device, equipment, system and storage medium Download PDF

Info

Publication number
CN116506839A
CN116506839A CN202310424639.1A CN202310424639A CN116506839A CN 116506839 A CN116506839 A CN 116506839A CN 202310424639 A CN202310424639 A CN 202310424639A CN 116506839 A CN116506839 A CN 116506839A
Authority
CN
China
Prior art keywords
terminal
information
charging
charging equipment
data packet
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.)
Pending
Application number
CN202310424639.1A
Other languages
Chinese (zh)
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.)
Shenzhen Baseus Technology Co Ltd
Original Assignee
Shenzhen Baseus Technology Co Ltd
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 Shenzhen Baseus Technology Co Ltd filed Critical Shenzhen Baseus Technology Co Ltd
Priority to CN202310424639.1A priority Critical patent/CN116506839A/en
Publication of CN116506839A publication Critical patent/CN116506839A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/24Negotiation of communication capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

The application discloses a protocol upgrading method, a device, equipment, a system and a storage medium; the method is applied to the terminal, and comprises the following steps: receiving a first instruction sent by charging equipment; the first instruction is used for indicating the terminal to establish connection with the charging equipment; after the terminal establishes connection with the charging equipment, receiving first information sent by the charging equipment; the first information is used for downloading an upgrade data packet by the terminal; downloading the upgrade data packet by using the first information; and sending the upgrade data packet to the charging equipment so as to update a charging protocol by the charging equipment.

Description

Protocol upgrading method, device, equipment, system and storage medium
Technical Field
The present disclosure relates to the field of wireless communications technologies, and in particular, to a method, an apparatus, a device, a system, and a storage medium for upgrading a protocol.
Background
At present, with the development of technology, various electronic products are upgraded, the power consumption of the products is greatly improved under the continuous enhancement of the performance of the products, various quick-charging technologies are not absolute, and high-power charging equipment is also continuously updated. However, since the charging protocol of the charging device is an inherent charging protocol, with the continuous upgrade of the electronic device, the old charging device cannot charge the upgraded electronic device, so as to meet the requirement of the user on the charging power, and the user can replace the new charging device, which also results in a great amount of waste of productivity.
Disclosure of Invention
Based on the above problems, embodiments of the present application provide a method, an apparatus, a device, a system, and a storage medium for upgrading a protocol.
The technical scheme provided by the embodiment of the application is as follows:
the embodiment of the application provides a protocol upgrading method, which is applied to a terminal; the method comprises the following steps:
receiving a first instruction sent by charging equipment; the first instruction is used for indicating the terminal to establish connection with the charging equipment;
after the terminal establishes connection with the charging equipment, receiving first information sent by the charging equipment; the first information is used for downloading an upgrade data packet by the terminal;
downloading the upgrade data packet by using the first information;
and sending the upgrade data packet to the charging equipment so as to update a charging protocol by the charging equipment.
In some embodiments, said downloading said upgrade data package using said first information comprises:
transmitting the first information to a server for the server to determine whether the charging device is preconfigured with residual output power;
receiving second information sent by the server under the condition that the server determines that the charging equipment is preconfigured with residual output power; the second information is used for a user using the terminal to determine whether to update a charging protocol for the charging equipment;
Transmitting third information to the server if the user determines to update a charging protocol for the charging device; the third information is used for the server to download an upgrade data packet corresponding to the charging equipment;
and receiving the upgrade data packet sent by the server.
In some embodiments, the receiving the upgrade data packet sent by the server includes:
receiving fourth information sent by the server, and sending the fourth information to the charging equipment; the fourth information is used for checking the charging equipment;
receiving a verification result sent by the charging equipment;
downloading the upgrade data packet from the server under the condition that the verification result represents that the charging equipment passes the verification;
and sending the upgrade data packet to the charging equipment.
In some embodiments, the method further comprises:
receiving fifth information sent by the charging equipment under the condition that the charging equipment detects that the self residual output power is smaller than or equal to a preset threshold value; the fifth information is used for prompting that a user using the terminal cannot update the charging protocol of the charging equipment.
The embodiment of the application also provides a protocol upgrading method which is applied to the charging equipment; the method comprises the following steps:
sending a first instruction to a terminal; the first instruction is used for indicating the terminal to establish connection with the charging equipment;
after the terminal establishes connection with the charging equipment, first information is sent to the terminal; the first information is used for downloading an upgrade data packet by the terminal;
receiving the upgrade data packet sent by the terminal;
and updating the charging protocol by using the upgrading data packet.
In some embodiments, the receiving the upgrade data packet sent by the terminal includes:
receiving an upgrade data packet obtained by the terminal from a server;
wherein, the liquid crystal display device comprises a liquid crystal display device,
the terminal sends the first information to the server so that the server can determine whether the charging equipment is preconfigured with residual output power or not; the terminal receives second information sent by the server under the condition that the server determines that the charging equipment is preconfigured with residual output power; the second information is used for a user using the terminal to determine whether to update a charging protocol for the charging equipment; in the case that the user determines to update a charging protocol for the charging device, the terminal sends third information to the server; the third information is used for the server to download an upgrade data packet corresponding to the charging equipment; and the terminal receives the upgrade data packet sent by the server.
In some embodiments, the receiving the upgrade data packet acquired by the terminal from the server includes:
receiving fourth information sent by the terminal; the fourth information is sent to the terminal by the server; the fourth information is used for checking the charging equipment;
checking by utilizing the fourth information to obtain a checking result, and sending the checking result to the terminal;
and under the condition that the verification result characterizes that the charging equipment passes the verification, receiving an upgrade data packet which is sent by the terminal and is acquired from a server.
In some embodiments, the method further comprises:
detecting whether the self residual output power is smaller than or equal to a preset threshold value;
transmitting fifth information to the terminal when the charging device detects that the self remaining output power is smaller than or equal to a preset threshold value; the fifth information is used for prompting that a user using the terminal cannot update the charging protocol of the charging equipment.
The embodiment of the application also provides a protocol upgrading device, which comprises:
the first receiving unit is used for receiving a first instruction sent by the charging equipment; the first instruction is used for indicating the terminal to establish connection with the charging equipment; after the terminal establishes connection with the charging equipment, receiving first information sent by the charging equipment; the first information is used for downloading an upgrade data packet by the terminal;
The first processing unit is used for downloading the upgrade data packet by utilizing the first information;
and the first sending unit is used for sending the upgrading data packet to the charging equipment so as to update a charging protocol by the charging equipment.
The embodiment of the application also provides a protocol upgrading device, which comprises:
the second sending unit is used for sending the first instruction to the terminal; the first instruction is used for indicating the terminal to establish connection with the charging equipment; after the terminal establishes connection with the charging equipment, first information is sent to the terminal; the first information is used for downloading an upgrade data packet by the terminal;
the second receiving unit is used for receiving the upgrade data packet sent by the terminal;
and the second processing unit is used for updating the charging protocol by utilizing the upgrading data packet.
Embodiments of the present application provide a terminal comprising a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to execute the steps of the method described in any one of the above terminal sides when running the computer program.
Embodiments of the present application provide a charging device comprising a processor and a memory for storing a computer program capable of running on the processor,
Wherein the processor is configured to execute the steps of the method described in any one of the above charging device sides when running the computer program.
The embodiment of the application also provides a protocol upgrading system, which comprises the terminal, the charging equipment and the server; wherein, the liquid crystal display device comprises a liquid crystal display device,
the charging equipment is used for sending a first instruction to the terminal; the first instruction is used for indicating the terminal to establish connection with the charging equipment; after the terminal establishes connection with the charging equipment, first information is sent to the terminal; the first information is used for downloading an upgrade data packet by the terminal;
the terminal is used for receiving the first instruction; after the terminal establishes connection with the charging equipment, receiving first information sent by the charging equipment; transmitting the first information to the server;
the server is used for receiving the first information and determining whether the charging equipment is preconfigured with residual output power or not by utilizing the first information; transmitting second information to the terminal in case it is determined that the charging device is preconfigured with a remaining output power; the second information is used for a user using the terminal to determine whether to update a charging protocol for the charging equipment; receiving third information sent by the terminal under the condition that the user determines to update a charging protocol for the charging equipment, and downloading an upgrading data packet corresponding to the charging equipment by utilizing the third information; sending the upgrade data packet to the terminal;
The terminal is also used for receiving the upgrade data packet sent by the server; transmitting the upgrade data packet to the charging equipment;
the charging equipment is also used for receiving the upgrade data packet sent by the terminal; and updating the charging protocol by using the upgrading data packet.
Embodiments of the present application also provide a computer-readable storage medium having a computer program stored therein; which when executed by a processor, performs the steps of any of the methods described above.
The protocol upgrading method, device, equipment, system and storage medium provided by the embodiment of the application are that the terminal receives a first instruction sent by the charging equipment; the first instruction is used for indicating the terminal to establish connection with the charging equipment; after the terminal establishes connection with the charging equipment, receiving first information sent by the charging equipment; the first information is used for downloading an upgrade data packet by the terminal; downloading the upgrade data packet by using the first information; and sending the upgrade data packet to the charging equipment so as to update a charging protocol by the charging equipment.
By adopting the technical scheme provided by the embodiment of the application, the terminal is connected with the charging equipment, the terminal receives the first information sent by the charging equipment, downloads the upgrade data packet by using the first information, and sends the upgrade data packet to the charging equipment, the charging equipment updates the charging protocol by using the upgrade data packet, and the charging equipment can charge the terminal by using the updated charging protocol, so that the requirement of the terminal on charging power is met, and the problem of waste of capacity caused by discarding old charging equipment by a user is avoided.
Drawings
Fig. 1 is a schematic diagram of an implementation flow of a protocol upgrade method according to an embodiment of the present application;
FIG. 2 is a second schematic implementation flow chart of the protocol upgrade method according to the embodiment of the present application;
FIG. 3 is a schematic flow chart of a specific implementation of a protocol upgrade method according to an embodiment of the present application;
FIG. 4 is a system block diagram of an application of a protocol upgrade method according to an embodiment of the present application;
fig. 5a and fig. 5b are schematic diagrams of a composition structure of a charging circuit applied to the protocol upgrading method according to the embodiment of the present application;
fig. 6 is a schematic diagram of a composition structure of a protocol upgrading apparatus according to an embodiment of the present application;
fig. 7 is a schematic diagram of a second component structure of the protocol upgrading apparatus according to the embodiment of the present application;
FIG. 8 is a schematic diagram of the composition and structure of a protocol upgrade system according to an embodiment of the present application;
fig. 9 is a schematic diagram of a composition structure of a terminal according to an embodiment of the present application;
fig. 10 is a schematic diagram of the composition structure of the charging device according to the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
In the related art, along with the development of technology, various electronic products are upgraded, the power consumption of the products is greatly improved under the continuous enhancement of the performance of the products, various quick-charging technologies are not deducted under the condition, and high-power chargers are continuously updated. The charger is an inherent protocol before once being manufactured, and only the replacement chip (IC) is disassembled to upgrade and update or the serial port is disassembled to upgrade and update the program, so that users only purchase new chargers continuously, and a great deal of energy waste is caused. And the old chargers are largely discarded, so that serious environmental pollution is caused.
For example, for a 240W charger, i.e. the output power can reach 240W at maximum, the proposed scheme is that the single-port outputs 48V/5A and 240W, but since the update of the fast charging protocol is not reached temporarily at that time, the power needs to be realized through multiple ports, and as the fast charging protocol is updated, the charging product is updated, and the inherent protocol of the charger cannot be updated synchronously, the charging power of the charging product will be limited, which affects the use of the user, and the user will change a new charger. If the charger is to be synchronously upgraded, the charging protocol is sent back to the manufacturer to be disassembled and upgraded for assembly, and the cost is greatly increased.
Based on the first instruction, in the embodiment of the application, the terminal receives a first instruction sent by the charging equipment; the first instruction is used for indicating the terminal to establish connection with the charging equipment; after the terminal establishes connection with the charging equipment, receiving first information sent by the charging equipment; the first information is used for downloading an upgrade data packet by the terminal; downloading the upgrade data packet by using the first information; and sending the upgrade data packet to the charging equipment so as to update a charging protocol by the charging equipment.
Fig. 1 is a schematic implementation flow chart of a protocol upgrading method of the embodiment of the present application, which is applied to a terminal, as shown in fig. 1, and the method includes steps 101 to 104:
step 101: receiving a first instruction sent by charging equipment; the first instruction is used for indicating the terminal to establish connection with the charging equipment.
It is understood that the connection establishment may refer to the establishment of a wired connection or a wireless connection; wherein the wireless connection includes bluetooth connection, wiFi connection, etc.
It is understood that the charging device may refer to a charger for charging the terminal.
It is understood that the terminals include mobile terminals and the like.
It will be appreciated that the terminal may establish a connection with at least one charging device.
Step 102: after the terminal establishes connection with the charging equipment, receiving first information sent by the charging equipment; the first information is used for downloading an upgrade data packet by the terminal.
It will be appreciated that the terminal may download the upgrade data package from a server.
It is understood that the first information may specifically refer to identification information of the charging device, such as a model number.
It will be appreciated that, in order to ensure the security of the interaction between the terminal, the charging device and the server, the charging device sends the first information to the server via the terminal before the transmission of the upgrade data packet between the terminal, the charging device and the server is started. The server authenticates the charging equipment by using the first information, and after the charging equipment passes the authentication of the server, the terminal can download the upgrade data packet from the server.
For example, the first information carries model information of the charging device, after the server receives the first information, the server searches the model from the local database, and if the model is found from the local database, the charging device passes the authentication of the server, so that the terminal can download the upgrade data packet from the server.
Step 103: and downloading the upgrade data packet by using the first information.
In view of the fact that in practical application, some charging devices are preconfigured with the remaining output power and some charging devices are not preconfigured with the remaining output power because of factors such as volume, cost and the like of the devices, when the terminal downloads the upgrade data packet from the server, the server can first judge whether the charging devices are preconfigured with the remaining output power. In addition, in order to realize autonomous control of charging by a user, when the server determines that the charging device is preconfigured with residual output power, the server may also select an upgrade data packet required by the user according to information provided by the user, and send the upgrade data packet to the terminal, where the upgrade data packet is sent to the charging device by the terminal.
Based on this, in some embodiments, the downloading the upgrade data packet using the first information includes:
transmitting the first information to a server for the server to determine whether the charging device is preconfigured with residual output power;
receiving second information sent by the server under the condition that the server determines that the charging equipment is preconfigured with residual output power; the second information is used for a user using the terminal to determine whether to update a charging protocol for the charging equipment;
transmitting third information to the server if the user determines to update a charging protocol for the charging device; the third information is used for the server to download an upgrade data packet corresponding to the charging equipment;
and receiving the upgrade data packet sent by the server.
It is understood that the remaining output power may refer to a difference between the maximum output power of the charging device and the current output power. For example, assuming that the maximum output power of the charging device is 240W and the current output power is 200W, the remaining output power is 240W to 200 w=40w.
It will be appreciated that the remaining output power may also be referred to as margin. For example, the charging power before the charging device upgrades the charging protocol is 64W, the pre-configured margin may be 150W, and then the charging power of 240W may be supported after upgrading the charging protocol.
For example, the first information may carry identification information of the charging device, such as a model number of the charging device. After the server receives the first information, searching the residual output power corresponding to the model from a preset database, and if the residual output power corresponding to the model is found from the preset database, determining that the charging equipment is preconfigured with the residual output power; and if the residual output power corresponding to the model is not found out from the preset database, determining that the charging equipment is not preconfigured with the residual output power.
It may be understood that the second information may carry information about an upgradeable charging protocol corresponding to the charging device, so that, according to the second information, a user using the terminal may determine whether to update the charging protocol for the current charging device, and in the case that it is determined to update the charging protocol for the current charging device, the user may also select information about a charging protocol required by the user, such as version information, and send the information as third information to the server, where the server determines, according to information about the charging protocol required by the user, an upgrade data packet corresponding to the charging device.
For example, the information related to the upgradeable charging protocol corresponding to the charging device includes multiple versions of the charging protocol, such as charging protocol version 1 and charging protocol version 2, if the charging protocol required by the user is charging protocol version 2, it is determined that the user needs to update the charging protocol of the current charging device, and an upgrade data packet corresponding to charging protocol version 2 is selected and sent to the terminal. If the charging protocol required by the user is charging protocol version 3, it is determined that the user does not need to update the charging protocol for the current charging device.
In consideration of the fact that in practical application, the terminal can establish connection with a plurality of charging devices at the same time, so that in order to enable the plurality of charging devices to update a charging protocol by utilizing respective upgrading program packages, the problem that upgrading failure caused by the fact that a certain charging device uses upgrading data packages of other charging devices is avoided, the terminal can send relevant information for verification to the charging devices before sending the upgrading data packages to the charging devices, and after the charging devices pass verification, the charging protocol is updated by utilizing the upgrading data packages corresponding to the terminal.
Based on this, in some embodiments, the receiving the upgrade data packet sent by the server includes:
receiving fourth information sent by the server, and sending the fourth information to the charging equipment; the fourth information is used for checking the charging equipment;
receiving a verification result sent by the charging equipment;
downloading the upgrade data packet from the server under the condition that the verification result represents that the charging equipment passes the verification;
and sending the upgrade data packet to the charging equipment.
It can be understood that the fourth information may carry an SN code of the charging device, so that the charging device compares the received SN code with an SN code stored in the charging device, and indicates that the charging device passes the verification when the comparison result indicates that the received SN code is identical to the SN code stored in the charging device.
Step 104: and sending the upgrade data packet to the charging equipment so as to update a charging protocol by the charging equipment.
It can be appreciated that the updated charging protocol is used to charge the terminal, so as to meet the requirement of the user on the charging power.
It is understood that the charging protocol may refer to a rule, convention.
It is understood that the charging protocol may specifically refer to a fast charging protocol, such as USB PD protocol, AFC, FCP protocol, etc.
In consideration of practical application, the charging power of the charging device required by the user may be large, so if the remaining output power of the charging device cannot meet the charging power of the charging device currently required by the user, the user may be prompted that the charging protocol cannot be updated for the current charging device.
Based on this, in some embodiments, the method further comprises:
receiving fifth information sent by the charging equipment under the condition that the charging equipment detects that the self residual output power is smaller than or equal to a preset threshold value; the fifth information is used for prompting that a user using the terminal cannot update the charging protocol of the charging equipment.
The embodiment of the application has the following advantages:
(1) The terminal is connected with the charging equipment, the terminal receives first information sent by the charging equipment, downloads an upgrade data packet by utilizing the first information, and sends the upgrade data packet to the charging equipment, and the charging equipment updates a charging protocol by utilizing the upgrade data packet, so that after the terminal is upgraded, the updated charging protocol can be utilized to charge the terminal, the requirement of the upgraded terminal on charging power is met, and the problem of waste of capacity caused by discarding old charging equipment by a user is avoided.
(2) The charging equipment can detect the residual output power (allowance) of the charging equipment, and prompts a user whether the current charging equipment can update a charging protocol according to a detection result.
Fig. 2 is a schematic flowchart of an implementation flow of a protocol upgrade method according to an embodiment of the present application, which is applied to a charging device, as shown in fig. 2, and the method includes steps 201 to 204:
step 201: sending a first instruction to a terminal; the first instruction is used for indicating the terminal to establish connection with the charging equipment.
It is understood that the connection establishment may refer to the establishment of a wired connection or a wireless connection; wherein the wireless connection includes bluetooth connection, wiFi connection, etc.
It is understood that the charging device may refer to a charger for charging the terminal.
It is understood that the terminals include mobile terminals and the like.
It will be appreciated that the terminal may establish a connection with at least one charging device.
Step 202: after the terminal establishes connection with the charging equipment, first information is sent to the terminal; the first information is used for downloading an upgrade data packet by the terminal.
It will be appreciated that the terminal may download the upgrade data package from a server.
It will be appreciated that, in order to ensure the security of the interaction between the terminal, the charging device and the server, the charging device sends the first information to the server via the terminal before the transmission of the upgrade data packet between the terminal, the charging device and the server is started. The server authenticates the charging equipment by using the first information, and after the charging equipment passes the authentication of the server, the terminal can download the upgrade data packet from the server.
For example, the first information carries model information of the charging device, after the server receives the first information, the server searches the model from the local database, and if the model is found from the local database, the charging device passes the authentication of the server, so that the terminal can download the upgrade data packet from the server.
Step 203: and receiving the upgrade data packet sent by the terminal.
In view of the fact that in practical application, some charging devices are preconfigured with the remaining output power and some charging devices are not preconfigured with the remaining output power because of factors such as volume, cost and the like of the devices, when the terminal downloads the upgrade data packet from the server, the server can first judge whether the charging devices are preconfigured with the remaining output power. In addition, in order to realize autonomous control of charging by a user, when the server determines that the charging device is preconfigured with residual output power, the server may also select an upgrade data packet required by the user according to information provided by the user, and send the upgrade data packet to the terminal, where the upgrade data packet is sent to the charging device by the terminal.
Based on this, in some embodiments, the receiving the upgrade data packet sent by the terminal includes:
receiving an upgrade data packet obtained by the terminal from a server;
wherein, the liquid crystal display device comprises a liquid crystal display device,
the terminal sends the first information to the server so that the server can determine whether the charging equipment is preconfigured with residual output power or not; the terminal receives second information sent by the server under the condition that the server determines that the charging equipment is preconfigured with residual output power; the second information is used for a user using the terminal to determine whether to update a charging protocol for the charging equipment; in the case that the user determines to update a charging protocol for the charging device, the terminal sends third information to the server; the third information is used for the server to download an upgrade data packet corresponding to the charging equipment; and the terminal receives the upgrade data packet sent by the server.
It is understood that the remaining output power may refer to a difference between the maximum output power of the charging device and the current output power. For example, assuming that the maximum output power of the charging device is 240W and the current output power is 200W, the remaining output power is 240W to 200 w=40w.
It will be appreciated that the remaining output power may also be referred to as margin.
For example, the first information may carry model information of the charging device, after the server receives the first information, the server searches for remaining output power corresponding to the model from a preset database, and if the remaining output power corresponding to the model is found from the preset database, determines that the charging device is preconfigured with remaining output power; and if the residual output power corresponding to the model is not found out from the preset database, determining that the charging equipment is not preconfigured with the residual output power.
It can be understood that the second information may carry information about an upgradeable charging protocol corresponding to the charging device, so that a user using the terminal may determine whether to update the charging protocol for the current charging device according to the second information, and send the information about the charging protocol required to the server, where the server determines an upgrade data packet corresponding to the charging device according to the information about the charging protocol required by the user.
For example, the information related to the upgradeable charging protocol corresponding to the charging device includes multiple versions of the charging protocol, such as charging protocol version 1 and charging protocol version 2, if the charging protocol required by the user is charging protocol version 2, it is determined that the user needs to update the charging protocol of the current charging device, and an upgrade data packet corresponding to charging protocol version 2 is selected and sent to the terminal. If the charging protocol required by the user is charging protocol version 3, it is determined that the user does not need to update the charging protocol for the current charging device.
In consideration of the fact that in practical application, the terminal can establish bluetooth connection with a plurality of charging devices at the same time, so that in order to enable the plurality of charging devices to update a charging protocol by utilizing respective upgrade program packages, the problem that a certain charging device uses upgrade data packages of other charging devices to cause upgrade failure is avoided, the terminal can send relevant information for verification to the charging devices before sending the upgrade data packages to the charging devices, and after the charging devices pass the verification, the charging protocol is updated by utilizing the upgrade data packages corresponding to the terminal.
Based on this, in some embodiments, the receiving the upgrade data packet acquired by the terminal from the server includes:
receiving fourth information sent by the terminal; the fourth information is sent to the terminal by the server; the fourth information is used for checking the charging equipment;
checking by utilizing the fourth information to obtain a checking result, and sending the checking result to the terminal;
and under the condition that the verification result characterizes that the charging equipment passes the verification, receiving an upgrade data packet which is sent by the terminal and is acquired from a server.
It can be understood that the fourth information may carry an SN code of the charging device, so that the charging device compares the received SN code with an SN code stored in the charging device, and indicates that the charging device passes the verification when the comparison result indicates that the received SN code is identical to the SN code stored in the charging device.
Step 204: and updating the charging protocol by using the upgrading data packet.
It can be appreciated that the updated charging protocol is used to charge the terminal, so as to meet the requirement of the user on the charging power.
It is understood that the charging protocol may refer to a rule, convention.
It is understood that the charging protocol may specifically refer to a fast charging protocol, such as USB PD protocol, AFC, FCP protocol, etc.
In consideration of practical application, the charging power of the charging device required by the user may be large, so if the remaining output power of the charging device cannot meet the charging power of the charging device currently required by the user, the user may be prompted that the charging protocol cannot be updated for the current charging device.
Based thereon, the method further comprises:
detecting whether the self residual output power is smaller than or equal to a preset threshold value;
Transmitting fifth information to the terminal when the charging device detects that the self remaining output power is smaller than or equal to a preset threshold value; the fifth information is used for prompting that a user using the terminal cannot update the charging protocol of the charging equipment.
The embodiment of the application has the following advantages:
(1) The terminal is connected with the charging equipment, the terminal receives first information sent by the charging equipment, downloads an upgrade data packet by utilizing the first information, and sends the upgrade data packet to the charging equipment, and the charging equipment updates a charging protocol by utilizing the upgrade data packet, so that after the terminal is upgraded, the updated charging protocol can be utilized to charge the terminal, the requirement of the upgraded terminal on charging power is met, and the problem of waste of capacity caused by discarding old charging equipment by a user is avoided.
(2) The charging equipment can detect the residual output power (allowance) of the charging equipment, and prompts a user whether the current charging equipment can update a charging protocol according to a detection result.
Fig. 3 is a schematic flowchart of a specific implementation of a protocol upgrade method according to an embodiment of the present application, and as shown in fig. 3, taking a charging device as a charger as an example, the method includes steps 301 to 307:
Step 301: the method comprises the steps that a Bluetooth connection is established between a terminal and a charger, and the terminal receives first information sent by the charger and sends the first information to a server; the first information carries identification information of the charger.
Here, the identification information of the charger may refer to a model number of the charger, and the like.
Here, the terminal may refer to a mobile terminal, such as a mobile phone, etc.
Step 302: the server receives the first information; judging whether the charger is preconfigured with residual output power or not according to the first information; when it is determined that the charger is preconfigured with the remaining output power, step 303 is performed; otherwise, prompting the user that the charging protocol cannot be updated for the current charger.
Here, the remaining output power may also be referred to as a margin. For example, the charging power before the upgrade of the charger is 64W, the preset margin may be 150W, and the charging power after the upgrade may be 240W.
Step 303: the server sends second information to the terminal; the second information carries information related to an upgradeable charging protocol corresponding to the charger.
Step 304: the terminal receives the second information and displays the second information in a display; the second information is used for prompting a user to determine whether to update a charging protocol for the current charger; when the user determines to update the charging protocol for the current charger, step 305 is performed; otherwise, the upgrade is stopped.
For example, the content displayed in the display of the terminal includes two options of "yes" and "no" and multiple versions of the charging protocol. If the user selects the "no" option, it indicates that the user determines not to update the charging protocol for the current charger, and if the user selects the "yes" option, it indicates that the user determines to update the charging protocol for the current charger, and prompts the user to select a version of the charging protocol that is desired.
Step 305: the terminal receives version information of a charging protocol corresponding to the charger, which is input by a user, and sends the version information to the server as third information; and the server determines an upgrade data packet corresponding to the charging equipment according to the third information.
Step 306: the server sends fourth information to the terminal; the fourth information is used for checking the charger; and the terminal sends the fourth information to the charger through Bluetooth connection.
Step 307: the charger performs verification according to the fourth information; when the charger passes the verification, sending a verification result to the terminal; the terminal sends the verification result to the server; the server sends the upgrade data packet to the terminal; and the terminal sends the upgrade data packet to the charger.
Here, the charger updates the corresponding charging protocol according to the upgrade data packet.
Here, when the charger fails the verification, the server does not transmit an upgrade data packet to the terminal.
FIG. 4 is a system block diagram of an application of the protocol upgrade method according to the embodiment of the present application, as shown in FIG. 4, the system includes: a terminal, a charger and a server; the charger comprises a communication module, a main control module and a transformation module; the main control module is a new module and is used for sending a first instruction to the terminal; the first instruction is used for indicating the terminal to establish Bluetooth connection with the charging equipment; after the Bluetooth connection is established between the terminal and the charging equipment, first information is sent to the terminal; the first information is used for downloading an upgrade data packet by the terminal; receiving the upgrade data packet sent by the terminal; updating a charging protocol by using the upgrade data packet; the updated charging protocol is used for charging the terminal. The voltage transformation module presets a variable voltage range, and when the first charging protocol is used, the voltage is a, and when the first charging protocol is updated to the second charging protocol, the voltage is b. The first charging protocol is burnt in the main control module in advance, the second charging protocol can be burnt to the main control module to replace the first charging protocol by later-stage upgrading, and the first charging protocol and the second charging protocol can coexist.
Fig. 5a and fig. 5b are schematic diagrams of the composition and structure of a charging circuit to which the protocol upgrading method according to the embodiment of the present application is applied.
In this example, the following advantages are provided:
(1) A main control module is added on the charger, when a user needs to update a charging protocol, the main control module is connected with Bluetooth through a terminal such as a mobile phone, an upgrading link is provided for the user after Bluetooth identification, and the user downloads an upgrading packet and inserts the upgrading packet into a C port through a data line for importing, so that the charger can be rapidly upgraded in a protocol, and if no data line exists, the charger can be directly upgraded through Bluetooth.
(2) The new technology of the market is followed to upgrade the charger; the main control module is added in the charger, so that the cost is low, and the upgrading is convenient.
(3) And a main control module is added to the charger, and synchronously detects the capacity allowance of the charger, and when the residual output power (allowance) of the charger is too small, a user is prompted to be unable to upgrade the charging protocol.
(4) The charger can receive the upgrade package and upgrade the upgrade, or burn a new protocol to the main control module after the upgrade package is downloaded. After the upgrade package is downloaded, the upgrade is performed, and the upgrade speed is higher.
In order to implement the protocol upgrading method of the embodiment of the application, the embodiment of the application also provides a protocol upgrading device. Fig. 6 is a schematic diagram of a composition structure of a protocol upgrading apparatus according to an embodiment of the present application, as shown in fig. 6, where the apparatus includes:
A first receiving unit 61, configured to receive a first instruction sent by the charging device; the first instruction is used for indicating the terminal to establish connection with the charging equipment; after the terminal establishes connection with the charging equipment, receiving first information sent by the charging equipment; the first information is used for downloading an upgrade data packet by the terminal;
a first processing unit 62, configured to download the upgrade data packet using the first information;
and a first sending unit 63, configured to send the upgrade data packet to the charging device, so that the charging device updates a charging protocol.
In some embodiments, the first processing unit 62 is configured to:
transmitting the first information to a server for the server to determine whether the charging device is preconfigured with residual output power;
receiving second information sent by the server under the condition that the server determines that the charging equipment is preconfigured with residual output power; the second information is used for a user using the terminal to determine whether to update a charging protocol for the charging equipment;
transmitting third information to the server if the user determines to update a charging protocol for the charging device; the third information is used for the server to download an upgrade data packet corresponding to the charging equipment;
And receiving the upgrade data packet sent by the server.
In some embodiments, the first receiving unit 61 is configured to:
receiving fourth information sent by the server, and sending the fourth information to the charging equipment; the fourth information is used for checking the charging equipment;
receiving a verification result sent by the charging equipment;
downloading the upgrade data packet from the server under the condition that the verification result represents that the charging equipment passes the verification;
and sending the upgrade data packet to the charging equipment.
In some embodiments, the apparatus is further to:
receiving fifth information sent by the charging equipment under the condition that the charging equipment detects that the self residual output power is smaller than or equal to a preset threshold value; the fifth information is used for prompting that a user using the terminal cannot update the charging protocol of the charging equipment.
In practical application, the first receiving unit 61 and the first transmitting unit 63 may be implemented by a communication interface in the protocol upgrading device; the first processing unit 62 may be implemented by a processor in a protocol upgrading apparatus.
It should be noted that: in the protocol upgrading apparatus provided in the above embodiment, only the division of each program module is used for illustration when the protocol upgrading method is performed, and in practical application, the processing allocation may be performed by different program modules according to needs, that is, the internal structure of the apparatus is divided into different program modules, so as to complete all or part of the processing described above. In addition, the protocol upgrading device and the protocol upgrading method provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments, which are not described herein again.
In order to implement the protocol upgrading method of the embodiment of the application, the embodiment of the application also provides a protocol upgrading device. Fig. 7 is a schematic diagram of a composition structure of a protocol upgrading apparatus according to an embodiment of the present application, as shown in fig. 7, where the apparatus includes:
a second transmitting unit 71 for transmitting a first instruction to the terminal; the first instruction is used for indicating the terminal to establish connection with the charging equipment; after the terminal establishes connection with the charging equipment, first information is sent to the terminal; the first information is used for downloading an upgrade data packet by the terminal;
a second receiving unit 72, configured to receive the upgrade data packet sent by the terminal;
the second processing unit 73 is configured to update a charging protocol using the upgrade data packet.
In some embodiments, the second receiving unit 72 is configured to:
receiving an upgrade data packet obtained by the terminal from a server;
wherein, the liquid crystal display device comprises a liquid crystal display device,
the terminal sends the first information to the server so that the server can determine whether the charging equipment is preconfigured with residual output power or not; the terminal receives second information sent by the server under the condition that the server determines that the charging equipment is preconfigured with residual output power; the second information is used for a user using the terminal to determine whether to update a charging protocol for the charging equipment; in the case that the user determines to update a charging protocol for the charging device, the terminal sends third information to the server; the third information is used for the server to download an upgrade data packet corresponding to the charging equipment; and the terminal receives the upgrade data packet sent by the server.
In some embodiments, the second receiving unit 72 is configured to:
receiving fourth information sent by the terminal; the fourth information is sent to the terminal by the server; the fourth information is used for checking the charging equipment;
checking by utilizing the fourth information to obtain a checking result, and sending the checking result to the terminal;
and under the condition that the verification result characterizes that the charging equipment passes the verification, receiving an upgrade data packet which is sent by the terminal and is acquired from a server.
In some embodiments, the apparatus is further to:
detecting whether the self residual output power is smaller than or equal to a preset threshold value;
transmitting fifth information to the terminal when the charging device detects that the self remaining output power is smaller than or equal to a preset threshold value; the fifth information is used for prompting that a user using the terminal cannot update the charging protocol of the charging equipment.
In practical application, the second sending unit 71 and the second receiving unit 72 may be implemented by a communication interface in the protocol upgrading device; the second processing unit 73 may be implemented by a processor in the protocol upgrading apparatus.
It should be noted that: in the protocol upgrading apparatus provided in the above embodiment, only the division of each program module is used for illustration when the protocol upgrading method is performed, and in practical application, the processing allocation may be performed by different program modules according to needs, that is, the internal structure of the apparatus is divided into different program modules, so as to complete all or part of the processing described above. In addition, the protocol upgrading device and the protocol upgrading method provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments, which are not described herein again.
The embodiment of the application also provides a protocol upgrading system, which comprises a terminal and charging equipment; wherein, the liquid crystal display device comprises a liquid crystal display device,
the charging equipment is used for sending a first instruction to the terminal; the first instruction is used for indicating the terminal to establish connection with the charging equipment; after the terminal establishes connection with the charging equipment, first information is sent to the terminal; the first information is used for downloading an upgrade data packet by the terminal; receiving the upgrade data packet sent by the terminal; updating a charging protocol by using the upgrade data packet; the updated charging protocol is used for charging the terminal.
The terminal is used for receiving a first instruction sent by the charging equipment, and receiving first information sent by the charging equipment after the terminal establishes connection with the charging equipment; downloading the upgrade data packet by using the first information; and sending the upgrade data packet to the charging equipment.
In some embodiments, the system further comprises a server; wherein;
the server is used for receiving the first information sent by the terminal and determining whether the charging equipment is preconfigured with residual output power or not by utilizing the first information; transmitting second information to the terminal in case it is determined that the charging device is preconfigured with a remaining output power; the second information is used for a user using the terminal to determine whether to update a charging protocol for the charging equipment;
the terminal is further configured to send third information to the server when the user determines to update a charging protocol for the charging device; the third information is used for the server to download an upgrade data packet corresponding to the charging equipment;
the server is further configured to receive third information sent by the terminal; downloading an upgrade data packet corresponding to the charging equipment by using the third information; and sending the upgrade data packet to the terminal.
In some embodiments, the server is further configured to send fourth information to the terminal; the fourth information is used for checking the charging equipment;
the terminal is further configured to receive fourth information sent by the server, and send the fourth information to the charging device;
the charging equipment is also used for receiving fourth information sent by the terminal, checking by using the fourth information to obtain a checking result, and sending the checking result to the terminal;
the terminal is further configured to download the upgrade data packet from the server when the verification result indicates that the charging device passes the verification; and sending the upgrade data packet to the charging equipment.
Fig. 8 is a schematic diagram of a composition structure of a protocol upgrade system according to an embodiment of the present application, as shown in fig. 8, where the system includes: the terminal, the charging equipment and the server; wherein, the liquid crystal display device comprises a liquid crystal display device,
the charging equipment is used for sending a first instruction to the terminal; the first instruction is used for indicating the terminal to establish connection with the charging equipment; after the terminal establishes connection with the charging equipment, first information is sent to the terminal; the first information is used for downloading an upgrade data packet by the terminal;
The terminal is used for receiving the first instruction; after the terminal establishes connection with the charging equipment, receiving first information sent by the charging equipment; transmitting the first information to the server;
the server is used for receiving the first information and determining whether the charging equipment is preconfigured with residual output power or not by utilizing the first information; transmitting second information to the terminal in case it is determined that the charging device is preconfigured with a remaining output power; the second information is used for a user using the terminal to determine whether to update a charging protocol for the charging equipment; receiving third information sent by the terminal under the condition that the user determines to update a charging protocol for the charging equipment, and downloading an upgrading data packet corresponding to the charging equipment by utilizing the third information; sending the upgrade data packet to the terminal;
the terminal is also used for receiving the upgrade data packet sent by the server; transmitting the upgrade data packet to the charging equipment;
the charging equipment is also used for receiving the upgrade data packet sent by the terminal; and updating the charging protocol by using the upgrading data packet.
The embodiment of the invention also provides a terminal, as shown in fig. 9, including:
a first communication interface 91 capable of information interaction with other devices;
the first processor 92 is connected to the first communication interface 91, and is configured to execute the method provided by one or more technical solutions on the terminal side when running a computer program. And the computer program is stored on the first memory 93.
It should be noted that: the specific processing procedures of the first processor 92 and the first communication interface 91 are detailed in the method embodiment, and will not be described herein.
Of course, in actual practice, the various components in terminal 90 are coupled together by bus system 94. It is understood that the bus system 94 is used to enable connected communication between these components. The bus system 94 includes a power bus, a control bus, and a status signal bus in addition to the data bus. But for clarity of illustration the various buses are labeled as bus system 94 in fig. 9.
The first memory 93 in the embodiment of the present application is used to store various types of data to support the operation of the terminal 90. Examples of such data include: any computer program for operation on the terminal 90.
The method disclosed in the embodiments of the present application may be applied to the first processor 92 or implemented by the first processor 92. The first processor 92 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the method described above may be performed by instructions in the form of integrated logic circuits or software in hardware in the first processor 92. The first processor 92 described above may be a general purpose processor, a digital data processor (DSP, digital Signal Processor), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The first processor 92 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly embodied in a hardware decoding processor or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium located in the first memory 93, said first processor 92 reading the information in the first memory 93, in combination with its hardware performing the steps of the method as described above.
The embodiment of the invention also provides a charging device, as shown in fig. 10, including:
a second communication interface 101 capable of information interaction with other devices;
and the second processor 102 is connected with the second communication interface 101 and is used for executing the method provided by one or more technical schemes on the charging equipment side when running a computer program. And the computer program is stored on the second memory 103.
It should be noted that: the specific processing procedures of the second processor 102 and the second communication interface 101 are described in the method embodiment, and are not described herein.
Of course, in practice, the various components in the charging device 100 are coupled together by a bus system 104. It is understood that the bus system 104 is used to enable connected communications between these components. The bus system 104 includes a power bus, a control bus, and a status signal bus in addition to the data bus. But for clarity of illustration the various buses are labeled as bus system 104 in fig. 10.
The second memory 103 in the embodiment of the present application is used to store various types of data to support the operation of the charging device 100. Examples of such data include: any computer program for operating on the charging device 100.
The method disclosed in the embodiments of the present application may be applied to the second processor 102 or implemented by the second processor 102. The second processor 102 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the method may be performed by integrated logic circuits of hardware or instructions in software form in the second processor 102. The second processor 102 described above may be a general purpose processor, a digital data processor (DSP, digital Signal Processor), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The second processor 102 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly embodied in a hardware decoding processor or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium located in the second memory 103, said second processor 102 reading information in the second memory 103, in combination with its hardware performing the steps of the method as described above.
In an exemplary embodiment, the terminal 90, the charging device 100 may be implemented by one or more application specific integrated circuits (ASIC, application Specific Integrated Circuit), DSPs, programmable logic devices (PLD, programmable Logic Device), complex programmable logic devices (CPLD, complex Programmable Logic Device), field-programmable gate arrays (FPGA, field-Programmable Gate Array), general purpose processors, controllers, microcontrollers (MCU, micro Controller Unit), microprocessors (Microprocessor), or other electronic components for performing the aforementioned methods.
It is understood that the memories (the first memory 93, the second memory 103) of the embodiments of the present application may be volatile memories or nonvolatile memories, and may include both volatile and nonvolatile memories. Wherein the nonvolatile Memory may be Read Only Memory (ROM), programmable Read Only Memory (PROM, programmable Read-Only Memory), erasable programmable Read Only Memory (EPROM, erasable Programmable Read-Only Memory), electrically erasable programmable Read Only Memory (EEPROM, electrically Erasable Programmable Read-Only Memory), magnetic random access Memory (FRAM, ferromagnetic random access Memory), flash Memory (Flash Memory), magnetic surface Memory, optical disk, or compact disk Read Only Memory (CD-ROM, compact Disc Read-Only Memory); the magnetic surface memory may be a disk memory or a tape memory. The volatile memory may be random access memory (RAM, random Access Memory), which acts as external cache memory. By way of example, and not limitation, many forms of RAM are available, such as static random access memory (SRAM, static Random Access Memory), synchronous static random access memory (SSRAM, synchronous Static Random Access Memory), dynamic random access memory (DRAM, dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, synchronous Dynamic Random Access Memory), double data rate synchronous dynamic random access memory (ddr SDRAM, double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random access memory (ESDRAM, enhanced Synchronous Dynamic Random Access Memory), synchronous link dynamic random access memory (SLDRAM, syncLink Dynamic Random Access Memory), direct memory bus random access memory (DRRAM, direct Rambus Random Access Memory). The memory described in the embodiments of the present application is intended to comprise, without being limited to, these and any other suitable types of memory.
In an exemplary embodiment, the present invention also provides a storage medium, i.e., a computer storage medium, in particular a computer readable storage medium, for example, including a memory storing a computer program executable by the first processor 92 of the terminal 90 to perform the steps of the aforementioned terminal-side method. The computer readable storage medium may be FRAM, ROM, PROM, EPROM, EEPROM, flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
It should be noted that: "first," "second," etc. are used to distinguish similar objects and not necessarily to describe a particular order or sequence.
In addition, the embodiments of the present invention may be arbitrarily combined without any collision.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the present invention.

Claims (14)

1. A protocol upgrading method, characterized in that the method is applied to a terminal; the method comprises the following steps:
receiving a first instruction sent by charging equipment; the first instruction is used for indicating the terminal to establish connection with the charging equipment;
after the terminal establishes connection with the charging equipment, receiving first information sent by the charging equipment; the first information is used for downloading an upgrade data packet by the terminal;
Downloading the upgrade data packet by using the first information;
and sending the upgrade data packet to the charging equipment so as to update a charging protocol by the charging equipment.
2. The method of claim 1, wherein said downloading said upgrade package using said first information comprises:
transmitting the first information to a server for the server to determine whether the charging device is preconfigured with residual output power;
receiving second information sent by the server under the condition that the server determines that the charging equipment is preconfigured with residual output power; the second information is used for a user using the terminal to determine whether to update a charging protocol for the charging equipment;
transmitting third information to the server if the user determines to update a charging protocol for the charging device; the third information is used for the server to download an upgrade data packet corresponding to the charging equipment;
and receiving the upgrade data packet sent by the server.
3. The method of claim 2, wherein receiving the upgrade data packet sent by the server comprises:
Receiving fourth information sent by the server, and sending the fourth information to the charging equipment; the fourth information is used for checking the charging equipment;
receiving a verification result sent by the charging equipment;
downloading the upgrade data packet from the server under the condition that the verification result represents that the charging equipment passes the verification;
and sending the upgrade data packet to the charging equipment.
4. The method according to claim 1, wherein the method further comprises:
receiving fifth information sent by the charging equipment under the condition that the charging equipment detects that the self residual output power is smaller than or equal to a preset threshold value; the fifth information is used for prompting that a user using the terminal cannot update the charging protocol of the charging equipment.
5. A protocol upgrading method, characterized in that the method is applied to a charging device; the method comprises the following steps:
sending a first instruction to a terminal; the first instruction is used for indicating the terminal to establish connection with the charging equipment;
after the terminal establishes connection with the charging equipment, first information is sent to the terminal; the first information is used for downloading an upgrade data packet by the terminal;
Receiving the upgrade data packet sent by the terminal;
and updating the charging protocol by using the upgrading data packet.
6. The method of claim 5, wherein the receiving the upgrade data packet sent by the terminal comprises:
receiving an upgrade data packet obtained by the terminal from a server;
wherein, the liquid crystal display device comprises a liquid crystal display device,
the terminal sends the first information to the server so that the server can determine whether the charging equipment is preconfigured with residual output power or not; the terminal receives second information sent by the server under the condition that the server determines that the charging equipment is preconfigured with residual output power; the second information is used for a user using the terminal to determine whether to update a charging protocol for the charging equipment; in the case that the user determines to update a charging protocol for the charging device, the terminal sends third information to the server; the third information is used for the server to download an upgrade data packet corresponding to the charging equipment; and the terminal receives the upgrade data packet sent by the server.
7. The method of claim 6, wherein the receiving the upgrade data packet acquired by the terminal from the server comprises:
Receiving fourth information sent by the terminal; the fourth information is sent to the terminal by the server; the fourth information is used for checking the charging equipment;
checking by utilizing the fourth information to obtain a checking result, and sending the checking result to the terminal;
and under the condition that the verification result characterizes that the charging equipment passes the verification, receiving an upgrade data packet which is sent by the terminal and is acquired from a server.
8. The method of claim 5, wherein the method further comprises:
detecting whether the self residual output power is smaller than or equal to a preset threshold value;
transmitting fifth information to the terminal when the charging device detects that the self remaining output power is smaller than or equal to a preset threshold value; the fifth information is used for prompting that a user using the terminal cannot update the charging protocol of the charging equipment.
9. A protocol upgrading apparatus, comprising:
the first receiving unit is used for receiving a first instruction sent by the charging equipment; the first instruction is used for indicating the terminal to establish connection with the charging equipment; after the terminal establishes connection with the charging equipment, receiving first information sent by the charging equipment; the first information is used for downloading an upgrade data packet by the terminal;
The first processing unit is used for downloading the upgrade data packet by utilizing the first information;
and the first sending unit is used for sending the upgrading data packet to the charging equipment so as to update a charging protocol by the charging equipment.
10. A protocol upgrading apparatus, comprising:
the second sending unit is used for sending the first instruction to the terminal; the first instruction is used for indicating the terminal to establish connection with the charging equipment; after the terminal establishes connection with the charging equipment, first information is sent to the terminal; the first information is used for downloading an upgrade data packet by the terminal;
the second receiving unit is used for receiving the upgrade data packet sent by the terminal;
and the second processing unit is used for updating the charging protocol by utilizing the upgrading data packet.
11. A terminal comprising a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is adapted to perform the steps of the method of any of claims 1 to 4 when the computer program is run.
12. A charging device comprising a processor and a memory for storing a computer program capable of running on the processor,
Wherein the processor is adapted to perform the steps of the method of any of claims 5 to 8 when the computer program is run.
13. A protocol upgrade system, characterized in that the system comprises a terminal according to claim 11 and a charging device according to claim 12, and a server; wherein, the liquid crystal display device comprises a liquid crystal display device,
the charging equipment is used for sending a first instruction to the terminal; the first instruction is used for indicating the terminal to establish connection with the charging equipment; after the terminal establishes connection with the charging equipment, first information is sent to the terminal; the first information is used for downloading an upgrade data packet by the terminal;
the terminal is used for receiving the first instruction; after the terminal establishes connection with the charging equipment, receiving first information sent by the charging equipment; transmitting the first information to the server;
the server is used for receiving the first information and determining whether the charging equipment is preconfigured with residual output power or not by utilizing the first information; transmitting second information to the terminal in case it is determined that the charging device is preconfigured with a remaining output power; the second information is used for a user using the terminal to determine whether to update a charging protocol for the charging equipment; receiving third information sent by the terminal under the condition that the user determines to update a charging protocol for the charging equipment, and downloading an upgrading data packet corresponding to the charging equipment by utilizing the third information; sending the upgrade data packet to the terminal;
The terminal is also used for receiving the upgrade data packet sent by the server; transmitting the upgrade data packet to the charging equipment;
the charging equipment is also used for receiving the upgrade data packet sent by the terminal; and updating the charging protocol by using the upgrading data packet.
14. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 4, or
A method according to any one of claims 5 to 8.
CN202310424639.1A 2023-04-12 2023-04-12 Protocol upgrading method, device, equipment, system and storage medium Pending CN116506839A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310424639.1A CN116506839A (en) 2023-04-12 2023-04-12 Protocol upgrading method, device, equipment, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310424639.1A CN116506839A (en) 2023-04-12 2023-04-12 Protocol upgrading method, device, equipment, system and storage medium

Publications (1)

Publication Number Publication Date
CN116506839A true CN116506839A (en) 2023-07-28

Family

ID=87317687

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310424639.1A Pending CN116506839A (en) 2023-04-12 2023-04-12 Protocol upgrading method, device, equipment, system and storage medium

Country Status (1)

Country Link
CN (1) CN116506839A (en)

Similar Documents

Publication Publication Date Title
US20040237081A1 (en) Methods and apparatus for generating upgraded software from initial software and software upgrade packages
EP3982506B1 (en) Terminal device charging method and apparatus, and storage medium
EP3843238A1 (en) Charging control method and device, and computer storage medium
US8452330B2 (en) Mobile terminal and method for providing terminal related information in power-off state
CN113352924B (en) Charging method, system and storage medium based on Bluetooth connection
KR20200140555A (en) Electronic device for switching between a dual standby mode and a single standby mode and method for the same
CN104915306A (en) Data operation control method and device manager
EP2664988B1 (en) Method, device and system for installing terminal software
WO2009155197A1 (en) System and method of reducing factory program time for wireless devices
CN110716735A (en) System upgrading method and device, intelligent terminal and computer readable storage medium
CN105045671A (en) Method and device for upgrading systems of intelligent terminals
CN116506839A (en) Protocol upgrading method, device, equipment, system and storage medium
CN110493644B (en) Television application upgrading method, television terminal and server
KR20210088252A (en) Server for reconfiguring tariff of terminal and operating method thereof
CN110545535A (en) authentication method, authentication device and computer readable storage medium
CN114675856A (en) OTA upgrade control method, device, system, computer equipment and medium
CN110035496B (en) Cloud platform switching method and system and electronic equipment
CN113178225A (en) Router Flash stability automatic test method, device and test terminal
CN107708188B (en) Method for reducing power consumption, mobile terminal and device with storage function
CN102647808A (en) Universal integrated circuit card (UICC) with intelligent mobile telephone start guiding function
CN101790154A (en) Method and system for processing abnormal parameters of wireless communication module
CN111459516A (en) Firmware upgrading method and charging base
CN112116733A (en) Backup and acquisition method and system of vehicle Bluetooth key and electronic equipment
CN110876139A (en) Method, system, electronic equipment and vehicle for sharing mobile phone card package flow
CN111092460B (en) Charging control method and device and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination