Charger peak and flat valley updating method, device and equipment and storage medium

The peak valley strategy template is automatically issued by the charging machine's peak valley update device, which solves the problems of traditional update efficiency and failure, and achieves efficient and accurate peak valley strategy updates, improving the operating efficiency and accuracy of the charger.

CN119209801APending Publication Date: 2024-12-27SUNSHINE MINGDAO ENERGY TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411220891.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-02
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The traditional charging machine has low efficiency in updating methods, requiring manual data distribution, resulting in inefficient update efficiency and may affect business operations due to failure or power failure.

Method used

Through the update device of the charger's peak and valley, the current status information is obtained and the peak and valley policy template is issued, and the charger is automatically updated without manual operation. Real-time monitoring and ensuring the update is successful or repair instructions are triggered.

Benefits of technology

Improve the update efficiency of the charger's peak valley, ensure that the charger uses the latest peak valley strategy, reduces operational problems caused by manual errors and failures, and improves business accuracy and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119209801A_ABST
    Figure CN119209801A_ABST
Patent Text Reader

Abstract

The invention discloses a charger peak and flat valley updating method, device and equipment and a storage medium, and relates to the technical field of chargers, the charger peak and flat valley updating method is applied to the charger peak and flat valley updating device in communication connection with at least one charger, and the charger peak and flat valley updating method comprises the following steps: acquiring current state information of the charger; a peak and valley leveling strategy template is obtained, and the peak and valley leveling strategy template comprises the peak and valley leveling time period of the electricity price; and when the current state information is an on-line state, issuing the peak and valley strategy template to the charger so as to carry out peak and valley updating on the charger. According to the invention, the peak and flat valley updating efficiency of the charger is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of chargers, and in particular to a method, device, equipment and storage medium for updating the peak and valley conditions of a charger. Background Art

[0002] With the popularization of chargers, users have also put forward higher requirements for the update method of charger peak and valley (i.e. the peak and valley of electricity prices).

[0003] The traditional method of updating the peak and valley data of chargers is to manually send the peak and valley data to each charger in turn. This method of updating the peak and valley data of chargers has low updating efficiency because it requires manual sending of the peak and valley data to each charger in turn.

[0004] The above content is only used to assist in understanding the technical solution of this application and does not constitute an admission that the above content is prior art. Summary of the Invention

[0005] The main purpose of this application is to provide a method, device, equipment and storage medium for updating the peak and valley conditions of a charger, aiming to solve the technical problem of low updating efficiency of the peak and valley conditions of a charger.

[0006] To achieve the above objectives, the present application provides a method for updating the peak and valley values ​​of a charger. The method is applied to a device for updating the peak and valley values ​​of a charger that is communicatively connected to at least one charger. The method includes:

[0007] Obtaining current status information of the charger;

[0008] Obtaining a peak / valley strategy template, wherein the peak / valley strategy template includes time periods of peak and valley electricity prices;

[0009] When the current state information is an online state, the peak-to-valley strategy template is sent to the charger to perform peak-to-valley update on the charger.

[0010] In one embodiment, after the step of obtaining the current status information of the charger, the method further includes:

[0011] When the current state information is an offline state, obtaining a real-time state of a first target charger in real time, wherein the first target charger includes a charger whose current state information is the offline state;

[0012] When the real-time status is an online status, the peak-valley strategy template is sent to the first target charger.

[0013] In one embodiment, the current status information includes an online status. When the real-time status is the online status, after the step of sending the peak-valley strategy template to the first target charger, the following steps are included:

[0014] When the update result of the first target charger is successful and the number of updates of the first target charger is less than a preset first update threshold, generating update success information corresponding to the identification code of the first target charger;

[0015] When the update result of the first target charger is update failure and the update number of the first target charger is greater than or equal to a preset first update threshold, a preset maintenance instruction is triggered.

[0016] In one embodiment, after the step of sending the peak-valley and flat-valley strategy template to the charger when the current status information is an online state, the method further includes:

[0017] Obtaining an update result of the charger;

[0018] When the update result is successful, generating update success information corresponding to the identification code of the charger;

[0019] When the update result is update failure, the charger whose update fails is determined to be a second target charger, and the step of sending the peak-valley policy template to the charger is performed for the second target charger.

[0020] In one embodiment, after the step of determining that the charger that failed to update is the second target charger, the method further includes:

[0021] determining an update frequency of the second target charger;

[0022] When the update number is greater than or equal to a preset second update threshold, triggering a preset maintenance instruction, and generating charger maintenance information based on the maintenance instruction;

[0023] When the update number is less than a preset second update threshold, the step of sending the peak-valley strategy template to the second target charger is performed.

[0024] In one embodiment, the chargers include chargers with different identification codes. Before the step of sending the peak-valley and flat-valley policy template to the chargers when the current status information is an online state, the step includes:

[0025] sequentially determining the target area corresponding to the identification code, and determining the target peak-flat-valley strategy template corresponding to the target area in the peak-flat-valley strategy template;

[0026] The identified charger in the target area is determined based on the identification code, and based on the identified charger and the target peak-peak, flat-valley and off-peak policy template, the step of sending the peak-peak, flat-valley and off-peak policy template to the charger is executed when the current status information is online.

[0027] In one embodiment, the charger peak and valley updating device is further connected to a network terminal, and the step of obtaining the peak and valley policy template includes:

[0028] At a preset time node, obtaining the time period information to be updated in the network terminal, wherein the time period information to be updated includes the time period of peak and valley electricity prices corresponding to each of the chargers;

[0029] The preset initial peak-flat-valley table is updated based on the time period to obtain a peak-flat-valley strategy template.

[0030] In addition, to achieve the above-mentioned purpose, the present application further provides a device for updating the peak and valley values ​​of a charger, wherein the device is communicatively connected to at least one charger, and the device comprises:

[0031] A first acquisition module is used to obtain current status information of the charger;

[0032] The second acquisition module is used to obtain a peak-valley and flat-valley strategy template, wherein the peak-valley and flat-valley strategy template includes a time period of peak and flat electricity prices;

[0033] The sending update module is used to send the peak-valley strategy template to the charger when the current status information is online, so as to perform peak-valley strategy update on the charger.

[0034] In addition, to achieve the above-mentioned purpose, the present application also provides a charger peak and valley update device, including a processor, a memory, and a charger peak and valley update method program stored in the memory and executable by the processor, wherein when the charger peak and valley update method program is executed by the processor, the steps of the charger peak and valley update method as described above are implemented.

[0035] The present application also provides a storage medium, on which a charger peak-valley update method program is stored. When the charger peak-valley update method program is executed by a processor, the steps of the charger peak-valley update method as described above are implemented.

[0036] An embodiment of the present application provides a method for updating the peak and valley conditions of a charger, which is applied to a device for updating the peak and valley conditions of a charger that is communicatively connected to at least one charger, by obtaining the current status information of the charger; obtaining a peak and valley policy template, wherein the peak and valley policy template includes the time periods of peak and valley electricity prices; when the current status information is online, sending the peak and valley policy template to the charger to perform peak and valley updates on the charger. This method for updating the peak and valley conditions of a charger is communicatively connected to at least one charger through the device for updating the peak and valley conditions of the charger, and then sending the peak and valley policy template to each charger based on the current status information of each charger to perform peak and valley updates on each charger, without the need for manual sending of peak and valley data to each charger in turn, thereby improving the efficiency of updating the peak and valley conditions of the charger. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 This is a flow chart of the first embodiment of the method for updating the peak and valley conditions of a charger of the present application;

[0038] Figure 2 A schematic diagram of the charger peak and valley control strategy for this application;

[0039] Figure 3 A schematic diagram of the method for updating the peak and valley conditions of a charger according to the present application;

[0040] Figure 4 This is a module diagram of the device for updating the peak and valley conditions of the charger in this application;

[0041] Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in this application.

[0042] The realization of the objectives, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0043] It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application.

[0044] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0045] The current method for updating the peak and valley values ​​of chargers is that after the local power company releases the latest peak and valley data, the battery swap station operator must manually enter the latest peak and valley values ​​into the system and then update each charger one by one. Some manufacturers do not even support remote manual updates, requiring on-site updates of each charger, which is inefficient and seriously affects the charging and swapping business of the battery swap station. At the same time, for the manual update method of a single charger, there is a possibility that when the peak and valley strategy values ​​are updated, the charger may not receive the previously issued update command due to failure, power outage, or other reasons, and the operator is unaware of it. As a result, the batch of chargers will still operate and measure according to the old peak and valley strategy values ​​after they are put online, affecting business settlement.

[0046] Therefore, to address the shortcomings of the above-mentioned charger peak and valley updating solutions, a charger peak and valley updating method of the present application is proposed. The solution of the present embodiment is to communicate with at least one charger through a charger peak and valley updating device, and then send a peak and valley policy template to each charger based on the current status information of each charger, so as to update the charger peak and valley data for each charger. This eliminates the need to manually send peak and valley data to each charger in turn, thereby improving the efficiency of charger peak and valley updates.

[0047] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, mobile phone, etc., or a device capable of performing the above functions, a charger peak and valley update device, etc. The following uses the charger peak and valley update device as an example to illustrate this embodiment and the following embodiments.

[0048] Based on this, the embodiment of the present application provides a method for updating the peak and valley of a charger, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the method for updating the peak and valley conditions of a charger of the present application.

[0049] Reference Figure 1 The present application provides a method for updating peak and valley data of a charger. In a first embodiment of the method, the method is applied to a device for updating peak and valley data of a charger that is communicatively connected to at least one charger. The method includes:

[0050] Step S10, obtaining the current status information of the charger;

[0051] Step S20, obtaining a peak / valley policy template, wherein the peak / valley policy template includes time periods of peak and valley electricity prices;

[0052] In this embodiment, when the charger is updating the peak and valley conditions, the charger peak and valley updating device will establish a communication connection with multiple chargers to be updated. It is worth noting that the charger peak and valley updating device can be a cloud controller or other control device. The charger peak and valley updating device is connected to the charger to obtain the current status of each charger, wherein the current status refers to the current offline or online status. At the same time, the charger peak and valley updating device will also obtain user input or grab the peak and valley policy template corresponding to each charger, and directly select all the peak and valley policy templates for unified processing. After all the peak and valley policy templates are sent to the charger, the charger selects the required peak and valley policy template by itself. The peak and valley policy template refers to the peak time period (referring to the highest price of electricity), peak time period, flat time period and valley time period of a certain area in a certain month (or other time), that is, the time period with high and low electricity prices. Please refer to Figure 2 , Figure 2 This is a schematic diagram of the peak and valley strategy of the charger of this application. The figure illustrates the various peak and valley time periods in a day, and then the charging control of the charger can be performed based on the peak and valley strategy of the charger. Among them, the peak and valley strategy template can be obtained by communicating with the relevant official website in advance (that is, connecting to a network terminal, such as a computer, etc.), regularly grabbing the official peak and valley update data according to the preset template rules, and automatically filling it into the corresponding table template. For example, the position in the table template to fill in the peak time period and the position to fill in the peak time period can be defined in the preset template rules. If the relevant official website is not connected, personnel need to manually add the latest peak and valley strategy values ​​to the system template through official documents (such as paper versions, electronic notifications, etc.). When an update is required, the latest peak and valley strategy values ​​​​can be sent to each charger, and the update results of each charger will also be fed back, thereby realizing the update of the peak and valley of the intelligent charger, and at the same time improving the efficiency of the update of the peak and valley of the charger compared to the manual update method.

[0053] Step S30: When the current status information is an online status, the peak-to-valley strategy template is sent to the charger to perform peak-to-valley update on the charger.

[0054] In this embodiment, after determining the current state information and the peak / valley policy template, the update method will be determined based on the current state information. That is, the charger will be updated based on the current online state of the charger. For example, when the charger is online, the charger will be directly updated. After determining the update result, it will be determined whether the charger needs to be updated again for a second or even third time. The accuracy of the update can be guaranteed based on the update result. If the charger is online, the charger peak / valley update device will record the charger's unique serial number, such as an SN code, and mark it as online and can push the peak / valley policy template. Then, through subsequent control, it will determine whether it needs to be updated again or return the update result. If the charger is offline (including faulty or offline), the charger peak / valley update device will record the charger's unique SN, mark it as offline and cannot be pushed, and monitor the charger until it comes online next time and is marked as online and can be pushed. The push strategy is then determined based on different states to ensure the accuracy of push and subsequent updates. At this time, there is no phenomenon of directly pushing the peak and valley policy template after confirming that it can be pushed, and then completing the entire update process. Instead, the update is directly performed when the charger is online, and the update continues if the update result is unsuccessful until the update result is successful and stops, or the update stops after the update reaches a certain number of times. At this time, the peak and valley policy template is sent to the corresponding charger based on the current status information to enable the corresponding charger to complete the peak and valley update, thereby eliminating the need for manual update, improving the efficiency of the charger's peak and valley update.

[0055] In one embodiment, referring to Figure 3 , Figure 3 This is a schematic diagram of the method for updating the peak and valley data of the charger of this application. After the peak and valley data are captured, the peak and valley data will be pushed to the charger in the corresponding area. At this time, the peak and valley data updating device of the charger communicates with the charger, and can determine the status of the charger and judge the status of the charger. When the charger is online, the peak and valley data are updated to the corresponding charger. On the contrary, when the charger is offline, it will wait for the charger to be online. After updating the peak and valley data, the data is verified, mainly to detect whether the peak and valley data is updated successfully. It can directly check whether the original data is replaced. If the verification result is that the update is successful, the result will be reported. On the contrary, if the verification result is that the update fails, the result will also be reported, but the update will continue at the same time. After multiple updates fail, the user will be notified for maintenance, which can greatly improve the update efficiency of the peak and valley data of the charger.

[0056] In this embodiment, a method for updating peak and valley conditions of a charger is provided, which is applied to a device for updating peak and valley conditions of a charger communicatively connected to at least one charger, by obtaining current status information of the charger; obtaining a peak and valley policy template, wherein the peak and valley policy template includes time periods of peak and valley electricity prices; and when the current status information is online, sending the peak and valley policy template to the charger to perform peak and valley updates on the charger. This method for updating peak and valley conditions of a charger is communicatively connected to at least one charger through the device for updating peak and valley conditions of the charger, and then sending the peak and valley policy template to each charger based on the current status information of each charger to perform peak and valley updates on each charger, without the need for manual sending of peak and valley data to each charger in turn, thereby improving the efficiency of updating peak and valley conditions of the charger.

[0057] Furthermore, based on the first embodiment of the present application, a second embodiment of the method for updating the peak and valley state of the charger of the present application is proposed. In this embodiment, after the step S20 of obtaining the current state information of the charger, the method further includes:

[0058] Step S31, when the current status information is an offline state, obtaining the real-time status of a first target charger in real time, wherein the first target charger includes a charger whose current status information is an offline state;

[0059] Step S32: When the real-time status is online, the peak-valley strategy template is sent to the first target charger.

[0060] In this embodiment, because the charger's peak / valley status update device is communicatively connected to at least one charger, it can at least obtain the charger's real-time charging status and directly update and distribute peak / valley policy values ​​via communication. However, when the update begins, the charger may be in either an online or offline state, and different control update processes are executed based on the current state. The determination of offline and online status can be based on a characteristic or flag of the actual charger, such as online status for normal operation and offline status for shutdown or maintenance.

[0061] In one embodiment, when the current status information indicates an offline state, the charger that needs to be updated is known to be offline. The real-time status of the offline first target charger is monitored. Specifically, the first target charger is monitored to determine when it is online. When the real-time status reaches the preset online state (i.e., online), the peak-to-valley strategy template is distributed to the first target charger to complete the distribution of the relevant data in the peak-to-valley strategy template. This prevents offline chargers from continuously using the data from the previous peak-to-valley strategy template, which could result in low charger operation accuracy.

[0062] Furthermore, when the real-time status is an online status, after the step of sending the peak-valley strategy template to the first target charger, the method includes:

[0063] Step S33: When the update result of the first target charger is successful and the number of updates of the first target charger is less than a preset first update threshold, generate update success information corresponding to the identification code of the first target charger;

[0064] In step S34 , when the update result of the first target charger is update failure and the update count of the first target charger is greater than or equal to a preset first update threshold, a preset maintenance instruction is triggered.

[0065] In this embodiment, if the current status information indicates an offline state, the charger is determined to be offline. The peak / valley policy template can be sent to the charger after the charger is online to update the peak / valley policy. This ensures that subsequent charger operation inaccuracies due to failure to update the peak / valley policy template during offline operation are avoided.

[0066] In one embodiment, after the charger's peak / valley update device successfully communicates with the charger, the charger continuously uploads its own status to the charger's peak / valley update device. Based on the relevant status, the charger's peak / valley update device determines whether to immediately push the peak / valley policy value. Specifically, if the charger is offline at the initial moment of issuing the peak / valley policy template, it continuously obtains the real-time status at each subsequent moment and updates the charging status when the real-time status is online. At this time, the update result of the first target charger is continuously tested. If the update result of the first target charger is successful and the number of updates to the first target charger is less than a preset first update threshold, that is, if the update to the first target charger is completed within the specified number of times, an update success message corresponding to the identification code of the first target charger is generated to prompt the user that the update is complete. On the contrary, when the update result of the first target charger is update failure and the number of updates of the first target charger is greater than or equal to the preset first update threshold, that is, the update of the first target charger is not completed within the prescribed number of times, a preset maintenance instruction will be generated to prompt the user to perform maintenance to ensure the accuracy of the entire update process.

[0067] Furthermore, based on the first and / or second embodiments of the present application, a third embodiment of the method for updating the peak and valley traffic flow of a charger of the present application is proposed. In this embodiment, after the step S30 of sending the peak and valley traffic flow policy template to the charger when the current status information is online, the method includes:

[0068] Step S301, obtaining the update result of the charger;

[0069] Step S302: When the update result is successful, generate update success information corresponding to the identification code of the target charger;

[0070] In step S303 , when the update result is update failure, the charger that failed to update is determined to be the second target charger, and the step of sending the peak-valley strategy template to the second target charger is executed.

[0071] In this embodiment, when the peak-to-valley policy template is sent to the charger, the update result of the charger will be determined based on the communication with the charger. The update result refers to whether the data update in the peak-to-valley policy template is completed. When the update result is a successful update, an update success message corresponding to the identification code of the target charger will be generated. For example, if the identification code of the charger is SN0001, SN0001 update success will be generated, so that the user can clearly understand the specific update result. On the contrary, when the update result is an update failure, that is, the return result is SN0001 update failure, it can be determined that the charger at this time is the second target charger, that is, the charger that is online and failed to update. Based on the current status information of the second target charger, the peak-to-valley policy template will continue to be sent to the second target charger, that is, the peak-to-valley policy template sending process of the second target charger will be continued at this time to avoid the phenomenon of directly stopping the update due to update failure and causing operational problems.

[0072] In one embodiment, during the charger update process, it can be defined that the charger is not allowed to be used until the charger is successfully updated, at which time the charger is allowed to be put into use, so as to ensure that there is no electricity price error when the charger is used, thereby improving the accuracy of the charger use.

[0073] In one embodiment, after determining that the charger is online, the latest peak / valley policy template is pushed to the charger hardware system, completing the peak / valley policy update for the corresponding charger and marking the charger's unique SN and update result as successful or failed. The update result can be determined by determining whether the internal peak / valley policy values ​​of the charger have been completely replaced or otherwise performed, thereby determining whether the internal peak / valley policy values ​​have been updated. Upon determining that the update is complete, a corresponding identification code and update success information are returned. If the internal peak / valley policy values ​​of the charger remain unchanged, a determination is made as to whether the peak / valley policy template needs to be sent to the target charger again to update the charger's peak / valley settings. This could be due to the previous and subsequent peak / valley policy values ​​being identical or an update failure. In this case, the previous and subsequent peak / valley policy values ​​can be directly compared internally to determine the cause, and the subsequent peak / valley policy template can be selectively sent to the target charger to update the charger's peak / valley settings. Alternatively, the previous and subsequent data can be compared when the initial data is sent to avoid duplicate data being sent. It is worth noting that the update result can be checked by determining whether the peak and valley strategy values ​​inside the charger are completely replaced as described above, or by other methods, which are not limited here.

[0074] Furthermore, after the step of determining that the charger that failed to update is the second target charger, the following steps are included:

[0075] Step S313, determining the update times of the second target charger;

[0076] Step S323: When the update number is greater than or equal to a preset second update threshold, triggering a preset maintenance instruction, and generating charger maintenance information based on the maintenance instruction;

[0077] Step S333 : When the number of updates is less than the preset second update threshold, the step of sending the peak-valley strategy template to the second target charger is executed.

[0078] In this embodiment, after the peak-valley strategy template is sent to the second target charger, the update times of the second target charger will also be determined. The update times refer to the number of times the peak-valley strategy template is sent to the second target charger for updating. When the update times are greater than or equal to the preset second update threshold, the preset maintenance instruction is triggered, and the charger maintenance information is generated based on the maintenance instruction. That is, at this time, there may be reasons of the charger itself that cause the update to fail, and then the charger maintenance information is generated based on the maintenance instruction. The maintenance instruction can be an instruction to generate a prompt word for recommended maintenance, or it can be other instructions, such as light alarms, etc., which are not limited here. The charger maintenance information refers to an instruction to prompt the user (this application refers to the relevant operating personnel) to perform maintenance. The preset second update threshold refers to a number value defined by the user, which can be equal to the preset first update threshold. On the contrary, when the number of updates is less than the preset second update threshold, the subsequent steps of determining that the charger that failed the update is the second target charger will continue to be executed, that is, for the second target charger, the step of sending the peak-valley strategy template to the charger is executed, and then the update process is completed to ensure that the update is not directly defined as successful after the relevant data is sent, thereby improving the accuracy of the update.

[0079] In one embodiment, an example is given for the above embodiment to illustrate that the peak and valley policy template is pushed to the charger according to the date. For example, at midnight on the 1st of each month, the peak and valley policy template is sent to the 8 chargers in the station. At this time, the peak and valley update device of the charger has already initiated a communication handshake with the 8 chargers in the station in advance, and obtained the current status of the 8 chargers. It can then decide to perform different update actions based on the current status of the 8 chargers. For example, at this time, there are 6 chargers in the station that are online, 1 charger is offline, and 1 charger is in a faulty state, and the unique serial numbers of the above chargers are recorded at the same time to generate a data table. If the charger is online, the data in the peak and valley policy template is pushed. If the charger is not online, the data in the peak and valley policy template is not pushed. The relevant table style is shown in Table 1 below:

[0080] Serial number unique serial number Charger status Push Status 1 SN000001 Online Online push 2 SN000002 Online Online push 3 SN000003 Online Online push 4 SN000004 Online Online push 5 SN000005 Online Online push 6 SN000006 Online Online push 7 SN000007 Offline Not online, no push 8 SN000008 Fault Not online, no push

[0081] Table 1

[0082] At the same time, the peak and valley update device of the charger will also monitor the status of the charger in real time (generally synchronized in seconds, usually detecting the status of offline or faulty chargers at this time). When the charger status becomes online and the push status is "not online and not pushed", the data in the peak and valley policy template will be pushed repeatedly. After the data in the peak and valley policy template is updated to the local controller of the charger, the peak and valley policy update activity is completed, and the update result is judged. The unique SN of the charger and the update result are recorded as successful or failed. The way to judge whether the update is successful is to determine whether the data is replaced. For example, among the 6 online chargers updated this time, 5 of them were successfully updated at one time, 1 failed to update, 1 failed to update due to a fault, and 1 failed to update due to being offline. The relevant table style is shown in Table 2 below:

[0083]

[0084]

[0085] Table 2

[0086] At this point, the charger's peak / valley update device continues to evaluate the update results and decides whether to continue pushing the update. For example, in this update, since charger #6 is "online update pushed" and the update result is "failed," the peak / valley update process for this charger will continue. Chargers #7 and #8, although the update failed, are "offline, no push," so no further push is performed. It's important to note that regardless of whether the update succeeds or fails, the charger's peak / valley update device will report the update results so that timely updates are available, facilitating prompt manual repair of faulty chargers and ensuring equipment availability. For example, during the first update, the following messages will be pushed: "Charger #1 update successful," "Charger #2 update successful," "Charger #3 update successful," "Charger #4 update successful," "Charger #5 update successful," "Charger #6 update failed," "Charger #7 update failed," and "Charger #8 update failed." If charger #6 succeeds in the second update, "Charger #6 update successful" will be pushed. Since chargers #7 and #8 did not push updates repeatedly, no further push results are needed.

[0087] Furthermore, based on the first, second, and / or third embodiments of the present application, a fourth embodiment of a method for updating the peak and valley traffic flow of a charger of the present application is proposed. In this embodiment, the chargers include chargers with different identification codes. When the current status information is online, before the step of sending the peak and valley traffic flow policy template to the charger, the method includes:

[0088] Step a, sequentially determining the target area corresponding to the identification code, and determining the target peak-flat-valley strategy template corresponding to the target area in the peak-flat-valley strategy template;

[0089] Step b: determining the identified charger in the target area based on the identification code, and based on the identified charger and the target peak-valley and flat-peak policy template, executing the step of sending the peak-valley and flat-peak policy template to the charger when the current status information is online.

[0090] In this embodiment, before the peak and valley policy template is sent, the chargers in different areas will be updated. Because the data in the peak and valley policy templates in different areas are different, the joint update of the chargers in different areas can be achieved, which can greatly improve the applicability of the update of the peak and valley of the chargers. By sequentially determining the target area corresponding to the identification code, such as SN1002, SN1001, SN1006 for area A, SN2002, SN2001, SN2006 for area B, and SN3002, SN3001, SN3006 for area C, the target area refers to different regions, and different peak and valley data are generally set for different regions. Then, the target peak and valley policy template corresponding to the target area is determined in the peak and valley policy template, and all the chargers in the target area are determined as identification chargers. For example, if the target peak and valley policy template corresponding to area A is A1, and the identified chargers are SN1002, SN1001, and SN1006, then data is updated for the identified chargers SN1002, SN1001, and SN1006 in sequence. This data is derived from the target peak and valley policy template A1, and the corresponding target peak and valley policy template is sent to the identified charger when it is online. This same-area update approach, used to update the peak and valley traffic of chargers in different areas, improves the practicality of the update.

[0091] Furthermore, based on the first, second, and / or third embodiments of the present application, a fourth embodiment of a method for updating the peak and valley traffic flow of a charger of the present application is proposed. In this embodiment, the device for updating the peak and valley traffic flow of a charger is further connected to a network terminal, and the steps of obtaining a peak and valley traffic flow policy template include:

[0092] Step c: at a preset time node, obtaining the time period information to be updated in the network terminal, wherein the time period information to be updated includes the time period of peak and valley electricity prices corresponding to each charger;

[0093] Step d: updating the preset initial peak-flat-valley table based on the time period to obtain a peak-flat-valley strategy template.

[0094] In this embodiment, when acquiring the peak / valley policy template, the template can be directly captured online or manually input. During the network capture, at a preset time, the network terminal acquires the time period information to be updated. The time period information to be updated includes the peak / valley time periods corresponding to each charger. The preset time period can be the time when the peak / valley policy template is published on the relevant official website, or the time when the update is required, without limitation. It is worth noting that the peak / valley policy templates for all regions can also be directly acquired and sent to chargers in different regions. The chargers can then select the peak / valley policy template they need. A preset initial peak / valley table is then populated based on the peak / valley time periods, resulting in a peak / valley policy template. Specifically, each time period is entered into the corresponding position in the table, enabling automatic capture of the peak / valley policy template and improving the intelligence of the peak / valley update.

[0095] In one embodiment, the entire update process can be executed directly after obtaining the peak and valley strategy template, or executed at a specific time point, such as 0:00 on the 1st of each month. The execution time can be determined based on actual conditions and is not limited here.

[0096] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the method for updating the peak and valley performance of the charger of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0097] The present application also provides a device for updating the peak and valley conditions of a charger. The device for updating the peak and valley conditions of a charger is connected to at least one charger for communication. Figure 4 The charger peak and valley updating device includes:

[0098] A first acquisition module A10 is used to obtain current status information of the charger;

[0099] The second acquisition module A20 is configured to acquire a peak / valley policy template, wherein the peak / valley policy template includes time periods of peak and valley electricity prices;

[0100] The sending and updating module A30 is configured to send the peak-load, flat-load and valley-load policy template to the charger when the current status information is an online status, so as to perform peak-load, flat-load and valley-load update on the charger.

[0101] The charger peak-to-valley updating device provided in this application utilizes the charger peak-to-valley updating method described in the aforementioned embodiment to address the technical issue of low charger peak-to-valley updating efficiency. Compared to the prior art, the charger peak-to-valley updating device provided in this application offers the same beneficial effects as the charger peak-to-valley updating method described in the aforementioned embodiment. Other technical features of the charger peak-to-valley updating device are the same as those disclosed in the aforementioned embodiment and are not further elaborated here.

[0102] The present application provides a device for updating the peak and valley conditions of a charger, the device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for updating the peak and valley conditions of the charger in the first embodiment described above.

[0103] Reference below Figure 5 , which shows a schematic diagram of the structure of a device suitable for implementing the charger peak and valley updating in the embodiment of the present application. The charger peak and valley updating device in the embodiment of the present application can include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), in-vehicle terminals (such as in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 5 The charger peak and valley updating device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0104] like Figure 5As shown, the charger peak-to-valley update device may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes based on programs stored in a read-only memory (ROM) 1002 or programs loaded from a storage device 1003 into a random access memory (RAM) 1004. RAM 1004 also stores various programs and data required for the operation of the charger peak-to-valley update device. Processing device 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following devices may be connected to I / O interface 1006: input device 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output device 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage device 1003 including, for example, a magnetic tape, hard disk, etc.; and communication device 1009. Communication device 1009 may allow the charger peak and valley update device to communicate with other devices wirelessly or wired to exchange data. While the figure shows the charger peak and valley update device with various devices, it should be understood that not all of the illustrated devices are required to be implemented or present. More or fewer devices may alternatively be implemented or present.

[0105] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0106] The charger peak-to-valley update device provided in this application utilizes the charger peak-to-valley update method described in the above-mentioned embodiment to address the technical issue of low charger peak-to-valley update efficiency. Compared to the prior art, the charger peak-to-valley update device provided in this application offers the same beneficial effects as the charger peak-to-valley update method described in the above-mentioned embodiment. Other technical features of the charger peak-to-valley update device are the same as those disclosed in the above-mentioned embodiment and are not further elaborated here.

[0107] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0108] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

[0109] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, a computer program) stored thereon, and the computer-readable program instructions are used to execute the charger peak and valley updating method in the above-mentioned embodiment.

[0110] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor devices, apparatuses or components, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution device, apparatus or component. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0111] The computer-readable storage medium may be included in the charger peak-to-valley update device; or may exist independently without being assembled into the charger peak-to-valley update device.

[0112] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the charger peak-peak and valley updating device, the charger peak-peak and valley updating device:

[0113] Obtaining current status information of the charger;

[0114] Obtaining a peak / valley strategy template, wherein the peak / valley strategy template includes time periods of peak and valley electricity prices;

[0115] When the current state information is an online state, the peak-to-valley strategy template is sent to the charger to perform peak-to-valley update on the charger.

[0116] Computer program code for performing the operations of the present application may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0117] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the devices, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based device that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0118] The modules described in the embodiments of the present application may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.

[0119] The computer-readable storage medium provided in this application stores computer-readable program instructions (i.e., a computer program) for executing the aforementioned method for updating the peak and valley levels of a charger. This method addresses the technical issue of low efficiency in updating the peak and valley levels of a charger. Compared to the prior art, the computer-readable storage medium provided in this application offers the same beneficial effects as the method for updating the peak and valley levels of a charger provided in the aforementioned embodiments, and will not be further elaborated upon here.

[0120] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the above-mentioned charger peak and valley updating method.

[0121] The computer program product provided in this application can solve the technical problem of low efficiency in updating the peak and valley intervals of a charger. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the method for updating the peak and valley intervals of a charger provided in the above-mentioned embodiment, and will not be elaborated here.

[0122] The above description is only part of the embodiments of the present application and does not limit the patent scope of the present application. All equivalent structural transformations made by using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A method for updating the peak and valley of a charger, characterized in that: The method for updating the peak and valley values ​​of a charger is applied to a device for updating the peak and valley values ​​of a charger that is communicatively connected to at least one charger, and the method for updating the peak and valley values ​​of a charger comprises: Acquiring current status information of the charger; Obtaining a peak / flat / valley strategy template, wherein the peak / flat / valley strategy template includes time periods of peak and flat electricity prices; When the current status information is in an online state, the peak-to-valley strategy template is sent to the charger to perform peak-to-valley update on the charger.

2. The method for updating the peak and valley of a charger according to claim 1, characterized in that: After the step of obtaining the current status information of the charger, the method further includes: When the current state information is an offline state, acquiring a real-time state of a first target charger in real time, wherein the first target charger includes a charger whose current state information is the offline state; When the real-time status is an online status, the peak-valley strategy template is sent to the first target charger.

3. The method for updating the peak and valley of a charger as claimed in claim 2, characterized in that: After the step of sending the peak-valley strategy template to the first target charger when the real-time status is the online status, the method further includes: When the update result of the first target charger is successful, and the update number of the first target charger is less than a preset first update threshold, generating update success information corresponding to the identification code of the first target charger; When the update result of the first target charger is update failure and the update number of the first target charger is greater than or equal to a preset first update threshold, a preset maintenance instruction is triggered.

4. The method for updating the peak and valley of a charger according to claim 1, characterized in that: After the step of sending the peak and valley strategy template to the charger when the current status information is in an online state, the method further includes: Obtaining an update result of the charger; When the update result is successful, generating update success information corresponding to the identification code of the charger; When the update result is an update failure, the charger whose update fails is determined to be a second target charger, and the step of sending the peak-valley strategy template to the charger is performed for the second target charger.

5. The method for updating the peak and valley of a charger as claimed in claim 4, characterized in that: After the step of determining that the charger that fails to update is the second target charger, the method further includes: determining an update number of the second target charger; When the update number is greater than or equal to a preset second update threshold, triggering a preset maintenance instruction, and generating charger maintenance information based on the maintenance instruction; When the update number is less than a preset second update threshold, the step of sending the peak-valley strategy template to the second target charger is performed.

6. The method for updating the peak and valley of a charger according to any one of claims 1 to 5, characterized in that: The charger includes chargers with different identification codes. Before the step of sending the peak-valley strategy template to the charger when the current status information is in an online state, the method includes: Determine the target area corresponding to the identification code in sequence, and determine the target peak-flat-valley strategy template corresponding to the target area in the peak-flat-valley strategy template; The identified charger in the target area is determined based on the identification code, and based on the identified charger and the target peak-valley-flat policy template, the step of sending the peak-valley-flat policy template to the charger when the current status information is online is executed.

7. The method for updating the peak and valley of a charger according to any one of claims 1 to 5, characterized in that: The charger peak and valley updating device is also connected to the network terminal, and the step of obtaining the peak and valley strategy template includes: At a preset time node, obtaining the time period information to be updated in the network terminal, wherein the time period information to be updated includes the time period of peak and valley electricity prices corresponding to each of the chargers; The preset initial peak-flat-valley table is updated based on the time period to obtain a peak-flat-valley strategy template.

8. A charging machine peak and valley updating device, characterized in that: The charging machine peak and valley updating device is connected to at least one charging machine for communication, and the charging machine peak and valley updating device includes: A first acquisition module, used to acquire current status information of the charger; A second acquisition module is used to acquire a peak / flat / valley strategy template, wherein the peak / flat / valley strategy template includes a time period of peak / flat / valley electricity prices; The sending update module is used to send the peak-to-valley strategy template to the charger when the current status information is in an online state, so as to perform peak-to-valley update on the charger.

9. A charging machine peak and valley update device, characterized in that: The charger peak-to-valley updating device comprises a processor, a memory, and a charger peak-to-valley updating method program stored in the memory and executable by the processor, wherein when the charger peak-to-valley updating method program is executed by the processor, the steps of the charger peak-to-valley updating method as described in any one of claims 1 to 7 are implemented.

10. A storage medium, characterized in that: The storage medium stores a charger peak-to-valley updating method program, wherein when the charger peak-to-valley updating method program is executed by a processor, the steps of the charger peak-to-valley updating method as described in any one of claims 1 to 7 are implemented.