Risk assessment method for charging service process, charging pile supervision platform and charging pile
By using risk assessment methods in the charging pile management system, the CP voltage value is calculated using PWM signal point statistical information, and the matching status is matched to identify risks, solving the problem of difficulty in discovering abnormalities and being cracked in time in the existing system, and improving the risk identification ability and the accuracy of bill records.
Patent Information
- Application Number
- CN202510307644.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-17
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2045-03-17
AI Technical Summary
The existing charging pile management system is difficult to detect abnormal situations in a timely manner and is easily cracked, resulting in an increased risk of billing records not matching the actual charging information.
A risk assessment method for charging service process is provided. By receiving the PWM signal point statistical information reported by the target charging pile, a preset algorithm is used to calculate the first CP voltage value and the second CP voltage value, and match the two states to identify whether there is a risk.
It can promptly identify whether the data sent by the target charging pile has been tampered with, locate abnormal situations, improve the risk identification ability of the charging pile system, and ensure the accuracy of bill records.
Smart Images

Figure CN119831619B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of charging system safety, and in particular to a risk assessment method for the charging service process, a charging pile supervision platform, and a charging pile. Background Art
[0002] With the booming development of the new energy vehicle industry, charging piles have become an indispensable urban infrastructure, and their safety management is crucial for maintaining public safety and improving user experience. Existing charging pile management platforms can achieve basic data collection and analysis functions, such as power consumption statistics, fee settlement, etc.
[0003] Currently, the charging pile management system usually relies on the remote monitoring center to regularly poll the status information of the charging piles. However, this method is difficult to detect abnormal situations in a timely manner and is easily cracked, resulting in an increased risk of inconsistent billing records and actual charging information. Summary of the Invention
[0004] In order to improve the risk identification ability of the charging pile system and detect abnormalities in a timely manner, the embodiments of this application provide a risk assessment method for the charging service process, a charging pile supervision platform, and a charging pile.
[0005] On the one hand, the risk assessment method for the charging service process provided by the embodiments of this application is applied to the charging pile supervision platform. The method includes the steps of: receiving the PWM signal point statistical information reported by the target charging pile, where the statistical information includes array statistical data and a first CP voltage value, and the first CP voltage value is calculated by the target charging pile based on a preset algorithm for the array statistical data; calculating the array statistical data based on the preset algorithm to obtain a second CP voltage value; in the case where the first CP voltage value is the same as the second CP voltage value, determining a first service state according to the second CP voltage value; obtaining a second service state displayed by the target charging pile on the platform; where the second service state is automatically generated by the platform according to the status parameters or user operation data sent by the target charging pile; matching the first service state with the second service state, and in the case where the first service state does not match the second service state, determining that the target charging pile has a risk.
[0006] In one implementation, the method further includes: in the case where the first CP voltage value is different from the second CP voltage value, determining that the target charging pile has a risk.
[0007] In one implementation, calculating the second CP voltage value based on the preset algorithm for the array statistical data includes: calculating the total data volume based on the data volume corresponding to each array in the array statistical data; calculating a first threshold based on the total data volume and a preset threshold ratio; sorting the data volumes corresponding to each array in descending order, and calculating the data volume difference between the first array and the second array; in the case where the difference is greater than or equal to the first threshold, determining the second CP voltage value according to the array characteristics corresponding to the first array.
[0008] Based on the above technical solution, the platform can recalculate the second CP voltage value according to the array data in the PWM signal point statistical information sent by the target charging pile, and compare it with the received first CP voltage value to identify whether the data sent by the target charging pile has been tampered with, so as to determine whether there is an attack risk; further, in the case where the sent data is normal, the first service state can be further determined according to the second CP voltage value, and matched with the second service state displayed on the platform to determine whether they are consistent, so as to identify whether the interaction data used to generate the second service state has been tampered with, or whether the platform information has been tampered with. In this way, not only can abnormal situations be identified in a timely manner, but also the types of abnormalities can be located, which is convenient for maintenance personnel to conduct risk investigation in a timely manner.
[0009] Based on the same inventive concept, an embodiment of the present application further provides a charging pile supervision platform, and the platform performs risk assessment on the charging service process based on the above method.
[0010] On the other hand, an embodiment of the present application further provides a charging pile, including a signal acquisition module, a signal processing module, and a charging control module; wherein, the signal acquisition module is used to collect PWM signal points based on a sampling period and a sampling window, convert each of the PWM signal points into a voltage value, and send each of the voltage values to the signal processing module; the signal processing module is used to receive each of the voltage values, create multiple arrays according to preset rules and configure array characteristics for each of the arrays; according to the matching relationship between each of the voltage values and the array characteristics, store each of the voltage values into the corresponding array, and count the number of voltage values in each of the arrays as the data volume of the array; determine a first CP voltage value based on a preset algorithm and the data volume of each of the arrays, and send it to the charging control module; the charging control module is used to control the charging service process according to the first CP voltage value.
[0011] Based on the above technical solution, the charging pile can avoid misidentification that occurs when determining the voltage based on single-point sampling data by performing full-volume acquisition of signal points within the sampling window. At the same time, determining the first CP voltage value based on the method of array statistics can ensure the accuracy and speed of voltage identification. Meanwhile, the array data and the first CP voltage value obtained during the analysis process can be used for anomaly analysis on the supervision platform, making full use of the uncertainty of the array data, simplifying the difficulty of anomaly identification, and improving the timeliness of anomaly identification.
[0012] In one implementation, determining the first CP voltage value based on the preset algorithm and the data volume of each of the arrays includes: calculating the total data volume based on the data volume corresponding to each of the arrays; calculating a first threshold based on the total data volume and a preset threshold ratio; sorting the data volumes corresponding to each of the arrays in descending order, and calculating the data volume difference between the first array and the second array; in the case where the difference is greater than or equal to the first threshold, determining the first CP voltage value according to the array characteristics corresponding to the first array.
[0013] In one implementation, determining the first CP voltage value based on the preset algorithm and the data volume of each of the arrays further includes: in the case where the difference is less than the first threshold, setting the first CP voltage value as the previous value and adding a data tag; the data tag is used to mark the first CP voltage value as a filled value based on historical data; the charging control module is further used to determine whether there is an anomaly based on the data tag, including: accumulating the number of the data tags within a statistical period, and judging whether the cumulative amount of the data tags is greater than a second threshold. When the cumulative amount is greater than the second threshold, it is evaluated as a device signal failure; or, obtaining the addition time of each of the data tags, and judging whether there is a situation where the number of consecutive data tags with the addition time is greater than a third threshold. If so, it is evaluated as a device signal failure.
[0014] In one implementation, the charging control module is further used to judge whether there is a CP failure according to the number of noise voltage values, including: in the case where it is determined that the number of the noise voltage values is greater than a fourth threshold and continuously exceeds a preset number of sampling periods, determining that there is a CP failure.
[0015] In one implementation, the charging control module is further configured to monitor CP anomalies based on the service status, including: starting a counter within a monitoring period; determining the current service status based on the received first CP voltage value; updating the counter according to the current service status and the previous service status; after the monitoring period ends, determining whether the CP status is stable according to the value of the counter and recording the corresponding CP status switching value into the status array; in the case where it is determined that the CP status is unstable, analyzing the status array to determine whether there is a CP anomaly; or, creating a circular array for storing CP status switching values, determining the CP status switching value each time the first CP voltage value is received, updating it to the circular array, and performing a summation calculation on the updated circular array to determine whether the CP status is stable according to the calculation result; in the case where the continuous duration of the unstable CP status is greater than a preset duration, determining a CP anomaly.
[0016] Based on the above technical solution, the charging pile can automatically identify CP anomalies, thereby timely detecting CP faults and taking corresponding countermeasures.
[0017] In addition, an embodiment of the present application further provides an electronic device, which includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor. When the program or instruction is executed by the processor, the above method is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings constituting a part of this application are used to provide a further understanding of this application. The schematic embodiments of this application and their descriptions are used to explain this application and do not constitute an improper limitation to this application.
[0019] In order to more clearly illustrate the technical solutions in the embodiments of this application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of this application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained according to these drawings.
[0020] Figure 1 The structure diagram of the charging pile management system provided by the embodiment of this application is shown.
[0021] Figure 2 The flowchart of the risk assessment method for the charging service process provided by the embodiment of this application is shown.
[0022] Figure 3 The structure diagram of the charging pile provided by the embodiment of this application is shown.
[0023] Figure 4The flowchart showing the method for determining the first CP voltage in the embodiments of the present application.
[0024] Figure 5 The flowchart showing the method for monitoring CP anomalies based on service status in the embodiments of the present application. Detailed implementation manners
[0025] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0026] In the description of the embodiments of the present application, unless otherwise specified, "a plurality of" means two or more. The "first", "second", and various numerical numbers are only for the convenience of description and do not limit the scope of the embodiments of the present application.
[0027] The features, structures, or characteristics in the present application can be combined in one or more embodiments in any suitable manner. In various embodiments of the present application, the size of the serial numbers of each process does not mean the order of execution. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0028] Some optional features in the embodiments of the present application can, in some scenarios, be implemented independently without relying on other features, solve the corresponding technical problems, and achieve the corresponding effects. In some scenarios, they can also be combined with other features according to requirements.
[0029] In the present application, unless otherwise specified, the same or similar parts between various embodiments can be referred to each other. In various embodiments of the present application, if there is no special specification and logical conflict, the terms and / or descriptions between different embodiments are consistent and can be mutually referred to. The technical features in different embodiments can be combined to form new embodiments according to their internal logical relationships. The implementation manners of the present application do not constitute a limitation to the protection scope of the present application.
[0030] The embodiments of the present application will be described in detail below with reference to the drawings.
[0031] Please refer to Figure 1 , the charging pile management system provided by the embodiments of the present application includes a charging pile supervision platform 110 and a charging pile 120. Among them, the charging pile supervision platform 110 is used to manage the connected charging piles 120, including but not limited to charging pile status maintenance, charging billing, bill management, etc. Each charging pile 120 is communicatively connected to the supervision platform 110.
[0032] Please refer to Figure 2 In the embodiment of the present application, a risk assessment method for the charging service process is provided, which is used to realize real-time and accurate monitoring of the status of the charging pile, and timely give a risk warning to the charging pile with abnormal status, so as to ensure that the charging data obtained by the platform during the charging service process is true and reliable, and at the same time, the risk can be located in time, and then corresponding countermeasures can be taken. The method specifically includes the following steps.
[0033] S210, receive the PWM signal point statistical information reported by the target charging pile.
[0034] Among them, the PWM signal point statistical information includes array statistical data and the first CP voltage value, and the first CP voltage value is calculated by the target charging pile based on a preset algorithm for the array statistical data. Among them, the CP voltage value refers to the voltage value on the CP (Control Pilot) line.
[0035] Specifically, the target charging pile is any charging pile connected to the supervision platform. Please refer to Figure 3 The target charging pile includes a signal acquisition module 121, a signal processing module 122, and a charging control module 123.
[0036] The signal acquisition module 121 is used to collect PWM (Pulse Width Modulation) signal points based on the sampling period and sampling window, convert each PWM signal point into a voltage value, and send each voltage value to the signal processing module 122.
[0037] In one embodiment, the sampling period and sampling window are pre-configured. In one example, they can be determined based on the minimum duty cycle in the standard executed by the target charging pile to ensure that all high-level points can be collected. For example, if the minimum duty cycle is 5%, the sampling period can be set to 1 ms and the sampling window can be set to 50 us.
[0038] The signal acquisition module 121 can be implemented based on an ADC (Analog-to-Digital Converter), and the periodic sampling of the ADC is triggered by setting a timer.
[0039] For example, a timer can be used to control the generation of the PWM signal, and the overflow time of the timer is set to generate the desired PWM signal frequency. Among them, the overflow interrupt of the timer is used as the signal to start detecting the voltage, and the ADC will perform voltage sampling within the sampling window after the timer overflows in each PWM cycle to ensure sampling during the stable stage of the PWM signal. The ADC converts each PWM signal point collected within the sampling window into the corresponding voltage value.
[0040] The signal processing module 122 is configured to receive each voltage value, create multiple arrays according to a preset rule, and configure array characteristics for each array; based on the matching relationship between each voltage value and each array characteristic, store each voltage value into the corresponding array, and count the number of voltage values in each array as the data volume of the array; based on a preset algorithm and the data volume of each array, determine the first CP voltage value, and simultaneously send it to the charging control module and the supervision platform. It should be noted that, in the embodiment of the present application, every time the signal processing module 122 obtains the first CP voltage value, it will be sent to the supervision platform in real time, so as to ensure that the supervision platform can receive real-time PWM signal point statistics information.
[0041] Specifically, the signal processing module 122 can be implemented based on a microcontroller (Micro Controller Unit, MCU). The preset rule is preset, including creating arrays based on a set voltage range, or determining the number of groups according to the distribution range of each voltage value and creating corresponding groups.
[0042] In one example, the voltage range can be set according to the PWM signal characteristics of the CP line. For example, the characteristic values of the CP line include 6V, 9V, and 12V, with a 1V margin reserved before and after. Then, arrays 1, 2, 3, and 4 can be created correspondingly. Among them, the array characteristic of array 1 is 6V, and the corresponding voltage range is [5,7]; the array characteristic of array 2 is 9V, and the corresponding voltage range is [8,10]; the corresponding voltage range of array 3 is [11,13]; array 4 is used to store noise voltage values that cannot match other arrays, and the array characteristic is a null value.
[0043] The signal processing module 122 can store each voltage value into the corresponding array according to the matching relationship between the magnitude of each received voltage value and the voltage range, and then determine the first CP voltage value based on a preset algorithm, where the first CP voltage value is used to represent the voltage of the current CP line.
[0044] In one implementation, please refer to Figure 4 , the method for determining the first CP voltage based on a preset algorithm specifically includes the following steps.
[0045] S410, calculate the total data volume based on the data volume corresponding to each array.
[0046] Among them, the data volume of the array is the number of voltage values stored in the array.
[0047] S420, calculate the first threshold based on the total data volume and a preset threshold ratio.
[0048] In implementation, the preset threshold ratio is preset and used to screen out typical waveforms. In one example, the preset threshold ratio can be 40%. It should be noted that during the actual application process, affected by voltage fluctuations, the number of PWM signal points collected within different sampling windows may vary. When the voltage is high, the number of signal points collected is more. Therefore, determining the first threshold based on the preset ratio and the actual total number of samples can change dynamically following the actual sampling amount, enabling more accurate judgment based on the first threshold.
[0049] S430. Perform a descending sort according to the data volume corresponding to each array, and calculate the data volume difference between the first array and the second array.
[0050] Among them, the first array is the array ranked first in the sorting order, that is, the array with the largest data volume, and the second array is the array ranked second in the sorting order, that is, the data volume is only less than that of the first array.
[0051] S440. In the case where the difference is greater than or equal to the first threshold, determine the first CP voltage value according to the array characteristics corresponding to the first array.
[0052] In implementation, when the difference between the first array and the second array is greater than or equal to the first threshold, it indicates that the waveform within the sampling window is a typical waveform, and the array characteristics corresponding to the first array can be determined as the first CP voltage value.
[0053] In one example, the data volumes of array 1, array 2, array 3, and array 4 are 0, 70, 5, and 15 respectively, and the preset threshold ratio is 30%. Since the difference of 55 between the data volume 70 of the first array and the data volume 15 of the second array is greater than 30, it is determined that the waveform corresponding to the sampling window is a typical waveform, and the first CP voltage value is determined to be 9V.
[0054] In one implementation, when the difference between the first array and the second array is less than the first threshold, the first CP voltage value can be set to the previous value, and a data label is added to mark that the first CP voltage value is a filled value based on historical data.
[0055] The charging control module 123 is used to control the charging service process according to the first CP voltage value. Among them, when the first CP voltage value is 6V, it is determined that charging is in progress; when the first CP voltage value is 9V, it is determined that a connection has been established with the vehicle but charging has not started yet; when the first CP voltage value is 12V, it is determined that the current is in the standby state; when the first CP voltage value is a null value, it is determined that there is a fault with the charging pile.
[0056] In one implementation, the charging control module 123 can also perform statistical analysis on the first CP voltage value with a data label added to determine whether there is an abnormality.
[0057] In one example, it is possible to evaluate whether there is a device signal failure by accumulating the number of data tags within a statistical period and determining whether the cumulative amount of data tags is greater than a second threshold. When the cumulative amount is greater than the second threshold, it is evaluated as a device signal failure. Among them, the statistical period is a period specifically used for analyzing data tag anomalies based on historical settings, and one statistical period includes at least three sampling periods; the second threshold can be updated according to the statistical analysis results of historical data.
[0058] In another example, it is possible to evaluate whether there is a device signal failure based on the addition time of data tags. When the number of consecutive data tags with the addition time is greater than a third threshold, it is evaluated as a device signal failure, that is, when continuously receiving multiple first CP voltage values generated based on padding values, it can be evaluated as a device signal failure.
[0059] In one implementation, the charging control module 123 can also determine whether there is a CP failure based on whether the data volume of array 4 (i.e., the number of noise voltage values) is greater than a fourth threshold. Specifically, when the number of noise voltage values is greater than the fourth threshold and continues to exceed a preset number of sampling periods, it is determined that there is a CP failure, that is, faults such as short circuit, open circuit, and abnormal voltage may occur. In one example, the preset number is 3, that is, when the number of noise voltage values in three consecutive periods is greater than the fourth threshold, it can be directly determined that there is a CP failure.
[0060] In some implementations of the present application, the charging control module 123 can also determine whether there is a CP failure based on the switching frequency of the service status.
[0061] Specifically, after the charging control module 123 receives each first CP voltage value, it determines whether the service status has changed according to the change of the first CP voltage value, and determines whether there is a CP anomaly according to the cumulative value of the number of service status switches within the monitoring period.
[0062] In one implementation, please refer to Figure 5 , the method for the charging control module 123 to monitor CP anomalies based on the service status specifically includes the following steps.
[0063] S510, start a counter within the monitoring period.
[0064] In the implementation, a counter can be created first, and at the beginning of each monitoring period, the counter is cleared and counting starts again. Among them, the monitoring period is obtained based on historical data analysis or set by the user. Generally speaking, the monitoring period is greater than the sampling period. In one example, the monitoring period can be set to 1 s.
[0065] S520, determine the current service status based on the received first CP voltage value.
[0066] S530, update the counter according to the current service status and the previous service status.
[0067] In implementation, the way to update the counter includes that when the current first CP voltage value is equal to the previous first CP voltage value, that is, when the current service status is the same as the previous service status, the value of the counter remains unchanged; otherwise, the counter is incremented by 1.
[0068] S540, after the monitoring period ends, determine whether the CP status is stable according to the value of the counter and record the corresponding CP status switching value into the status array.
[0069] In implementation, when the value of the counter is greater than the first anomaly threshold, it is determined that the CP status is unstable; when the value of the counter is less than the second anomaly threshold, it is determined that the CP status is stable; when the value of the counter is greater than or equal to the second anomaly threshold and less than or equal to the first anomaly threshold, the original CP status is maintained. Among them, the first anomaly threshold is greater than the second anomaly threshold, and both are obtained based on historical data analysis or user settings.
[0070] The status array is used to record all CP status switching values of the target charging pile after startup.
[0071] In the case where it is determined that the CP status is unstable, step S550 is executed; in the case where it is determined that the CP status is stable, no subsequent processing is required.
[0072] It can be understood that when the counting of one monitoring period is completed, the counter will be cleared and enter the next monitoring period for counting.
[0073] S550, analyze the status array to determine whether there is a CP anomaly.
[0074] In implementation, when executing this step, the last three recorded CP status switching values in the status array can be obtained, that is, taking the monitoring period corresponding to step S540 as the reference, obtaining the CP status switching values corresponding to the two previous historical monitoring periods, that is, obtaining the CP status switching values of the latest three consecutive monitoring periods, and determining a CP anomaly when all three CP status switching values indicate an unstable status.
[0075] In another implementation, CP anomaly monitoring can also be implemented based on a circular array, thereby further improving the monitoring accuracy and real-time performance.
[0076] Specifically, the charging control module 123 can first create a circular array for storing CP status switching values. Among them, the length of the circular array is a preset value. In one example, the length of the circular array can be 1000, for the CP status switching values corresponding to 1000 consecutive sampling periods.
[0077] Then, determine the CP state switching value based on the first CP voltage value corresponding to each sampling period and update it to the circular array. In this way, the circular array can record the CP state switching values within the most recent 1 s. The setting method of the CP state switching value is as follows: if the current first CP voltage value is different from the previous CP voltage value, set the CP state switching value to 1; if they are the same, set it to 0.
[0078] Meanwhile, after each update of the circular array, sum up all the CP state switching values in the circular array and determine whether the CP state is stable according to the calculation result. Among them, when the calculation result is greater than the first abnormal threshold, it is determined that the CP state is unstable; when the calculation result is less than the second abnormal threshold, it is determined that the CP state is stable; when the calculation result is greater than or equal to the second abnormal threshold and less than or equal to the first abnormal threshold, the original CP state is maintained.
[0079] Update the duration corresponding to the current CP state. If the current CP state is the same as the previous CP state, update the timer and accumulate the duration; if they are different, clear the timer and start timing again. In this way, through the update of the timer, the duration of the same CP state can be obtained.
[0080] When the duration recorded by the timer is greater than the preset duration, determine whether the CP is abnormal based on the corresponding CP state.
[0081] Specifically, when the CP state is unstable and lasts for more than the preset duration, it is determined that the CP has a fault; when the CP state is stable and lasts for more than the preset duration, it is determined that the CP is normal. The preset duration is obtained based on historical data analysis. In one example, the preset duration can be 3 s.
[0082] Based on the above method, the charging control module 123 can achieve real-time monitoring of the CP state, and thus take corresponding countermeasures. For example, when it is determined that the CP is abnormal, a warning message can be sent or charging can be stopped.
[0083] S220, calculate the second CP voltage value based on a preset algorithm for the array statistical data.
[0084] Among them, the platform can calculate the second CP voltage based on the received array statistical data. The algorithm used to calculate the second CP voltage value is the same as the algorithm used to calculate the first CP voltage value, which will not be elaborated here.
[0085] S230, compare the first voltage value with the second voltage value.
[0086] In implementation, it is possible to compare whether the magnitudes of the first voltage value and the second voltage value are the same. When the first CP voltage value is the same as the second CP voltage value, step S241 is executed; otherwise, step S242 is executed.
[0087] S241, determine the first service status according to the second CP voltage value.
[0088] In implementation, when the second voltage value calculated by the platform is the same as the received first voltage value, it can be determined that the statistical information sent by the target charging pile is real data, that is, the data sent by the target charging pile to the platform has not been tampered with. Therefore, further analysis and processing can be carried out.
[0089] In implementation, the method of determining the first service status according to the second CP voltage value includes: when the second CP voltage is 6V, determining that the first service status is charging; when the second CP voltage is 9V, determining that the first service status is connected and waiting for charging; when the second CP voltage is 12V, determining that the first service status is standby; when the first CP voltage value is a null value, determining that the first service status is CP failure.
[0090] S242, determine that there is a risk with the target charging pile and feedback that the PWM signal point statistical information has been tampered with.
[0091] When the second CP voltage value is not the same as the first CP voltage value, it indicates that there is a risk of tampering with the array data or the first CP voltage value in the statistical information. The platform can generate a corresponding risk warning message to remind the operation and maintenance personnel to eliminate the risk.
[0092] S250, obtain the second service status of the target charging pile displayed on the platform.
[0093] S260, match the first service status with the second service status.
[0094] Among them, the second service status is automatically generated by the platform according to the status parameters sent by the target charging pile or the user operation data.
[0095] In implementation, each charging pile will send status parameters to the platform according to the factory protocol standard, including but not limited to the charging pile status information and the charging process data. The platform can directly determine the current operating status of the target charging pile according to the status data sent by the target charging pile, and record and display it for the operation and maintenance personnel in the background to obtain the real-time status of the target charging pile.
[0096] In addition, in some other types of regulatory platforms, the second service status of the target charging pile can also be determined according to the operation data input by the user. For example, the second service status of the target charging pile can be set according to the user's payment information. When the user completes the payment, the second service status of the target charging pile can be directly set to charging. When the cumulative charging amount reaches the paid amount, the second service status is set to charging completed. Based on this, it is possible to facilitate the platform to lock the service of the target charging pile and avoid the target charging pile being repeatedly reserved or illegally occupied due to problems such as data interaction delay.
[0097] However, since these status data are sent based on protocol standards, they are easy to be recognized and cracked, and thus there is a risk of being tampered with. Similarly, since there is a risk of being attacked during the interaction process between the user and the platform, the payment information may also have the problem of being tampered with.
[0098] Based on this, by matching the first service status with the second service status, it is possible to identify whether the second service status is the real status, that is, to determine whether the data used to determine the second service status has been tampered with, or whether the platform has been attacked.
[0099] In the case where the first service status does not match the second service status, step S271 is executed; in the case of a match, step S272 is executed.
[0100] Among them, the first service status matching the second service status includes the two being the same, or the second service status including the first service status. It is specifically set according to the description method of the service status by the platform.
[0101] S271, determine that there is a risk for the target charging pile and feedback that the user operation information has been forged.
[0102] S272, determine that the current service status of the target charging pile is normal.
[0103] Based on the technical solutions provided in the above embodiments, the charging pile supervision platform can quickly identify whether the target charging pile or the platform has been illegally attacked by performing simple data processing and analysis based on the PWM signal point statistical information sent by the target charging pile and the second service status displayed by the platform, and can accurately locate the attacked target to assist the operation and maintenance personnel to quickly eliminate the anomalies, thereby improving the security and reliability of the platform and the target charging pile. At the same time, since the statistical information of the PWM signal points includes array data and the first CP voltage value, and these data are not fixed, relatively messy and irregular, and the preset algorithm is pre-fixed locally, even if the statistical information is intercepted, the law cannot be obtained from it, and thus it cannot be utilized.
[0104] In addition, the target charging pile provided by the embodiment of the present application can determine the CP voltage value based on the statistical processing of PWM signal points. Moreover, the determination process is not only fast, but also the determined CP voltage value is more accurate and reliable, thus avoiding related incorrect operations caused by misidentification of the CP voltage value in the target charging pile, ensuring the safety of the charging service process. At the same time, during the process of determining the CP voltage value, a CP fault can be identified. In this way, the fault can be dealt with in a timely manner, ensuring the safe and stable operation of the target charging pile.
[0105] In addition, the embodiment of the present application also provides an electronic device, which includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor. When the program or instruction is executed by the processor, it implements the method in any one of the implementation manners in the embodiment of the present application. Among them, the processor can adopt a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), a graphics processing unit (GPU), or one or more integrated circuits, and is used to execute relevant programs to implement the method in any one of the implementation manners in the embodiment of the present application.
[0106] The processor can also be an integrated circuit electronic device with signal processing capabilities. During the implementation process, each step of the method in any one of the implementation manners in the embodiment of the present application can be completed by the integrated logic circuit in the hardware of the processor or the instruction in the form of software.
[0107] The above-mentioned processor can also be a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiment of the present application. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiment of the present application can be directly embodied as being executed and completed by the hardware decoding processor, or executed and completed by the combination of the hardware and software modules in the decoding processor.
[0108] The software module may be located in mature storage media in the art such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers, etc. This storage medium is located in the memory, and the processor reads the information in the memory and combines its hardware to complete the functions required to be executed by the units included in the data processing device of the embodiments of the present application, or executes the methods in any implementation manner of the embodiments of the present application.
[0109] Those skilled in the art can understand that all or part of the steps in implementing the above embodiments of the method can be completed by instructing relevant hardware through a program. This program is stored in a storage medium and includes several instructions to enable a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the methods of various embodiments of the present invention. The foregoing storage medium includes: various media that can store program codes such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs.
[0110] The above are all preferred embodiments of the present application. Without limiting the protection scope of the present application accordingly, therefore, any equivalent changes made according to the structure, shape, and principle of the present application shall be covered within the protection scope of the present application.
Claims
1. A charging service process risk assessment method, characterized in that: The method is applied to a charging pile supervision platform, and the method comprises the steps of: Receive PWM signal point statistical information reported by a target charging pile, wherein the statistical information includes array statistical data and a first CP voltage value, and the first CP voltage value is calculated by the target charging pile based on a preset algorithm on the array statistical data; Calculating the array statistical data based on the preset algorithm to obtain a second CP voltage value; When the first CP voltage value is the same as the second CP voltage value, determining a first service state according to the second CP voltage value; Obtaining a second service status of the target charging pile displayed on the platform; wherein the second service status is automatically generated by the platform according to the status parameters or user operation data sent by the target charging pile; The first service status is matched with the second service status, and when the first service status does not match the second service status, it is determined that the target charging pile has a risk.
2. The method according to claim 1, characterized in that The method further comprises: When the first CP voltage value is different from the second CP voltage value, it is determined that there is a risk in the target charging pile.
3. The method according to claim 1, characterized in that The calculating the array statistical data based on the preset algorithm to obtain the second CP voltage value includes: Calculate the total data volume based on the data volume corresponding to each array in the array statistical data; Calculating a first threshold based on the total data volume and a preset threshold ratio; Sort the data in descending order according to the data amount corresponding to each of the arrays, and calculate the data amount difference between the first array and the second array; When the difference is greater than or equal to the first threshold, the second CP voltage value is determined according to an array feature corresponding to the first bit array.
4. A charging pile supervision platform, characterized in that: The platform performs risk assessment on the charging service process based on the method described in any one of claims 1 to 3.
5. A charging pile, characterized in that: The charging pile includes a signal acquisition module, a signal processing module and a charging control module; wherein, The signal acquisition module is used to collect PWM signal points based on a sampling period and a sampling window, convert each PWM signal point into a voltage value, and send each voltage value to the signal processing module; The signal processing module is used to receive each of the voltage values, create multiple arrays according to preset rules and configure array features for each of the arrays; store each of the voltage values in a corresponding array according to a matching relationship between each of the voltage values and the array features, count the number of voltage values in each of the arrays as the data volume of the array; determine a first CP voltage value based on a preset algorithm and the data volume of each of the arrays, and send it to the charging control module; The charging control module is used to control the charging service process according to the first CP voltage value; The charging control module is also used to determine whether there is a CP fault according to the number of noise point voltage values, including: When it is determined that the number of the noise voltage values is greater than the fourth threshold and lasts for more than a preset number of sampling cycles, it is determined that a CP failure exists.
6. The charging pile according to claim 5, characterized in that: The determining of the first CP voltage value based on a preset algorithm and the amount of data in each array comprises: Calculate the total data volume based on the data volume corresponding to each of the arrays; Calculating a first threshold based on the total data volume and a preset threshold ratio; Sort the data in descending order according to the data amount corresponding to each of the arrays, and calculate the data amount difference between the first array and the second array; When the difference is greater than or equal to the first threshold, the first CP voltage value is determined according to an array feature corresponding to the first bit array.
7. The charging pile according to claim 6, characterized in that: The determining of the first CP voltage value based on a preset algorithm and the amount of data in each of the arrays further includes: When the difference is less than the first threshold, the first CP voltage value is set to the last value and a data tag is added; the data tag is used to mark the first CP voltage value as a fill value based on historical data; the charging control module is further used to determine whether there is an abnormality based on the data tag, including: Accumulate the number of data tags within a statistical period, and determine whether the accumulated number of data tags is greater than a second threshold. When the accumulated number is greater than the second threshold, it is evaluated as a device signal failure; or, The adding time of each of the data tags is obtained, and it is determined according to the adding time whether there is a situation where the number of data tags with consecutive adding times is greater than a third threshold value. If so, it is evaluated as a device signal failure.
8. The charging pile according to claim 5, characterized in that: The charging control module is also used to monitor CP abnormality based on the service status, including: Start the counter during the monitoring period; determining a current service state based on the received first CP voltage value; Updating the counter according to the current service status and the last service status; After the monitoring period ends, determining whether the CP state is stable according to the value of the counter and recording the corresponding CP state switching value into the state array; When it is determined that the CP state is unstable, analyzing the state array to determine whether there is a CP abnormality; or, Create a circular array for storing CP state switching values, determine the CP state switching value each time the first CP voltage value is received, update the value to the circular array, and perform a sum calculation on the updated circular array to determine whether the CP state is stable based on the calculation result; if the duration of the CP state instability is greater than a preset duration, determine that the CP is abnormal.
9. An electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction implements the method according to any one of claims 1 to 3 when executed by the processor.
Citation Information
Patent Citations
Charging control guidance method used for electric vehicle alternating current charging pile
CN104037841A