Management method for charging pile occupancy judgment and occupancy fee calculation

Through the heartbeat detection mechanism between the charging pile and the central management system, the charging pile status is analyzed, and the accuracy and flexibility of the charging pile occupation judgment and billing system are solved, and the accuracy of charging pile occupation judgment and billing is achieved. and flexibility, improving the reliability and stability of the system.

CN118941343APending Publication Date: 2024-11-12ZHUHAI LCOLA TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410944622.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In the prior art, charging pile occupancy judgment and occupancy fee calculation have problems such as high equipment failure rate, inaccuracy of identification and inflexible billing rules, resulting in inaccuracy and complexity of charging pile control and billing systems.

Method used

By establishing a heartbeat detection mechanism between the charging pile and the central management system, analyzing the heartbeat information and status change information of the charging pile, judging the occupancy status of the charging pile, and calculating the occupancy fee according to the set billing rules, the accuracy of no auxiliary equipment is achieved Occupancy judgment and flexible billing.

Benefits of technology

It realizes the accuracy of charging pile occupation judgment and real-time and accuracy of the billing system, reduces the complexity and error rate of manual operation, provides flexible billing rules and system expansion capabilities, and improves the reliability and stability of the system. sex.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118941343A_ABST
    Figure CN118941343A_ABST
Patent Text Reader

Abstract

The invention provides a management method for charging pile occupancy judgment and occupancy fee calculation, and the method comprises the steps: building a heartbeat detection mechanism, and judging whether a charging pile is occupied or not through analyzing the heartbeat information and state change information of the charging pile; determining the occupation state of the charging pile according to the analysis result; when it is determined that the charging pile is in the occupied state, marking the corresponding charging order in the database as an occupied state, and recording the occupation starting time; when the charging pile exits from the occupancy state, the occupancy time of the charging pile is obtained according to the occupancy starting time and the occupancy ending time, and the occupancy cost is calculated according to a set billing rule; and after the occupancy fee is calculated according to the occupancy time of the charging pile, fee information is generated, and the occupancy state of the order is updated in the database to be a posted state. According to the invention, parking space occupation can be judged and billing can be carried out only through the state of the pile and the state of the charging order without depending on other auxiliary equipment, so that better charging service experience is provided for a charging pile operator and a user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric vehicles, and in particular to a management method for judging the occupancy of a charging pile and calculating an occupancy fee based only on the charging pile itself. Background Art

[0002] As more and more electric vehicles go to charging stations to charge, in addition to "gasoline cars" occupying parking spaces, "electric cars" are also often seen at charging stations. In the existing technology, most stations control charging parking spaces by combining ground locks and parking space cameras to achieve parking space control and occupancy billing, and a small number of stations lack control over charging parking spaces.

[0003] At present, the use of charging piles is becoming more and more common. However, how to accurately determine whether the charging piles are occupied and how to reasonably charge them is still a challenge. The shortcomings of the existing technology include the following:

[0004] 1. The ground lock equipment has a high damage rate and often fails due to accidental collision with charging vehicles and network reasons;

[0005] 2. Parking cameras often fail to recognize the vehicle accurately due to weather, angle, or other reasons.

[0006] 3. The supporting facilities are complicated. If any one of the links fails, the charging parking space will be out of control.

[0007] 4. The charging rules for occupying parking spaces are not flexible enough. Summary of the invention

[0008] In order to solve the problem of charging pile occupation in the prior art, the purpose of the present invention is to provide a more flexible, concise and highly available management method for charging pile occupancy judgment and occupancy fee calculation, which does not rely on other auxiliary equipment and can judge parking space occupancy and billing only by the status of the pile itself and the charging order status, thereby providing charging pile operators and users with a better charging service experience.

[0009] The present invention achieves the above-mentioned purpose through the following technical solutions:

[0010] A management method for judging the occupancy of a charging pile and calculating the occupancy fee, the method comprising the following steps:

[0011] Establish a heartbeat detection mechanism between the charging pile and the central management system, and determine whether the charging pile is occupied by analyzing the charging pile heartbeat information and status change information;

[0012] According to the analysis results, the occupancy status of the charging pile is determined;

[0013] When it is determined that the charging pile is in an occupied state, the corresponding charging order is immediately marked as occupied in the database, and the occupation start time is recorded;

[0014] When the charging pile exits the occupied state, the charging pile occupation time is calculated based on the occupation start time and occupation end time, and the occupation fee is calculated according to the set billing rules;

[0015] After calculating the occupancy fee based on the occupancy time of the charging pile, the corresponding fee information is generated, and the occupancy status of the charging order is updated in the database to the accounted status.

[0016] According to a management method for judging the occupancy of a charging pile and calculating the occupancy fee provided by the present invention, if the charging pile is still occupied after charging is completed, the occupancy fee will be calculated, that is, corresponding fee information including the charging fee and the occupancy fee will be generated; wherein, if the charging pile is occupied during the charging process, no occupancy fee will be charged.

[0017] According to a management method for charging pile occupancy judgment and occupancy fee calculation provided by the present invention, the method of judging whether the charging pile is occupied by analyzing the heartbeat information and state change information of the charging pile includes:

[0018] Monitor the heartbeat information of the charging pile to confirm whether the charging pile is online and working properly; if the heartbeat information of the charging pile is not received within a certain period of time, it is judged that the charging pile is offline or faulty;

[0019] Monitor the interface status of the charging pile, including detecting the status change of the charging gun and the status change information of the charging process;

[0020] Combined with the heartbeat information and status change information, a comprehensive judgment is made as to whether the charging pile is still occupied after charging is completed; if the charging gun is unplugged in time after charging is completed, and the charging pile continues to send normal heartbeat information, it is judged that the charging pile is no longer occupied; if the charging gun is still inserted after charging is completed, and the charging pile continues to send heartbeat information, it is judged that the charging pile is still occupied.

[0021] According to a management method for determining the occupancy status of a charging pile and calculating the occupancy fee provided by the present invention, the step of determining the occupancy status of the charging pile includes:

[0022] Monitor the charging end event of the charging pile, and judge by detecting that the charging current drops to zero, the charging voltage reaches the preset value, the user manually stops charging, or the charging gun is pulled out;

[0023] When charging is completed, the charging pile is not immediately judged to be in an idle state, and a time window is set to wait for the user to unplug the charging gun or start a new charging operation.

[0024] During the time window, the status of the charging gun is continuously detected. If the charging gun is still plugged in and no new charging current or voltage changes are detected, the system determines that the charging pile is still occupied.

[0025] If a significant change in charging current or voltage is detected within the time window, a new charging operation has begun. At this time, the system determines that the charging pile is no longer occupied and enters a new charging cycle.

[0026] According to a management method for judging the occupancy of a charging pile and calculating the occupancy fee provided by the present invention, the time and relevant data of the charging pile status change are recorded in real time for subsequent analysis and billing; wherein, the occupancy status of the charging pile is updated in real time, and if the charging gun has been unplugged, the charging pile status is marked as "idle"; if the charging gun is still plugged in and no new charging operation is performed, the charging pile status is marked as "occupied".

[0027] According to a management method for judging the occupancy of a charging pile and calculating the occupancy fee provided by the present invention, the occupancy fee is calculated according to the occupancy time of the charging pile, including the following formula:

[0028] Cost = (occupied time – free time) * unit rate

[0029] Among them, occupation time: the total time the charging pile is occupied, free time: the set time that can be occupied for free, unit rate: the rate per unit time.

[0030] According to a management method for charging pile occupancy judgment and occupancy fee calculation provided by the present invention, a high-precision timestamp is used to record the start and end time of the occupancy of the charging pile, including:

[0031] Choose between milliseconds or microseconds timestamp format:

[0032] When the charging pile is occupied, the current high-precision timestamp is immediately obtained and stored in the local storage of the charging pile as the start time of occupation or sent to the central management system; similarly, when the charging pile is no longer occupied, the current high-precision timestamp is obtained again and used as the end time of occupation;

[0033] After receiving the timestamp, the central management system needs to verify its accuracy and completeness and store it in the database. The database should contain a table for storing charging pile occupancy information, which should at least contain the following fields: charging pile ID, occupancy start timestamp, occupancy end timestamp, order ID, etc.

[0034] Use NTP or other time synchronization protocols to achieve time consistency between charging piles and central management systems;

[0035] Prior to deployment, the timestamp recording functions of the charging stations and the central management system are tested and verified to ensure that timestamps are accurately recorded and charges are correctly calculated in all situations.

[0036] According to a management method for charging pile occupancy judgment and occupancy fee calculation provided by the present invention, the heartbeat detection mechanism between the charging pile and the central management system is established, including:

[0037] Design a heartbeat detection mechanism with adaptive heartbeat interval, so that the heartbeat sending interval of the charging pile can be adaptively adjusted according to the current network environment;

[0038] Perform a heartbeat response test by gradually increasing the heartbeat interval until the heartbeat fails a certain number of times, and find the heartbeat interval that is closest to the current NAT timeout time.

[0039] According to a management method for charging pile occupancy judgment and occupancy fee calculation provided by the present invention, the setting of the heartbeat timeout threshold is also performed, including:

[0040] Define a timeout threshold for BCL communication;

[0041] Each time a communication request is initiated, a timer matching the timeout threshold is started;

[0042] During the communication period, periodically check whether the heartbeat message from the charging pile is received by polling or asynchronous monitoring;

[0043] If the heartbeat message of the charging pile is not received within the specified time, that is, within the timeout threshold, the timeout detection mechanism is triggered.

[0044] According to a management method for charging pile occupancy judgment and occupancy fee calculation provided by the present invention, system parameters are dynamically adjusted according to the cause and frequency of communication timeout, the timeout time is extended or an alternative communication path is used;

[0045] Regularly check communication timeout logs and reports to perform system maintenance and performance optimization;

[0046] Continuously improve the heartbeat detection mechanism and timeout handling strategy based on feedback.

[0047] It can be seen that compared with the prior art, the method provided by the present invention has the following beneficial effects:

[0048] 1. The present invention determines the occupancy of a charging pile based on the charging completion status. By monitoring the charging order and the status and indicators of the charging pile, it can accurately determine whether the charging is completed, thereby determining whether the charging pile is still occupied.

[0049] 2. The present invention can provide configurable occupancy charging rules, allowing the setting of free-of-charge duration, charging upper limit, charging cycle, charging time period and other rules to adapt to different usage scenarios and needs.

[0050] 3. Through the heartbeat detection mechanism, the central management system can obtain the status information of the charging pile in real time, so as to quickly determine whether the charging pile is occupied. This helps to ensure the real-time and accuracy of the billing system.

[0051] 4. The present invention can accurately determine the occupancy status of the charging pile by analyzing the heartbeat information and state change information of the charging pile, thereby avoiding billing errors caused by misjudgment.

[0052] 5. When the charging pile is occupied, the system will automatically mark the charging order as occupied in the database and record the start time of occupancy; when the charging pile exits the occupied state, the system will automatically calculate the occupancy fee and update the order status, which greatly reduces the complexity and error rate of manual operations.

[0053] 6. This method allows setting billing rules according to actual needs, such as rates for different time periods, free time, charging caps, etc. This flexibility helps meet the billing needs of different users.

[0054] 7. This method can be easily extended to communication and billing between multiple charging piles and multiple central management systems. By adding more charging piles and central management systems, the system can be easily expanded and upgraded.

[0055] 8. The present invention can timely detect the failure of charging piles or communication interruption through the heartbeat detection mechanism and the central management system, and take corresponding recovery measures, which helps to improve the reliability and stability of the system.

[0056] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 It is a flow chart of an embodiment of a management method for charging pile occupancy judgment and occupancy fee calculation of the present invention.

[0058] Figure 2 It is an activity flow chart about parking space occupancy in an embodiment of a management method for charging pile occupancy judgment and occupancy fee calculation of the present invention. DETAILED DESCRIPTION

[0059] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0060] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0061] See also Figure 1 and Figure 2 The present invention provides a management method for judging the occupancy of a charging pile and calculating the occupancy fee, the method comprising the following steps:

[0062] Step S1, establishing a heartbeat detection mechanism between the charging pile and the central management system, and determining whether the charging pile is occupied by analyzing the heartbeat information and state change information of the charging pile;

[0063] Step S2, determining the occupancy status of the charging pile according to the analysis result;

[0064] Step S3, when it is determined that the charging pile is in an occupied state, immediately mark the corresponding charging order as occupied in the database and record the occupancy start time;

[0065] Step S4, when the charging pile exits the occupied state (such as the charging gun is unplugged, a new charge is started, etc.), the charging pile occupancy time obtained from the occupancy start time and the occupancy end time is used to calculate the occupancy fee according to the set charging rules;

[0066] Step S5, after calculating the occupancy fee according to the occupancy time of the charging pile, generate corresponding fee information, and update the occupancy status of the charging order in the database to the accounted status.

[0067] Among them, if the charging pile is still occupied after charging is completed, the occupancy fee will be calculated, that is, the corresponding fee information will be generated including the charging fee and the occupancy fee; if the charging pile is occupied during the charging process, no occupancy fee will be charged.

[0068] In the above step S1, whether the charging pile is occupied is determined by analyzing the heartbeat information and state change information of the charging pile, including:

[0069] Monitor the heartbeat information of the charging pile to confirm whether the charging pile is online and working properly; if the heartbeat information of the charging pile is not received within a certain period of time, it is judged that the charging pile is offline or faulty;

[0070] Monitor the interface status of the charging pile, including detecting the status change of the charging gun and the status change information of the charging process; for example, detecting whether the charging gun is inserted, whether charging has started, whether charging has ended, and other status change information.

[0071] Combined with the heartbeat information and status change information, a comprehensive judgment is made as to whether the charging pile is still occupied after charging is completed; if the charging gun is unplugged in time after charging is completed, and the charging pile continues to send normal heartbeat information, it is judged that the charging pile is no longer occupied; if the charging gun is still inserted after charging is completed, and the charging pile continues to send heartbeat information, it is judged that the charging pile is still occupied.

[0072] In the above step S2, determining the occupancy status of the charging pile includes:

[0073] Monitor the charging end event of the charging pile, and judge by detecting that the charging current drops to zero, the charging voltage reaches the preset value, the user manually stops charging, or the charging gun is pulled out;

[0074] When charging is completed, the charging pile is not immediately judged to be in an idle state, and a time window is set to wait for the user to unplug the charging gun or start a new charging operation.

[0075] During the time window, the status of the charging gun is continuously detected. If the charging gun is still plugged in and no new charging current or voltage changes are detected, the system determines that the charging pile is still occupied.

[0076] If a significant change in charging current or voltage is detected within the time window, a new charging operation has begun. At this time, the system determines that the charging pile is no longer occupied and enters a new charging cycle.

[0077] In this embodiment, the time and relevant data of the charging pile status change are recorded in real time for subsequent analysis and billing;

[0078] Among them, the occupancy status of the charging pile is updated in real time. If the charging gun has been unplugged, the charging pile status is marked as "idle"; if the charging gun is still plugged in and no new charging operation is performed, the charging pile status is marked as "occupied".

[0079] According to a management method for judging the occupancy of a charging pile and calculating the occupancy fee provided by the present invention, the occupancy fee is calculated according to the occupancy time of the charging pile, including the following formula:

[0080] Cost = (occupied time – free time) * unit rate

[0081] Among them, occupation time: the total time the charging pile is occupied, free time: the set time that can be occupied for free, unit rate: the rate per unit time.

[0082] Of course, the above fees also include: Charge cap: Set a maximum limit for occupancy fees. When the calculated fee exceeds the cap, the charge is based on the cap: Pile power type: Set different rates or free strategies based on the power type of the charging pile (such as AC, DC). Allow exemptions: Based on specific circumstances (such as the user's first occupancy, a pile failure causing the gun to lock, etc.), after consultation with the operator, occupancy fees are allowed to be reduced. Data recording: The system records the occupancy and release time of the charging pile, as well as billing-related data, through the database for subsequent query and statistics.

[0083] Of course, this embodiment can also dynamically adjust the rate according to the real-time usage of the charging pile (such as occupancy rate, charging demand, etc.) to better balance the supply and demand relationship. Set the rate for different time periods, such as peak time and valley time, to guide users to charge reasonably.

[0084] In the above step S4, a high-precision timestamp is used to record the start and end time of the charging pile occupation, including:

[0085] Select the millisecond or microsecond timestamp format, where the timestamp is the number of seconds or milliseconds since some fixed point in time (such as the Unix epoch, which starts at 00:00:00 UTC on January 1, 1970).

[0086] When the charging pile is occupied (such as the charging gun is inserted), the current high-precision timestamp is immediately obtained and stored in the local storage of the charging pile as the start time of occupancy or sent to the central management system; similarly, when the charging pile exits occupancy (such as the charging gun is unplugged), the current high-precision timestamp is obtained again and used as the end time of occupancy.

[0087] After receiving the timestamp, the central management system needs to verify its accuracy and completeness and store it in the database. The database should contain a table for storing charging pile occupancy information, which should at least include the following fields: charging pile ID, occupancy start timestamp, occupancy end timestamp, order ID, etc.

[0088] In order to ensure the time consistency between the charging pile and the central management system, the time consistency between the charging pile and the central management system is achieved through NTP (Network Time Protocol) or other time synchronization protocols. The charging pile should be regularly synchronized with the central management system or an external time server to ensure the accuracy of the recorded timestamp.

[0089] If the timestamp is inaccurate or lost due to some reason (such as network failure, time synchronization problem, etc.), the system should be able to detect and handle these abnormal situations. The handling methods include using the default timestamp, triggering an alarm to notify the administrator for manual processing, or estimating based on historical data.

[0090] Before deployment, the timestamp recording function of the charging piles and the central management system is tested and verified to ensure that the timestamp can be accurately recorded and the fees can be correctly calculated under various circumstances (such as normal occupancy, abnormal exit, network failure, etc.).

[0091] In the above step S1, the establishment of a heartbeat detection mechanism between the charging pile and the central management system includes:

[0092] Design a heartbeat detection mechanism with adaptive heartbeat interval, so that the heartbeat sending interval of the charging pile can be adaptively adjusted according to the current network environment;

[0093] The heartbeat response test is performed by gradually increasing the heartbeat interval until the heartbeat fails a certain number of times (such as 5 times), and the heartbeat interval closest to the current NAT timeout is found.

[0094] In this embodiment, the setting of the heartbeat timeout threshold is also performed, including:

[0095] Define a BCL communication timeout threshold, which should be set according to the actual network environment and system requirements. For example, this value should be slightly larger than the normal network delay time, but not too long to avoid discovering communication anomalies too late.

[0096] Each time a communication request is initiated, a timer matching the timeout threshold is started;

[0097] During the communication period, periodically check whether the heartbeat message from the charging pile is received by polling or asynchronous monitoring;

[0098] If the heartbeat message of the charging pile is not received within the specified time, that is, within the timeout threshold, the timeout detection mechanism is triggered.

[0099] Record detailed log information, including the timestamp of the timeout, communication parameters, etc.; generate an error report indicating the cause of the communication timeout and possible solutions; according to the system policy, you can try to resend the communication request and set the maximum number of retries to avoid infinite loops; if the communication timeout is regarded as an emergency, trigger an alarm notification to notify the system administrator or relevant personnel.

[0100] In this embodiment, the following is also performed:

[0101] Dynamically adjust system parameters to extend the timeout period or use an alternative communication path based on the cause and frequency of communication timeouts;

[0102] Regularly check communication timeout logs and reports to perform system maintenance and performance optimization;

[0103] Continuously improve the heartbeat detection mechanism and timeout handling strategy based on feedback.

[0104] In summary, the present invention judges the occupancy of the charging pile based on the charging end state. By monitoring the state and indicators of the charging order and the charging pile, it can accurately judge whether the charging is finished, thereby determining whether the charging pile is still occupied. The present invention can provide configurable occupancy charging rules, allowing the setting of free charging time, charging upper limit, charging cycle, charging time period and other rules to adapt to different usage scenarios and needs. Through the heartbeat detection mechanism of the present invention, the central management system can obtain the status information of the charging pile in real time, so as to quickly judge whether the charging pile is occupied. This helps to ensure the real-time and accuracy of the billing system. By analyzing the heartbeat information and state change information of the charging pile, the present invention can accurately judge the occupancy state of the charging pile, avoiding billing errors caused by misjudgment. When the charging pile is occupied, the system will automatically mark the charging order as a placeholder state in the database and record the start time of occupancy; when the charging pile exits the occupied state, the system will automatically calculate the placeholder fee and update the order status, which greatly reduces the complexity and error rate of manual operation. The method allows the billing rules to be set according to actual needs, such as rates, free time, charging upper limit, etc. in different time periods. This flexibility helps to meet the billing needs of different users. The method can be easily extended to communication and billing between multiple charging piles and multiple central management systems. By adding more charging piles and central management systems, the system can be easily expanded and upgraded. The present invention can detect the failure of the charging pile or the interruption of communication in time through the heartbeat detection mechanism and the central management system, and take corresponding recovery measures. This helps to improve the reliability and stability of the system.

[0105] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0106] The above-mentioned embodiments are only preferred embodiments of the present invention and cannot be used to limit the scope of protection of the present invention. Any non-substantial changes and substitutions made by technicians in this field on the basis of the present invention shall fall within the scope of protection required by the present invention.

Claims

1. A management method for judging the occupancy of a charging pile and calculating the occupancy fee, characterized in that: The method comprises the following steps: Establish a heartbeat detection mechanism between the charging pile and the central management system, and determine whether the charging pile is occupied by analyzing the charging pile heartbeat information and status change information; According to the analysis results, the occupancy status of the charging pile is determined; When it is determined that the charging pile is in an occupied state, the corresponding charging order is immediately marked as occupied in the database, and the occupation start time is recorded; When the charging pile exits the occupied state, the charging pile occupation time is calculated based on the occupation start time and occupation end time, and the occupation fee is calculated according to the set billing rules; After calculating the occupancy fee based on the occupancy time of the charging pile, the corresponding fee information is generated, and the occupancy status of the charging order is updated in the database to the accounted status.

2. The method according to claim 1, characterized in that: If the charging pile is still occupied after charging is completed, the occupancy fee will be calculated, that is, the corresponding fee information including charging fee and occupancy fee will be generated; Among them, if the charging pile is occupied during the charging process, no occupancy fee will be charged.

3. The method according to claim 1, characterized in that The step of determining whether the charging pile is occupied by analyzing the heartbeat information and state change information of the charging pile includes: Monitor the heartbeat information of the charging pile to confirm whether the charging pile is online and working properly; if the heartbeat information of the charging pile is not received within a certain period of time, it is judged that the charging pile is offline or faulty; Monitor the interface status of the charging pile, including detecting the status change of the charging gun and the status change information of the charging process; Combined with the heartbeat information and status change information, a comprehensive judgment is made as to whether the charging pile is still occupied after charging is completed; if the charging gun is unplugged in time after charging is completed, and the charging pile continues to send normal heartbeat information, it is judged that the charging pile is no longer occupied; if the charging gun is still inserted after charging is completed, and the charging pile continues to send heartbeat information, it is judged that the charging pile is still occupied.

4. The method according to claim 1, characterized in that: Determining the occupancy status of the charging pile includes: Monitor the charging end event of the charging pile, and judge by detecting that the charging current drops to zero, the charging voltage reaches the preset value, the user manually stops charging, or the charging gun is pulled out; When charging is completed, the charging pile is not immediately judged to be in an idle state, and a time window is set to wait for the user to unplug the charging gun or start a new charging operation. During the time window, the status of the charging gun is continuously detected. If the charging gun is still plugged in and no new charging current or voltage changes are detected, the system determines that the charging pile is still occupied. If a significant change in charging current or voltage is detected within the time window, a new charging operation has begun. At this time, the system determines that the charging pile is no longer occupied and enters a new charging cycle.

5. The method according to claim 1, characterized in that: Real-time recording of the time and relevant data of charging pile status changes for subsequent analysis and billing; Update the occupancy status of the charging pile in real time. If the charging gun has been unplugged, the charging pile status will be marked as "idle"; If the charging gun is still plugged in and no new charging operation is performed, the charging pile status is marked as "occupied".

6. The method according to claim 1, characterized in that: The occupancy fee is calculated based on the occupancy time of the charging pile, including the following formula: Cost = (occupied time – free time) * unit rate Among them, occupation time: the total time the charging pile is occupied, free time: the set time that can be occupied for free, unit rate: the rate per unit time.

7. The method according to claim 1, characterized in that: Use high-precision timestamps to record the start and end time of the charger occupancy, including: Choose between milliseconds or microseconds timestamp format: When the charging pile is occupied, the current high-precision timestamp is immediately obtained and stored in the local storage of the charging pile as the start time of occupation or sent to the central management system; similarly, when the charging pile is no longer occupied, the current high-precision timestamp is obtained again and used as the end time of occupation; After receiving the timestamp, the central management system needs to verify its accuracy and completeness and store it in the database. The database should contain a table for storing charging pile occupancy information, which should at least contain the following fields: charging pile ID, occupancy start timestamp, occupancy end timestamp, order ID, etc. Use NTP or other time synchronization protocols to achieve time consistency between charging piles and central management systems; Prior to deployment, the timestamp recording functions of the charging stations and the central management system are tested and verified to ensure that timestamps are accurately recorded and charges are correctly calculated in all situations.

8. The method according to claim 1, characterized in that The establishment of a heartbeat detection mechanism between the charging pile and the central management system includes: Design a heartbeat detection mechanism with adaptive heartbeat interval, so that the heartbeat sending interval of the charging pile can be adaptively adjusted according to the current network environment; Perform a heartbeat response test by gradually increasing the heartbeat interval until the heartbeat fails a certain number of times, and find the heartbeat interval that is closest to the current NAT timeout time.

9. The method according to claim 8, characterized in that It also performs the setting of heartbeat timeout thresholds, including: Define a timeout threshold for BCL communication; Each time a communication request is initiated, a timer matching the timeout threshold is started; During the communication period, periodically check whether the heartbeat message from the charging pile is received by polling or asynchronous monitoring; If the heartbeat message of the charging pile is not received within the specified time, that is, within the timeout threshold, the timeout detection mechanism is triggered.

10. The method according to claim 9, characterized in that: Dynamically adjust system parameters to extend the timeout period or use an alternative communication path based on the cause and frequency of communication timeouts; Regularly check communication timeout logs and reports to perform system maintenance and performance optimization; Continuously improve the heartbeat detection mechanism and timeout handling strategy based on feedback.

Citation Information

Cited By

  • Electric vehicle charging pile intelligent scheduling management system based on machine vision

    CN121809920A