CN-121973665-A - Charging pile control method and system
Abstract
A charging pile control method and a charging pile control system relate to the field of digital information transmission and comprise the steps of acquiring current charging information of a charging session after the charging session is established with a user terminal, calculating initial power-off time according to the current charging information, sending the initial power-off time to the user terminal, enabling the user terminal to configure a local timing notification task based on the initial power-off time so as to generate charging completion prompt information when the initial power-off time arrives, acquiring real-time charging information when a preset trigger event is detected in the charging process, calculating corrected power-off time according to the real-time charging information, and sending the corrected power-off time to the user terminal when deviation exists between the corrected power-off time and the initial power-off time, so that the user terminal is instructed to update the local timing notification task. By implementing the method and the device, the effective access of the charge state information in the poor scene of the user terminal network can be ensured, and the economic loss of the user caused by information delay is avoided.
Inventors
- ZHANG CHUNYANG
- YANG XIAOTONG
- WU SONGTAI
- FANG YE
- WU DEJUN
Assignees
- 北京车易付科技股份有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260206
Claims (10)
- 1. A charging pile control method, characterized by being applied to a charging pile control system, the method comprising: After a charging session is established with a user terminal, current charging information of the charging session is obtained, and initial power-off time is calculated according to the current charging information; sending the initial power-off time to the user terminal, so that the user terminal configures a local timing notification task based on the initial power-off time to generate charging completion prompt information when the initial power-off time arrives; In the charging process, when a preset trigger event is detected, acquiring real-time charging information, and calculating and correcting power-off time according to the real-time charging information; And when the corrected power-off time and the initial power-off time deviate, sending the corrected power-off time to the user terminal so as to instruct the user terminal to update the local timing notification task.
- 2. The method of claim 1, wherein after the step of sending the initial power-off time to the user terminal such that the user terminal configures a local timing notification task based on the initial power-off time to generate a charge completion prompt when the initial power-off time arrives, the method further comprises: receiving positioning coordinate data and network signal strength reported by the user terminal; Calculating the network offline probability of the user terminal in a preset time period before the local timing notification task is triggered based on the positioning coordinate data and the network signal intensity; When the network offline probability exceeds a preset probability threshold, determining the data synchronization time when the network offline probability is greater than the preset probability threshold and before the preset time period; Acquiring real-time charging information when the data is synchronized, calculating corresponding corrected power-off time, and generating a synchronous data packet; and sending the synchronous data packet to the user terminal, so that the user terminal updates the local timing notification task based on the synchronous data packet.
- 3. The method according to claim 2, wherein the step of obtaining real-time charging information at the data synchronization time and calculating a corresponding corrected power-off time to generate a synchronization data packet specifically includes: calculating a fluctuation variance value of the current data based on the current data of the charging session in a history period at the data synchronization time; when the fluctuation variance value is larger than a preset fluctuation threshold value, calculating a time redundancy interval based on the fluctuation variance value; Acquiring real-time charging information and calculating corresponding corrected power-off time; and overlapping the time redundancy interval to the corrected power-off time, generating a power-off time window, and generating a synchronous data packet based on the power-off time window.
- 4. The method of claim 1, wherein when there is a deviation between the real-time power-off time and the initial power-off time, the step of sending the corrected power-off time to the user terminal to instruct the user terminal to update the local timing notification task is followed by the step of: Intercepting a receiving confirmation signal from the user terminal for the corrected power-off time; when the receiving confirmation signal is not detected within a preset timeout period, marking the user terminal as an offline state; Collecting charging data in a preset period during the offline state of the user terminal, calculating the latest corrected power-off time, and updating a message retransmission task based on the latest corrected power-off time; and suspending sending the message retransmission task to the user terminal until the network reconnection signal of the user terminal is detected and then resuming sending.
- 5. The method of claim 4, wherein the step of marking an offline state to the device identification of the user terminal is preceded by the step of, when the receipt acknowledgement signal is not detected within a preset timeout period, further comprising: Receiving a heartbeat maintenance message of the user terminal, and analyzing a current version identifier of the local timing notification task in the heartbeat maintenance message; And when the current version identifier is inconsistent with the latest version identifier of the corrected power-off time, sending the corrected power-off time to the user terminal.
- 6. The method of claim 1, wherein when there is a deviation between the real-time power-off time and the initial power-off time, the step of sending the corrected power-off time to the user terminal to instruct the user terminal to update the local timing notification task is followed by the step of: Acquiring a historical current sequence of the charging session before the current moment, and calculating the standard deviation of the historical current sequence to obtain a current fluctuation index; Calculating a time correction coefficient based on the current fluctuation index when the current fluctuation index exceeds a preset fluctuation threshold; The time correction coefficient is added to the corrected power-off time to generate preferable power-off time; calculating a time difference between the preferred power-off time and the modified power-off time; and when the time difference exceeds a preset difference threshold, transmitting a correction data packet containing the preferable outage time to the user terminal.
- 7. The method according to claim 6, wherein the step of calculating a time correction coefficient based on the current fluctuation index when the current fluctuation index exceeds a preset fluctuation threshold value, specifically comprises: extracting current difference values of adjacent sampling points in the historical current sequence to generate a current change sequence; calculating the number of sampling points exceeding a preset change threshold in the current change sequence to obtain fluctuation count; acquiring the total sampling point number of the historical current sequence, and calculating the ratio of the fluctuation count to the total sampling point number to obtain a fluctuation frequency value; and determining a time correction coefficient based on the fluctuation frequency value and a preset coefficient mapping function.
- 8. A charging pile control system comprising one or more processors and memory coupled to the one or more processors, the memory for storing computer program code comprising computer instructions that the one or more processors invoke to cause the charging pile control system to perform the method of any of claims 1-7.
- 9. A computer readable storage medium comprising instructions which, when run on a charging pile control system, cause the charging pile control system to perform the method of any one of claims 1-7.
- 10. A computer program product, characterized in that the computer program product, when run on a charging pile control system, causes the charging pile control system to perform the method according to any one of claims 1-7.
Description
Charging pile control method and system Technical Field The application relates to the field of digital information transmission, in particular to a charging pile control method and system. Background As the electric vehicle industry evolves, the charging infrastructure becomes a key complement to it, and its quality of service and user experience become critical. In the process of supplementing energy to the vehicle by using the charging pile, a user needs to timely and accurately acquire charging state information, such as whether charging is completed, whether abnormal interruption occurs or not, so as to reasonably arrange personal time and timely move the vehicle, and avoid resource occupation and unnecessary cost. In related technology, a notification method based on cloud event triggering is provided. The charging pile reports key events in the charging process, such as charging completion or charging interruption, to the cloud server in real time. After receiving the key event, the cloud server sends a push notification to a designated APP on the mobile terminal of the user through the application server so as to inform the user of the state change of the current charging pile. The cloud terminal is used as a core for information transfer and distribution, so that remote notification of the charging state is realized. However, as the charging scenario becomes increasingly complex, the user may be active in areas where network signals are unstable, such as parking lots, malls, or inside buildings, during the waiting period for charging. When the charging state pushing is performed in the related art, if the user is just in the network signal blind area at this time, the mobile terminal cannot timely receive the pushing notification, so that the user cannot know the state that the charging is completed at the first time, and the user can possibly generate unnecessary extra cost due to failure to timely return to move the vehicle, so that the overall experience of the charging service can be influenced. Disclosure of Invention The application provides a charging pile control method and a charging pile control system, which are used for guaranteeing effective access of charging state information in a network poor scene of a user terminal and avoiding economic loss of a user caused by information delay. In a first aspect, the application provides a charging pile control method, which is applied to a charging pile control system, and comprises the steps of acquiring current charging information of a charging session after the charging session is established with a user terminal, calculating initial power-off time according to the current charging information, sending the initial power-off time to the user terminal, enabling the user terminal to configure a local timing notification task based on the initial power-off time so as to generate charging completion prompt information when the initial power-off time arrives, acquiring real-time charging information when a preset trigger event is detected in a charging process, calculating corrected power-off time according to the real-time charging information, and sending the corrected power-off time to the user terminal when deviation exists between the corrected power-off time and the initial power-off time, so as to instruct the user terminal to update the local timing notification task. In the embodiment, the charging pile control system establishes a local timing notification task at the user terminal, and transfers a trigger mechanism for completing charging from the cloud to the terminal local, so that the problem that notification cannot be reached due to network problems is solved, meanwhile, the accuracy of the local timing task is ensured by dynamically calculating and sending the corrected power-off time in the charging process, and efficient and reliable access of charging state information under a weak network environment is realized. In combination with some embodiments of the first aspect, in some embodiments, after the step of sending an initial power-off time to the user terminal, so that the user terminal configures a local timing notification task based on the initial power-off time to generate charging completion prompt information when the initial power-off time arrives, the method further includes receiving positioning coordinate data and network signal strength reported by the user terminal, calculating network offline probability of the user terminal in a preset time period before triggering the local timing notification task based on the positioning coordinate data and the network signal strength, determining that the network offline probability is greater than a preset probability threshold and a data synchronization time before the preset time period when the network offline probability exceeds the preset probability threshold, acquiring real-time charging information when the data synchronization time, calculating corresponding corr