Charging pile order abnormal jamming solving method and terminal

By monitoring the EMS response in real time in the cloud platform of the optical storage charging station, establishing a card order task table and scheduling a task processing regularly, the charging order card order problem is solved, the safety of charging resources and user experience is improved, and the Resource loss caused by network failure.

CN119205093APending Publication Date: 2024-12-27CONTEMPORARY NEBULA TECH ENERGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411046238.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

During the charging process, the charging order card problem caused by network failure or response delay between the cloud platform and EMS, resulting in user amount freezing and charging resources loss, and the inability to unfreeze or stop charging in time, affecting the user experience and Operational efficiency.

Method used

Monitor the response status of EMS in real time in the cloud platform, establish a card order task table, and periodically read the card order table through scheduled tasks, judge the charging order status, issue charging stop instructions in a timely manner, mark the task status and number of processing times, Ensure the successful completion or termination of charging orders and prevent resource losses.

Benefits of technology

It effectively prevents the loss of charging resources, ensures that users can restart the charging process, improves user experience, and stops charging in time when the network connection is interrupted, prevents potential losses, and ensures the stability of charging services and user rights.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119205093A_ABST
    Figure CN119205093A_ABST
Patent Text Reader

Abstract

The invention provides a charging pile order abnormal jamming solving method and terminal, and the method comprises the steps: monitoring the receiving and transmitting response condition between a cloud platform and an EMS in real time, and recording a jamming task table; a timed scheduling task is newly added to the background of the cloud platform, each card order task in the card order task table is read in a timed mode, if the state of the charging order corresponding to the card order task is in charging, it is marked that the charging order is completed, and otherwise, whether the creation time of the charging order corresponding to the card order task is within second time from the current time is judged; if yes, a charging stopping instruction is issued to the EMS, and the number of times of execution of the card list task is marked to add 1, otherwise, whether the number of times of execution of the card list task exceeds a preset number of times is judged, if yes, starting failure and ending are marked, the user amount is unfrozen, and meanwhile, the card list task is marked to be successfully processed; and otherwise, marking the card list task as processing abnormity and initiating an alarm. The loss of the optical storage charging station can be avoided, and the charging rights and interests of users can be guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This case is a divisional application based on the invention patent with application date of May 27, 2024, application number 202410658867.X, and name "A solution and terminal for charging card of photovoltaic charging pile" as the parent case. Technical Field

[0002] The present invention relates to the technical field of photovoltaic charging stations, and in particular to a solution and a terminal for solving abnormal charging pile order problems. Background Art

[0003] During the external charging operation of the solar storage charging station, the user uses the charging APP provided by the solar storage charging station to scan the QR code on the charging pile to enter the pre-charging operation interface. After recharging the amount, click the "Start Charging" button. The charging APP immediately sends a request to the cloud platform service end. After the cloud platform receives the start request, the charging pile can successfully charge the car. The cloud platform needs to go through the following process to start the charging service:

[0004] 1. The cloud platform starts the charging service to verify whether the user is legitimate.

[0005] 2. The cloud platform starts the charging service to verify whether the user’s balance is sufficient.

[0006] 3. The cloud platform starts the charging service to verify whether the charging pile has been plugged in.

[0007] 4. The cloud platform starts the charging service to verify whether the user has an ongoing charging order. If so, it returns failure.

[0008] 5. The cloud platform uses the redis service and the pile number as the key to generate a lock that expires at a preset time to prevent users from charging the pile again.

[0009] 6. The cloud platform starts the charging service to generate a charging order and freezes the user's balance at the same time.

[0010] 7. The cloud platform starts the charging service and calls the charging start service. The service sends the charging pile start service to the energy management system EMS of the solar storage charging station through the Internet of Things gateway. The cloud platform simultaneously waits for the EMS start service call result of the solar storage charging station.

[0011] 8. The EMS of the solar storage charging station receives the startup service and replies to the cloud platform that the startup service has been received after verification.

[0012] 9. At the same time, the EMS of the solar storage charging station sends a charging start instruction to the charging pile.

[0013] 10. After receiving the command, the charging pile starts charging the car. If the start is successful, the charging pile will send a successful start result to the EMS. If the start fails, the charging pile will send a failed start result to the EMS.

[0014] 11. After receiving the response from the pile, EMS will send an event of the startup result to the cloud platform.

[0015] 12. After receiving the startup result, the cloud platform modifies the charging order status and then returns the startup result to the APP. The user can check the charging order status on the charging APP.

[0016] From the above process, it can be seen that after the cloud platform sends the start-up charging service to EMS, it will simultaneously wait for the EMS response. If the following situation occurs, the cloud platform will not know the status of the charging order, resulting in a stuck order:

[0017] 1. When the cloud platform sends a startup charging message to EMS, the EMS is disconnected from the network or the network fluctuates, causing the EMS to not receive the startup service.

[0018] 2. EMS responded with the service start-up receipt result, but the cloud platform did not receive it.

[0019] 3. EMS internal reasons did not respond normally to the start-up service reception result.

[0020] Consequences of card order:

[0021] 1. The user's balance is frozen, and the cloud platform cannot unfreeze the balance because it does not know the order status.

[0022] 2. The user has unfinished charging orders and cannot start charging again.

[0023] 3. The cloud platform initiates the service and sends it to EMS. If the cloud platform directly marks the order as failed and returns the money to the user, it is possible that the charging pile successfully charged the car, but the cloud platform did not charge the user.

[0024] In summary, if existing solar-storage charging stations are stuck when charging new energy vehicles, the cloud platform will directly terminate the order, which may easily lead to operational losses of the solar-storage charging station; if the cloud platform first issues a stop charging instruction and then stops directly, it cannot guarantee that the EMS can successfully stop charging, and there is also a probability that it will lead to operational losses of the solar-storage charging station. Therefore, how to solve the charging card problem of solar-storage charging stations to avoid losses of solar-storage charging stations while protecting users' charging rights has gradually become an urgent problem to be solved. Summary of the invention

[0025] The technical problem to be solved by the present invention is to provide a solution and terminal for abnormal card orders of charging piles, so as to avoid losses of photovoltaic charging stations while protecting the charging rights and interests of users.

[0026] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0027] A solution to abnormal stuck order of charging pile, comprising the steps of:

[0028] S1. Real-time monitoring of the sending and receiving response between the cloud platform and EMS, and recording the card task list according to the sending and receiving response;

[0029] S2, adding a timed scheduling task in the cloud platform background to read each card order task in the card order task table at the first time, if the status of the charging order corresponding to the card order task is charging, then mark the task status of the card order task as completed, otherwise proceed to step S3;

[0030] S3, determine whether the creation time of the charging order corresponding to the card order task is within the second time from the current time, if so, send a stop charging instruction to the EMS, and mark the execution number of the card order task plus 1, otherwise go to step S4, the first time is less than the second time, and the product of the preset number and the first time is less than or equal to the second time;

[0031] S4. Determine whether the number of executions of the card order task exceeds the preset number. If so, mark the status of the charging order of the card order task as failed to start, unfreeze the user's balance, and mark the card order task as successfully processed. Otherwise, mark the card order task as abnormal and initiate an alarm.

[0032] The step S1 is specifically as follows:

[0033] S11, when the cloud platform receives a charging order and sends a start service to the EMS, if no response from the EMS is received within a preset third time, the stop charging instruction is sent to the EMS, otherwise the status of the charging order is marked as charging;

[0034] S12. When the EMS replies to the cloud platform that it has received the stop charging instruction, the cloud platform marks the status of the charging order as failed to start and unfreezes the user's balance;

[0035] When the EMS does not reply to the cloud platform receiving the stop charging instruction, the cloud platform adds a new card order task record in the card order task table, and marks its task status as pending and the number of processing times as 0, and marks the status of the charging order as charging;

[0036] The step S1 also includes:

[0037] The EMS sends a charging order to the cloud platform, and after receiving the start charging service sent by the cloud platform, sends a start charging instruction to the charging pile to start the charging pile to perform a charging operation, and sends a start result to the cloud platform;

[0038] If the cloud platform replies that it has received the startup result, and the charging order on the cloud platform has not been marked as failed to start by the scheduled scheduling task, then the charging order can continue to charge;

[0039] If the cloud platform replies that the startup result has been received, and there is a corresponding card order task record for the charging order in the card order task table, the task status of the corresponding card order task is marked as completed;

[0040] If the cloud platform does not respond to receiving the startup result, the EMS determines whether the cloud platform is disconnected from the Internet. If the duration of the disconnection exceeds the second time, all charging orders currently in progress in the solar storage charging station are controlled to stop.

[0041] In order to solve the above technical problems, another technical solution adopted by the present invention is:

[0042] A charging pile order abnormal card processing terminal includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:

[0043] S1. Real-time monitoring of the sending and receiving response between the cloud platform and EMS, and recording the card task list according to the sending and receiving response;

[0044] S2, adding a timed scheduling task in the cloud platform background to read each card order task in the card order task table at the first time, if the status of the charging order corresponding to the card order task is charging, then mark the task status of the card order task as completed, otherwise proceed to step S3;

[0045] S3, determine whether the creation time of the charging order corresponding to the card order task is within the second time from the current time, if so, send a stop charging instruction to the EMS, and mark the execution number of the card order task plus 1, otherwise go to step S4, the first time is less than the second time, and the product of the preset number and the first time is less than or equal to the second time;

[0046] S4. Determine whether the number of executions of the card order task exceeds the preset number. If so, mark the status of the charging order of the card order task as failed to start, unfreeze the user's balance, and mark the card order task as successfully processed. Otherwise, mark the card order task as abnormal and initiate an alarm.

[0047] The step S1 is specifically as follows:

[0048] S11, when the cloud platform receives a charging order and sends a start service to the EMS, if no response from the EMS is received within a preset third time, the stop charging instruction is sent to the EMS, otherwise the status of the charging order is marked as charging;

[0049] S12. When the EMS replies to the cloud platform that it has received the stop charging instruction, the cloud platform marks the status of the charging order as failed to start and unfreezes the user's balance;

[0050] When the EMS does not reply to the cloud platform receiving the stop charging instruction, the cloud platform adds a new card order task record in the card order task table, and marks its task status as pending and the number of processing times as 0, and marks the status of the charging order as charging;

[0051] The step S1 also includes:

[0052] The EMS sends a charging order to the cloud platform, and after receiving the start charging service sent by the cloud platform, sends a start charging instruction to the charging pile to start the charging pile to perform a charging operation, and sends a start result to the cloud platform;

[0053] If the cloud platform replies that it has received the startup result, and the charging order on the cloud platform has not been marked as failed to start by the scheduled scheduling task, then the charging order can continue to charge;

[0054] If the cloud platform replies that the startup result has been received, and there is a corresponding card order task record for the charging order in the card order task table, the task status of the corresponding card order task is marked as completed;

[0055] If the cloud platform does not respond to receiving the startup result, the EMS determines whether the cloud platform is disconnected from the Internet. If the duration of the disconnection exceeds the second time, all charging orders currently in progress in the solar storage charging station are controlled to stop.

[0056] The beneficial effects of the present invention are as follows: a solution and terminal for abnormal stuck orders of charging pile orders are provided, by pre-establishing a stuck order task table on the cloud platform, and by real-time monitoring of the sending and receiving responses of charging orders between the cloud platform and the EMS end of the charging station to determine the stuck order situation, and when a stuck order situation occurs, a new stuck order task record is added to the stuck order task table, and then each stuck order task in the stuck order task table is periodically read by adding a timed scheduling task on the cloud platform, and the stuck order task is processed accordingly according to the charging status of the charging order corresponding to the stuck order task, and at the same time, the task status and processing times are marked for each stuck order task, so as to further judge whether the charging order can be successfully completed and whether the stuck order situation is effectively resolved according to the task status of the stuck order task and the processing times, thereby ensuring that the user can restart the charging process, improving the user experience, and effectively preventing the charging resources of the light storage charging station from being wasted in the event of a stuck order failure that cannot be recovered by itself or a stuck order failure caused by a network connection interruption. Losses; Among them, when a charging card order phenomenon occurs, the cloud platform will promptly send a stop charging instruction to EMS. After receiving the notification, EMS can successfully interrupt the charging process. At the same time, the cloud platform can also successfully complete the order termination, thereby ensuring that users can restart the charging process and improving the user experience; Similarly, in the event of a card order failure and network connection interruption, although the cloud platform is temporarily unable to convey instructions in real time, EMS can also actively stop the charging operation of the entire photovoltaic charging station to the vehicle after judging that the cloud platform is disconnected from the network for a second time, so as to prevent possible losses; In addition, in order to ensure that the judgment condition of the preset number of times is met, the preset number of times and the result of the first time are limited to be less than the second time, so as to ensure that the card order task processing times reach the preset number of times when the scheduled scheduling task periodically processes the card order task. Effective solution, avoid the situation that the card order task status fails to be updated in time when the second time may not have a processing time increase by 1, resulting in a card order resolution failure. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 This is an overall flow chart of a solution to abnormal charging pile order jam in an embodiment of the present invention;

[0058] Figure 2 The present invention is a schematic diagram of the structure of a terminal for resolving abnormal charging pile order jams according to an embodiment of the present invention.

[0059] Description of labels:

[0060] 1. A terminal for resolving abnormal card orders for charging piles; 2. Memory; 3. Processor. DETAILED DESCRIPTION

[0061] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in combination with the implementation modes and the accompanying drawings.

[0062] Please refer to Figure 1 , a solution to abnormal stuck order of charging pile, including the steps of:

[0063] S1. Establish a card order task table in the cloud platform in advance;

[0064] S2. Real-time monitoring of the sending and receiving response between the cloud platform and the EMS, and adding a card order task record to the card order task table according to the sending and receiving response;

[0065] S3, adding a timed scheduling task in the cloud platform background to read each card order task in the card order task table at the first time, if the status of the charging order corresponding to the card order task is charging, then mark the task status of the card order task as completed, otherwise proceed to step S4;

[0066] S4, determine whether the creation time of the charging order corresponding to the card order task is within the second time from the current time, if so, send a stop charging instruction to the EMS, and mark the execution count of the card order task plus 1, otherwise go to step S5;

[0067] S5. Determine whether the number of executions of the card order task exceeds the preset number. If so, mark the status of the charging order of the card order task as failed to start, unfreeze the user balance, and mark the card order task as successfully processed. Otherwise, mark the card order task as abnormal and initiate an alarm.

[0068] From the above description, it can be seen that the beneficial effects of the present invention are: providing a solution to abnormal stuck orders for charging pile orders, by pre-establishing a stuck order task table on the cloud platform, and determining the stuck order situation by real-time monitoring the sending and receiving response of charging orders between the cloud platform and the charging station EMS end, when a stuck order situation occurs, a new stuck order task record is added to the card order task table, and then each card order task in the card order task table is periodically read by adding a timed scheduling task on the cloud platform, and the card order task is processed accordingly according to the charging status of the charging order corresponding to the card order task, and at the same time, the task status and processing times are marked for each card order task, so as to further judge whether the charging order can be successfully completed and whether the stuck order situation is effectively resolved according to the task status of the card order task and its processing times, thereby ensuring that the user can restart the charging process, improving the user experience, and effectively preventing the loss of charging resources of the photovoltaic charging station in the event of a card order failure that cannot be recovered by itself or a card order failure caused by network connection interruption.

[0069] Furthermore, the step S2 is specifically as follows:

[0070] S21, when the cloud platform receives a charging order and sends a start service to the EMS, if no response from the EMS is received within a preset third time, the stop charging instruction is sent to the EMS, otherwise the status of the charging order is marked as charging;

[0071] S22. When the EMS replies to the cloud platform that the charging stop instruction has been received, the cloud platform marks the status of the charging order as failed to start and unfreezes the user's balance;

[0072] When the EMS does not respond to the cloud platform when it receives the stop charging instruction, the cloud platform adds a new card order task record in the card order task table, and marks its task status as pending and the number of processing times as 0, and at the same time marks the status of the charging order as charging.

[0073] From the above description, it can be seen that when a charging card problem occurs, the cloud platform will promptly issue a stop charging instruction to EMS. After receiving the notification, EMS can successfully interrupt the charging process. At the same time, the cloud platform can also successfully complete the order termination, thereby ensuring that users can restart the charging process and improving the user experience.

[0074] Furthermore, the step S2 also includes:

[0075] The EMS sends a charging order to the cloud platform, and after receiving the start charging service sent by the cloud platform, sends a start charging instruction to the charging pile to start the charging pile for charging, and sends a start result to the cloud platform. If the cloud platform replies that the start result has been received, and there is a corresponding card order task record in the card order task table for the charging order, the task status of the corresponding card order task is marked as completed;

[0076] If the cloud platform does not respond to receiving the startup result, the EMS determines whether the cloud platform is disconnected from the Internet. If the duration of the disconnection exceeds the second time, all charging orders currently in progress in the solar storage charging station are controlled to stop.

[0077] From the above description, it can be seen that in the case of a card failure and network interruption, although the cloud platform is temporarily unable to convey instructions in real time, the EMS can actively stop the charging operation of the vehicle by the entire solar storage charging station after determining that the cloud platform has been disconnected from the network for a second time, thereby preventing possible losses.

[0078] Furthermore, during the execution of step S1 to step S5, the cloud platform monitors the start result event of the charging order reported by the EMS in real time. After receiving the start result event of a charging order reported by the EMS, if the charging order has not been completed, the status of the charging order is marked as charging. If there is a card order task record corresponding to the charging order in the card order task table at this time, the cloud platform marks the task status of the corresponding card order task in the card order task table as completed through the timed scheduling task.

[0079] From the above description, it can be seen that the cloud platform monitors the start-up results of each charging order reported by EMS in real time, so as to timely update the status of the charging order and the task status of the corresponding card order task in the card order task table, effectively ensuring the user's charging process and improving the user experience.

[0080] Furthermore, the first time is less than the second time, and the product of the preset number of times and the first time is less than or equal to the second time.

[0081] From the above description, it can be seen that in order to ensure that the judgment condition of the preset number of times is met, the preset number of times and the result of the first time are limited to be less than the second time, so as to ensure that the situation where the number of processing times of the stuck task reaches the preset number is effectively solved when the scheduled task periodically processes the stuck task, and avoid the situation that the processing number of the stuck task may not be increased by 1 at the second time, resulting in the failure of timely updating of the task status of the stuck task, causing the failure of the stuck task to be resolved.

[0082] Please refer to Figure 2 A charging pile order abnormal card processing terminal includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:

[0083] S1. Establish a card order task table in the cloud platform in advance;

[0084] S2. Real-time monitoring of the sending and receiving response between the cloud platform and the EMS, and adding a card order task record to the card order task table according to the sending and receiving response;

[0085] S3, adding a timed scheduling task in the cloud platform background to read each card order task in the card order task table at the first time, if the status of the charging order corresponding to the card order task is charging, then mark the task status of the card order task as completed, otherwise proceed to step S4;

[0086] S4, determine whether the creation time of the charging order corresponding to the card order task is within the second time from the current time, if so, send a stop charging instruction to the EMS, and mark the execution count of the card order task plus 1, otherwise go to step S5;

[0087] S5. Determine whether the number of executions of the card order task exceeds the preset number. If so, mark the status of the charging order of the card order task as failed to start, unfreeze the user balance, and mark the card order task as successfully processed. Otherwise, mark the card order task as abnormal and initiate an alarm.

[0088] From the above description, it can be seen that the beneficial effect of the present invention is that: based on the same technical concept, in conjunction with the above-mentioned solution to abnormal card orders for charging pile orders, a solution terminal for abnormal card orders for charging pile orders is provided, by pre-establishing a card order task table on the cloud platform, and determining the card order situation by real-time monitoring the sending and receiving response of the charging order between the cloud platform and the charging station EMS end, when a card order situation occurs, a new card order task record is added to the card order task table, and then each card order task in the card order task table is periodically read by adding a timed scheduling task on the cloud platform, and the card order task is processed accordingly according to the charging status of the charging order corresponding to the card order task, and at the same time, the task status and processing times are marked for each card order task, so as to further judge whether the charging order can be successfully completed and whether the card order situation is effectively solved according to the task status of the card order task and its processing times, thereby ensuring that the user can restart the charging process, improving the user experience, and effectively preventing the loss of charging resources of the light storage charging station in the event of a card order failure that cannot be recovered by itself or a card order failure caused by network connection interruption.

[0089] Furthermore, the step S2 is specifically as follows:

[0090] S21, when the cloud platform receives a charging order and sends a start service to the EMS, if no response from the EMS is received within a preset third time, the stop charging instruction is sent to the EMS, otherwise the status of the charging order is marked as charging;

[0091] S22. When the EMS replies to the cloud platform that the charging stop instruction has been received, the cloud platform marks the status of the charging order as failed to start and unfreezes the user's balance;

[0092] When the EMS does not respond to the cloud platform when it receives the stop charging instruction, the cloud platform adds a new card order task record in the card order task table, and marks its task status as pending and the number of processing times as 0, and at the same time marks the status of the charging order as charging.

[0093] From the above description, it can be seen that when a charging card problem occurs, the cloud platform will promptly issue a stop charging instruction to EMS. After receiving the notification, EMS can successfully interrupt the charging process. At the same time, the cloud platform can also successfully complete the order termination, thereby ensuring that users can restart the charging process and improving the user experience.

[0094] Furthermore, the step S2 also includes:

[0095] The EMS sends a charging order to the cloud platform, and after receiving the start charging service sent by the cloud platform, sends a start charging instruction to the charging pile to start the charging pile for charging, and sends a start result to the cloud platform. If the cloud platform replies that the start result has been received, and there is a corresponding card order task record in the card order task table for the charging order, the task status of the corresponding card order task is marked as completed;

[0096] If the cloud platform does not respond to receiving the startup result, the EMS determines whether the cloud platform is disconnected from the Internet. If the duration of the disconnection exceeds the second time, all charging orders currently in progress in the solar storage charging station are controlled to stop.

[0097] From the above description, it can be seen that in the case of a card failure and network interruption, although the cloud platform is temporarily unable to convey instructions in real time, the EMS can actively stop the charging operation of the vehicle by the entire solar storage charging station after determining that the cloud platform has been disconnected from the network for a second time, thereby preventing possible losses.

[0098] Furthermore, during the execution of step S1 to step S5, the cloud platform monitors the start result event of the charging order reported by the EMS in real time. After receiving the start result event of a charging order reported by the EMS, if the charging order has not been completed, the status of the charging order is marked as charging. If there is a card order task record corresponding to the charging order in the card order task table at this time, the cloud platform marks the task status of the corresponding card order task in the card order task table as completed through the timed scheduling task.

[0099] From the above description, it can be seen that the cloud platform monitors the start-up results of each charging order reported by EMS in real time, so as to timely update the status of the charging order and the task status of the corresponding card order task in the card order task table, effectively ensuring the user's charging process and improving the user experience.

[0100] Furthermore, the first time is less than the second time, and the product of the preset number of times and the first time is less than or equal to the second time.

[0101] From the above description, it can be seen that in order to ensure that the judgment condition of the preset number of times is met, the preset number of times and the result of the first time are limited to be less than the second time, so as to ensure that the situation where the number of processing times of the stuck task reaches the preset number is effectively solved when the scheduled task periodically processes the stuck task, and avoid the situation that the processing number of the stuck task may not be increased by 1 at the second time, resulting in the failure of timely updating of the task status of the stuck task, causing the failure of the stuck task to be resolved.

[0102] The present invention provides a solution and terminal for abnormal charging pile order jam, which is mainly used in the scenario where the charging order jam occurs due to network failure or delay in sending and receiving response between the cloud platform and EMS during charging operation of the photovoltaic charging station. The following is a specific description in conjunction with specific embodiments:

[0103] Please refer to Figure 1 , Embodiment 1 of the present invention is:

[0104] A solution to abnormal charging pile order jam, such as Figure 1 As shown, the steps include:

[0105] S1. Create a card order task list on the cloud platform in advance.

[0106] S2. Monitor the sending and receiving response between the cloud platform and EMS in real time, and add a new card order task record in the card order task table according to the sending and receiving response.

[0107] S3. Add a timed scheduling task in the cloud platform background to read each card order task in the card order task table at the first interval. If the status of the charging order corresponding to the card order task is charging, mark the task status of the card order task as completed, otherwise go to step S4.

[0108] S4: Determine whether the creation time of the charging order corresponding to the card order task is within the second time from the current time. If so, send a stop charging instruction to the EMS and mark the execution times of the card order task plus 1, otherwise go to step S5. The second time can be set to 120s, which means that the charging pile is locked for 120s, and charging is not allowed to be started within 120s.

[0109] S5. Determine whether the number of executions of the card order task exceeds the preset number. If so, mark the status of the charging order of the card order task as failed to start, unfreeze the user balance, and mark the card order task as successfully processed. Otherwise, mark the card order task as abnormal and initiate an alarm.

[0110] That is, in this embodiment, a card order task table is established in advance on the cloud platform, and the card order situation is determined by real-time monitoring of the sending and receiving responses of charging orders between the cloud platform and the EMS end of the charging station. When a card order situation occurs, a card order task record is added to the card order task table. Subsequently, each card order task in the card order task table is periodically read by adding a timed scheduling task on the cloud platform, and the card order task is processed accordingly according to the charging status of the charging order corresponding to the card order task. At the same time, the task status and processing times are marked for each card order task, so as to further judge whether the charging order can be successfully completed and whether the card order situation is effectively resolved according to the task status of the card order task and the processing times, thereby ensuring that the user can restart the charging process, improving the user experience, and effectively preventing the loss of charging resources of the solar storage charging station in the event of a card order failure that cannot be recovered by itself or a card order failure caused by network connection interruption.

[0111] Among them, during the execution of steps S1 to S5, the cloud platform will monitor the start result events of the charging orders reported by the EMS in real time. After receiving the start result event of a charging order reported by the EMS, if the charging order has not been completed, the status of the charging order will be marked as charging. If there is a card order task record corresponding to the charging order in the card order task table at this time, the cloud platform will mark the task status of the corresponding card order task in the card order task table as completed through a timed scheduling task.

[0112] That is, the cloud platform monitors the start-up results of each charging order reported by EMS in real time, so as to timely update the status of the charging order and the task status of the corresponding card order task in the card order task table, further effectively guaranteeing the user's charging process and improving the user experience.

[0113] Embodiment 2 of the present invention is:

[0114] A solution to abnormal stuck order of charging pile, based on the above embodiment 1, in this embodiment, step S2 is specifically as follows:

[0115] S21. When the cloud platform receives a charging order and sends a start service to the EMS, if no response is received from the EMS within the preset third time, a stop charging instruction is sent to the EMS, otherwise the status of the charging order is marked as charging. In this embodiment, the third time can be set to 20s, that is, when the cloud platform sends the start service and waits for 20s without receiving a response from the EMS, a stop charging instruction is sent to the EMS.

[0116] S22. When the EMS replies to the cloud platform that it has received the instruction to stop charging, the cloud platform marks the status of the charging order as failed to start and unfreezes the user's balance, and the process ends.

[0117] When the EMS does not respond to the cloud platform's instruction to stop charging, the cloud platform adds a new card order task record to the card order task table, and marks its task status as pending and the number of processing times as 0, and also marks the status of the charging order as charging.

[0118] That is, in this embodiment, when a charging card single phenomenon occurs, the cloud platform will promptly send a stop charging instruction to EMS. After receiving the notification, EMS can successfully interrupt the charging process. At the same time, the cloud platform can also successfully complete the order termination, thereby ensuring that the user can restart the charging process and improving the user experience.

[0119] Wherein step S2 also includes:

[0120] After EMS sends a charging order to the cloud platform and receives the start charging service sent by the cloud platform, EMS does not know whether the start charging service reception result sent to the cloud platform will be successfully received by the cloud platform. At this time, EMS sends a start charging instruction to the charging pile according to the normal process to start the charging pile for charging, and sends a start result event to the cloud platform to inform the cloud platform that the charging pile has started charging and is in operation. If the cloud platform replies that it has received the start result, and the cloud platform charging order has not been marked as a start failure by the scheduled scheduling task at this time, the charging order can continue to charge; if the cloud platform replies that it has received the start result, and the corresponding card order task record exists in the card order task table for this charging order, the task status of the corresponding card order task will be marked as completed.

[0121] If the cloud platform does not reply to the start result, the EMS determines whether the cloud platform is disconnected from the network. If the disconnection duration exceeds the second time, all charging orders currently in progress in the solar storage charging station are controlled to stop.

[0122] That is, in the event of a card failure and network interruption, although the cloud platform is temporarily unable to convey instructions in real time, the EMS can actively stop the charging operation of the vehicle by the entire solar storage charging station after determining that the cloud platform has been disconnected from the network for a second time, thereby preventing possible losses.

[0123] Meanwhile, in the present embodiment, the first time is less than the second time, and the product of the preset number of times and the first time is less than or equal to the second time.

[0124] That is, in order to ensure that the judgment condition of the preset number of times is met, the preset number of times and the result of the first time are limited to be less than the second time, so as to ensure that the card order task processing times reach the preset number of times when the scheduled scheduling task periodically processes the card order task, and effectively solve the problem, so as to avoid the situation that the card order task status fails to be updated in time due to the possibility that the processing times are not increased by 1 at the second time, resulting in the failure of the card order solution. For example, when the second time is set to 120s (that is, the locking time of the charging pile is 120s), the first time can be set to 20s, and the preset number of times can be set to 3 times, so as to remind EMS as many times as possible that the charging order needs to be stopped, and ensure that the effect of executing more than 3 times can be achieved within 120s.

[0125] Please refer to Figure 2 , Embodiment 3 of the present invention is:

[0126] A terminal 1 for solving abnormal stuck orders for charging piles comprises a memory 2, a processor 3 and a computer program stored in the memory 2 and executable on the processor 3. When the processor 3 executes the computer program, the steps of the solution to the abnormal stuck orders for charging piles in the above-mentioned embodiment 1 or embodiment 2 are completed.

[0127] In summary, the present invention provides a solution and terminal for abnormal charging pile order card, which has the following beneficial effects:

[0128] 1. When a charging card is stuck, the cloud platform will try its best to send a stop charging instruction to EMS in a timely manner so that EMS can successfully interrupt the charging process after receiving the notification. At the same time, the cloud platform can also successfully complete the order termination, thereby ensuring that users can restart the charging process and improving the user experience;

[0129] 2. In the event of a card failure and network interruption, although the cloud platform is temporarily unable to convey instructions in real time, the EMS system can automatically determine and proactively stop charging the vehicle within a preset time period after the cloud platform is disconnected from the network, thereby preventing possible losses.

[0130] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A solution to abnormal stuck order of charging pile, characterized by: Includes steps: S1. Real-time monitoring of the sending and receiving response between the cloud platform and EMS, and recording the card task list according to the sending and receiving response; S2, adding a timed scheduling task in the cloud platform background to read each card order task in the card order task table at the first time, if the status of the charging order corresponding to the card order task is charging, then mark the task status of the card order task as completed, otherwise proceed to step S3; S3, determine whether the creation time of the charging order corresponding to the card order task is within the second time from the current time, if so, send a stop charging instruction to the EMS, and mark the execution number of the card order task plus 1, otherwise go to step S4, the first time is less than the second time, and the product of the preset number and the first time is less than or equal to the second time; S4. Determine whether the number of executions of the card order task exceeds the preset number. If so, mark the status of the charging order of the card order task as failed to start, unfreeze the user's balance, and mark the card order task as successfully processed. Otherwise, mark the card order task as abnormal and initiate an alarm. The step S1 is specifically as follows: S11, when the cloud platform receives a charging order and sends a start service to the EMS, if no response from the EMS is received within a preset third time, the stop charging instruction is sent to the EMS, otherwise the status of the charging order is marked as charging; S12. When the EMS replies to the cloud platform that it has received the stop charging instruction, the cloud platform marks the status of the charging order as failed to start and unfreezes the user's balance; When the EMS does not reply to the cloud platform receiving the stop charging instruction, the cloud platform adds a new card order task record in the card order task table, and marks its task status as pending and the number of processing times as 0, and marks the status of the charging order as charging; The step S1 also includes: The EMS sends a charging order to the cloud platform, and after receiving the start charging service sent by the cloud platform, sends a start charging instruction to the charging pile to start the charging pile to perform a charging operation, and sends a start result to the cloud platform; If the cloud platform replies that it has received the startup result, and the charging order on the cloud platform has not been marked as failed to start by the scheduled scheduling task, then the charging order can continue to charge; If the cloud platform replies that the startup result has been received, and there is a corresponding card order task record for the charging order in the card order task table, the task status of the corresponding card order task is marked as completed; If the cloud platform does not respond to receiving the startup result, the EMS determines whether the cloud platform is disconnected from the Internet. If the duration of the disconnection exceeds the second time, all charging orders currently in progress in the solar storage charging station are controlled to stop.

2. A solution to abnormal charging pile order jam according to claim 1, characterized in that: During the execution of steps S1 to S5, the cloud platform monitors the start result events of the charging orders reported by the EMS in real time. After receiving the start result event of a charging order reported by the EMS, if the charging order is not completed, the status of the charging order is marked as charging. If there is a card order task record corresponding to the charging order in the card order task table at this time, the cloud platform marks the task status of the corresponding card order task in the card order task table as completed through the timed scheduling task.

3. A terminal for solving abnormal charging pile order card, characterized in that: The invention comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented: S1. Real-time monitoring of the sending and receiving response between the cloud platform and EMS, and recording the card task list according to the sending and receiving response; S2, adding a timed scheduling task in the cloud platform background to read each card order task in the card order task table at the first time, if the status of the charging order corresponding to the card order task is charging, then mark the task status of the card order task as completed, otherwise proceed to step S3; S3, determine whether the creation time of the charging order corresponding to the card order task is within the second time from the current time, if so, send a stop charging instruction to the EMS, and mark the execution number of the card order task plus 1, otherwise go to step S4, the first time is less than the second time, and the product of the preset number and the first time is less than or equal to the second time; S4. Determine whether the number of executions of the card order task exceeds the preset number. If so, mark the status of the charging order of the card order task as failed to start, unfreeze the user's balance, and mark the card order task as successfully processed. Otherwise, mark the card order task as abnormal and initiate an alarm. The step S1 is specifically as follows: S11, when the cloud platform receives a charging order and sends a start service to the EMS, if no response from the EMS is received within a preset third time, the stop charging instruction is sent to the EMS, otherwise the status of the charging order is marked as charging; S12. When the EMS replies to the cloud platform that it has received the stop charging instruction, the cloud platform marks the status of the charging order as failed to start and unfreezes the user's balance; When the EMS does not reply to the cloud platform receiving the stop charging instruction, the cloud platform adds a new card order task record in the card order task table, and marks its task status as pending and the number of processing times as 0, and marks the status of the charging order as charging; The step S1 also includes: The EMS sends a charging order to the cloud platform, and after receiving the start charging service sent by the cloud platform, sends a start charging instruction to the charging pile to start the charging pile to perform a charging operation, and sends a start result to the cloud platform; If the cloud platform replies that it has received the startup result, and the charging order on the cloud platform has not been marked as failed to start by the scheduled scheduling task, then the charging order can continue to charge; If the cloud platform replies that the startup result has been received, and there is a corresponding card order task record for the charging order in the card order task table, the task status of the corresponding card order task is marked as completed; If the cloud platform does not respond to receiving the startup result, the EMS determines whether the cloud platform is disconnected from the Internet. If the duration of the disconnection exceeds the second time, all charging orders currently in progress in the solar storage charging station are controlled to stop.

4. A charging pile order abnormal card processing terminal according to claim 3, characterized in that: During the execution of steps S1 to S5, the cloud platform monitors the start result events of the charging orders reported by the EMS in real time. After receiving the start result event of a charging order reported by the EMS, if the charging order is not completed, the status of the charging order is marked as charging. If there is a card order task record corresponding to the charging order in the card order task table at this time, the cloud platform marks the task status of the corresponding card order task in the card order task table as completed through the timed scheduling task.