Charging pile timing charging method and device and charging pile
By loading a timed charging task into the charging pile and determining the execution status based on the current time and status, the charging anomaly problem in abnormal scenarios of the charging pile is solved, and normal charging start and end are realized.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- XIAN TELD LINCHR NEW ENERGY TECH CO LTD
- Filing Date
- 2023-07-25
- Publication Date
- 2026-08-04
AI Technical Summary
Existing timed charging strategies for charging stations cannot start or stop charging normally in special scenarios, such as when the charging station loses power or is not plugged in, resulting in abnormal charging of electric vehicles.
By loading timed charging tasks to be executed based on the charging pile's timed settings, and determining the target execution status based on the current time, timed duration, and charging status, including loading, starting, stopping, or deleting tasks, abnormal scenarios can be handled.
Ensure that the charging station can start and stop charging normally under special circumstances, and avoid charging interruption or repeated execution due to abnormal scenarios.
Smart Images

Figure CN116872773B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of timed charging technology, and more specifically, to a timed charging method, device, and charging pile for a charging station. Background Technology
[0002] As people become more environmentally conscious, the number of electric vehicles on the road is gradually increasing, and the demand for scheduled charging of electric vehicles is also rising. Therefore, improving the scheduled charging strategy for charging stations is an urgent problem to be solved.
[0003] Existing charging station timed charging strategies typically only start charging when the set start time is reached and end charging when the set end time is reached.
[0004] However, in some special scenarios, such as when the charging station loses power or is not plugged in, the existing timed charging strategy may fail to start or stop charging normally. Summary of the Invention
[0005] The purpose of this application is to address the shortcomings of the prior art by providing a charging pile timed charging method, device, and charging pile, so as to solve the problem that the charging pile cannot start charging normally or cannot end charging normally in the prior art.
[0006] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows:
[0007] In a first aspect, one embodiment of this application provides a timed charging method for a charging pile, applied to a charging pile, the method comprising:
[0008] Based on the timing settings of the charging pile, at least one scheduled charging task to be executed is loaded into the list of scheduled charging tasks to be executed of the charging pile. The scheduled charging task to be executed includes at least: a timing period.
[0009] Based on the current time, the timing of the scheduled charging task to be executed, and the charging status of the charging pile, the target execution state of the scheduled charging task to be executed is determined. The target execution state includes one of loading the scheduled charging task to be executed into the execution task, starting the execution task, stopping the execution task, or deleting the execution task.
[0010] Optionally, determining the target execution state of the timed charging task based on the current time, the timing of the timed charging task to be executed, and the charging status of the charging pile includes:
[0011] Based on the current time and the timing of the scheduled charging task to be executed, determine whether the current time is within the timing time of the scheduled charging task to be executed;
[0012] The target execution state of the scheduled charging task is determined based on whether the current time is within the time frame of the scheduled charging task to be executed.
[0013] Optionally, determining the target execution state of the scheduled charging task based on whether the current time is within the scheduled time period of the task to be executed includes:
[0014] If the current time falls within the time frame of the scheduled charging task to be executed, the target execution state is determined to be to load the scheduled charging task to be executed into the execution task, based on the charging status of the charging pile and the execution status of the scheduled charging task to be executed.
[0015] Optionally, determining the target execution state of the scheduled charging task based on whether the current time is within the scheduled time period of the task to be executed includes:
[0016] If the current time is not within the time frame for a scheduled charging task to be executed, determine whether the charging pile has already determined the content of the task to be executed;
[0017] If the content of the task to be performed by the charging pile has been determined, the target execution state is determined to be "delete the task" based on the charging status of the charging pile.
[0018] Optionally, the method further includes: determining whether the current time is within the timing period of the scheduled charging task to be executed, based on the current time and the charging start time of the scheduled charging task to be executed;
[0019] If the current time is within the time frame of the scheduled charging task to be executed, then it is determined whether the scheduled charging task to be executed can be executed based on the charging status of the scheduled charging task to be executed.
[0020] If the scheduled charging task to be executed can be performed, then the target execution state is determined to be to load the scheduled charging task to be executed into the execution task and start the execution task;
[0021] If the scheduled charging task cannot be executed and the charging pile is in a charging state, it is determined whether to allow charging to start. If charging is allowed to start and there is no execution task, the target execution state is determined to load the scheduled charging task to be executed into the execution task and start the execution task.
[0022] Optionally, the method further includes:
[0023] Based on the charging status of the charging pile, the current time, the charging start time and charging end time of the scheduled charging task to be executed, the target execution status of the scheduled charging task to be executed is determined.
[0024] Optionally, determining the target execution state of the scheduled charging task based on the charging status of the charging pile, the current time, the charging start time and charging end time of the scheduled charging task to be executed includes:
[0025] The charging status of the charging pile is used to determine whether charging has been completed. If charging has been completed, the target execution status is determined to be "stop executing task" and the execution task is deleted.
[0026] If charging is not complete, determine whether the charging start time of the scheduled charging task to be executed is less than the charging end time;
[0027] If the charging start time of the scheduled charging task to be executed is not less than the charging end time, and the current time is greater than the charging end time of the scheduled charging task to be executed but less than the charging start time of the scheduled charging task to be executed, then the target execution state is determined to be to stop executing the task and delete the task.
[0028] If the charging start time of the scheduled charging task to be executed is less than the charging end time, and the current time is greater than the charging end time of the scheduled charging task to be executed, then the target execution state is determined to be to stop executing the task and delete the task.
[0029] Optionally, before loading at least one scheduled charging task to be executed into the charging pile's list of pending charging tasks based on the charging pile's timing settings information, the method further includes:
[0030] Receive power failure restart policy update instructions;
[0031] According to the power failure restart strategy update instruction, the scheduled charging tasks to be executed in the list of pending charging tasks are cleared.
[0032] Secondly, another embodiment of this application provides a timed charging device for a charging pile, the device comprising:
[0033] The loading module is used to load at least one scheduled charging task to be executed into the list of scheduled charging tasks to be executed of the charging pile according to the timing setting information of the charging pile. The scheduled charging task to be executed includes at least a timing time.
[0034] The determination module is used to determine the target execution state of the scheduled charging task to be executed based on the current time, the timing time of the scheduled charging task to be executed, and the charging status of the charging pile. The target execution state includes one of loading the scheduled charging task to be executed into the execution task, starting the execution task, stopping the execution task, or deleting the execution task.
[0035] Optionally, the determining module specifically includes:
[0036] Based on the current time and the timing of the scheduled charging task to be executed, determine whether the current time is within the timing time of the scheduled charging task to be executed;
[0037] The target execution state of the scheduled charging task is determined based on whether the current time is within the time frame of the scheduled charging task to be executed.
[0038] Optionally, the determining module specifically includes:
[0039] If the current time falls within the time frame of the scheduled charging task to be executed, the target execution state is determined to be to load the scheduled charging task to be executed into the execution task, based on the charging status of the charging pile and the execution status of the scheduled charging task to be executed.
[0040] Optionally, the determining module specifically includes:
[0041] If the current time is not within the time frame for a scheduled charging task to be executed, determine whether the charging pile has already determined the content of the task to be executed;
[0042] If the content of the task to be performed by the charging pile has been determined, the target execution state is determined to be "delete the task" based on the charging status of the charging pile.
[0043] Optionally, the determining module further includes:
[0044] Based on the current time and the charging start time of the scheduled charging task to be executed, determine whether the current time is within the time frame of the scheduled charging task to be executed;
[0045] If the current time is within the time frame of the scheduled charging task to be executed, then it is determined whether the scheduled charging task to be executed can be executed based on the charging status of the scheduled charging task to be executed.
[0046] If the scheduled charging task to be executed can be performed, then the target execution state is determined to be to load the scheduled charging task to be executed into the execution task and start the execution task;
[0047] If the scheduled charging task cannot be executed and the charging pile is in a charging state, it is determined whether to allow charging to start. If charging is allowed to start and there is no execution task, the target execution state is determined to load the scheduled charging task to be executed into the execution task and start the execution task.
[0048] Optionally, the determining module further includes:
[0049] Based on the charging status of the charging pile, the current time, the charging start time and charging end time of the scheduled charging task to be executed, the target execution status of the scheduled charging task to be executed is determined.
[0050] Optionally, the determining module specifically includes:
[0051] The charging status of the charging pile is used to determine whether charging has been completed. If charging has been completed, the target execution status is determined to be "stop executing task" and the execution task is deleted.
[0052] If charging is not complete, determine whether the charging start time of the scheduled charging task to be executed is less than the charging end time;
[0053] If the charging start time of the scheduled charging task to be executed is not less than the charging end time, and the current time is greater than the charging end time of the scheduled charging task to be executed but less than the charging start time of the scheduled charging task to be executed, then the target execution state is determined to be to stop executing the task and delete the task.
[0054] If the charging start time of the scheduled charging task to be executed is less than the charging end time, and the current time is greater than the charging end time of the scheduled charging task to be executed, then the target execution state is determined to be to stop executing the task and delete the task.
[0055] Optionally, the loading module further includes:
[0056] Receive power failure restart policy update instructions;
[0057] According to the power failure restart strategy update instruction, the scheduled charging tasks to be executed in the list of pending charging tasks are cleared.
[0058] Thirdly, another embodiment of this application provides a charging pile including: a processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and when the charging pile is running, the processor executes the machine-readable instructions to perform the steps of a timed charging method for a charging pile as described in the first aspect.
[0059] The beneficial effects of this application are as follows: Based on the charging pile's timing settings, at least one scheduled charging task is loaded into the charging pile's list of pending charging tasks. The target execution state of the scheduled charging task is determined based on the current time, the timing of the scheduled charging task, and the charging pile's charging status. By using the current time, the timing of the scheduled charging task, and the charging pile's charging status, it is determined whether the charging pile is in an abnormal scenario such as power failure, not being plugged in, or policy update. Therefore, the current target execution state is determined according to different situations, avoiding the phenomenon of being unable to start or end charging normally in abnormal scenarios. Attached Figure Description
[0060] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0061] Figure 1 This is a schematic diagram of a scenario for a timed charging method for a charging pile provided in an embodiment of this application;
[0062] Figure 2 This is a schematic diagram of the process after the charging pile receives the timed charging setting, as provided in the embodiments of this application;
[0063] Figure 3 This is a schematic diagram of a timed charging method for a charging pile under abnormal conditions, provided in an embodiment of this application.
[0064] Figure 4 This is a schematic diagram of a detailed method for timed charging of a charging pile in case of abnormal start-up, provided in an embodiment of this application;
[0065] Figure 5 This is a schematic diagram of a method for abnormal termination of timed charging of a charging pile according to an embodiment of this application;
[0066] Figure 6 This is a schematic diagram of a timed charging process for a charging pile provided in an embodiment of this application;
[0067] Figure 7 This is a schematic diagram of a method for timed charging during normal startup of a charging pile, provided in an embodiment of this application.
[0068] Figure 8 This is a schematic diagram of a charging pile's normal start-up and timed charging process provided in an embodiment of this application;
[0069] Figure 9 This is a schematic diagram of a method for normally stopping timed charging of a charging pile according to an embodiment of this application;
[0070] Figure 10 This is a schematic diagram of a charging pile normally stopping timed charging, provided in an embodiment of this application.
[0071] Figure 11 This is a schematic diagram of the overall process of timed charging of a charging pile provided in an embodiment of this application;
[0072] Figure 12 This is a schematic diagram of a method for clearing pending timed charging tasks in a charging pile, provided in an embodiment of this application.
[0073] Figure 13 This is a schematic diagram of the structure of a charging pile timed charging method device provided in an embodiment of this application;
[0074] Figure 14 This is a schematic diagram of the structure of a charging pile provided in an embodiment of this application. Detailed Implementation
[0075] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the accompanying drawings in this application are for illustrative and descriptive purposes only and are not intended to limit the scope of protection of this application. Furthermore, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of this application. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical contextual relationships may be reversed or implemented simultaneously. In addition, those skilled in the art, guided by the content of this application, may add one or more other operations to the flowcharts, or remove one or more operations from the flowcharts.
[0076] Furthermore, the described embodiments are merely some, not all, of the embodiments of this application. The components of the embodiments of this application described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0077] It should be noted that the term "comprising" will be used in the embodiments of this application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.
[0078] Existing timed charging strategies for electric vehicles can only begin charging at the set start time and end charging at the set end time. They cannot function correctly in special circumstances. For example, if the charging gun is plugged in after the set start time, charging will not start on time; if the charging station malfunctions after the timed charging has started, it will not be able to resume timed charging after the malfunction is resolved; if charging starts earlier using other methods, it will not be able to end at the set end time; and if the charging station loses power during charging, the timed charging process may repeat. This can affect the normal charging of electric vehicles.
[0079] Therefore, based on the above-mentioned problems, this application proposes a timed charging method for charging piles. This method loads at least one timed charging task into the charging pile's list of pending charging tasks according to the charging pile's timed setting information. It then determines the target execution state of the timed charging task based on the current time, the timed duration of the task, and the charging status of the charging pile. This means loading the task into the execution task list, starting the execution task, stopping the execution task, or deleting the task. During this process, multiple conditions are considered to determine the final target execution state of the charging pile, ensuring that the charging pile can start or stop charging normally even in special scenarios.
[0080] First, before detailing the timed charging method for charging stations, let's first... Figure 1 The application scenarios for timed charging of charging piles are explained. For example... Figure 1 As shown, the charging station can connect to a cloud platform and mobile devices. The terminal devices have an application (APP) installed for user use. When a user needs to set a timed charging session for the charging station, they can use the APP to connect to a nearby charging station via Bluetooth and set the scheduled charging task. Alternatively, the APP can upload the scheduled charging task to the cloud platform, and then the cloud platform can be used to set the timed charging. Users can also set the charging station directly through the cloud platform. When multiple users set timed charging tasks for the charging station, the charging stations can be sorted according to the charging start time in the scheduled charging task to form a list of tasks to be executed. It is worth noting that the scheduled charging tasks set by the user can include timed charging tasks that start and stop on a set time and timed charging tasks that stop when fully charged. Timed charging tasks that start and stop on a set time mean that the charging station will charge within a limited time period, with the start time being the charging start time and the end time being the charging end time. A timed task that stops charging at a set time indicates that charging will begin at the set time and stop at the set time, which is the charging start time.
[0081] Refer to Figure 2 This document describes the process after a charging pile receives a timed charging setting. As one possible implementation, after the charging pile loads at least one scheduled charging task into its pending charging task list based on the timed setting information, it determines whether the current scenario meets the conditions for initiating a scheduled charging task using multiple conditions. If the conditions are met, the task is executed. Simultaneously, it determines whether the current scenario meets the conditions for ending a scheduled charging task. If the conditions are met, the executed tasks are cleared, and it is checked whether there are other pending charging tasks. If so, the process continues, checking whether the current scenario meets the conditions for initiating a scheduled charging task and subsequent steps, until the number of tasks in the pending charging task list is zero. It is worth noting that the aforementioned multiple conditions may include the current time, the number of pending scheduled charging tasks in the pending charging task list, the charging start time of the pending scheduled charging task, the charging status of the pending scheduled charging task, and whether the charging pile is currently charging.
[0082] Figure 3 This is a flowchart illustrating a timed charging method for charging stations. See below for details. Figure 3 The method for timed charging of charging piles is explained. This method can be applied to the charging piles mentioned above.
[0083] S301. Based on the timing settings of the charging pile, load at least one scheduled charging task to be executed into the list of scheduled charging tasks to be executed of the charging pile. The scheduled charging task to be executed shall include at least the timing time.
[0084] Optionally, users can set up scheduled charging for their electric vehicles via an app or cloud platform. This setting information is the local scheduled charging information. It's worth noting that when a user updates a scheduled charging task, the updated task can be used as local scheduled charging information to form a new scheduled charging task to be executed and added to the list of pending charging tasks.
[0085] Optionally, the list of charging tasks to be executed consists of at least one timed charging task to be executed. The timed charging tasks to be executed include timed tasks that start and stop on time and / or timed tasks that stop when fully charged.
[0086] Optionally, the information in the scheduled charging task to be executed includes the charging start time, and may also include the task number, task attributes, task enable status, and task end status. The task number indicates the sequence number of the scheduled charging task in the list of pending charging tasks; the task attribute indicates whether it starts and stops on time or stops when fully charged; and the task enable status indicates whether the task can be executed by the current charging station. The content and quantity of information in the scheduled charging task to be executed are set by the user's needs.
[0087] It is worth noting that the number of charging tasks in the pending charging list that a charging pile can support is determined by the processing performance of the charging pile and actual needs.
[0088] S302. Based on the current time, the timing of the scheduled charging task to be executed, and the charging status of the charging pile, determine the target execution status of the scheduled charging task to be executed. The target execution status includes one of loading the scheduled charging task to be executed into the execution task, starting the execution task, stopping the execution task, or deleting the execution task.
[0089] Optionally, the above-mentioned scheduled charging tasks to be executed are tasks in the list of tasks to be executed. Specifically, they can be tasks in the list of tasks to be executed that are currently within the charging period, or they can be tasks in the list of tasks to be executed that are currently closest to the charging start time. This selection strategy can be set according to the actual situation and is not restricted here.
[0090] Optionally, the charging status of the scheduled charging task to be executed can refer to whether the scheduled charging task has already been executed. This charging status can be determined by the charging station using information such as the task number in the scheduled charging task to be executed. It is worth noting that by determining the charging status of the scheduled charging task to be executed, it can be determined whether the electric vehicle has encountered a power outage or restart during the charging process.
[0091] Optionally, the scheduled charging task to be executed can be loaded into the execution task, so that the execution task can be started according to the judgment conditions. The judgment conditions may include whether the current time is within the time period of the scheduled charging task to be executed.
[0092] Optionally, when the target execution status is "start execution task", the charging station begins charging the electric vehicle.
[0093] Optionally, when the target execution status is "stop executing task", the charging station will stop charging the electric vehicle.
[0094] Optionally, when the target execution status is "deleted execution task," the scheduled charging task to be executed is removed from the list of execution tasks. This task typically needs to be deleted after it stops executing. When the execution tasks are cleared and there are no more scheduled charging tasks to be loaded, the charging station is in a waiting-to-charge state.
[0095] In this embodiment, based on the charging pile's timing settings, at least one scheduled charging task is loaded into the charging pile's list of pending charging tasks. The target execution state of the scheduled charging task is determined based on the current time, the scheduled time of the task, and the charging pile's charging status. By using the current time, the scheduled time of the task, and the charging pile's charging status, it is determined whether the charging pile is in an abnormal scenario such as power failure, not being plugged in, or policy update. This allows for the determination of the current target execution state based on different situations, preventing the inability to start or end charging normally in abnormal scenarios.
[0096] Next, refer to Figure 4 The following describes step S302 above, which involves determining the target execution state of the scheduled charging task based on the current time, the timing of the scheduled charging task to be executed, and the charging status of the charging pile:
[0097] S401. Based on the current time and the timer of the scheduled charging task to be executed, determine whether the current time is within the timer of the scheduled charging task to be executed.
[0098] It's worth noting that by checking if the current time is before the scheduled charging task's timeout period, it's possible to determine whether the charging station's scheduled charging task follows a "stop when full" policy. If a "stop when full" policy exists, then scheduled charging tasks with this policy are added to the list of pending charging tasks. If no "stop when full" policy exists, then scheduled charging tasks with a "start and stop on time" policy are added to the list of pending charging tasks.
[0099] Optionally, the timing period for the scheduled charging task to be executed includes the task start time and the task end time. Within the same day, if the current time is greater than the task start time but less than the task end time, then the current time falls within the timing period of the scheduled charging task to be executed. When charging across multiple days, if the current time is less than both the task start time and the task end time, then the current time falls within the timing period of the scheduled charging task to be executed.
[0100] S402. Determine the target execution status of the scheduled charging task based on whether the current time is within the scheduled time period of the scheduled charging task to be executed.
[0101] Optionally, if the current time is within the time frame of the scheduled charging task to be executed, the target execution status of the charging pile can be determined by the charging status of the charging pile and the execution status of the scheduled charging task to be executed.
[0102] In this embodiment, by determining whether the current time is within the time frame of the scheduled charging task to be executed based on the current time and the time frame of the scheduled charging task to be executed, the target execution state of the scheduled charging task to be executed is determined, thus avoiding judgment errors and situations where charging cannot be started or stopped normally.
[0103] The following section details step S402, which involves determining the target execution state of the scheduled charging task based on whether the current time falls within the scheduled time frame:
[0104] Optionally, if the current time is within the time frame of the scheduled charging task to be executed, the target execution state is determined to load the scheduled charging task to be executed into the execution task, based on the charging status of the charging pile and the execution status of the scheduled charging task to be executed.
[0105] Optionally, when the charging pile is in a charging state and the scheduled charging task to be executed is in an unexecuted state, the target execution state is determined to load the scheduled charging task to be executed into the execution task.
[0106] Optionally, if the charging pile is not in a charging state, or if the scheduled charging task to be executed is not in a state of execution, the judgment will end directly and the loading will stop.
[0107] For example, if the scheduled charging task has not been executed, it could mean that the vehicle has just reached the charging start time but has not started charging, or it could mean that the vehicle is currently in a state of waiting to be plugged in, which means that although it is in a state of being ready to plug in, it has not started charging. If the charging station is in a charging state, it means that the electric vehicle is currently in a state of not being plugged in.
[0108] In this embodiment, when the current time is within the time frame of the scheduled charging task to be executed, the target execution state is determined to load the scheduled charging task to be executed into the execution task based on the charging status of the charging pile and the execution status of the scheduled charging task to be executed. This ensures that even if the charging pile loses power or restarts during the charging process, it can still execute the charging task and continue to charge the electric vehicle.
[0109] Next, refer to Figure 5 Continuing with step S402, which involves determining the target execution state of the scheduled charging task based on whether the current time is within the scheduled time period, we will now provide a detailed explanation:
[0110] S501. If the current time is not within the time frame for a scheduled charging task to be executed, determine whether the charging pile has already determined the content of the task to be executed.
[0111] Optionally, the task list is not empty when the charging station has determined the content of the task to be performed. The task list is empty when the charging station has not determined the content of the task to be performed. The task list includes scheduled charging tasks that have been started but are yet to be executed.
[0112] S502. If the content of the task to be performed by the charging pile has been determined, the target execution status is determined to be "delete the task" based on the charging status of the charging pile.
[0113] It's worth noting that after determining whether the charging station has determined the content of the task to be executed, it can also determine whether the charging station is in a timed charging start state. If it is in a timed charging start state, then after charging ends, the target execution status is determined to be "delete the task".
[0114] Optionally, if the charging station is not in the scheduled charging start state, the task can be deleted directly.
[0115] In this embodiment, if the current time is not within the time frame of the scheduled charging task to be executed, it is determined whether the charging pile has determined the content of the task to be executed. If the content of the task to be executed by the charging pile has been determined, the target execution state is determined to be to delete the task based on the charging status of the charging pile. Thus, the target execution state is determined based on the status of the task content of the charging pile and the charging status of the charging pile, so as to avoid the inability to continue to provide charging services for other electric vehicles after a power outage or restart during the charging process.
[0116] The following, combined with Figure 6 The complete process of determining the target execution status of the aforementioned charging pile based on the current time and the timing of the scheduled charging task to be executed will be explained.
[0117] Optional, Figure 6In the process, when a scheduled charging task exists, it first determines whether the scheduled charging task follows a "stop when full" strategy. If it does, the scheduled charging task with this strategy is added to the list of scheduled charging tasks. Otherwise, it adds a scheduled charging task with a "start and stop on time" strategy. Next, it checks whether the scheduled charging task in the list is within its scheduled time period. If it is, it checks whether the task's execution status indicates it has already been executed. If not, the process ends. If it is, it checks whether the charging station is currently charging. If not, the process ends. If the task is in progress, the target execution status is set to load the scheduled charging task into the execution task list.
[0118] If the scheduled charging task in the list of pending charging tasks is not within the scheduled time period, then it is determined whether the charging pile has already determined the content of the task to be executed. If not, the judgment ends directly. If yes, it is determined whether the charging pile's charging status is in the state of scheduled charging started. If not, the judgment ends directly. If yes, the charging ends and the target execution status is determined to be deleted.
[0119] By judging the conditions in steps S401-S502 above, if the conditions in each step are met, the current charging pile meets the reload conditions, and charging can be started using the process of the aforementioned embodiment. If the charging pile does not meet the conditions in the aforementioned steps, it indicates that the charging pile is in a normal state, and charging can be started through the following steps. Among them, the reload conditions may include the charging pile experiencing a power outage, restart, or a strategy update of the scheduled charging task to be executed.
[0120] The following is for reference Figure 7 The detailed method for loading the scheduled charging task to be executed into the execution task and starting the execution task is described below:
[0121] S701. Based on the current time and the charging start time of the scheduled charging task to be executed, determine whether the current time is within the scheduled time period of the scheduled charging task to be executed.
[0122] Optionally, the charging start time of the scheduled charging task to be executed can be information from the scheduled charging task to be executed.
[0123] Optionally, before determining whether the current time is within the scheduled time of the scheduled charging task to be executed, it is also possible to determine whether the strategy of the current scheduled charging task to be executed is enabled. If it is not enabled, the judgment is continued on other scheduled charging tasks to be executed in the list of scheduled charging tasks to be executed.
[0124] Optionally, if the current scheduled charging task to be executed is enabled, then by determining whether the scheduled charging task is scheduled to stop when fully charged, and by determining whether the current time is within the scheduled time of the scheduled charging task to be executed:
[0125] If the current scheduled charging task to be executed is stopped when fully charged, then it is determined whether the current time is greater than the charging start time. If the current time is less than the charging start time, it means that the start time of the scheduled charging task to be executed has not yet arrived, and the process continues to judge other scheduled charging tasks in the list of scheduled charging tasks to be executed. If the current time is greater than the charging start time, it means that the scheduled charging task to be executed can start, and the process proceeds to step S702 below.
[0126] If the current scheduled charging task to be executed is scheduled to stop on time, it can be determined whether the current time is within the scheduled charging time of the task based on the current time, the charging start time of the task to be executed, and the charging end time of the task to be executed. Specifically, it is determined whether the task start time of the task to be executed is less than the task end time. If it is less, the task to be executed is the charging status for the day. It is then determined whether the current time is greater than the task start time and less than the task end time. If so, it means that the current time is within the charging time of the task to be executed, and the process proceeds to step S702. If not, the process continues to determine other scheduled charging tasks in the task to be executed list.
[0127] If the start time of the scheduled charging task to be executed is greater than or equal to the end time, then the scheduled charging task to be executed is a cross-day case. Determine whether the current time is greater than the start time or less than the end time of the scheduled charging task to be executed. If yes, it means that the current time is within the charging period of the scheduled charging task to be executed, and proceed to step S702 below. If no, continue to judge other scheduled charging tasks to be executed in the list of scheduled charging tasks to be executed.
[0128] S702. If the current time is within the time frame of the scheduled charging task to be executed, then determine whether the scheduled charging task can be executed based on the charging status of the scheduled charging task to be executed.
[0129] Optionally, the charging status of the timed charging task to be executed can indicate whether the charging pile can charge normally. If it cannot charge normally without meeting the above conditions, it means that the charging pile is in a faulty state or is in a state where the charging gun is not plugged in and cannot charge.
[0130] S703. If the scheduled charging task to be executed can be executed, the target execution state is determined to be loading the scheduled charging task to be executed into the execution task, and the execution task is started.
[0131] Optionally, if the charging station can execute the scheduled charging task to be executed, it means that the charging station is not faulty. The scheduled charging task to be executed can be loaded into the execution task and the execution task can be started.
[0132] S704. If the scheduled charging task cannot be executed and the charging pile is in a charging state, determine whether to allow charging to start. If charging is allowed to start and there is no task to execute, determine the target execution state to load the scheduled charging task to be executed into the execution task and start the execution task.
[0133] Optionally, if the charging station cannot execute the scheduled charging task due to a fault or the charging gun not being plugged in, the system determines whether charging should be started by checking if the fault can be repaired or if the charging gun can be re-plugged in. If the fault can be repaired or the charging gun can be re-plugged in, and there is no task currently being executed, the target execution state is set to load the scheduled charging task into the execution task list and start the execution task.
[0134] It is worth noting that the process of determining whether to initiate the scheduled charging task can be executed cyclically within a preset period. For example, it can be executed cyclically within 5 seconds.
[0135] In this embodiment, based on the current time and the charging start time of the scheduled charging task to be executed, it is determined whether the current time is within the scheduled time period of the scheduled charging task, thereby determining whether the scheduled time period of the scheduled charging task has arrived. If the current time is within the scheduled time period of the scheduled charging task, it is determined whether the scheduled charging task can be executed based on its charging status. If the scheduled charging task can be executed, the target execution state is determined to load the scheduled charging task into the execution task and start the execution task. If the scheduled charging task cannot be executed, but the charging pile is in a charging state, it is determined whether charging can be started. If charging can be started, and there is no execution task, the target execution state is determined to load the scheduled charging task into the execution task and start the execution task. By determining whether the scheduled charging task can be executed based on its charging status, it is determined whether the charging pile has malfunctioned, thereby determining the target execution state based on whether charging can be started and whether there is an execution task, thus realizing the scheduled start of charging at the charging pile.
[0136] To explain in detail how to determine whether a scheduled charging task can be started, the following is based on... Figure 8 The above steps will be explained in detail.
[0137] First, it checks if there are any unchecked scheduled charging tasks with a full-charge stop policy in the list of pending charging tasks. If so, it loads such tasks into the list. If not, it loads tasks with a timed start-stop policy. After loading, it checks if the current scheduled charging task is enabled. If not, it checks other scheduled charging tasks in the list. If enabled, it checks if the current time is within the scheduled time of the task.
[0138] Specifically, if the current scheduled charging task to be executed is scheduled to stop when fully charged, it checks if the current time is greater than the charging start time. If the current time is less than the charging start time, it means the start time for the scheduled charging task has not yet arrived, and the process continues to check other scheduled charging tasks in the task list. If the current time is greater than the charging start time, it means the scheduled charging task can begin execution, and the process proceeds to the next step.
[0139] If the current scheduled charging task to be executed is scheduled to stop on time, the system can determine whether the current time is within the scheduled charging time of the task based on the current time, the task's start time, and the task's end time. Specifically, it checks if the task's start time is less than its end time. If it is, the task represents the current day's charging status. It then checks if the current time is greater than the task's start time but less than its end time. If so, the current time is within the task's charging time, and the system proceeds to the next step. Otherwise, it continues to evaluate other scheduled charging tasks in the task list.
[0140] If the start time of the scheduled charging task to be executed is greater than or equal to the end time, then the scheduled charging task to be executed is a cross-day case. Determine whether the current time is greater than the start time or less than the end time of the scheduled charging task to be executed. If yes, it means that the current time is within the charging period of the scheduled charging task to be executed, and proceed to the next judgment step. If no, continue to judge other scheduled charging tasks to be executed in the list of scheduled charging tasks to be executed.
[0141] In the next judgment step, it is necessary to determine whether the charging pile can execute the scheduled charging task to be executed. If it can be executed, the target execution state is determined to load the scheduled charging task to be executed into the execution task and start the execution task. If it cannot be executed, it is determined whether to allow charging to start. If charging is allowed to start and there is no execution task, the target execution state is determined to load the scheduled charging task to be executed into the execution task and start the execution task.
[0142] The following is for reference Figure 8 This document details the method for handling charging piles when their execution status is "stopped" and for deleting the execution task.
[0143] Optionally, the target execution status of the timed charging task to be executed can be determined based on the charging status of the charging pile, the current time, the charging start time and charging end time of the timed charging task to be executed.
[0144] Optionally, if the charging start time is less than the charging end time, the current charging is considered a same-day charging. If the charging start time is greater than the charging end time, the current charging is considered a cross-day charging.
[0145] Optionally, the target execution status of the scheduled charging task can be determined by judging the relationship between the current time and the charging start time and charging end time of the scheduled charging task to be executed.
[0146] In this embodiment, the target execution state of the timed charging task is determined based on the charging status of the charging pile, the current time, the charging start time and the charging end time of the timed charging task to be executed. The above judgment method can ensure that the task that stops when fully charged ends in time and the next stage task is executed.
[0147] Next, refer to Figure 9 The target execution status of the above-mentioned timed charging task to be executed is described in detail:
[0148] S901. Determine whether charging is complete based on the charging status of the charging pile. If charging is complete, determine the target execution status as "stop execution task" and delete the execution task.
[0149] Optionally, before determining whether charging is complete, it is also possible to first determine whether the scheduled charging task to be executed in the task list is a full-stop strategy. If so, the scheduled charging task to be executed is in a charging state, but does not provide power to the electric vehicle. In this case, the current scheduled charging task to be executed has completed charging, the target execution state is determined to be stopped, and the task is deleted.
[0150] S902. If charging is not complete, determine whether the charging start time of the scheduled charging task to be executed is less than the charging end time.
[0151] Optionally, if the strategy attribute of the scheduled charging task to be executed is "stop when full", then it is determined whether the charging start time of the scheduled charging task to be executed is less than the charging end time, so as to determine whether the current charging task is a cross-day charging or a same-day charging.
[0152] S903. If the charging start time of the scheduled charging task to be executed is not less than the charging end time, and the current time is greater than the charging end time of the scheduled charging task to be executed but less than the charging start time of the scheduled charging task to be executed, then the target execution status is determined to be "stop executing task" and the execution task is deleted.
[0153] Optionally, if the charging start time of the scheduled charging task to be executed is not less than the charging end time, then the scheduled charging task to be executed is determined to be a cross-day charging task.
[0154] Optionally, if the current time is greater than the charging end time of the scheduled charging task to be executed, but less than the charging start time of the scheduled charging task to be executed, then the target execution status is determined to be "stop executing task" and the task is deleted.
[0155] S904. If the charging start time of the scheduled charging task to be executed is less than the charging end time, and the current time is greater than the charging end time of the scheduled charging task to be executed, then the target execution status is determined to be stopped and the task is deleted.
[0156] Optionally, if the charging start time of the scheduled charging task to be executed is less than the charging end time, it indicates that the current scheduled charging task to be executed is for charging on the same day.
[0157] Optionally, if the current time is greater than the charging end time of the scheduled charging task to be executed, the target execution status is determined to be stopped and the task is deleted.
[0158] In this embodiment, the charging status of the charging pile is used to determine whether charging is complete. If charging is complete, the target execution state is determined to be "stop executing the task" and the task is deleted. Therefore, when the strategy for the scheduled charging task is "stop when fully charged," the task stops executing and is deleted once the electric vehicle is fully charged. If charging is incomplete, it is determined whether the charging start time of the scheduled charging task is less than the charging end time. If the charging start time is not less than the charging end time, and the current time is greater than the charging end time but less than the charging start time, the target execution state is determined to be "stop executing the task" and the task is deleted. If the charging start time is less than the charging end time, and the current time is greater than the charging end time, the target execution state is determined to be "stop executing the task" and the task is deleted. Therefore, when the strategy for the scheduled charging task is "start and stop on schedule," the task is stopped and deleted promptly when the current time meets the conditions, so that the next task can begin.
[0159] The following is for reference Figure 10 The following is a further overview of steps S901-S904. First, it can be determined whether the list of pending charging tasks contains a "fully charged and stopped" task. If so, the charging status is used to determine if charging is complete. If charging is complete, the task is stopped and deleted. If not, the judgment ends. If the list of pending charging tasks contains a "timed start / stop" task, it is determined whether the task's start time is less than its end time. If the start time is less than the end time, the current time is checked against the task's end time. If so, the task is stopped and deleted. If not, the judgment ends. If the task's start time is greater than or equal to its end time, the current time is checked against the task's end time and start time. If so, the task is stopped and deleted. If not, the judgment ends.
[0160] As another possible implementation method, refer to Figure 11 The timed charging logic in this embodiment is explained below. First, it is determined whether the charging station is currently executing a task. If not, the step-in check begins, such as... Figure 8 The steps shown, if a task is being executed, will begin the process of determining the end of the timed charging cycle, such as... Figure 10 The steps are shown.
[0161] Optionally, the above logic can loop within a preset time period. For example, the above logic can complete once every 5 seconds.
[0162] The following is for reference Figure 12Before step S301 above, that is, before loading at least one scheduled charging task to be executed into the charging pile's list of pending charging tasks based on the charging pile's timing settings information, the method further includes:
[0163] S1201, Receive power failure restart policy update command.
[0164] Optionally, the power-off restart policy update command can be a command executed when the charging station experiences a power outage, restart, or policy update. The charging station uses the power-off restart policy update command to determine whether it currently meets the reload conditions.
[0165] S1202. According to the power failure restart policy update instruction, clear the scheduled charging tasks in the list of pending charging tasks.
[0166] Optionally, when the charging pile determines that the current charging pile meets the reload conditions according to the power failure restart strategy update instruction, the pending timed charging tasks in the pending charging task list are cleared, so that at least one pending timed charging task can be loaded into the pending charging task list of the charging pile according to the charging pile's timing settings.
[0167] In this embodiment, by receiving the power-down restart policy update instruction and clearing the scheduled charging tasks in the list of scheduled charging tasks according to the power-down restart policy update instruction, the scheduled charging tasks are loaded into the list of scheduled charging tasks, so as to avoid the situation that charging cannot be started or stopped normally when there is a power outage, restart or policy update.
[0168] Based on the same inventive concept, this application also provides a charging pile timed charging device corresponding to a charging pile timed charging method. Since the principle of the device in this application is similar to the charging pile timed charging method described above in this application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.
[0169] Reference Figure 13 The diagram shown is a schematic of a timed charging device for a charging pile according to an embodiment of this application. The device includes: a loading module 1301 and a determining module 1302; wherein:
[0170] The loading module 1301 is used to load at least one scheduled charging task to be executed into the list of scheduled charging tasks to be executed of the charging pile according to the timing setting information of the charging pile. The scheduled charging task to be executed includes at least a timing time.
[0171] The determining module 1302 is used to determine the target execution state of the timed charging task to be executed based on the current time, the timing time of the timed charging task to be executed, and the charging status of the charging pile. The target execution state includes one of loading the timed charging task to be executed into the execution task, starting the execution task, stopping the execution task, or deleting the execution task.
[0172] Optionally, the determining module 1302 specifically includes:
[0173] Based on the current time and the timing of the scheduled charging task to be executed, determine whether the current time is within the timing time of the scheduled charging task to be executed;
[0174] The target execution state of the scheduled charging task is determined based on whether the current time is within the time frame of the scheduled charging task to be executed.
[0175] Optionally, the determining module 1302 specifically includes:
[0176] If the current time falls within the time frame of the scheduled charging task to be executed, the target execution state is determined to be to load the scheduled charging task to be executed into the execution task, based on the charging status of the charging pile and the execution status of the scheduled charging task to be executed.
[0177] Optionally, the determining module 1302 specifically includes:
[0178] If the current time is not within the time frame for a scheduled charging task to be executed, determine whether the charging pile has already determined the content of the task to be executed;
[0179] If the content of the task to be performed by the charging pile has been determined, the target execution state is determined to be "delete the task" based on the charging status of the charging pile.
[0180] Optionally, the determining module 1302 further includes:
[0181] Based on the current time and the charging start time of the scheduled charging task to be executed, determine whether the current time is within the time frame of the scheduled charging task to be executed;
[0182] If the current time is within the time frame of the scheduled charging task to be executed, then it is determined whether the scheduled charging task to be executed can be executed based on the charging status of the scheduled charging task to be executed.
[0183] If the scheduled charging task to be executed can be performed, then the target execution state is determined to be to load the scheduled charging task to be executed into the execution task and start the execution task;
[0184] If the scheduled charging task cannot be executed and the charging pile is in a charging state, it is determined whether to allow charging to start. If charging is allowed to start and there is no execution task, the target execution state is determined to load the scheduled charging task to be executed into the execution task and start the execution task.
[0185] Optionally, the determining module 1302 further includes:
[0186] Based on the charging status of the charging pile, the current time, the charging start time and charging end time of the scheduled charging task to be executed, the target execution status of the scheduled charging task to be executed is determined.
[0187] Optionally, the determining module 1302 specifically includes:
[0188] The charging status of the charging pile is used to determine whether charging has been completed. If charging has been completed, the target execution status is determined to be "stop executing task" and the execution task is deleted.
[0189] If charging is not complete, determine whether the charging start time of the scheduled charging task to be executed is less than the charging end time;
[0190] If the charging start time of the scheduled charging task to be executed is not less than the charging end time, and the current time is greater than the charging end time of the scheduled charging task to be executed but less than the charging start time of the scheduled charging task to be executed, then the target execution state is determined to be to stop executing the task and delete the task.
[0191] If the charging start time of the scheduled charging task to be executed is less than the charging end time, and the current time is greater than the charging end time of the scheduled charging task to be executed, then the target execution state is determined to be to stop executing the task and delete the task.
[0192] Optionally, the loading module 1301 further includes:
[0193] Receive power failure restart policy update instructions;
[0194] According to the power failure restart strategy update instruction, the scheduled charging tasks to be executed in the list of pending charging tasks are cleared.
[0195] This application also provides a charging pile, such as... Figure 14 The diagram shown is a schematic representation of an electronic device structure provided in an embodiment of this application, including: a processor 1401, a memory 1402, and optionally, a bus. The memory 1402 stores machine-readable instructions executable by the processor 1401 (e.g., ...). Figure 13The device includes the loading module 1301 and the determination module 1302 (and the corresponding execution instructions, etc.). When the charging pile is running, the processor 1401 and the memory 1402 communicate via a bus. When the machine-readable instructions are executed by the processor 1401, the above-mentioned charging pile timed charging method is executed.
[0196] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.
Claims
1. A charging pile timing charging method, characterized in that, Applications in charging stations include: Based on the timing settings of the charging pile, at least one scheduled charging task to be executed is loaded into the list of scheduled charging tasks to be executed of the charging pile. The scheduled charging task to be executed includes at least: a timing period. Based on the current time, the timing of the scheduled charging task to be executed, and the charging status of the charging pile, the target execution state of the scheduled charging task to be executed is determined. The target execution state includes one of loading the scheduled charging task to be executed into the execution task, starting the execution task, stopping the execution task, or deleting the execution task. When the target execution status is to load the scheduled charging task to be executed into the execution task, the scheduled charging task to be executed is loaded into the execution task, and the execution task is started according to the judgment conditions. The judgment conditions include whether the current time is within the time period of the scheduled charging task to be executed. The time frame for a scheduled charging task to be executed includes the task start time and the task end time. If the current time is greater than the task start time but less than the task end time within the same day, then the current time is within the time frame for the scheduled charging task to be executed. When charging across days, if the current time is less than both the task start time and the task end time, then the current time is within the time frame for the scheduled charging task to be executed.
2. The method of claim 1, wherein, The step of determining the target execution state of the scheduled charging task based on the current time, the timing of the scheduled charging task to be executed, and the charging status of the charging pile includes: Based on the current time and the timing of the scheduled charging task to be executed, determine whether the current time is within the timing time of the scheduled charging task to be executed; The target execution state of the scheduled charging task is determined based on whether the current time is within the time frame of the scheduled charging task to be executed.
3. The method of claim 2, wherein, The step of determining the target execution state of the scheduled charging task based on whether the current time is within the scheduled time period of the task to be executed includes: If the current time falls within the time frame of the scheduled charging task to be executed, the target execution state is determined to be to load the scheduled charging task to be executed into the execution task, based on the charging status of the charging pile and the execution status of the scheduled charging task to be executed.
4. The method of claim 2, wherein, The step of determining the target execution state of the scheduled charging task based on whether the current time is within the scheduled time period of the task to be executed includes: If the current time is not within the time frame for a scheduled charging task to be executed, determine whether the charging pile has already determined the content of the task to be executed; If the content of the task to be performed by the charging pile has been determined, the target execution state is determined to be "delete the task" based on the charging status of the charging pile.
5. The charging pile timing charging method of claim 1, wherein, Also includes: Based on the current time and the charging start time of the scheduled charging task to be executed, determine whether the current time is within the time frame of the scheduled charging task to be executed; If the current time is within the time frame of the scheduled charging task to be executed, then it is determined whether the scheduled charging task to be executed can be executed based on the charging status of the scheduled charging task to be executed. If the scheduled charging task to be executed can be performed, then the target execution state is determined to be to load the scheduled charging task to be executed into the execution task and start the execution task; If the scheduled charging task cannot be executed and the charging pile is in a charging state, it is determined whether to allow charging to start. If charging is allowed to start and there is no execution task, the target execution state is determined to load the scheduled charging task to be executed into the execution task and start the execution task.
6. The method of claim 1-5, wherein, Also includes: Based on the charging status of the charging pile, the current time, the charging start time and charging end time of the scheduled charging task to be executed, the target execution status of the scheduled charging task to be executed is determined.
7. The method of claim 6, wherein, The step of determining the target execution state of the scheduled charging task based on the charging status of the charging pile, the current time, the charging start time and charging end time of the scheduled charging task to be executed includes: The charging status of the charging pile is used to determine whether charging has been completed. If charging has been completed, the target execution status is determined to be "stop executing task" and the execution task is deleted. If charging is not complete, determine whether the charging start time of the scheduled charging task to be executed is less than the charging end time; If the charging start time of the scheduled charging task to be executed is not less than the charging end time, and the current time is greater than the charging end time of the scheduled charging task to be executed but less than the charging start time of the scheduled charging task to be executed, then the target execution state is determined to be to stop executing the task and delete the execution task. If the charging start time of the scheduled charging task to be executed is less than the charging end time, and the current time is greater than the charging end time of the scheduled charging task to be executed, then the target execution state is determined to be to stop executing the task and delete the task.
8. The charging pile timing charging method of claim 1, wherein, Before loading at least one scheduled charging task to be executed into the list of scheduled charging tasks to be executed of the charging pile according to the timing setting information of the charging pile, the method further includes: Receive power failure restart policy update instructions; According to the power failure restart strategy update instruction, the scheduled charging tasks to be executed in the list of pending charging tasks are cleared.
9. A charging pile timing charging device, characterized in that, The device includes: The loading module is used to load at least one scheduled charging task to be executed into the list of scheduled charging tasks to be executed of the charging pile according to the timing setting information of the charging pile. The scheduled charging task to be executed includes at least a timing time. The determination module is used to determine the target execution state of the timed charging task to be executed based on the current time, the timing time of the timed charging task to be executed, and the charging status of the charging pile. The target execution state includes one of loading the timed charging task to be executed into the execution task, starting the execution task, stopping the execution task, or deleting the execution task. The determining module is specifically used to load the scheduled charging task to be executed into the execution task when the target execution state is to load the scheduled charging task to be executed into the execution task, and start the execution task according to the judgment conditions. The judgment conditions include whether the current time is within the time period of the scheduled charging task to be executed. The time period of the scheduled charging task to be executed includes the task start time and the task end time. If the current time is greater than the task start time and less than the task end time within the same day, then the current time is within the time period of the scheduled charging task to be executed. When charging across days, if the current time is less than both the task start time and the task end time, then the current time is within the time period of the scheduled charging task to be executed.
10. A charging post, characterized by include: The system includes a processor and a memory, the memory storing machine-readable instructions executable by the processor. When the charging station is in operation, the processor executes the machine-readable instructions to perform the steps of a timed charging method for a charging station as described in any one of claims 1 to 8.