Charging pile availability rate determination method and charging pile monitoring system
By correcting and deduplicating the status and fault data of charging piles, the availability rate can be accurately calculated, solving the problem of inaccurate charging pile availability statistics and enabling effective maintenance and use of charging piles.
Patent Information
- Application Number
- CN202511855693.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-10
- Publication Date
- 2026-03-06
- Estimated Expiration
- 2045-12-10
AI Technical Summary
The current technology for calculating the availability of charging piles is inaccurate, which makes it impossible to maintain and use them effectively and reasonably.
By acquiring the status and fault data of the target charging pile, performing data correction and deduplication, the online time interval and fault time interval are accurately determined, thereby calculating the availability of the charging pile.
It improves the accuracy of charging pile availability, supports timely and reasonable maintenance and use, reduces the amount of calculation and improves efficiency.
Smart Images

Figure CN121608633A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of charging pile technology, specifically to a method for determining the availability of charging piles and a charging pile monitoring system. Background Technology
[0002] With the rapid development of new energy vehicles, charging piles, as a core infrastructure for energy replenishment, are being gradually promoted and applied in various urban areas. The promotion of charging piles provides users with convenient charging services and simultaneously promotes the development of the new energy industry.
[0003] The availability rate of charging piles directly reflects their effective service capacity. Based on the availability rate, maintenance priorities can be determined, such as prioritizing the repair of charging piles with low availability, and rationally allocating maintenance personnel and spare parts according to the availability differences of charging piles in different areas to avoid resource waste. Furthermore, the availability rate can also be used to optimize the rational use of charging piles. However, in related technologies, determining the availability rate of charging piles may be hampered by inaccurate statistics on various states of the charging piles, leading to discrepancies and hindering effective and rational maintenance and use. Summary of the Invention
[0004] In view of this, the embodiments of this application provide a method for determining the availability of charging piles and a charging pile monitoring system to solve the technical problem in the related art that the availability of charging piles cannot be accurately obtained.
[0005] In a first aspect, embodiments of this application provide a method for determining the availability of charging piles, including: Based on the identifier of the target charging pile and the target time interval, the target status data and target fault data of the target charging pile are obtained; Based on the acquisition results of the target status data and the target time interval, the status data is corrected, and the online time interval of the target charging pile is determined based on the correction results; The acquired target fault data is deduplicated, and the fault time interval of the target charging pile is obtained based on the deduplication result. The availability of the target charging station is determined based on the online time interval and the fault time interval.
[0006] In one possible implementation of the first aspect, the acquisition result includes acquiring target status data, the status data including a status point indicating online or offline status, and a time point corresponding to the status point; The step of correcting the state data based on the acquisition results of the target state data and the target time interval includes: Determine whether the time point of the target state data is later than the start time of the target time interval; If so, based on the identifier of the target charging pile, the previous state data of the target state data is obtained, and the state data with adjacent time points and the same state point in the target state data and the previous state data are merged to obtain the corrected state data.
[0007] In one possible implementation of the first aspect, the acquisition result includes not acquiring target status data, and the status data includes a status point indicating online or offline status, and a time point corresponding to the status point; The step of correcting the state data based on the acquisition results of the target state data and the target time interval includes: Based on the identifier of the target charging pile, obtain the preceding state data whose time point is earlier than the start time of the target time interval and whose time distance is closest to the start time of the target time interval; The preceding state data is used as the corrected state data.
[0008] In one possible implementation of the first aspect, determining the online time interval of the target charging station based on the correction result includes: Based on the time point and status point of the corrected status data, the online time interval of the target charging pile within the target time interval is obtained.
[0009] In one possible implementation of the first aspect, based on the identifier of the target charging station and the target time interval, target fault data of the target charging station is obtained, including: Based on the identifier of the target charging pile, determine the alarm data of the target charging pile; The alarm data of the target charging pile that intersects with the target time interval are taken as the target fault data.
[0010] In one possible implementation of the first aspect, the step of using alarm data from the target charging pile that intersects with the target time interval as the target fault data includes: From the alarm data of the target charging pile, obtain the first alarm data where the fault alarm time is earlier than the end time of the target time interval and the alarm has not ended; the alarm data includes at least one of the fault alarm time and the alarm end time; Acquire second alarm data where the fault alarm time is earlier than the end time of the target time interval and the alarm end time is later than the start time of the target time interval; The first alarm data and the second alarm data are used as the target fault data.
[0011] In one possible implementation of the first aspect, the step of deduplicating the acquired target fault data and obtaining the fault time interval of the target charging pile based on the deduplication result includes: Merge the target fault data of the target charging piles that have time overlap to obtain the deduplicated fault data; Based on the deduplicated fault data, the fault time interval of the target charging pile within the target time interval is obtained.
[0012] In one possible implementation of the first aspect, determining the availability of the target charging station based on the online time interval and the fault time interval includes: Based on the online time interval, the online duration is obtained; based on the intersection of the online time interval and the fault time interval, the online fault duration is obtained. The availability rate of the target charging pile is determined based on the online duration and the online fault duration.
[0013] In one possible implementation of the first aspect, there are multiple target charging stations; Determining the availability of the target charging pile based on the online time interval and the fault time interval includes: For each target charging pile, the online duration of the target charging pile is obtained based on its online time interval. The online fault duration of the target charging pile is obtained based on the intersection of its online time interval and fault time interval. Based on the online duration and online fault duration of the target charging pile, the availability rate of the target charging pile is determined. The final availability rate is determined based on the average availability rate of all target charging stations.
[0014] Secondly, embodiments of this application provide a charging pile availability determination device, comprising: The acquisition module is used to acquire target status data and target fault data of the target charging pile based on the identifier of the target charging pile and the target time interval.
[0015] The correction module is used to correct the status data based on the acquisition results of the target status data and the target time interval, and to determine the online time interval of the target charging pile based on the correction results.
[0016] The deduplication module is used to deduplicatize the acquired target fault data and obtain the fault time interval of the target charging pile based on the deduplication result.
[0017] The determination module is used to determine the availability of the target charging pile based on the online time interval and the fault time interval.
[0018] Thirdly, embodiments of this application provide a charging pile monitoring system, including a memory and a processor. The memory stores a computer program that can run on the processor. When the processor executes the computer program, it implements the charging pile availability determination method as described in any of the first aspects.
[0019] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the charging pile availability determination method as described in any of the first aspects.
[0020] It is understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here.
[0021] The charging pile availability determination method and charging pile monitoring system provided in this application first acquire corresponding target status data and target fault data based on the target charging pile's identifier and target time interval. Then, based on the acquired target status data and target time interval, the status data is corrected to reduce statistical errors and accurately obtain the target charging pile's online time interval within the target time interval. Additionally, the acquired target fault data is deduplicated to reduce statistical deviations in fault time intervals and accurately obtain the target charging pile's fault time interval within the target time interval. Based on the obtained online and fault time intervals, the charging pile availability is accurately determined, enabling timely and accurate monitoring of the charging pile's status for proper use and maintenance. This simplifies the charging pile availability determination process, reduces computational load, and improves efficiency.
[0022] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this specification. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 This is a flowchart illustrating a method for determining the availability of charging piles according to an embodiment of this application; Figure 2 This is a flowchart illustrating a method for determining the availability of charging piles according to another embodiment of this application; Figure 3This is a schematic diagram of the charging pile availability determination device provided in one embodiment of this application; Figure 4 This is a schematic diagram of the structure of a charging pile monitoring system provided in one embodiment of this application. Detailed Implementation
[0025] The present application will be described more clearly below with reference to specific embodiments. These embodiments will help those skilled in the art to further understand the function of the present application, but do not limit the present application in any way. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application. These all fall within the protection scope of the present application.
[0026] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0027] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0028] In the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0029] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0030] Furthermore, the term "multiple" mentioned in the embodiments of this application should be interpreted as two or more.
[0031] The availability rate of charging piles directly reflects their effective service capacity, allowing relevant personnel to understand their usage status in a timely manner and decide on maintenance priorities. For example, charging piles with low availability can be prioritized for repair, and maintenance personnel and spare parts can be rationally allocated based on the availability differences of charging piles in different areas to avoid resource waste. The availability rate also enables the rational use of charging piles. However, in related technologies, determining the availability rate of charging piles may be hampered by inaccurate statistics on various charging pile states or other biases, leading to inaccurate availability data and consequently hindering effective and rational maintenance.
[0032] To address the aforementioned issues, the implementation of this application first obtains corresponding target status data and target fault data based on the target charging pile's identifier and target time interval. Then, based on the obtained target status data and target time interval, the status data is corrected to reduce statistical errors. The online time interval of the target charging pile is accurately obtained based on the correction results. Additionally, the obtained target fault data is deduplicated to reduce statistical bias in the fault time interval. The fault time interval of the target charging pile is accurately obtained based on the deduplication results. Finally, based on the obtained online time interval and fault time interval, the availability rate of the charging pile is accurately obtained.
[0033] Figure 1 This is a flowchart illustrating a method for determining the availability of charging piles according to an embodiment of this application. Figure 1 As shown, the method in the embodiments of this application may include: S101. Based on the identifier of the target charging pile and the target time interval, obtain the target status data and target fault data of the target charging pile.
[0034] For example, the identifier of a charging pile refers to its identification (ID), which is used to uniquely identify the charging pile, such as its code or number. If a user wants to obtain the availability rate of a target charging pile in a target time interval, the target time interval is usually the time interval of the day. For example, if a user wants to obtain the availability rate of a target charging pile from 14:00 to 18:00 on September 10, the target time interval is [14:00, 18:00].
[0035] Optionally, the status data may include the charging pile's identifier, a status point indicating online or offline status, and the corresponding time point. New status data will be generated when the charging pile's online / offline status changes, or when its fault status changes. For example, a charging pile changing from online to offline, or from normal to faulty, will generate new status data. Thus, based on the charging pile's identifier, the corresponding status point and time point can be found. Fault data may include the charging pile's identifier and at least one of the fault alarm time and alarm end time. This is because the fault alarm time is the start time of the fault alarm, and the alarm end time is the time the alarm is cleared. However, when acquiring fault data, some fault alarms may not yet be cleared; therefore, the corresponding fault data may only have the fault alarm time and not the alarm end time.
[0036] In this embodiment, the status data corresponding to the target charging pile is first determined based on its identifier. Then, based on the target time interval, the status data whose time points fall within the target time interval are selected as the target status data for the target charging pile. When determining fault data, the alarm data corresponding to the target charging pile is first determined based on its identifier. Then, based on the target time interval, the target fault data is obtained from the alarm data corresponding to the target charging pile.
[0037] Alarm data includes the charging station's identifier and at least one of the following: alarm time and alarm end time. For example, alarm data is stored in a real-time alarm table and a historical alarm table. The real-time alarm table contains alarms for which faults have not yet been cleared, and therefore only includes the alarm time. The historical alarm table contains alarms for which faults have been cleared, and therefore includes both the alarm time and the alarm end time. Furthermore, multiple faults may exist simultaneously at the same charging station, so the alarm data for that charging station may overlap in time.
[0038] S102. Based on the acquisition results of the target status data and the target time interval, correct the status data and determine the online time interval of the target charging pile based on the correction results.
[0039] Optionally, when acquiring target status data, the target charging station may have undergone online / offline status changes within the target time interval, resulting in corresponding status data for that time interval; in this case, the target status data can be acquired. Alternatively, the target charging station may not have undergone status changes within the target time interval, resulting in corresponding no status data for that time interval; in this case, the target status data cannot be acquired. In other words, the result of acquiring target status data includes both acquired and unacquired target status data.
[0040] In some embodiments, if the result is that target state data is obtained, when correcting the state data, it can be determined whether the time point of the target state data is later than the start time of the target time interval. If so, based on the identifier of the target charging pile, the previous state data of the target state data is obtained, and the state data with adjacent time points and the same state point in the target state data and the previous state data are merged to obtain the corrected state data.
[0041] Optionally, at least one target status data point can be obtained. If the earliest target status data point is later than the start time of the target time interval, it indicates that there is still uncollected target charging pile status data between the start time of the target time interval and that time point. For example, if the target time interval is [14:00, 18:00] of a certain day, and the earliest target status data point is 15:00, it means that there is still uncollected target charging pile status data between 14:00 and 15:00. Therefore, based on the identifier of the target charging pile, the status data corresponding to the target charging pile is determined, and the previous status data of the earliest target status data is found from the status data corresponding to the target charging pile. Here, "a certain day" can be the current day or a historical day.
[0042] As mentioned above, when the online / offline status and / or fault status of a charging pile changes, new status data is generated. Therefore, the acquired target status data and the previous status data may contain status data with adjacent time points and the same status point. In order to facilitate subsequent quick and accurate statistics of online time intervals and reduce the amount of calculation, the aforementioned status data with adjacent time points and the same status point are merged. For example, if the acquired previous status data includes 13:30-offline, and the target status data includes 15:00-online, 15:30-online, 17:00-online, and 17:30-offline, then 15:00-online, 15:30-online, and 17:00-online are merged to obtain the corrected status data including 13:30-offline, 15:00-online, and 17:30-offline.
[0043] It should be noted that if the previous state data of the earliest target state data cannot be obtained, it means that the target charging pile is a newly initialized charging pile, such as a new charging pile that is put into use for the first time. Therefore, the previous state data of the earliest target state data cannot be obtained. In this case, the target charging pile is recorded as offline at 14:00, that is, the state is offline from 14:00 to 15:00.
[0044] In this embodiment, when target status data is available, it is first determined whether the time point of the target status data is later than the start time of the target time interval. If so, the previous status data is traced back to correct the status data, correcting missing status points and avoiding omissions in the statistics of the target charging pile's status data between the start time of the target time interval and the time point of the target status data, thus reducing statistical errors in status data. Simultaneously, status data with adjacent time points and identical status points from the target status data and the previous status data are merged to reduce subsequent computational load and facilitate rapid and accurate calculation of the online time interval and online duration.
[0045] In some embodiments, if the result is that no target state data is obtained, when correcting the state data, the preceding state data that is earlier than the start time of the target time interval and has the closest time distance to the start time of the target time interval can be obtained based on the identifier of the target charging pile, and the preceding state data can be used as the corrected state data.
[0046] Optionally, if the target status data cannot be obtained, it means that the target charging pile has not changed status within the target time interval. In this case, find the preceding status data from the status data corresponding to the target charging pile that is earlier than the start time of the target time and is closest to the start time of the target time interval, and use it as the corrected status data. For example, if the target time interval is [14:00, 18:00], and the preceding status data for the target charging pile that is earlier than 14:00 and has the closest time distance is 13:00-Online, then 13:00-Online will be used as the corrected status data.
[0047] It should be noted that if the preceding state data that is earlier than the start time of the target time and closest to the start time of the target time interval cannot be obtained, it means that the target charging pile is a newly initialized charging pile, such as a new charging pile that is put into use for the first time. In this case, the state point of the target charging pile at 14:00 is recorded as offline, that is, the state of [14:00, 18:00] is offline.
[0048] In this embodiment, if the target state data cannot be obtained, it means that the target charging pile has not changed its state during the target time interval. In order to avoid missing or incorrectly counting the state of the target charging pile during the target time interval, the preceding state data with a time point earlier than the start time of the target time and closest to the start time of the target time interval is found from the state data corresponding to the target charging pile. This is used to correct the state data so that the online time interval can be accurately obtained in the future.
[0049] Here, different methods are used to correct the state data depending on the results of obtaining the target state data. By selecting the appropriate correction method, the effectiveness and efficiency of the state data correction can be improved, providing a reliable basis for accurately obtaining the online time interval of the target charging pile in the future.
[0050] In some embodiments, when determining the online time interval of the target charging pile based on the correction result, the online time interval of the target charging pile within the target time interval can be obtained based on the time point and status point of the corrected status data.
[0051] The correction result is the corrected status data. Based on the start and end times of the target time interval, and the time and status points of the corrected status data, the online time interval is obtained. For example, if the target time interval is [14:00, 18:00], and the corrected status data includes: 13:30 - offline, 15:00 - online, 17:30 - offline, then the online time interval of the target charging station within the target time interval is [15:00, 17:30]. Similarly, if the target time interval is [7:00, 12:00], and the corrected status data includes: 6:30 - online, 9:00 - offline, 10:00 - online, then the online time interval of the target charging station within the target time interval is [7:00, 9:00] and [10:00, 12:00].
[0052] It's important to note that if the statistics show the target charging station is offline for all points within the target time interval, it means the station has not been used during that period, and therefore has no online time interval or duration. In this case, a notification will be displayed stating "The target charging station is offline for the target time interval," allowing users to stay informed about the station's status and availability.
[0053] S103. Deduplicate the acquired target fault data and obtain the fault time interval of the target charging pile based on the deduplication result.
[0054] Optionally, the results of obtaining target fault data may include obtaining target fault data and not obtaining target fault data. If target fault data is not obtained, it means that the target charging pile did not experience a fault during the target time interval, and naturally there is no fault time interval.
[0055] As mentioned above, since charging piles may experience multiple types of faults simultaneously, their fault data may overlap in time. For example, the fault data for charging pile D on a certain day might include: Fault 1 - 15:00-16:00, Fault 2 - 15:00-16:30, where fault x represents the type of fault, the first time is the fault alarm time, and the second time is the alarm end time. In this embodiment, if target fault data can be obtained, this target fault data can be one or more. When there are multiple target faults, these target fault data may also overlap in time. Therefore, to reduce statistical errors, the target fault data can be deduplicated.
[0056] In some embodiments, when the fault time interval of the target charging pile is obtained, the target fault data of the target charging pile with time overlap can be merged to obtain deduplicated fault data, and the fault time interval of the target charging pile within the target time interval can be obtained based on the deduplicated fault data.
[0057] For example, if the target time interval is [14:00, 18:00], and the target fault data includes: fault 1 - 15:00 - 16:00, fault 2 - 15:30 - 16:30, and fault 1 - 17:30, then fault 1 - 15:00 - 16:00 and fault 2 - 15:30 - 16:30 can be merged and deduplicated to obtain fault - 15:00 - 16:30. Therefore, the deduplicated fault data includes: fault - 15:00 - 16:30 and fault 1 - 17:30.
[0058] Optionally, if the target fault data has no temporal overlap, the target fault data will not be deduplicated, and the fault time interval of the target charging pile within the target time interval will be obtained directly from the target fault data.
[0059] For example, when obtaining the fault time interval, the fault time interval is determined based on the start and end times of the target time interval and the deduplicated fault data. For instance, if the target time interval is [14:00, 18:00], and the deduplicated fault data includes: Fault-15:00-16:30, Fault 1-17:30, then the fault time interval for the target charging pile within the target time interval is [15:00, 16:30] and [17:30, 18:00]. The Fault 1-17:30 indicates that the fault data has not yet been cleared.
[0060] In this embodiment, deduplication of the acquired target fault data can reduce statistical errors and biases, while also reducing the amount of subsequent calculations, facilitating the rapid and accurate calculation of the fault time interval and improving computational efficiency.
[0061] Optionally, for a target time interval within a single day, the alarm data for that day can be determined based on the target charging pile's identifier. Any alarm data that overlaps with that day's timeframe is considered part of that day's alarm data. To facilitate subsequent statistics and reduce computational load, alarm data spanning multiple days within the target charging pile's alarm data for that day can be split into separate days. For example, if the target time interval is [14:00, 18:00] on September 10th, the alarm data for the target charging pile on September 10th can be obtained first. For instance, alarm data might include: Fault 1 - [2025-09-09-22:30] - [2025-09-10-1:00], Fault 2 - [2025-09-10-3:00-4:00], etc. Then, the alarm data spanning multiple days can be split into separate days, such as Fault 1 - [2025-09-09-22:30] - [2025-09-10-1:00]. The alarm data for 2025-09-10-1:00 is split into two parts: Fault 1-[2025-09-09-22:30-24:00] and Fault 1-[2025-09-10-00:00-1:00]. Only Fault 1-[2025-09-10-00:00-1:00] is used as the alarm data for that day, while Fault 1-[2025-09-09-22:30-24:00] is removed.
[0062] In this embodiment, alarm data spanning multiple days is split and processed when necessary, thereby correcting the alarm data for that day, facilitating the subsequent statistics of target fault data, and reducing the amount of computation.
[0063] S104. Determine the availability of the target charging pile based on the online time interval and the fault time interval.
[0064] In some embodiments, when determining the availability of a target charging station, the online duration can be obtained based on the online time interval, and the online fault duration can be obtained based on the intersection of the online time interval and the fault time interval. Then, the availability of the target charging station can be determined based on the online duration and the online fault duration.
[0065] Optionally, this embodiment calculates the online duration based on the start and end times of the online time interval. For example, if the online time interval of the target charging pile is [15:00, 17:30], then the online duration is 2.5 hours. When calculating the online fault duration, the online fault time interval is first obtained by finding the intersection of the online time interval and the fault time interval. Then, the online fault duration is calculated based on the start and end times of the online fault time interval. For example, if the fault time intervals are [15:00, 15:30] and [17:30, 18:00], then the online fault time interval is [15:00, 15:30], and the online fault duration is 0.5 hours.
[0066] For example, when determining the availability of a target charging station based on online duration and online fault duration, the difference between online duration and online fault duration can be calculated, and the availability of the target charging station can be obtained based on the ratio of this difference to online duration.
[0067] Here, the availability rate of the charging pile is calculated as [(online time - online failure time) / online time] × 100%. For example, if the online time is 2.5 hours and the online failure time is 0.5 hours, then the availability rate of the target charging pile is [(2.5 - 0.5) / 2.5] × 100% = 80%.
[0068] In this embodiment, the online fault interval can be accurately obtained based on the intersection of the online time interval and the fault time interval, and then the online fault duration can be obtained. This can effectively eliminate the interference of the offline state and avoid miscounting of the offline duration. Then, based on the difference between the online duration and the online fault duration, the online non-fault duration is determined, and the availability rate of the target charging pile is obtained. The availability rate obtained in this way can truly reflect the actual availability of the charging pile in the online state.
[0069] It should be noted that if the online time interval of the target charging pile can be obtained, but the target fault data cannot be obtained, then there is naturally no fault time interval, the online fault duration is 0, and the availability of the target charging pile in the target time interval is 100%.
[0070] As mentioned above, if the statistics show that the target charging station is offline throughout the target time period, it means that the target charging station has not been used during the target time period, and there is no online time period or online duration, and therefore no availability rate for the target charging station. In this case, a message stating "The target charging station is offline during the target time period" is sufficient.
[0071] It should be noted that, for ease of understanding, the above embodiments use hours as examples. In reality, the target time interval can be set according to the user's needs, such as setting it to 8:00 on September 10th to 18:00 on September 12th, or setting it to 8:00 on September 1st to 8:00 on October 1st, etc. The availability rate of the target charging pile in the target time interval is still determined by the charging pile availability rate determination method provided in this embodiment.
[0072] The charging pile availability determination method provided in this application first obtains corresponding target status data and target fault data based on the target charging pile's identifier and target time interval. Then, based on the obtained target status data and target time interval, the status data is corrected to reduce statistical errors and accurately obtain the online time interval of the target charging pile within the target time interval. Additionally, the obtained target fault data is deduplicated to reduce statistical deviations in fault time intervals and accurately obtain the fault time interval of the target charging pile within the target time interval. Based on the obtained online and fault time intervals, the availability of the charging pile is accurately determined, enabling timely and accurate monitoring of the charging pile's status for reasonable use and maintenance. This method also simplifies the charging pile availability determination process, reduces computational load, and improves efficiency.
[0073] In one possible implementation, refer to Figure 2 In this embodiment, when acquiring target fault data of a target charging pile, the following may be included: S201. Based on the identifier of the target charging pile, determine the alarm data of the target charging pile.
[0074] S202. Among the alarm data of the target charging pile, the alarm data that has time overlap with the target time interval shall be used as the target fault data.
[0075] As mentioned above, alarm data includes at least one of the fault alarm time and alarm end time. For example, alarm data in the real-time alarm table only includes the fault alarm time, while alarm data in the historical alarm table includes both the fault alarm time and the alarm end time. In this embodiment, target fault data is obtained based on the alarm data of the target charging pile that intersects with the target time interval.
[0076] For example, from the alarm data of the target charging pile, first alarm data where the fault alarm time is earlier than the end time of the target time interval and the alarm has not ended is obtained; second alarm data where the fault alarm time is earlier than the end time of the target time interval and the alarm end time is later than the start time of the target time interval is obtained; then, the first alarm data and the second alarm data are used as target fault data.
[0077] For example, from the real-time fault table, we obtain the first alarm data whose alarm time is earlier than the end time of the target time interval. From the historical fault table, we obtain the second alarm data whose alarm time is earlier than the end time of the target time interval, but whose alarm end time is later than the start time of the target time interval. Here, the alarm time of the same alarm data is earlier than the alarm end time of that alarm data. In this way, the first alarm data and the second alarm data obtained from the real-time fault table and the historical fault table, respectively, are both alarm data of the target charging pile that intersect with the target time interval, and can be used as target fault data.
[0078] In this embodiment, valid alarm data that intersects with the target time interval can be accurately identified from the alarm data of the target charging pile, while alarm data unrelated to the target time interval is excluded. Furthermore, alarm data that has been cleared and alarm data that have not been cleared are considered simultaneously to ensure the completeness of the obtained target fault data and avoid statistical omissions. This allows for accurate acquisition of target fault data, providing a reliable basis for subsequent calculation of fault time intervals and, consequently, the availability of the target charging pile.
[0079] In some embodiments, a charging pile may be equipped with one or more charging guns, and the availability of the charging guns can also be calculated. When determining the availability of a charging gun, target status data and target fault data of the target charging gun are obtained based on the target charging gun's identifier and target time interval. Then, according to the charging pile availability determination method provided in this application embodiment, the target status data of the target charging gun is corrected, and the target fault data is deduplicated to obtain the online time interval and fault time interval of the target charging gun, ultimately yielding the availability of the target charging gun.
[0080] Optionally, the charging gun is identified by a unique identifier, such as a serial number or code. Similar to charging stations having their own corresponding status and alarm data, charging guns also have their own corresponding status and alarm data.
[0081] The specific implementation process and principle for determining the availability of the target charging gun in this embodiment can be referred to the relevant content of the foregoing embodiments, and will not be repeated here.
[0082] It is important to note that the alarm data of a charging station is the union of the alarm data of its equipped charging guns. For example, if a charging station is equipped with two charging guns, A and B, then the alarm data of that charging station is the union of the alarm data of charging gun A and the alarm data of charging gun B.
[0083] In one possible implementation, there can be multiple target charging stations, meaning the user wants to obtain the final availability rate of multiple target charging stations within a target time interval. When determining the availability rate of multiple target charging stations, the following methods can be used: C1. Based on the identifier and target time interval of each target charging pile, obtain the target status data and target fault data of each target charging pile.
[0084] C2. For each target charging station Based on the acquisition results of the target status data of the target charging pile and the target time interval, the status data is corrected, and the online time interval of the target charging pile is determined based on the correction results.
[0085] The target fault data of the target charging pile is deduplicated, and the fault time interval of the target charging pile is obtained based on the deduplication result.
[0086] Based on the online time interval of the target charging pile, the online duration of the target charging pile is obtained. Based on the intersection of the online time interval and the fault time interval of the target charging pile, the online fault duration of the target charging pile is obtained. Based on the online duration and the online fault duration of the target charging pile, the availability rate of the target charging pile is determined.
[0087] C3. Determine the final availability rate based on the average availability rate of all target charging stations.
[0088] For example, for each target charging pile, the availability rate of the target charging pile is determined according to the charging pile availability rate determination method provided in the embodiments of this application. Then, the average availability rate of all target charging piles is calculated to obtain the final availability rate.
[0089] Of course, if the user wants to obtain the availability of multiple target charging piles in batches within a target time interval, then steps C1 to C2 can be performed, and the availability of multiple target charging piles will be displayed.
[0090] In this embodiment, when there are multiple target charging piles, the specific implementation process and principle for determining the availability of target charging piles can be referred to the relevant content of the aforementioned embodiments, and will not be repeated here.
[0091] Similarly, if a user wants to obtain the availability rate of multiple target charging guns within a target time interval, the specific implementation process and principle for determining the availability rate of target charging guns in the case of multiple target charging guns can be referred to the relevant content of the aforementioned embodiments, and will not be repeated here.
[0092] In this embodiment, batch processing of target charging piles is supported. Target status data and target fault data of multiple target charging piles can be queried and obtained simultaneously, and the availability rate of multiple target charging piles can be calculated at the same time.
[0093] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0094] Figure 3 This is a schematic diagram of the charging pile availability determination device provided in one embodiment of this application. Figure 3 As shown, the charging pile availability determination device provided in this embodiment may include: an acquisition module 301, a correction module 302, a deduplication module 303, and a determination module 304.
[0095] The acquisition module 301 is used to acquire target status data and target fault data of the target charging pile based on the identifier of the target charging pile and the target time interval.
[0096] The correction module 302 is used to correct the status data based on the acquisition result of the target status data and the target time interval, and to determine the online time interval of the target charging pile based on the correction result.
[0097] The deduplication module 303 is used to deduplicatize the acquired target fault data and obtain the fault time interval of the target charging pile based on the deduplication result.
[0098] The determination module 304 is used to determine the availability of the target charging pile based on the online time interval and the fault time interval.
[0099] Optionally, the acquisition result includes acquiring target status data, the status data including a status point indicating online or offline status, and the time point corresponding to the status point; the correction module 302 is further used for: Determine whether the time point of the target state data is later than the start time of the target time interval; If so, based on the identifier of the target charging pile, the previous state data of the target state data is obtained, and the state data with adjacent time points and the same state point in the target state data and the previous state data are merged to obtain the corrected state data.
[0100] Optionally, the acquisition result includes not acquiring target status data, and the status data includes a status point indicating online or offline status, and the time point corresponding to the status point; the correction module 302 is further used for: Based on the identifier of the target charging pile, obtain the preceding state data whose time point is earlier than the start time of the target time interval and whose time distance is closest to the start time of the target time interval; The preceding state data is used as the corrected state data.
[0101] Optionally, the correction module 302 is also used for: Based on the time point and status point of the corrected status data, the online time interval of the target charging pile within the target time interval is obtained.
[0102] Optionally, the acquisition module 301 is also used for: Based on the identifier of the target charging pile, determine the alarm data of the target charging pile; The alarm data of the target charging pile that intersects with the target time interval are taken as the target fault data.
[0103] Optionally, the acquisition module 301 is also used for: From the alarm data of the target charging pile, obtain the first alarm data where the fault alarm time is earlier than the end time of the target time interval and the alarm has not ended; the alarm data includes at least one of the fault alarm time and the alarm end time; Acquire second alarm data where the fault alarm time is earlier than the end time of the target time interval and the alarm end time is later than the start time of the target time interval; The first alarm data and the second alarm data are used as the target fault data.
[0104] Optionally, the deduplication module 303 is also used for: Merge the target fault data of the target charging piles that have time overlap to obtain the deduplicated fault data; Based on the deduplicated fault data, the fault time interval of the target charging pile within the target time interval is obtained.
[0105] Optionally, the determination module 304 is also used for: Based on the online time interval, the online duration is obtained; based on the intersection of the online time interval and the fault time interval, the online fault duration is obtained. The availability rate of the target charging pile is determined based on the online duration and the online fault duration.
[0106] Optionally, there are multiple target charging piles; the determining module 304 is further configured to: For each target charging pile, the online duration of the target charging pile is obtained based on its online time interval. The online fault duration of the target charging pile is obtained based on the intersection of its online time interval and fault time interval. Based on the online duration and online fault duration of the target charging pile, the availability rate of the target charging pile is determined. The final availability rate is determined based on the average availability rate of all target charging stations.
[0107] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.
[0108] Figure 4 This is a schematic diagram of the structure of a charging pile monitoring system provided in one embodiment of this application. Figure 4 As shown, the charging pile monitoring system 400 of this embodiment includes a processor 410 and a memory 420. The memory 420 stores a computer program 421 that can run on the processor 410. When the processor 410 executes the computer program 421, it implements the steps in any of the above-described method embodiments, for example... Figure 1 The steps S101 to S104 are shown. Alternatively, when the processor 410 executes the computer program 421, it implements the functions of each module / unit in the above-described device embodiments, for example... Figure 3 The functions of modules 301 to 304 are shown.
[0109] For example, computer program 421 can be divided into one or more modules / units, one or more of which are stored in memory 420 and executed by processor 410 to complete this application. The one or more modules / units can be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of computer program 421 in charging pile monitoring system 400.
[0110] Those skilled in the art will understand that Figure 4 This is merely an example of a charging pile monitoring system and does not constitute a limitation on the charging pile monitoring system. It may include more or fewer components than shown in the figure, or combine certain components, or different components, such as input / output devices, network access devices, buses, etc.
[0111] The processor 410 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0112] The memory 420 can be an internal storage unit of the charging pile monitoring system, such as the hard drive or memory of the charging pile monitoring system, or it can be an external storage device of the charging pile monitoring system, such as a plug-in hard drive, smart media card (SMC), secure digital (SD) card, flash card, etc. The memory 420 can also include both internal and external storage devices. The memory 420 is used to store computer programs and other programs and data required by the charging pile monitoring system. The memory 420 can also be used to temporarily store data that has been output or will be output.
[0113] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0114] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0115] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0116] In the embodiments provided by this invention, it should be understood that the disclosed device / charging pile monitoring system and method can be implemented in other ways. For example, the device / charging pile monitoring system embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling or direct coupling or communication connection may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0117] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0118] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0119] If the integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.
[0120] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.
Claims
1. A charging pile availability determination method, characterized by, The method comprises the following steps: Based on the identification of the target charging pile and the target time interval, the target state data and the target fault data of the target charging pile are obtained; According to the acquisition result of the target state data and the target time interval, the state data is corrected, and the online time interval of the target charging pile is determined according to the correction result; The target fault data obtained is de-duplicated, and the fault time interval of the target charging pile is obtained according to the de-duplication result; Based on the online time interval and the fault time interval, the availability of the target charging pile is determined.
2. The charging station availability determination method according to claim 1, characterized by, The acquisition result includes obtaining target state data, state data includes state points indicating online state or offline state, and time points corresponding to state points; According to the acquisition result of the target state data and the target time interval, the state data is corrected, which comprises: Judging whether the time point of the target state data is later than the starting time of the target time interval; If yes, the previous state data of the target state data is obtained based on the identification of the target charging pile, and the state data with adjacent time points and the same state points in the target state data and the previous state data is merged to obtain the corrected state data.
3. The charging station availability determination method according to claim 1, characterized by, The acquisition result includes not obtaining target state data, state data includes state points indicating online state or offline state, and time points corresponding to state points; According to the acquisition result of the target state data and the target time interval, the state data is corrected, which comprises: Based on the identification of the target charging pile, the previous state data with the time point earlier than the starting time of the target time interval and the closest time distance from the starting time of the target time interval is obtained; The previous state data is taken as the corrected state data.
4. The charging station availability determination method according to claim 2 or 3, characterized by, According to the correction result, the online time interval of the target charging pile is determined, which comprises: According to the time point and state point of the corrected state data, the online time interval of the target charging pile in the target time interval is obtained.
5. The method according to any one of claims 1 to 3, wherein Based on the identification of the target charging pile and the target time interval, the target fault data of the target charging pile is obtained, which comprises: Based on the identification of the target charging pile, the alarm data of the target charging pile is determined; The alarm data in the target time interval in the alarm data of the target charging pile is taken as the target fault data.
6. The charging station availability determination method according to claim 5, characterized by, The alarm data in the target time interval in the alarm data of the target charging pile is taken as the target fault data, which comprises: From the alarm data of the target charging pile, the first alarm data with fault alarm time earlier than the end time of the target time interval and unended alarm is obtained; the alarm data includes at least one of fault alarm time and alarm end time; The second alarm data with fault alarm time earlier than the end time of the target time interval and alarm end time later than the starting time of the target time interval is obtained; The first alarm data and the second alarm data are taken as the target fault data.
7. The method according to any one of claims 1 to 3, wherein The obtained target fault data is deduplicated, and a fault time interval of the target charging pile is obtained according to a deduplication result. The target fault data with time intersection of the target charging pile is merged to obtain deduplicated fault data. The deduplicated fault data is used to obtain a fault time interval of the target charging pile in the target time interval.
8. The charging station availability determination method according to any one of claims 1 to 3, characterized by, The online time interval and the fault time interval are used to determine the availability rate of the target charging pile, including: An online duration is obtained according to the online time interval, and an online fault duration is obtained according to an intersection of the online time interval and the fault time interval; The online duration and the online fault duration are used to determine the availability rate of the target charging pile.
9. The method according to any one of claims 1 to 3, wherein The target charging pile is multiple; The online time interval and the fault time interval are used to determine the availability rate of the target charging pile, including: For each target charging pile, an online duration of the target charging pile is obtained according to an online time interval of the target charging pile, an online fault duration of the target charging pile is obtained according to an intersection of the online time interval and a fault time interval of the target charging pile, and the availability rate of the target charging pile is determined based on the online duration and the online fault duration of the target charging pile; A final availability rate is determined according to a mean value of the availability rates of all target charging piles. 10.A charging pile monitoring system, comprising a memory and a processor, wherein the memory stores a computer program capable of running on the processor, and the computer program comprises the following steps of: The processor executes the computer program to implement the charging pile availability rate determination method in any one of claims 1 to 9.
Citation Information
Patent Citations
Calculation method and device for effective charging duration of charging pile, storage medium and equipment
CN112418585A
Offline billing method, device and system and storage medium
CN113352927A
Statistical analysis method for charging pile faults
CN117332777A
Charging pile online rate statistical method based on data reporting
CN118484445A
Charging pile management method and system based on data analysis
CN120975445A