Charging pile upgrading method and device
Through short-range communication connection, the upgrade code is transmitted between the charging terminal and the charging pile, which solves the problem that the charging pile cannot be upgraded in areas with weak signals, and achieves the matching and performance improvement of the charging pile software version.
Patent Information
- Application Number
- CN202311819012.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-26
- Publication Date
- 2025-07-04
AI Technical Summary
The charging pile cannot effectively upgrade the software version in places with weak network signals, resulting in the inability to improve the charging performance or the charging failure.
Through short-range communication connection, charging terminals such as vehicles, robots, ships, aircraft and other equipment are used to establish direct communication with charging piles, transmit upgrade codes, and realize software version upgrade of charging piles, avoiding relying on 3GPP networks.
Even in places with weak signals, the software version upgrade of the charging pile can be achieved, ensuring that the software version matching of the charging pile and the charging terminal can be improved, and charging performance and user experience can be improved.
Smart Images

Figure CN120264263A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of energy technologies, and in particular, to a method and device for upgrading a charging pile. Background Art
[0002] With the continuous development of new energy vehicles, the charging piles and charging technologies have been iterated relatively fast. Therefore, during the use of the charging pile, it is necessary to upgrade the software version of the charging pile to improve the performance of the charging pile, such as improving the charging stability or charging rate of the charging pile, or enabling the charging pile to support fast charging of diverse vehicle models, etc.
[0003] Currently, for upgrading the charging pile, the over-the-air (OTA) technology is generally adopted. However, the charging piles are usually installed in places with weak network signals (such as basements or remote areas). Therefore, some charging piles may not be able to obtain the OTA upgrade software package due to weak network signals, resulting in the inability to upgrade. Summary of the Invention
[0004] Embodiments of this application provide a method and device for upgrading a charging pile, which are used to implement the upgrade of the charging pile.
[0005] In a first aspect, embodiments of this application provide a method for upgrading a charging pile. This method can be executed by a server or a chip in the server. For ease of description, the example of the server executing this method for upgrading the charging pile is used for illustration. The method includes: receiving request information from a first charging terminal, where the request information is used to request code for upgrading the charging pile; in the case where the version of a first code is lower than the version of a second code, sending a third code to the first charging terminal; the first code runs through the charging pile and is used for the charging pile to supply power to the charging terminal, the second code runs through the first charging terminal and is used for the first charging terminal to charge; the third code is used to upgrade the first code.
[0006] Among them, the "charging terminal" can be a device that needs to be charged, such as a vehicle, a robot, a ship, an airplane, etc., and embodiments of this application do not make limitations.
[0007] In an embodiment of the present application, when the software version of the charging pile is lower than that of the first charging terminal, the server may send an upgrade code of the charging pile (i.e., a code for upgrading the charging pile, such as a third code) to the first charging terminal, so that the first charging terminal can provide the upgrade code for the charging pile. The distance between the first charging terminal and the charging pile may be relatively close, and the transmission of the upgrade code can be completed through short-range communication between the two, without the need to rely on the 3rd generation partnership project (3GPP) network. Therefore, even if the charging pile is set in a place with weak signal, the software version upgrade of the charging pile can be realized, so that the charging pile can obtain updated charging performance; and after the software version of the charging pile is upgraded, the versions of the charging software of the charging pile and the charging software of the first charging terminal are matched, which can enable the first charging terminal to experience the updated charging performance of the charging pile when charging with the charging pile, and can also reduce problems such as inability to charge that may be caused by software version mismatch.
[0008] In a possible design, before sending the third code to the first charging terminal, the method further includes: receiving first information from the first charging terminal, where the first information is used to indicate that the first charging terminal supports establishing a short-range communication connection with the charging pile. In this design, after the first charging terminal notifies the server that it supports establishing a short-range communication connection with the charging pile, the server sends the upgrade code of the charging pile to the first charging terminal, which can increase the success probability of the first charging terminal providing the upgrade code for the charging pile.
[0009] In a possible design, before sending the third code to the first charging terminal, the method further includes: receiving second information from the first charging terminal, where the second information is used to indicate that the first charging terminal will charge through the charging pile. In this design, after the server receives the reservation charging instruction (such as the second information) from the first charging terminal, it sends the upgrade code of the charging pile to the first charging terminal; where the first charging terminal will charge through the charging pile means that the distance between the first charging terminal and the charging pile is relatively close, so the probability of successfully establishing a short-range communication connection between the first charging terminal and the charging pile is relatively high, and therefore the success probability of the first charging terminal providing the upgrade code for the charging pile can be increased.
[0010] Wherein, the second information can be determined according to the user's reservation charging operation.
[0011] In an embodiment of the present application, the first information and the second information can be the same information or different information.
[0012] In a possible design, the method further includes: sending third information to a user device associated with the first charging terminal, where the third information is used to instruct the user device to output a first prompt message, and the first prompt message is used to ask the user whether to allow the first charging terminal to provide a code for upgrading to the charging pile; receiving fourth information from the user device, where the fourth information is used to indicate that the user allows the first charging terminal to provide a code for upgrading to the charging pile. The user device associated with the first charging terminal may be an in-vehicle display screen, a mobile phone, a smart watch, a tablet computer, etc.
[0013] In this design, the server can obtain the user's permission for the first charging terminal to provide an upgrade code for the charging pile through the user device associated with the first charging terminal, which can enable the user to know the process of the first charging terminal providing the upgrade code for the charging pile.
[0014] In the embodiment of this application, after the server sends the third code to the first charging terminal, there are multiple situations for the first charging terminal to provide the third code to the charging pile, including but not limited to the following situations:
[0015] Situation 1: The server sends fifth information to the first charging terminal, and the fifth information is used to indicate that the charging pile cannot download the code for upgrading from the server. In Situation 1, after being informed that the charging pile cannot download the code for upgrading from the server and the first charging terminal receives the third code for upgrading the charging pile from the server, the first charging terminal can actively send the third code to the charging pile.
[0016] Situation 2: The server sends fifth information to the first charging terminal, and the fifth information is used to instruct the first charging terminal to send the third code to the charging pile. In Situation 2, after receiving the instruction from the server, the first charging terminal sends the third code to the charging pile.
[0017] Situation 3: After the server sends the third code to the first charging terminal, the first charging terminal receives the third code. Without waiting for the instruction message from the server and finding that the third code is for upgrading the charging pile, the first charging terminal actively sends the third code to the charging pile. In this way, the communication overhead of the server can be reduced.
[0018] In a possible design, the method further includes: receiving sixth information from a first charging terminal, where the sixth information is used to indicate that the first charging terminal cannot establish a short-range communication connection with the charging pile, or to indicate that the first charging terminal cannot send a code for upgrade to the charging pile; querying a second charging terminal that supports establishing a short-range communication connection with the charging pile; and sending a third code to the second charging terminal. In this design, when the first charging terminal cannot establish a short-range communication connection with the charging pile, the server can query a charging terminal (such as the second charging terminal) that supports establishing a short-range communication connection with the charging pile, and send the third code to the second charging terminal, so that the second charging terminal can provide an upgrade code for the charging pile, thereby further increasing the probability of successful upgrade of the charging pile.
[0019] In a second aspect, an embodiment of the present application provides a method for upgrading a charging pile, which can be executed by a first charging terminal or a chip in the first charging terminal. The method includes: the first charging terminal receives a third code from the server; where the third code is used to upgrade the first code when the version of the first code is lower than the version of the second code; the first code runs through the charging pile and is used for the charging pile to supply power to the charging terminal, and the second code runs through the first charging terminal and is used for the first charging terminal to charge; the first charging terminal sends the third code to the charging pile through a short-range communication connection.
[0020] In a possible design, the above method further includes: sending first information to the server, where the first information is used to indicate that the first charging terminal supports establishing a short-range communication connection with the charging pile.
[0021] In a possible design, the method further includes: sending second information to the server, where the second information is used to indicate that the first charging terminal will charge through the charging pile.
[0022] In the embodiment of the present application, the first information and the second information may be the same information or different information.
[0023] In the embodiment of the present application, there are various situations where the first charging terminal provides the third code to the charging pile, including but not limited to the following situations:
[0024] Situation 1, the first charging terminal receives fifth information from the server, where the fifth information is used to indicate that the charging pile cannot download a code for upgrade from the server. In Situation 1, when the first charging terminal is informed that the charging pile cannot download a code for upgrade from the server, and the first charging terminal receives a third code for upgrading the charging pile from the server, the first charging terminal can actively send the third code to the charging pile.
[0025] Case 2: The first charging terminal receives the fifth piece of information from the server, and the fifth piece of information is used to instruct the first charging terminal to send the third code to the charging pile. In Case 2, after receiving the instruction from the server, the first charging terminal sends the third code to the charging pile.
[0026] Case 3: The first charging terminal receives the third code. Without waiting for the instruction message from the server, if it finds that the third code is used to upgrade the charging pile, it actively sends the third code to the charging pile.
[0027] In a possible design, when the first charging terminal fails to establish a short-range communication connection with the charging pile, it sends the sixth piece of information to the server. The sixth piece of information is used to indicate that the first charging terminal fails to establish a short-range communication connection with the charging pile, or indicates that the first charging terminal fails to send the code for upgrade to the charging pile.
[0028] In a third aspect, an embodiment of the present application provides a method for upgrading a charging pile, and this method can be executed by the first charging terminal. This method further includes: when the version of the first code is lower than the version of the second code, obtaining the third code from the server, where the first code runs on the charging pile and is used for the charging pile to supply power to the charging terminal, and the second code runs on the first charging terminal and is used for the first charging terminal to charge; sending the third code to the charging pile through a short-range communication connection; the third code is used to upgrade the first code.
[0029] In this method, when the software version of the charging pile is lower than the software version of the first charging terminal, the first charging terminal can actively obtain the upgrade code (such as the third code) of the charging pile from the server and provide the upgrade code for the charging pile. Moreover, the distance between the target charging terminal and the charging pile may be relatively close, and the two can complete the transmission of the upgrade code through short-range communication without having to rely on the 3GPP network. Therefore, even if the charging pile is set in a place with weak signal, the software version of the charging pile can still be upgraded, so that the charging pile can obtain updated charging performance; after the software version of the charging pile is upgraded, the versions of the charging software of the charging pile and the charging software of the target charging terminal are matched, which can enable the target charging terminal to experience the updated charging performance when using the charging pile to charge.
[0030] In a possible design, before obtaining the third code from the server, the method further includes: sending the first piece of information to the server, and the first piece of information is used to indicate that the first charging terminal supports establishing a short-range communication connection with the charging pile.
[0031] In a possible design, before obtaining the third code from the server, the method further includes: sending the second piece of information to the server, and the second piece of information is used to indicate that the first charging terminal will charge through the charging pile.
[0032] In a possible design, the method further includes: sending third information to a user device associated with the first charging terminal, where the third information is used to instruct the user device to output a first prompt message, and the first prompt message is used to ask the user whether to allow the first charging terminal to provide a code for upgrading to the charging pile; receiving fourth information from the user device, where the fourth information is used to indicate that the user allows the first charging terminal to provide a code for upgrading to the charging pile. In this design, the first charging terminal can send the third information to the user device associated with the first charging terminal, so that the first charging terminal can obtain the user's permission for the first charging terminal to provide an upgrade code for the charging pile through the user device associated with the first charging terminal, and enable the user to know the process of the first charging terminal providing an upgrade code for the charging pile.
[0033] In a possible design, the method further includes: receiving a first request from the charging pile, where the first request is used to request the first charging terminal to provide a code for upgrading to the charging pile. In this design, the first charging terminal can provide an upgrade code for the charging pile when receiving a request from the charging pile, so that the upgrade code provided by the first charging terminal for the charging pile meets the requirements of the charging pile.
[0034] In a possible design, the method further includes: receiving seventh information, where the seventh information is used to indicate the first code used by the charging pile or the version information of the first code. In this design, the first charging terminal can determine the first code currently used by the charging pile according to the received indication message, and then the charging pile can compare the software version of the first charging terminal and the software version of the charging pile, so that when the software version of the charging pile is lower than the software version of the first charging terminal, the first charging terminal can provide an upgrade code for the charging pile.
[0035] In a possible design, before sending the third code to the charging pile through a short-range communication connection, the method further includes: if the first charging terminal cannot establish a short-range communication connection with the charging pile, the first charging terminal can also send the sixth information to the server to indicate that the first charging terminal cannot establish a short-range communication connection with the charging pile, or indicate that the first charging terminal cannot send a code for upgrading to the charging pile; so that the server queries a second charging terminal that supports establishing a short-range communication connection with the charging pile.
[0036] Fourthly, an embodiment of the present application provides a method for upgrading a charging pile, which can be executed by a server. The method further includes: determining that a first charging terminal supports establishing a short-range communication connection with the charging pile; sending a third code to the first charging terminal. The third code is used to upgrade the first code when the version of the first code is lower than that of the second code; the first code runs through the charging pile and is used for the charging pile to supply power to the charging terminal, and the second code runs through the first charging terminal and is used for the first charging terminal to charge; sending the third code to the charging pile through the short-range communication connection.
[0037] In a possible design, before sending the third code to the first charging terminal, the method further includes: receiving first information from the first charging terminal, where the first information is used to indicate that the first charging terminal supports establishing a short-range communication connection with the charging pile.
[0038] In a possible design, before sending the third code to the first charging terminal, the method further includes: receiving second information from the first charging terminal, where the second information is used to indicate that the first charging terminal will charge through the charging pile.
[0039] In a possible design, the method further includes: receiving sixth information from the first charging terminal, where the sixth information is used to indicate that the first charging terminal cannot establish a short-range communication connection with the charging pile, or indicate that the first charging terminal cannot send a code for upgrading to the charging pile; querying a second charging terminal that supports establishing a short-range communication connection with the charging pile; sending the third code to the second charging terminal.
[0040] In a possible design, the method further includes: sending seventh information to the first charging terminal, where the seventh information is used to indicate the first code used by the charging pile, or indicate the version information of the first code.
[0041] Fifthly, an embodiment of the present application provides a method for upgrading a charging pile, which can be executed by the charging pile. The method further includes: when the version of the first code is lower than that of the second code, sending a first request to the first charging terminal through a short-range communication connection, where the first request is used to request to upgrade the code of the charging pile; the first code runs through the charging pile and is used for the charging pile to supply power to the charging terminal, and the second code runs through the first charging terminal and is used for the first charging terminal to charge; receiving the third code from the first charging terminal through the short-range communication connection; upgrading the first code according to the third code.
[0042] In this method, when the software version of the charging pile is lower than that of the first charging terminal, the charging pile can request the upgrade code of the charging pile from the first charging terminal. Moreover, the distance between the target charging terminal and the charging pile may be relatively short, and the two can complete the transmission of the upgrade code through short-range communication without the need to rely on the 3GPP network. Therefore, even if the charging pile is set in a place with weak signal, the software version of the charging pile can be upgraded, enabling the charging pile to obtain updated charging performance; and after the software version of the charging pile is upgraded, the versions of the charging software of the charging pile and the charging software of the target charging terminal are matched, allowing the target charging terminal to experience the updated charging performance of the charging pile when using the charging pile for charging.
[0043] In a possible design, the method further includes: receiving an eighth piece of information, where the eighth piece of information is used to indicate the second code used by the first charging terminal or the version information of the second code. In this design, the charging pile can receive the second code or the relevant information of the second code from the first charging terminal, enabling the charging pile to compare the versions of the first code and the second code.
[0044] In a sixth aspect, an embodiment of the present application provides a method for upgrading a charging pile. This method can be executed by a first charging terminal. The method further includes: receiving, through a short-range communication connection, a first request from the charging pile, where the first request is used to request to upgrade the code of the charging pile; in response to the first request, obtaining a third code from the server and sending the third code to the first charging terminal; where the third code is used to upgrade the first code when the version of the first code is lower than the version of the second code; the first code runs through the charging pile and is used for the charging pile to supply power to the charging terminal, and the second code runs through the first charging terminal and is used for the first charging terminal to charge.
[0045] In a possible design, the method further includes: sending an eighth piece of information, where the eighth piece of information is used to indicate the second code used by the first charging terminal or the version information of the second code.
[0046] In a seventh aspect, an embodiment of the present application provides a charging pile upgrade device. This charging pile upgrade device can be any one of the above-mentioned charging pile, server, target charging terminal, and first charging terminal, or an electronic device (such as a chip system) configured in any one of the above-mentioned charging pile, server, target charging terminal, and first charging terminal, or a larger device including any one of the above-mentioned charging pile, server, target charging terminal, and first charging terminal. The communication device includes corresponding means or modules for executing the corresponding content of the first aspect or any optional implementation manner above.
[0047] In an eighth aspect, an embodiment of the present application provides a chip system, which includes a processor coupled to a memory for storing instructions that, when executed by the processor, implement the method according to any one of the first to sixth aspects described above.
[0048] In a ninth aspect, an embodiment of the present application provides a computer-readable storage medium for storing a computer program or instructions that, when run, implement the method according to any one of the first to sixth aspects described above.
[0049] In a tenth aspect, an embodiment of the present application provides a computer program product containing instructions that, when run on a computer, implement the method according to any one of the first to sixth aspects described above.
[0050] Regarding the beneficial effects of any of the technical solutions in the second to tenth aspects above, reference may be made to the beneficial effects of the corresponding technical solutions in the first aspect, and the repeated parts will not be listed here. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 It is a schematic diagram of the system architecture provided by an embodiment of the present application;
[0052] Figure 2 It is a schematic diagram of the scenario provided by an embodiment of the present application;
[0053] Figure 3A It is one of the schematic flowcharts of the first charging pile upgrade method provided by an embodiment of the present application;
[0054] Figure 3B It is the second of the schematic flowcharts of the first charging pile upgrade method provided by an embodiment of the present application;
[0055] Figure 4 It is the schematic flowchart of the second charging pile upgrade method provided by an embodiment of the present application;
[0056] Figure 5 It is the schematic flowchart of the third charging pile upgrade method provided by an embodiment of the present application;
[0057] Figure 6 It is the schematic structural diagram of a charging pile upgrade device provided by an embodiment of the present application;
[0058] Figure 7 It is the schematic structural diagram of the chip system provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0059] In order to make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
[0060] In the embodiments of the present application, unless otherwise specified, for the number of nouns, it means "singular noun or plural noun", that is, "one or more". "At least one" means one or more, and "multiple" means two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after. For example, A / B means: A or B. "At least one (item)" or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural item(s). For example, at least one (item) of a, b, or c means: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c can be single or multiple.
[0061] In addition, it should be understood that in the description of the present application, terms such as "first" and "second" are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor are they limitations on the order.
[0062] The embodiments of the present application provide a method and device for upgrading a charging pile to implement the upgrade of the charging pile. In the embodiments of the present application, when the version of the charging software code of the charging pile is lower than the charging code version of the target charging terminal and the target charging terminal and the charging pile can establish a short-distance communication connection, the target charging terminal can provide an upgrade code for the charging pile. In this way, even when the charging pile is set in a place with weak signal, the upgrade of the charging software code of the charging pile can be realized, so that the versions of the charging software of the charging pile and the charging software of the target charging terminal are matched, thereby effectively improving the charging experience of users.
[0063] The following introduces the system architecture applicable to the embodiments of the present application with reference to the accompanying drawings.
[0064] Figure 1 The system architecture applicable to the embodiments of the present application is shown. This system includes a charging terminal 100, a server 200, and a charging pile 300.
[0065] Among them, the charging terminal 100 can be a device that needs to be charged, such as a vehicle, a robot, a ship, an airplane, etc., which is not limited in the embodiments of the present application. The server 200 can be a cloud server or other servers, and the cloud server can be implemented through a virtual machine. The charging pile 300 can be an integrated charging pile or a split charging pile.
[0066] Among them, the server 200 can establish a communication connection with the charging terminal 100 or the server 200 through a traditional Internet Protocol (IP) network to achieve communication interaction; alternatively, the server 200 can establish a communication connection with the charging terminal 100 or the server 200 through a mobile communication network (including an access network and a core network) to achieve communication interaction; and a short-distance communication connection can be established between the charging terminal 100 and the charging pile 300 to achieve communication interaction. Among them, the short-distance communication connection can be, for example, a wireless communication connection such as a Bluetooth communication connection or a XingShan communication connection, or can be a wired communication connection.
[0067] It can be understood that Figure 1 the architecture shown can be applied to various communication scenarios. For example, the 5th generation (5G) communication system, future 6th generation communication systems and other evolved communication systems, Long Term Evolution (LTE) communication system, Vehicle to Everything (V2X), LTE-Vehicle (LTE-V), Vehicle to Vehicle (V2V), vehicle networking, Machine Type Communications (MTC), Internet of Things (IoT), LTE-Machine to Machine (LTE-M), Machine to Machine (M2M), etc. The present application does not make any limitations in this regard.
[0068] It can be understood that Figure 1 only one charging terminal and one charging pile are taken as examples for introduction. In other embodiments, there can be multiple charging terminals and charging piles, and the present application embodiments do not make specific limitations on the number of charging terminals and charging piles.
[0069] Figure 2 shows a schematic diagram of an application scenario applicable to the embodiments of the present application. In Figure 2 it, taking the charging terminal 100 as a vehicle as an example, the vehicle can establish a short-distance communication connection with the charging pile 300, and the vehicle can establish a long-distance communication connection with the server 200. Among them, the server 200 can provide charging software services for the charging terminal 100 and the charging pile 300, and manage relevant charging data, such as providing charging-related software upgrade codes for the charging terminal 100 and the charging pile 300. The charging pile 300 can supply power to the charging terminal 100.
[0070] The following introduces the charging pile upgrade method provided by the embodiments of the present application in combination with specific drawings.
[0071] Figure 3A FIG. 1 shows one of the flow diagrams of the first charging pile upgrade method provided by the embodiments of the present application. This method can be applied to the system architecture as Figure 1 shown. The method includes:
[0072] S301. The server 200 receives request information from the charging terminal 100, and the request information is used to request the code for charging pile upgrade.
[0073] In a possible implementation manner, the server 200 can determine a first code and a second code. Among them, the first code runs through the charging pile 300 and is used for the charging pile 300 to supply power to the charging terminal, and the second code runs through the charging terminal 100 and is used for the charging terminal 100 to charge.
[0074] As can be seen from the foregoing description, the server 200 can provide charging software services for the charging terminal 100 and the charging pile 300, and manage the relevant charging data. Therefore, when implementing S301, in one case, the server 200 can obtain the version information of the first code and the second code from the database; in another case, the server 200 can obtain the version information of the first code and the second code from the charging terminal 100; and compare the versions of the first code and the second code. If the version of the first code is lower than the version of the second code, step S302 is executed. Among them, the version information can include, for example, the version number and / or the release time.
[0075] S302. If the version of the first code is lower than the version of the second code, the server 200 sends a third code to the charging terminal 100, and the third code is used to upgrade the first code; correspondingly, the charging terminal 100 receives the third code.
[0076] Among them, the third code is used to upgrade the first code. It can be understood that the third code is the upgrade code corresponding to the charging software of the charging pile 300, and the third code can upgrade the charging software of the charging pile 300 to improve the charging performance of the charging pile 300.
[0077] In the embodiments of the present application, in order to improve the success probability of the charging terminal 100 providing upgrade codes for the charging pile 300, before the server 200 sends the third code to the charging terminal 100, it may first determine whether the charging terminal 100 has the ability to provide upgrade codes for the charging pile 300. When the charging terminal 100 has the ability to provide upgrade codes for the charging pile 300, the server 200 sends the third code to the charging terminal 100, which can reduce unnecessary communication overhead of the server 200. Among them, the server 200 determines whether the charging terminal 100 has the ability to provide upgrade codes for the charging pile 300, which can be implemented by, but not limited to, the following methods:
[0078] Method 1: The server 200 receives the first information from the charging terminal 100, and the first information is used to indicate that the charging terminal 100 supports establishing a short-distance communication connection with the charging pile 300. Correspondingly, the charging terminal 100 sends the first information.
[0079] In Method 1, after the server 200 receives the first information, it can know that the charging terminal 100 supports establishing a short-distance communication connection with the charging pile 300, then the server 200 considers that the charging terminal 100 has the ability to provide upgrade codes for the charging pile 300.
[0080] Method 2: The server 200 receives the second information from the charging terminal 100, and the second information is used to indicate that the charging terminal 100 will charge through the charging pile 300. Correspondingly, the charging terminal 100 sends the second information. Among them, the second information can be determined according to the user's reserved charging operation.
[0081] In Method 2, the second information is the reserved charging instruction of the charging terminal 100. After the server 200 receives the second information, it can know that the charging terminal 100 will charge through the charging pile 300; and, if the charging terminal 100 will charge through the charging pile 300, it means that the distance between the charging terminal 100 and the charging pile 300 may be relatively close, then the probability of successfully establishing a short-distance communication connection between the charging terminal 100 and the charging pile 300 is relatively high, then the server 200 considers that the charging terminal 100 has the ability to provide upgrade codes for the charging pile 300.
[0082] Method 3: The server 200 receives the first information and the second information from the charging terminal 100. The first information is used to indicate that the charging terminal 100 supports establishing a short-distance communication connection with the charging pile 300, and the second information is used to indicate that the charging terminal 100 will charge through the charging pile 300. Correspondingly, the charging terminal 100 sends the first information and the second information.
[0083] In Mode 3, based on the first information and the second information, the server 200 can know that the probability of the charging terminal 100 successfully establishing a short-range communication connection with the charging pile 300 is relatively high. Then, the server 200 considers that the charging terminal 100 has the ability to provide an upgrade code for the charging pile 300.
[0084] In the embodiments of the present application, the above first information and second information can be the same information or different information. That is to say, the content indicated by the first information and the second information can be indicated by the same information or by different information.
[0085] Mode 4: The server 200 can determine whether the charging terminal 100 will charge through the charging pile within the first time period according to the historical data (such as the charging cycle, etc.) of the charging terminal 100 using the charging pile 300. When it is determined that the charging terminal 100 will charge through the charging pile within the first time period, the server 200 sends a third code to the charging terminal 100.
[0086] In Mode 4, the server 200 determines based on the historical charging data of the charging pile 300 that the charging terminal 100 will charge through the charging pile 300, which means that the distance between the charging terminal 100 and the charging pile 300 may be relatively close within the first time period. Then, the probability of the charging terminal 100 and the charging pile 300 successfully establishing a short-range communication connection is relatively high. Then, the server 200 considers that the charging terminal 100 has the ability to provide an upgrade code for the charging pile 300.
[0087] Optionally, the server 200 can also send third information to the user device associated with the charging terminal 100. The third information is used to instruct the user device to output a first prompt message, and the first prompt message is used to ask the user whether to allow the charging terminal 100 to provide a code for upgrading the charging pile 300. Correspondingly, after receiving the third information, the user device sends fourth information to the server 200. The fourth information is used to instruct the user to allow the charging terminal 100 to provide a code for upgrading the charging pile 300. After receiving the fourth information, the server 200 sends the third code to the charging terminal 100. In this way, the user can know the process of the charging terminal 100 providing an upgrade code for the charging pile 300.
[0088] Among them, the first prompt message can be a voice message, a text message, an image message, etc., and the embodiments of the present application do not make specific limitations; the user device associated with the charging terminal 100 can be an in-vehicle display screen, an in-vehicle audio, a mobile phone, a smart watch, a tablet computer, etc. Exemplarily, taking the charging terminal 100 as a vehicle and the user device as an in-vehicle display screen, the in-vehicle display screen can display the text message as shown in Figure 3B to ask the user whether to agree that the vehicle provides a code for upgrading the charging pile.
[0089] S303. The charging terminal 100 sends a third code to the charging pile 300. Correspondingly, the charging pile 300 receives the third code.
[0090] When implementing S303, it may include but is not limited to the following situations:
[0091] Situation 1. The server 200 sends a fifth message to the charging terminal 100, and the fifth message is used to indicate that the charging pile 300 cannot download the code for upgrade from the server 200. Correspondingly, the charging terminal 100 receives the fifth message. In this way, after the charging terminal 100 receives the fifth message, it can know that the charging pile 300 cannot download the code for upgrade from the server 200, and the charging terminal 100 receives the third code for upgrading the charging pile 300 from the server 200. The charging terminal 100 can actively send the third code to the charging pile 300.
[0092] Situation 2. The server 200 sends a fifth message to the charging terminal 100, and the fifth message is used to indicate that the charging terminal 100 sends a third code to the charging pile 300. Correspondingly, the charging terminal 100 receives the fifth message. In this way, the charging terminal 100 can send the third code to the charging pile 300 according to the server 200.
[0093] Situation 3. After the server 200 sends the third code to the charging terminal 100 and the charging terminal 100 receives the third code, without waiting for the indication message from the server 200, if it is found that the third code is used to upgrade the charging pile 300, the charging terminal 100 actively sends the third code to the charging pile 300. In this way, the communication overhead of the server 200 can be reduced.
[0094] In the embodiment of the present application, after the charging pile 300 receives the third code, it can upgrade the first code according to the third code. That is, the charging pile 300 can upgrade its charging software according to the third code to improve the performance of the charging pile 300. For example, upgrade the charging rate of the charging pile 300. For another example, upgrade the charging warning function of the charging pile 300.
[0095] In Figure 3AIn the method shown above, when the software version of the charging pile 300 is lower than that of the charging terminal 100, the server 200 may send an upgrade code for the charging pile 300 (i.e., the code for upgrading the charging pile 300, such as the third code) to the charging terminal 100, so that the charging terminal 100 can provide the upgrade code for the charging pile 300. The distance between the charging terminal 100 and the charging pile 300 may be relatively close, and the two can complete the transmission of the upgrade code through short-range communication without the need to rely on the 3GPP network. Therefore, even if the charging pile 300 is set in a place with weak signal, the software version of the charging pile 300 can be upgraded, so that the charging pile 300 can obtain updated charging performance; and after the software version of the charging pile 300 is upgraded, the versions of the charging software of the charging pile 300 and the charging software of the charging terminal 100 are matched, which can enable the charging terminal 100 to experience the updated charging performance of the charging pile 300 when charging with the charging pile 300.
[0096] Figure 4 FIG. shows a schematic flow chart of a second charging pile upgrade method provided by an embodiment of the present application. This method can be applied to a system architecture as Figure 1 shown. The method includes:
[0097] S401. When the version of the first code is lower than the version of the second code, the charging terminal 100 obtains the third code from the server 200.
[0098] Among them, the first code runs through the charging pile 300 and is used for the charging pile 300 to supply power to the charging terminal. The second code runs through the charging terminal 100 and is used for the charging terminal 100 to charge. The third code is used to upgrade the first code.
[0099] In a possible implementation manner, the charging terminal 100 obtains the versions of the first code and the second code, compares the versions of the first code and the second code, and executes S401 when the version of the first code is lower than the version of the second code. Specifically, the charging terminal 100 can determine whether the version of the first code is lower than the version of the second code by comparing the version numbers and / or release times of the first code and the second code.
[0100] Among them, the charging terminal 100 can obtain the version of the second code from its local memory; and the charging terminal 100 can receive the seventh information, which is used to indicate the first code used by the charging pile 300 or indicate the version information of the first code. The version information of the first code includes the version number and / or the release time. In this way, the charging terminal 100 can determine the first code currently used by the charging pile 300 according to the received indication message. Furthermore, the charging pile 300 can compare the software version of the charging terminal 100 (i.e., the version of the first code) with the software version of the charging pile 300 (i.e., the version of the second code), so that when the software version of the charging pile 300 is lower than the software version of the charging terminal 100, S401 is executed.
[0101] In the embodiments of the present application, in order to enable the charging terminal 100 to successfully obtain the third code from the server 200, before the charging terminal 100 obtains the third code from the server 200, the server 200 needs to know whether the charging terminal 100 has the ability to provide upgrade codes for the charging pile 300. When the charging terminal 100 has the ability to provide upgrade codes for the charging pile 300, the server 200 sends the third code to the charging terminal 100, which can reduce unnecessary communication overhead of the server 200. For the specific implementation manner in which the server 200 determines whether the charging terminal 100 has the ability to provide upgrade codes for the charging pile 300, please refer to Figure 4 the relevant description in, which will not be elaborated here.
[0102] Among them, the specific implementation manner of S401 may include but is not limited to:
[0103] Method 1: The charging terminal 100 sends a request message to the server 200, and the request message is used to request to provide an upgrade code for the charging pile 300. In response to the request message, the server 200 sends the third code to the charging terminal 100.
[0104] Method 2: The charging terminal 100 sends the first information to the server 200, and the first information is used to indicate that the charging terminal 100 supports establishing a short-range communication connection with the charging pile 300. Correspondingly, the server 200 receives the first information. After receiving the first information, the server 200 can know that the charging terminal 100 supports establishing a short-range communication connection with the charging pile 300, then the server 200 considers that the charging terminal 100 has the ability to provide upgrade codes for the charging pile 300, and the server 200 actively sends the third code to the charging terminal 100.
[0105] In Mode 3, the charging terminal 100 sends a second message to the server 200. This second message is used to indicate that the charging terminal 100 will charge via the charging pile 300. Correspondingly, the server 200 receives the second message. Since the second message is the reservation charging instruction of the charging terminal 100, the server 200 can know that the charging terminal 100 will charge via the charging pile 300 after receiving the second message. Moreover, if the charging terminal 100 will charge via the charging pile 300, it means that the distance between the charging terminal 100 and the charging pile 300 may be relatively close, so the probability that the charging terminal 100 and the charging pile 300 successfully establish a short-distance communication connection is relatively high. Then the server 200 believes that the charging terminal 100 has the ability to provide an upgrade code for the charging pile 300. At this time, the server 200 actively sends a third code to the charging terminal 100.
[0106] In Mode 3, the charging terminal 100 sends a first message and a second message to the server 200. The first message is used to indicate that the charging terminal 100 supports establishing a short-distance communication connection with the charging pile 300, and the second message is used to indicate that the charging terminal 100 will charge via the charging pile 300. Correspondingly, the server 200 receives the first message and the second message. Based on the first message and the second message, the server 200 can know that the probability that the charging terminal 100 and the charging pile 300 successfully establish a short-distance communication connection is relatively high. Then the server 200 believes that the charging terminal 100 has the ability to provide an upgrade code for the charging pile 300. At this time, the server 200 actively sends a third code to the charging terminal 100.
[0107] In the embodiments of the present application, the above first message and second message can be the same message or different messages. That is to say, the content indicated by the first message and the second message can be indicated by the same message or by different messages.
[0108] In Mode 4, the charging terminal 100 can judge whether the charging terminal 100 will charge via the charging pile within a first time period according to its historical data of charging via the charging pile 300 (such as the charging cycle, etc.). When it is determined that the charging terminal 100 will charge via the charging pile within the first time period, the charging terminal 100 sends a request message to the server 200. This request message is used to request a code for upgrading the charging pile 300. The server 200 responds to this request message and sends a third code to the charging terminal 100.
[0109] In an embodiment of the present application, the charging terminal 100 may further send third information to a user device associated with the charging terminal 100. The third information is used to instruct the user device to output a first prompt message, and the first prompt message is used to ask the user whether to allow the charging terminal 100 to provide a code for upgrading to the charging pile 300; and receive fourth information from the user device, where the fourth information is used to instruct the user to allow the charging terminal 100 to provide a code for upgrading to the charging pile 300. In this way, the charging terminal 100 can obtain the user's permission for the charging terminal 100 to provide an upgrade code for the charging pile 300 through the user device associated with the charging terminal 100, and enable the user to be aware of the process of the charging terminal 100 providing an upgrade code for the charging pile 300. For the relevant description of the first prompt message, please refer to the foregoing text.
[0110] S402. The charging terminal 100 sends a third code to the charging pile 300 through a short-range communication connection. Correspondingly, the charging pile 300 receives the third code.
[0111] When implementing S402, the charging terminal 100 may further receive a first request from the charging pile 300, where the first request is used to request the charging terminal 100 to provide a code for upgrading to the charging pile 300. In this way, the charging terminal 100 can provide an upgrade code for the charging pile 300 when receiving the request from the charging pile 300, so that the upgrade code provided by the charging terminal 100 for the charging pile 300 meets the requirements of the charging pile 300. For example, the charging terminal 100 may respond to the first request and send a third code to the charging terminal 100.
[0112] In Figure 4 In the method shown, when the software version of the charging pile 300 is lower than the software version of the charging terminal 100, the charging terminal 100 may actively obtain an upgrade code (such as a third code) of the charging pile 300 from the server and provide the upgrade code for the charging pile 300. Moreover, the distance between the target charging terminal and the charging pile 300 may be relatively close, and the two can complete the transmission of the upgrade code through short-range communication without the need to rely on the 3GPP network. Therefore, even if the charging pile 300 is set in a place with weak signal, the software version of the charging pile 300 can be upgraded, so that the charging pile 300 can obtain updated charging performance; and after the software version of the charging pile 300 is upgraded, the charging software of the charging pile 300 and the charging software of the target charging terminal are matched, which can enable the target charging terminal to experience the updated charging performance of the charging pile 300 when charging with the charging pile 300.
[0113] In some other embodiments, before the charging terminal 100 sends the third code to the charging pile 300 via a short-range communication connection, if the charging terminal 100 fails to establish a short-range communication connection with the charging pile 300, the charging terminal 100 may also send the sixth information to the server to indicate that the charging terminal 100 fails to establish a short-range communication connection with the charging pile 300, or to indicate that the first charging terminal fails to send the code for upgrade to the charging pile; so that the server 200 can query the second charging terminal that supports establishing a short-range communication connection with the charging pile 300. Among them, the server 200 can determine the second charging terminal based on the distance between the charging terminal and the charging pile 300, the communication performance of the charging terminal, etc.
[0114] Figure 5 FIG. shows a schematic flow chart of a third method for upgrading the charging pile 300 provided by an embodiment of the present application. This method can be applied to a system architecture as Figure 1 shown. This method includes:
[0115] S501. When the version of the first code is lower than the version of the second code, the charging pile 300 sends a first request to the charging terminal 100. This first request is used to request an upgrade of the code of the charging pile 300.
[0116] Among them, the first code runs on the charging pile 300 and is used for the charging pile 300 to supply power to the charging terminal. The second code runs on the charging terminal 100 and is used for the charging terminal 100 to charge.
[0117] In a possible implementation manner, the charging pile 300 obtains the versions of the first code and the second code, compares the versions of the first code and the second code, and executes S501 when the version of the first code is lower than the version of the second code. Specifically, the charging terminal 100 can determine whether the version of the first code is lower than the version of the second code by comparing the version numbers and / or release times of the versions of the first code and the second code.
[0118] Among them, the charging pile 300 can obtain the version of the first code from its local memory; and the charging pile 300 can receive the eighth information, which is used to indicate the second code used by the charging terminal 100 or indicate the version information of the second code. Among them, the version information of the second code includes the version number and / or release time. In this way, the charging pile 300 can determine the first code currently used by the charging terminal 100 according to the received indication message. Furthermore, the charging pile 300 can compare the software version of the charging terminal 100 (i.e., the version of the first code) with the software version of the charging pile 300 (i.e., the version of the second code). When the software version of the charging pile 300 is lower than that of the charging terminal 100, S501 is executed. Specifically, the charging terminal 100 can determine whether the version of the first code is lower than that of the second code by comparing the version number and / or release time of the first code and the second code.
[0119] S502. The charging terminal 100 obtains the third code from the server 200.
[0120] For the specific implementation manner of S502, please refer to the relevant description of the specific implementation manner of S401 above, and details are not described here again.
[0121] S503. The charging terminal 100 sends the third code to the charging pile 300 through a short-range communication connection. Correspondingly, the charging pile 300 receives the third code.
[0122] S504. The charging pile 300 upgrades the first code according to the third code.
[0123] In Figure 5 In the method shown, when the software version of the charging pile 300 is lower than that of the charging terminal 100, the charging pile 300 can request the upgrade code of the charging pile 300 from the charging terminal 100. Moreover, the distance between the target charging terminal and the charging pile 300 may be relatively close, and the two can complete the transmission of the upgrade code through short-range communication without the need to rely on the 3GPP network. Therefore, even if the charging pile 300 is set in a place with weak signal, the software version upgrade of the charging pile 300 can be realized, so that the charging pile 300 can obtain updated charging performance; and after the software version of the charging pile 300 is upgraded, the charging software of the charging pile 300 and the charging software of the target charging terminal are matched, which can enable the target charging terminal to experience the updated charging performance of the charging pile 300 when charging with the charging pile 300.
[0124] As Figure 6 shown, the embodiment of the present application also provides a charging pile upgrade device 600, which can be used to implement the method in Figure 3A - Figure 5 above
[0125] Example 1. The device 600 is applied to a server. The device 600 includes:
[0126] A processing module 601 that determines a first code and a second code. The first code runs through a charging pile and is used for the charging pile to supply power to a charging terminal. The second code runs through a first charging terminal and is used for the first charging terminal to charge.
[0127] A transceiver module 602 that, when the version of the first code is lower than the version of the second code, sends a third code to the first charging terminal. The third code is used to upgrade the first code.
[0128] It can be understood that the transceiver module 602 can be understood as a communication interface, and this communication interface has the function of receiving or sending information from other devices.
[0129] Example 2. The device 600 is applied to a target charging terminal. The device 600 includes:
[0130] A transceiver module 602 that is used to receive a third code from a server. Among them, the third code is used to upgrade the first code when the version of the first code is lower than the version of the second code. The first code runs through a charging pile and is used for the charging pile to supply power to the charging terminal. The second code runs through a first charging terminal and is used for the first charging terminal to charge. The transceiver module 602 is further used to send the third code to the charging pile through a short-range communication connection.
[0131] Example 3. The device 600 is applied to a first charging terminal. The device 600 includes: A transceiver module 602 that, when the version of the first code is lower than the version of the second code, obtains a third code from a server. Among them, the first code runs through a charging pile and is used for the charging pile to supply power to the charging terminal. The second code runs through a first charging terminal and is used for the first charging terminal to charge. The transceiver module 602 is further used to send the third code to the charging pile through a short-range communication connection. The third code is used to upgrade the first code.
[0132] Example 4. The device 600 is applied to a server. The device 600 includes: A processing module 601 that is used to determine that a first charging terminal supports establishing a short-range communication connection with a charging pile; and send a third code to the first charging terminal. Among them, the third code is used to upgrade the first code when the version of the first code is lower than the version of the second code. The first code runs through a charging pile and is used for the charging pile to supply power to the charging terminal. The second code runs through a first charging terminal and is used for the first charging terminal to charge. A transceiver module 602 that is used to send the third code to the charging pile through a short-range communication connection.
[0133] Example 5. The device 600 is applied to a charging pile. The device 600 includes: a transceiver module 602. When the version of the first code is lower than that of the second code, the transceiver module 602 sends a first request to a first charging terminal through a short-range communication connection. The first request is used to request an upgrade of the code of the charging pile. Among them, the first code runs through the charging pile and is used for the charging pile to supply power to the charging terminal. The second code runs through the first charging terminal and is used for the first charging terminal to charge. The transceiver module 602 receives a third code from the first charging terminal through a short-range communication connection. A processing module 601 is used to upgrade the first code according to the third code.
[0134] Example 6. The device 600 is applied to a first charging terminal. The device 600 includes: a transceiver module 602, which is used to receive a first request from a charging pile through a short-range communication connection. The first request is used to request an upgrade of the code of the charging pile. In response to the first request, the transceiver module 602 obtains a third code from a server and sends the third code to the first charging terminal. Among them, the third code is used to upgrade the first code when the version of the first code is lower than that of the second code. The first code runs through the charging pile and is used for the charging pile to supply power to the charging terminal. The second code runs through the first charging terminal and is used for the first charging terminal to charge.
[0135] An embodiment of the present application also provides a chip system. Please refer to Figure 7 , the chip system 700 includes at least one processor. When program instructions are executed in at least one processor 701, the above method is implemented.
[0136] Optionally, the chip system further includes a communication interface 703, and the communication interface is used to input or output information.
[0137] Optionally, the chip system further includes a memory 702. The memory 702 is coupled to the processor through the communication interface 703 and is used to store the above instructions so that the processor can read the instructions stored in the memory through the communication interface 703.
[0138] It should be understood that the connection medium between the above-mentioned processor 701, memory 702, and communication interface 703 is not limited in the embodiments of the present application. In the embodiments of the present application Figure 7 , it is connected by a communication bus 704 between the memory 702, processor 701, and communication interface 703. The bus is represented by a thick line in Figure 7 . The connection manners between other components are only illustrative and not limiting. The bus may include an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 7 , only one thick line is used to represent it in
[0139] The above-mentioned module for receiving / sending (reception / transmission module) can be the interface circuit of the device, which is used to receive / send signals from other devices. For example, when the device is implemented in the form of a chip, the reception / transmission module is the interface circuit of the chip for receiving / sending signals from other chips or devices.
[0140] The embodiments of the present application also provide a computer program product including instructions. When it runs on the above-mentioned device, it is used to execute the charging pile upgrade method in the embodiments shown above.
[0141] The embodiments of the present application provide a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is run, it implements the charging pile upgrade method in the above-mentioned embodiments.
[0142] Illustratively, for example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in electrical, mechanical or other forms.
[0143] The unit described as a separated component may or may not be physically separated. The component displayed as a unit can be a physical unit or multiple physical units, that is, it can be located in one place, or it can be distributed to multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0144] In addition, in each embodiment of the present application, each functional unit can be integrated in a processing module, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0145] The division of modules in the embodiments of the present application is illustrative, only a logical function division. In actual implementation, there may be other division methods. In addition, in each embodiment of the present application, each functional module can be integrated in a processor, or exist physically alone, or two or more modules can be integrated in one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module.
[0146] In the method provided by the embodiments of the present application, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wirelessly (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more integrated available media. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a digital video disc (DVD)), or a semiconductor medium, etc.
[0147] In the embodiments of the present application, on the premise of no logical contradiction, the embodiments can refer to each other. For example, the methods and / or terms between method embodiments can refer to each other. For example, the functions and / or terms between device embodiments can refer to each other. For example, the functions and / or terms between device embodiments and method embodiments can refer to each other.
[0148] Those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these changes and modifications.
Claims
1. A method for upgrading a charging pile, characterized in that, The method further includes: Receiving request information from a first charging terminal, where the request information is used to request a code for charging pile upgrade; When the version of the first code is lower than the version of the second code, sending a third code to the first charging terminal; Wherein, the first code runs through the charging pile and is used for the charging pile to supply power to the charging terminal, the second code runs through the first charging terminal and is used for the first charging terminal to charge, and the third code is used to upgrade the first code.
2. The method according to claim 1, characterized in that, Before sending the third code to the first charging terminal, the method further includes: Receiving first information from the first charging terminal, where the first information is used to indicate that the first charging terminal supports establishing a short-distance communication connection with the charging pile.
3. The method according to claim 1 or 2, characterized in that, Before sending the third code to the first charging terminal, the method further includes: Receiving second information from the first charging terminal, where the second information is used to indicate that the first charging terminal will charge through the charging pile.
4. The method according to claim 3, wherein The second information is determined according to the user's reserved charging operation.
5. The method according to any one of claims 1-4, characterized in that, The method further includes: Sending third information to the user device associated with the first charging terminal, where the third information is used to indicate that the user device outputs a first prompt message, and the first prompt message is used to ask the user whether to allow the first charging terminal to provide a code for upgrading the charging pile; Receiving fourth information from the user device, where the fourth information is used to indicate that the user allows the first charging terminal to provide a code for upgrading the charging pile.
6. The method according to any one of claims 1-5, characterized in that The method further includes: Receiving sixth information from the first charging terminal, where the sixth information is used to indicate that the first charging terminal cannot establish a short-distance communication connection with the charging pile, or indicate that the first charging terminal cannot send a code for upgrading to the charging pile; Querying a second charging terminal that supports establishing a short-distance communication connection with the charging pile; Sending the third code to the second charging terminal.
7. A method for upgrading a charging pile, characterized in that, The method further includes: When the version of the first code is lower than the version of the second code, obtaining a third code from a server, where the first code runs through the charging pile and is used for the charging pile to supply power to the charging terminal, the second code runs through the first charging terminal and is used for the first charging terminal to charge; the third code is used to upgrade the first code; Sending the third code to the charging pile through a short-distance communication connection.
8. The method according to claim 7, wherein The method further includes: Receiving seventh information, where the seventh information is used to indicate the first code used by the charging pile, or the version information of the first code.
9. The method according to claim 7 or 8, characterized in that, Before obtaining the third code from the server, the method further includes: Sending second information to the server, where the second information is used to indicate that the first charging terminal will charge through the charging pile.
10. The method according to any one of claims 7-9, characterized in that, The method further includes: Sending third information to the user device associated with the first charging terminal, where the third information is used to indicate that the user device outputs a first prompt message, and the first prompt message is used to ask the user whether to allow the first charging terminal to provide a code for upgrading the charging pile; Receive fourth information from the user equipment, where the fourth information is used to indicate that the user permits the first charging terminal to provide a code for upgrading to the charging pile.
11. The method according to any one of claims 7-10, characterized in that, The method further includes: Receive a first request from the charging pile, where the first request is used to request the first charging terminal to provide a code for upgrading to the charging pile.
12. A method for upgrading a charging pile, characterized in that, Applied to a charging pile, the method further includes: In a case where the version of the first code is lower than the version of the second code, send a first request to the first charging terminal through a short-range communication connection, where the first request is used to request a code for upgrading the version of the charging pile; Wherein, the first code runs through the charging pile and is used for the charging pile to supply power to the charging terminal, and the second code runs through the first charging terminal and is used for the first charging terminal to charge; Receive a third code from the first charging terminal through the short-range communication connection; Upgrade the first code according to the third code.
13. The method according to claim 12, wherein The method further includes: Receive eighth information, where the eighth information is used to indicate the second code used by the first charging terminal or to indicate version information of the second code.
14. A charging pile upgrade device, characterized in that, Include a module or unit for implementing the method according to any one of claims 1 to 13.
15. A chip, characterized in that, Include: A processor, where the processor is coupled to a memory, and the memory is used to store instructions, and when the instructions are executed by the processor, the method according to any one of claims 1 to 13 is executed.
16. A computer-readable storage medium, characterized in that, A computer program or instructions are stored in the storage medium, and when the computer program or instructions are executed by the communication device, the method according to any one of claims 1 to 13 is implemented.