Method for recovering charging after power-off restart of charging pile, intelligent equipment and storage medium
By querying and merging incomplete orders after a power outage and restart of the charging station, the problem of charging stations not being able to automatically resume charging after a power outage and restart was solved, realizing automatic order recovery, improving user experience and reducing operating costs.
Patent Information
- Application Number
- CN202511489941.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-17
- Publication Date
- 2026-01-13
AI Technical Summary
After a charging station is powered off and restarted, unfinished charging orders cannot be automatically restored, resulting in a poor user charging experience and increased complexity and cost of operation and maintenance.
After the charging station is restarted after a power outage, the system checks the validity of incomplete orders, sends a recovery request to the cloud platform, creates a local order, and merges the incomplete order with the local order after receiving a response allowing recovery, and then starts charging based on the target vehicle information.
It enables the automatic recovery of unfinished orders after a charging station is restarted following a power outage, improving the user charging experience and reducing maintenance costs.
Smart Images

Figure CN121316624A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electric vehicle charging technology, specifically providing a method, intelligent device, and storage medium for resuming charging after a power outage and restart of a charging pile. Background Technology
[0002] Charging stations may experience brief power outages due to various factors such as power grid line faults, distribution box trips, and planned power outages for maintenance. After the charging piles are powered back on, manual intervention is usually required to restore unfinished orders and match them with vehicles, as the system cannot automatically re-associate unfinished charging orders with vehicles and resume charging. This reduces the user's charging experience and increases the complexity and cost of operation and maintenance.
[0003] Accordingly, there is a need in the field for a new solution to restore charging after a power outage and restart of a charging station in order to solve the above problems. Summary of the Invention
[0004] In order to overcome the above-mentioned defects, this application is made to solve or at least partially solve the technical problem that charging piles cannot automatically resume charging after a power outage and restart.
[0005] In a first aspect, this application provides a method for resuming charging after a power outage and restart of a charging pile. The method includes: responding to the discovery of incomplete orders and confirmation that the incomplete orders are valid after the charging pile has been restarted from a power outage, sending an order recovery request to a cloud platform based on the obtained order information of the incomplete orders; creating a local order after receiving a response from the cloud platform allowing the recovery of the incomplete orders; merging the incomplete orders with the created local orders based on the order information; and charging the target vehicle based on the obtained target vehicle information and the merged order.
[0006] In one technical solution of the above-mentioned method for resuming charging after a power outage and restart of a charging pile, confirming the validity of the incomplete order includes: obtaining the query time and the start time of the incomplete order; detecting the status of the charging pile and charging gun where the incomplete order is located; if the charging pile is in an idle state, the charging gun is in an inserted state, and the difference between the query time and the start time is less than a preset threshold, the incomplete order is determined to be valid.
[0007] In one technical solution of the above-mentioned method for resuming charging after a power outage and restart, the method further includes: continuously recording and storing order information during the charging process.
[0008] In one technical solution of the above-mentioned method for resuming charging after a power outage and restart of a charging pile, after the step of sending an order recovery request to the cloud platform based on the obtained order information of the incomplete order, the method further includes: if no order completion record matching the order information is found, then the recovery of the incomplete order is allowed.
[0009] In one technical solution of the above-mentioned method for resuming charging after a power outage and restart, the step of merging incomplete orders with created local orders based on the order information includes: obtaining the stored order information of incomplete orders; and importing the stored order information into the local orders.
[0010] In one technical solution of the above-mentioned method for resuming charging after a power outage and restart of a charging pile, the target vehicle information includes the identification code of the vehicle currently inserted into the charging gun where the incomplete order is located. The step of charging the target vehicle according to the acquired target vehicle information and the merged order includes: responding to the identification code of the vehicle currently inserted into the charging gun being consistent with the identification code of the vehicle in the merged order; and charging the target vehicle according to the merged order.
[0011] In one technical solution of the above-mentioned method for resuming charging after a power outage and restart of a charging pile, the order information includes an order number, charging capacity, and charging amount. The method further includes: after the order is completed, reporting the order number, charging capacity, and charging amount to the cloud platform to generate an order completion record.
[0012] In one technical solution of the above-mentioned method for resuming charging after a power outage and restart, the method further includes: managing orders uniformly through the order number.
[0013] In a second aspect, a smart device is provided, comprising at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program, which, when executed by the at least one processor, implements the method described in any of the above-mentioned technical solutions for the method of resuming charging after a power outage and restart of a charging pile.
[0014] In a third aspect, a computer-readable storage medium is provided, wherein a plurality of program codes are stored therein, the program codes being adapted to be loaded and run by a processor to perform the method described in any of the technical solutions of the above-described method for resuming charging after a power outage and restart.
[0015] The above-described technical solutions of this application have at least one or more of the following beneficial effects: In implementing the technical solution of this application, incomplete orders are queried and an order recovery request is sent to the cloud platform. After receiving a response from the cloud platform allowing the recovery of incomplete orders, a local order is created, and the incomplete order information stored on the cloud platform is merged with the local order. Finally, the target vehicle is charged based on the obtained target vehicle information and the merged order. This achieves the goal of automatically recovering incomplete orders after the charging station is powered off and restarted, improving the order success rate, enhancing the user charging experience, and reducing operation and maintenance costs. Attached Figure Description
[0016] The disclosure of this application will become more readily understood with reference to the accompanying drawings. It will be readily understood by those skilled in the art that these drawings are for illustrative purposes only and are not intended to limit the scope of protection of this application. Wherein: Figure 1 This is a schematic flowchart of the main steps of a method for resuming charging after a power outage and restart according to an embodiment of this application; Figure 2 This is a schematic flowchart of the overall steps of a method for resuming charging after a power outage and restart of a charging pile according to an embodiment of this application. Figure 3 This is a schematic diagram of the main structure of a smart device according to an embodiment of this application.
[0017] Figure label: 11: Memory; 12: Processor. Detailed Implementation
[0018] Some embodiments of this application are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are merely illustrative of the technical principles of this application and are not intended to limit the scope of protection of this application.
[0019] In the description of this application, the terms "first," "second," etc., are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus. The terms "installed," "connected," and "linked" should be interpreted broadly; for example, they can refer to a fixed connection, a detachable connection, or an integral connection; a mechanical connection or an electrical connection; a direct connection or an indirect connection via an intermediate medium; a connection within two elements; a wireless connection or a wired connection.
[0020] Furthermore, "module" and "processor" can include hardware, software, or a combination of both. A module can include hardware circuitry, various suitable sensors, communication ports, and memory, and may also include software components such as program code, or a combination of software and hardware. A processor can be a central processing unit, microprocessor, image processor, digital signal processor, or any other suitable processor. A processor has data and / or signal processing capabilities. A processor can be implemented in software, in hardware, or a combination of both. Computer-readable storage media includes any suitable medium capable of storing program code, such as magnetic disks, hard disks, optical disks, flash memory, read-only memory, random access memory, etc.
[0021] Furthermore, if the term "and / or" appears in this application, it includes three parallel solutions. Taking "A and / or B" as an example, it includes solution A, solution B, or a solution that simultaneously satisfies A and B. Additionally, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of a person skilled in the art to implement them. When the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed in this application. The terms "at least one A or B" or "at least one of A and B" have a similar meaning to "A and / or B," and can include only A, only B, or A and B. The singular forms of the terms "a" and "this" can also include plural forms.
[0022] The user personal information involved in the various embodiments of this application is processed in strict accordance with the requirements of laws and regulations, following the principles of legality, legitimacy, and necessity, and based on the reasonable purpose of the business scenario. This processing involves personal information actively provided by users during the use of the product / service, information generated as a result of using the product / service, and personal information obtained with user authorization. The user personal information processed in this application may vary depending on the specific product / service scenario and should be based on the specific scenario in which the user uses the product / service. This may involve user account information, device information, driving information, vehicle information, or other related information. This application attaches great importance to the security of user personal information and has adopted industry-standard and reasonable security protection measures to protect user information and prevent unauthorized access, public disclosure, use, modification, damage, or loss of personal information.
[0023] See appendix Figure 1 , Figure 1 This is a schematic flowchart illustrating the main steps of a method for resuming charging after a power outage and restart according to an embodiment of this application. Figure 1 As shown, the method for resuming charging after a power outage and restart in this embodiment of the application mainly includes the following steps S2 to S8: Step S2: In response to the charging pile restarting after a power outage, if there are any incomplete orders and the incomplete orders are confirmed to be valid, an order recovery request is sent to the cloud platform based on the obtained order information of the incomplete orders.
[0024] In this embodiment, the charging pile is responsible for supplying electrical energy, reading the card, and communicating with the vehicle. The cloud platform is a remote software system responsible for receiving data from the charging pile, analyzing, processing, storing, making decisions, and issuing various instructions to the charging pile. The charging pile and the cloud platform can be connected via the Internet (4G / 5G / wired network) to form a complete Internet of Things (IoT) system. Specifically, after a power outage and restart, the charging pile communicates with the cloud platform to query the status of orders placed before the power outage. If any incomplete orders are found and are valid, the charging pile obtains the order information and sends an order recovery request to the cloud platform.
[0025] In one implementation, the method for querying incomplete orders includes, but is not limited to: determining whether an order is incomplete by querying the order status (displayed as abnormal or not finished), querying the end time (displayed as empty or not finished), and querying the final battery level / amount (battery level is very small and no longer changing / amount is 0).
[0026] In one implementation, the validity of an incomplete order can be determined by the status of the charging station and charging gun, and / or the order's start time. As an example, if an incomplete order is found, the current query time, the start time of the incomplete order, and the status of the charging station and charging gun containing the incomplete order are obtained. If the charging station is idle, the charging gun is inserted, and the difference between the query time and the start time is less than a preset threshold (e.g., 120 minutes), the incomplete order is considered valid.
[0027] It should be noted that the specific values given in the embodiments of this application are only as a reference example and can be adjusted according to the actual situation, and do not constitute a limitation on the scope of protection of this application.
[0028] In one implementation, the charging station can continuously record order information during the charging process, including but not limited to: order number, charging station ID, user ID, vehicle identification code, charging start time, charging amount, and charging cost. This order information can be stored locally in real time or uploaded to a cloud platform for storage.
[0029] This embodiment queries incomplete orders and verifies their validity. Only after successful verification is an order recovery request sent to the cloud platform. This avoids invalid operations and achieves the goal of improving the reliability and efficiency of order recovery.
[0030] Step S4: After receiving a response from the cloud platform allowing the recovery of incomplete orders, create a local order.
[0031] In step S2 above, when an incomplete order is found and is valid, an order recovery request is sent to the cloud platform based on the order information. In this embodiment, if a response from the cloud platform allowing the recovery of an incomplete order is received, a local order is created. It should be noted that the cloud platform generates an order completion record for each completed charging order. For example, after an order is completed normally, the charging station reports the order number, charging amount, and charging cost to the cloud platform to generate an order completion record. Therefore, when the cloud platform receives an order recovery request, it checks if there is an order completion record matching the order information, such as the order number. If not, the recovery of the order is allowed. After receiving the cloud platform's response allowing the recovery of an incomplete order, the charging station creates a local order.
[0032] Step S6: Merge incomplete orders with created local orders based on order information.
[0033] In this embodiment, the order information of incomplete orders is imported into the local order created in step S4. For example, locally stored order information can be imported into a newly created local order, and incomplete orders can be deleted.
[0034] This embodiment automatically merges orders, thus automatically restoring incomplete orders, avoiding the need for users to re-operate, and improving the user's charging experience.
[0035] Step S8: Charge the target vehicle based on the obtained target vehicle information and the merged order.
[0036] In this embodiment, the target vehicle refers to the vehicle whose charging gun is inserted for an incomplete order. The target vehicle information includes its Vehicle Identification Number (VIN). Specifically, the system checks whether the VIN of the vehicle currently inserted into the charging gun matches the VIN in the merged order. If the VINs match, the target vehicle is charged according to the merged order, automatically restoring the previous order and ensuring automatic continuation of charging capacity and amount. If the VINs do not match, maintenance personnel can be notified for further verification.
[0037] This embodiment verifies the consistency between the merged order and the currently connected vehicle by comparing the vehicle identification code, which can effectively avoid erroneous operations and further improve the reliability of charging.
[0038] In one application scenario according to an embodiment of this application, Figure 2 This is a schematic flowchart illustrating the overall steps of a method for resuming charging after a power outage and restart according to an embodiment of this application. Figure 2 As shown, the method mainly includes the following steps S201 to S207: Step S201: During the charging process, record charging information (order information) in real time, including order number, charging amount and charging amount, and store the above information locally in real time.
[0039] Step S202: After a sudden power outage and restart, check the incomplete charging orders. For details, please refer to [link to relevant documentation]. Figure 1 Step S2 of the illustrated embodiment will not be repeated here.
[0040] Step S203: Determine if the order start time is within 120 minutes of the current time. If it is within 120 minutes, the order is considered to be able to be resumed, and proceed to step S204.
[0041] Step S204: Initiate an order recovery request to the cloud platform. Specifically, the charging pile sends the order number to the cloud platform and states that the order is an incomplete order that needs to be recovered. The cloud platform determines that no order completion record has been received for the order and then approves the recovery.
[0042] Step S205: After restoration, an order record is created based on the order information, and a charging operation is initiated. After receiving the cloud platform's reply allowing order restoration, the charging station creates an order record (merging orders). Please refer to [link to relevant documentation]. Figure 1 Steps S4 and S6 of the illustrated embodiment will not be repeated here.
[0043] Step S206: Obtain the vehicle identification code and compare it with the vehicle identification code in the order record. If the vehicle identification codes match, normal charging begins. That is, the charging station interacts with the vehicle to obtain the vehicle identification code and compares it with the vehicle identification code in the order record. If the comparison is successful, charging is initiated through the normal charging process.
[0044] Step S207: After the order is completed, the total charging amount and amount of the vehicle are reported to the cloud platform for order settlement.
[0045] This embodiment can automatically recover abnormal orders caused by sudden power outages and restarts, thereby improving the user charging experience, reducing maintenance costs, and realizing intelligent management of charging piles.
[0046] It should be noted that although the steps in the above embodiments are described in a specific order, those skilled in the art will understand that in order to achieve the effect of this application, different steps do not necessarily have to be executed in such an order. They can be executed simultaneously (in parallel) or in other orders. These adjusted solutions are equivalent to the technical solutions described in this application and therefore will also fall within the protection scope of this application.
[0047] Those skilled in the art will understand that all or part of the processes in the method of the above-described embodiment can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form. The computer-readable storage medium can include any entity or device capable of carrying the computer program code, a medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory, a random access memory, an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.
[0048] Another aspect of this application provides a computer-readable storage medium.
[0049] In one embodiment of a computer-readable storage medium according to this application, the computer-readable storage medium can be configured to store a program for performing the method of resuming charging after a power outage and restart of a charging pile according to the above-described method embodiments. This program can be loaded and run by a processor to implement the above-described method of resuming charging after a power outage and restart of a charging pile. For ease of explanation, only the parts related to the embodiments of this application are shown; for specific technical details not disclosed, please refer to the method section of the embodiments of this application. The computer-readable storage medium can be a storage device comprising various electronic devices. Optionally, in the embodiments of this application, the computer-readable storage medium is a non-transitory computer-readable storage medium.
[0050] Another aspect of this application provides a smart device.
[0051] In one embodiment of a smart device according to this application, the smart device may include at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program, which, when executed by the at least one processor, implements the method described in any of the above embodiments. The smart device described in this application may include charging piles, charging station management equipment, etc. (See appendix) Figure 3 , Figure 3 The image exemplarily illustrates a communication connection between memory 11 and processor 12 via a bus.
[0052] In some embodiments of this application, the smart device may further include at least one sensor for sensing information. The sensor is communicatively connected to any type of processor mentioned in this application. Optionally, the smart device may further include an autonomous driving system for guiding the smart device to drive autonomously or assisting in driving. The processor communicates with the sensor and / or the autonomous driving system to perform the methods described in any of the above embodiments. The smart device described in this application may be, but is not limited to, mobile phones, tablets, desktop computers, laptops, handheld computers, notebook computers, in-vehicle devices, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), augmented reality (AR) / virtual reality (VR) devices, etc., and this application does not limit the scope of the embodiments.
[0053] The technical solutions of this application have been described above with reference to the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of this application is obviously not limited to these specific embodiments. Without departing from the principles of this application, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the scope of protection of this application.
Claims
1. A method for resuming charging after a power outage and restart of a charging pile, characterized in that, The method includes: In response to the discovery of incomplete orders after the charging pile is restarted following a power outage and the validity of the incomplete orders is confirmed, an order recovery request is sent to the cloud platform based on the obtained order information of the incomplete orders. Once a response from the cloud platform allowing the resumption of incomplete orders is received, a local order is created. Based on the order information, merge incomplete orders with created local orders; Charge the target vehicle based on the acquired target vehicle information and the merged order.
2. The method for resuming charging after a charging pile is powered off and restarted according to claim 1, wherein, The confirmation that the incomplete order is valid includes: Obtain the query time and the start time of the incomplete orders; Detect the status of the charging station and charging gun where the incomplete order is located; If the charging station is idle, the charging gun is inserted, and the difference between the query time and the start time is less than a preset threshold, the incomplete order is determined to be valid.
3. The method for resuming charging after a power outage and restart of a charging pile according to claim 1, characterized in that, The method further includes: Order information is continuously recorded and stored during the charging process.
4. The method for resuming charging after a power outage and restart of a charging pile according to any one of claims 1 to 3, characterized in that, After the step of sending an order recovery request to the cloud platform based on the obtained order information of the incomplete orders, the method further includes: If no order completion record matching the order information is found, the incomplete order can be restored.
5. The method for resuming charging after a power outage and restart of a charging pile according to claim 4, characterized in that, The step of merging incomplete orders with created local orders based on the order information includes: Retrieve stored order information for incomplete orders; Import the stored order information into the local order.
6. The method for resuming charging after a power outage and restart of a charging pile according to claim 5, characterized in that, The target vehicle information includes the identification code of the vehicle currently plugged into the charging gun where the incomplete order is located. The step of charging the target vehicle based on the acquired target vehicle information and the merged order includes: The charging gun is activated when the identification code of the vehicle currently plugged in matches the identification code of the vehicle in the merged order. Charge the target vehicle according to the merged order.
7. The method for resuming charging after a power outage and restart of a charging pile according to any one of claims 1 to 3, characterized in that, The order information includes the order number, charging capacity, and charging amount; the method further includes: After the order is completed, the order number, charging amount, and charging amount are reported to the cloud platform to generate an order completion record.
8. The method for resuming charging after a power outage and restart of a charging pile according to claim 7, characterized in that, The method further includes: Orders are managed uniformly using the order number.
9. A smart device, characterized in that, include: At least one processor; And, a memory communicatively connected to the at least one processor; The memory stores a computer program, which, when executed by the at least one processor, implements the method for resuming charging after a power outage and restart of the charging pile as described in any one of claims 1 to 8.
10. A computer-readable storage medium storing a plurality of program codes, characterized in that, The program code is adapted to be loaded and run by a processor to perform the method for resuming charging after a power outage and restart of the charging pile as described in any one of claims 1 to 8.