Anomaly detection method, device, electronic device and storage medium
By obtaining the operating status and gun line status data of the charging pile for abnormal detection, and recording the gun line environment video using the video acquisition device, the problem of the stolen or damaged DC charging pile gun line is solved, and efficient abnormal detection and maintenance costs are reduced, improving the user experience.
Patent Information
- Application Number
- CN202510580135.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-07
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2045-05-07
AI Technical Summary
The gun lines of the DC charging pile are easily stolen or damaged, resulting in high equipment maintenance costs and poor user experience. The existing anti-theft measures have high false alarm rates and low intelligence.
By obtaining the current operating status and gun line status data of the charging pile, abnormality detection is performed, the gun line environment video is recorded using the video acquisition device and abnormality prompt signal is sent, and the pressure, acceleration and displacement data are collected by the sensor module for matching processing to identify gun line abnormalities.
Effectively prevent the DC charging pile gun line from being stolen or damaged, reduce maintenance costs, improve the effectiveness of storage resource utilization, reduce the risk of missing key evidence when manually reviewing and recording videos, and improve user experience.
Smart Images

Figure CN120096374B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of charging piles, and in particular, to an anomaly detection method, device, electronic device, and storage medium. Background Art
[0002] Currently, the charging gun cable of a DC charging pile is prone to theft or damage, resulting in high equipment maintenance costs and poor user experience. Existing anti-theft measures are mostly mechanical locks or simple alarm devices, which have problems such as high false alarm rates and low intelligence levels. Summary of the Invention
[0003] In view of the above existing technical problems, the present disclosure provides an anomaly detection method, device, electronic device, and storage medium.
[0004] According to one aspect of the embodiments of the present disclosure, an anomaly detection method is provided. The method includes:
[0005] Obtain the current operating state of the target charging pile; the current operating state of the pile includes an unauthorized use state;
[0006] When the target charging pile is in the unauthorized use state, obtain the current gun cable state data corresponding to the target charging pile, where the current gun cable state data is used to indicate the current operating state of the gun cable of the target charging pile;
[0007] Based on the current gun cable state data, perform anomaly detection on the gun cable of the target charging pile to obtain a target gun cable detection result;
[0008] When the target gun cable detection result indicates that there is an anomaly in the gun cable of the target charging pile, control the video acquisition device corresponding to the target charging pile to record the recorded gun cable environment video corresponding to the target charging pile, and send an anomaly prompt signal to the target operation and maintenance terminal.
[0009] Optionally, the current gun cable state data includes current pressure data, current acceleration data, and current displacement data; the performing anomaly detection on the gun cable of the target charging pile based on the current gun cable state data to obtain a target gun cable detection result includes:
[0010] Perform a matching process on the current pressure data and the preset pressure threshold data to obtain a pressure matching result;
[0011] Perform a matching process on the current acceleration data and the preset acceleration threshold data to obtain an acceleration matching result;
[0012] Perform a matching process on the current displacement data and the preset displacement threshold data to obtain a displacement matching result;
[0013] Determine the target gun line detection result based on the pressure matching result, the acceleration matching result, and the displacement matching result.
[0014] Optionally, the determining the target gun line detection result based on the pressure matching result, the acceleration matching result, and the displacement matching result includes:
[0015] When the pressure matching result, the acceleration matching result, or the displacement matching result belongs to the target matching result, determine that the target gun line detection result is the first detection result; the target matching result is used to indicate that the corresponding state data matches the corresponding threshold data, and the first detection result is used to indicate that the gun line of the target charging pile is in an abnormal state;
[0016] Or,
[0017] When the pressure matching result, the acceleration matching result, and the displacement matching result do not belong to the target matching result, determine that the target gun line detection result is the second detection result; the second detection result is used to indicate that the gun line of the target charging pile is in a normal state.
[0018] Optionally, the method further includes:
[0019] When it is detected that the power supply of the charging gun corresponding to the target charging pile is disconnected, perform an operation of supplying power from the backup power supply, so that the backup power supply of the charging gun corresponding to the target charging pile supplies power to the sensor module. The sensor module is used to collect the current gun line state data and transmit the current gun line state data to the target charging pile. The backup power supply of the charging gun corresponding to the target charging pile is arranged in the charging gun corresponding to the target charging pile.
[0020] Optionally, the sensor module includes a first sensor sub-module and a plurality of second sensor sub-modules. The first sensor sub-module is arranged in the charging gun corresponding to the target charging pile, and the plurality of second sensor sub-modules are respectively arranged at different positions of the charging cable corresponding to the target charging pile.
[0021] Optionally, the method further includes:
[0022] When a signal transmission interruption signal sent by the target charging pile is received, determine that the target gun line detection result is the first detection result; the signal transmission interruption signal is used to indicate that the target charging pile detects that the temperature signal transmission of the temperature sensor of the charging gun of the target charging pile stops, and the first detection result is used to indicate that the gun line of the target charging pile is in an abnormal state.
[0023] Optionally, the method further includes:
[0024] Based on a preset damage recognition model, perform gun line damage recognition on the recorded gun line environment video to obtain the gun line damage recognition result corresponding to the target charging pile;
[0025] Send the gun line damage recognition result and the recorded gun line environment video to the target operation and maintenance terminal.
[0026] Optionally, the method further includes:
[0027] Receive a real-time video acquisition instruction sent by a target terminal;
[0028] Based on the video acquisition device, acquire a real-time gun line environment video and transmit the real-time gun line environment video to the target terminal in real time to display the real-time gun line environment video on the target terminal in real time.
[0029] According to another aspect of the embodiments of the present disclosure, there is provided an anomaly detection device, the device includes:
[0030] A pile status acquisition module, configured to acquire the current pile operation status of a target charging pile; the current pile operation status includes an unauthorized use status;
[0031] A status data acquisition module, configured to acquire the current gun line status data corresponding to the target charging pile when the target charging pile is in the unauthorized use status, and the current gun line status data is used to indicate the current operation status of the gun line of the target charging pile;
[0032] An anomaly detection module, configured to perform anomaly detection on the gun line of the target charging pile based on the current gun line status data to obtain a target gun line detection result;
[0033] An execution module, configured to control the video acquisition device corresponding to the target charging pile to acquire the recorded gun line environment video corresponding to the target charging pile and send an anomaly prompt signal to the target operation and maintenance terminal when the target gun line detection result indicates that there is an anomaly in the gun line of the target charging pile.
[0034] According to another aspect of the embodiments of the present disclosure, there is provided an electronic device, including: a processor; a memory for storing instructions executable by the processor; wherein, the processor is configured to execute the instructions to implement the above anomaly detection method.
[0035] According to another aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, when the instructions in the storage medium are executed by the processor of an electronic device, enabling the electronic device to execute the above anomaly detection method.
[0036] The technical solutions provided by the embodiments of the present disclosure at least bring the following beneficial effects:
[0037] By obtaining the current operating state of the target charging pile, the detection of the current operating state of the target charging pile can be achieved. When the target charging pile is in an unauthorized use state, the current cable state data corresponding to the target charging pile is obtained. The current cable state data is used to indicate the current state of the cable of the target charging pile, so that the acquisition of the relevant data of the current state of the cable of the target charging pile can be realized when the charging pile is in an unauthorized use state. Then, in combination with the current cable state data, the cable of the target charging pile is subjected to abnormal detection to obtain the target cable detection result, so that the abnormal detection of the cable of the target charging pile can be realized. Next, when the target cable detection result indicates that there is an abnormality in the cable of the target charging pile, the video acquisition device corresponding to the target charging pile is controlled to record the video of the cable environment corresponding to the target charging pile, and an abnormal prompt signal is sent to the target operation and maintenance terminal, and the video of the cable environment is sent to the target operation and maintenance terminal, which can timely remind the operation and maintenance personnel, effectively prevent the theft or damage of the DC charging pile cable under the unauthorized use state, reduce the maintenance cost, improve the utilization effectiveness of the storage resources, improve the data effectiveness of the recorded cable environment video, avoid the risk of missing key evidence when manually reviewing the video, and then improve the user experience and enhance the system practicability.
[0038] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. Description of the Drawings
[0039] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure, and do not constitute an improper limitation to the present disclosure.
[0040] Figure 1 is a block diagram of a target charging pile shown according to an exemplary embodiment;
[0041] Figure 2 is a flowchart of an abnormal detection method shown according to an exemplary embodiment;
[0042] Figure 3 is a block diagram of an abnormal detection device shown according to an exemplary embodiment;
[0043] Figure 4 is a block diagram of an electronic device for realizing the abnormal detection of the cable of a target charging pile shown according to an exemplary embodiment;
[0044] Figure 5 is a block diagram of another electronic device for realizing the abnormal detection of the cable of a target charging pile shown according to an exemplary embodiment. Detailed Embodiments
[0045] Various exemplary embodiments, features, and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numerals in the drawings denote elements having the same or similar functions. Although various aspects of the embodiments are shown in the drawings, the drawings do not have to be drawn to scale unless otherwise specified.
[0046] The term "exemplary" used herein means "serving as an example, embodiment, or illustration". Any embodiment described herein as "exemplary" does not have to be construed as superior to or better than other embodiments.
[0047] In addition, for a better description of the present application, numerous specific details are given in the following detailed implementation manners. Those skilled in the art should understand that the present application can also be implemented without some specific details. In some instances, methods, means, elements, and circuits well known to those skilled in the art are not described in detail so as to highlight the gist of the present application.
[0048] Please refer to Figure 1 , Figure 1 which is a block diagram of a target charging pile shown according to an exemplary embodiment. Specifically, as Figure 1 shown, the target charging pile may include a controller, a first communication module, a gun line corresponding to the target charging pile, a sensor module, an alarm module, and a video acquisition device. Among them, the controller can be used to implement the above-mentioned anomaly detection method. The first communication module can be used to receive or send data, such as an anomaly prompt signal, a real-time gun line environment video, or a recorded gun line environment video, etc.; specifically, the first communication module can transmit data through a wireless signal. The alarm module may include an audible and visual alarm. The video acquisition device can be used to collect video data of the gun line of the target charging pile and its surrounding environment. The video acquisition device can adopt a 1080P resolution, support night vision and wide-angle shooting, and is installed on the top of the target charging pile to cover the gun line and the surrounding area; the storage device of the video acquisition device selects a 64GB SD card and supports loop recording. Further, a sensor module may be provided on the gun line corresponding to the target charging pile; the sensor module can be used to collect and transmit the current gun line state data of the charging pile gun line. The sensor module may be disposed inside the gun line of the target charging pile. The sensor module may include a built-in communication unit; the above-mentioned built-in communication unit can be used to transmit the collected current gun line state data to the first communication module of the target charging pile, so that the above-mentioned current gun line state data can be transmitted to the controller of the target charging pile through the first communication module. Specifically, communication between the communication unit and the first communication module can be achieved through a wired signal or a wireless signal. Optionally, when the wired communication between the communication unit and the first communication module is disconnected, communication between the two can be achieved through a wireless signal.
[0049] In a specific embodiment, the sensor module may include a first sensor sub-module and a plurality of second sensor sub-modules. The first sensor sub-module may be disposed on the charging gun corresponding to the target charging pile; the plurality of second sensor sub-modules may be respectively disposed at different positions of the charging cable corresponding to the target charging pile. Among them, the first sensor sub-module may include a pressure sensor, a displacement sensor, and an acceleration sensor; any one of the second sensor sub-modules may include one or more of a pressure sensor, a displacement sensor, and an acceleration sensor. Exemplarily, the number of the second sensor sub-modules may be at least three, two of the second sensor sub-modules may be disposed at both ends of the charging cable, and the remaining second sensor sub-modules may be disposed in the middle of the charging cable, and the cross-sectional positions of the cables where the setting positions of each second sensor sub-module are located are all different. Further, each sensor may be built-in with a communication unit; each sensor may send data through the communication unit.
[0050] In the above embodiment, by setting the above sensor module on the gun line, and the multiple sensor sub-modules in the sensor module can be set at different positions in the gun line, it is possible to collect the pressure data, acceleration data, and displacement data at different positions of the gun line, thereby improving the accuracy of abnormal recognition of the gun line of the target charging pile.
[0051] In a specific embodiment, the target charging pile may include a charging gun backup power supply, and the above backup power supply may be disposed in the charging gun of the target charging pile. The above charging gun backup power supply may be used to supply power to the sensor module when the power supply from the target charging pile to the charging gun is disconnected. Among them, the charging gun backup power supply may be electrically connected to the sensor module. Specifically, when the cable of the charging pile is normally powered (i.e., no abnormality such as the cable being cut occurs), the sensor module in the charging gun can be powered by the charging pile, and the charging gun backup power supply may not supply power (such as the switch between the charging gun backup power supply and the sensor module is disconnected); when the cable of the charging pile cannot be normally powered (such as an abnormality such as the cable being cut occurs), that is, at this time the charging pile cannot supply power to the sensor module, the charging gun backup power supply can supply power (it can be detected that the power supply of the charging gun is disconnected, and the switch between the charging gun backup power supply and the sensor module is controlled to close, so that the charging gun backup power supply supplies power to the sensor module).
[0052] In a specific embodiment, the charging gun backup power supply and the sensor module may be connected through a normally closed relay; the charging pile may output a control signal through the charging cable and connect it to the coil of the relay; when the charging cable of the charging pile is normally powered, the coil of the relay is energized and the relay is disconnected; when the charging cable of the charging pile is disconnected and cannot be normally powered, the coil of the relay is not energized and the relay is closed, and the charging gun backup power supply can supply power to the sensor module.
[0053] In a specific embodiment, when the disconnection position of the charging cable is between any two sensor sub-modules, the backup power supply of the charging gun can supply power to at least one sensor sub-module in the charging cable segment of the part connected to the charging gun; when there is at least one sensor sub-module in the charging cable segment of the part connected to the target charging pile, the target charging pile can supply power to at least one sensor sub-module existing in the charging cable segment of the part connected to the target charging pile.
[0054] In the above embodiment, by setting a backup power supply in the charging gun, the power supply of the sensors in the cable segment connected to the charging gun after the charging cable is cut can be realized, the acquisition of pressure data, acceleration data and displacement data for the cable segment connected to the charging gun can be realized, and thus the accuracy of abnormal recognition of the gun line of the target charging gun can be improved.
[0055] In a specific embodiment, as Figure 1 shown, the target charging pile may further include a locking mechanism. The locking mechanism can be used to prevent the user from pulling out the gun line of the target charging pile without authorization; the locking mechanism can include an electromagnetic lock or a mechanical lock. It can be understood that there are some charging piles that can be equipped with a locking mechanism (such as public charging piles, etc.), and there are also some charging piles that are not equipped with a locking mechanism (such as home charging piles, etc.).
[0056] In a specific embodiment, the above abnormal detection method can also be implemented by an abnormal detection device. Among them, the abnormal detection device can include a second communication module, and signal transmission can be realized through the second communication module in the abnormal detection device and the first communication module in the target charging pile, thereby implementing the above abnormal detection method. Specifically, the second communication module can transmit data through wireless signals.
[0057] Specifically, Figure 2 is a flowchart of an abnormal detection method shown according to an exemplary embodiment. As Figure 2 shown, this abnormal detection method can be used in electronic devices such as terminals or servers, and specifically may include the following steps:
[0058] S201: Obtain the current operating state of the target charging pile.
[0059] In a specific embodiment, the current operating state of the current pile may include an unauthorized use state or an authorized use state. Among them, the unauthorized use state may refer to the state where the user is not authorized to use the target charging pile; the authorized use state may refer to the state where the user is authorized to use the target charging pile to achieve charging. It can be understood that when the target charging pile is in the unauthorized use state and if the target charging pile includes a locking mechanism, the locking mechanism is in the locked state, and at this time, the gun line cannot be taken out normally; for the target charging pile without a locking mechanism, the gun line can be taken out from the charging pile or the vehicle charging port when the target charging pile is in the unauthorized use state or the authorized use state; when the target charging pile is in the authorized use state, the locking mechanism is in the unlocked state, and at this time, the user can take out the gun line to charge.
[0060] In a specific embodiment, when the target charging pile is in the unauthorized use state, the step of obtaining the current gun line state data corresponding to the target charging pile is executed. Correspondingly, based on the current gun line state data, the gun line of the target charging pile can be abnormally detected to obtain the target gun line detection result. Thus, when the target gun line detection result indicates that the gun line of the target charging pile is abnormal, the video acquisition device corresponding to the target charging pile can be controlled to record the recorded gun line environment video corresponding to the target charging pile, and an abnormal prompt signal can be sent to the target operation and maintenance terminal.
[0061] In the above embodiment, when the target charging pile is in the unauthorized use state, obtaining the current gun line state data corresponding to the target charging pile can avoid false triggering of the abnormal detection of the gun line due to the normal use of the gun line by the user, and thus can improve the accuracy of the abnormal detection of the gun line.
[0062] S203: Obtain the current gun line state data corresponding to the target charging pile.
[0063] In a specific embodiment, the current gun line state data can be used to indicate the current operating state of the gun line of the target charging pile. Among them, the gun line of the target charging pile can be used to realize the connection between the target charging pile and the vehicle. The gun line of the target charging pile can include the charging gun of the target charging pile and the charging cable connected to the above charging gun. Specifically, the current gun line state data can include the current pressure data, the current acceleration data, and the current displacement data.
[0064] In a specific embodiment, the current pressure data can reflect the external force currently exerted on the gun line of the target charging pile. The current pressure data can include charging gun pressure data or cable pressure data. The charging gun pressure data can refer to the pressure data between the charging gun of the target charging pile and the charging gun interface of the target charging pile. The cable pressure data can refer to the pressure data of the charging cable of the target charging pile. When the gun line is subjected to external force extrusion or pulling, the semiconductor strain gauge inside the pressure sensor will deform due to the external force, resulting in a change in its resistance value, and the resistance change will be converted into a voltage signal output. It can be understood that when the gun line is pulled, squeezed or sheared, the pressure sensors near the stress point (such as the pressure sensors near the stress point inside the cable or the pressure sensors inside the charging gun) can detect abnormal changes in the contact pressure. Secondly, the external force may cause structural deformation, indirectly causing changes in the pressure signal of the pressure sensor.
[0065] In a specific embodiment, the current acceleration data can reflect the movement of the gun line of the target charging pile. The current acceleration data can include charging gun acceleration data or cable acceleration data. The charging gun acceleration data can refer to the moving acceleration data of the charging gun of the target charging pile; the cable acceleration data can include multiple local acceleration data. Any local acceleration data can characterize the moving acceleration of the local part of the cable where the corresponding acceleration sensor is currently located. When the gun line is subjected to an external force impact, the piezoelectric element inside the acceleration sensor deforms due to inertia, the positive and negative charge centers undergo relative displacement, generating a potential difference, and outputting a voltage signal proportional to the acceleration.
[0066] In a specific embodiment, the current displacement data can reflect the movement of the gun line of the target charging pile. The current displacement data can include charging gun displacement data or cable displacement data. The charging gun displacement data can be the relative displacement data between the charging gun of the target charging pile and the charging gun interface of the target charging pile. The cable displacement data can include multiple local displacement data. Any local displacement data can characterize the relative displacement between the current position of the corresponding displacement sensor and its position at the previous moment. Specifically, when the gun line undergoes displacement, the sliding contact of the displacement sensor moves on the resistance rail, causing a change in the resistance value, thereby generating a voltage signal proportional to the displacement, and further reflecting the displacement of the gun line.
[0067] In a specific embodiment, the above method may further include:
[0068] When receiving a signal transmission interruption signal sent by the target charging pile, determining that the target gun line detection result is the first detection result.
[0069] In a specific embodiment, the signal transmission interruption signal can be used to indicate that the target charging pile detects that the temperature signal transmission of the temperature sensor of the charging gun of the target charging pile has stopped. Among them, the charging gun temperature sensor can refer to the temperature sensor built into the charging gun. The temperature sensor can be used to detect the current temperature of the charging gun of the target charging pile in real time and transmit the detected temperature data to the controller of the target charging pile in real time. It should be noted that a temperature sensor can be configured in a common charging gun. The above-mentioned charging gun temperature sensor utilizes the existing temperature sensor in the charging gun, and there is no need to increase the hardware cost.
[0070] Specifically, the charging gun temperature sensor can send a signal containing the current charging gun temperature to the controller of the target charging pile every first preset time interval. Optionally, the above-mentioned first preset time interval can be 10 ms. Correspondingly, the controller of the target charging pile can receive the signal of the current charging gun temperature sent by the above-mentioned charging gun temperature sensor every first preset time interval.
[0071] In a specific embodiment, when the controller of the target charging pile detects that the signal transmission of the charging gun temperature sensor has stopped, it can generate a signal transmission interruption signal. Specifically, when the controller of the target charging pile detects that it has not received the signal of the current charging gun temperature of the charging gun temperature sensor for more than a second preset time interval, it can determine that the signal transmission of the charging gun temperature sensor has stopped. Correspondingly, it can generate a signal transmission interruption signal. Among them, the second preset time interval can be greater than the first preset time interval. Optionally, the second preset time interval can be 2 s.
[0072] In a specific embodiment, the target gun line detection result can be used to indicate whether the gun line of the target charging pile is in an abnormal state. The target gun line detection result can include a first detection result or a second detection result. The first detection result can be used to indicate that the gun line of the target charging pile is in an abnormal state. The second detection result can be used to indicate that the gun line of the target charging pile is in a normal state. It can be understood that when the target gun line detection result is the first detection result, it can be determined that the gun line of the target charging pile may be in a maliciously damaged state.
[0073] In a specific embodiment, when a signal transmission interruption signal sent by a target charging pile is received, it may be due to the gun line being cut, resulting in the interruption of the sensor data communication transmission of the charging gun temperature sensor and being in an abnormal state. It can be determined that the target gun line detection result is the first detection result. Correspondingly, when it is determined that the target gun line detection result is the first detection result, that is, the target gun line detection result indicates that there is an abnormality in the gun line of the target charging pile, the video acquisition device corresponding to the target charging pile can be controlled to record the video of the gun line environment corresponding to the target charging pile, and an abnormal prompt signal can be sent to the target operation and maintenance terminal. That is, an alarm prompt signal can be sent to the target operation and maintenance terminal to prompt the operation and maintenance personnel to check the actual specific situation of the target charging pile.
[0074] In the above embodiment, by determining that the target gun line detection result is the first detection result when a signal transmission interruption signal sent by the target charging pile is received, the abnormal detection of the gun line of the target charging pile can be realized without increasing the hardware cost, thereby improving the accuracy of gun line abnormality, improving the safety of the charging pile gun line, further improving the user experience, and enhancing the practicality of the system.
[0075] S205: Based on the current gun line status data, perform abnormal detection on the gun line of the target charging pile to obtain the target gun line detection result.
[0076] In a specific embodiment, the target gun line detection result can be used to indicate whether the gun line of the target charging pile is in an abnormal state. The target gun line detection result can include a first detection result or a second detection result. The first detection result can be used to indicate that the gun line of the target charging pile is in an abnormal state. The second detection result can be used to indicate that the gun line of the target charging pile is in a normal state.
[0077] In a specific embodiment, the above-mentioned performing abnormal detection on the gun line of the target charging pile based on the current gun line status data to obtain the target gun line detection result may include:
[0078] Perform a matching process on the current pressure data and the preset pressure threshold data to obtain a pressure matching result;
[0079] Perform a matching process on the current acceleration data and the preset acceleration threshold data to obtain an acceleration matching result;
[0080] Perform a matching process on the current displacement data and the preset displacement threshold data to obtain a displacement matching result;
[0081] Based on the pressure matching result, the acceleration matching result, and the displacement matching result, determine the target gun line detection result.
[0082] In a specific embodiment, the pressure matching result can be used to indicate whether the current pressure data matches the preset pressure threshold data. The preset pressure threshold data can refer to the pressure threshold data when the gun line may be subjected to abnormal external forces. Specifically, the preset pressure threshold data can be set according to actual application requirements. The pressure matching result can include a first matching result or a second matching result. The first matching result can be used to indicate that at least one pressure data in the current pressure data exceeds the preset pressure threshold data. The second matching result can be used to indicate that multiple pressure data in the current pressure data do not exceed the preset pressure threshold data.
[0083] In a specific embodiment, the acceleration matching result can be used to indicate whether the current acceleration data matches the preset acceleration threshold data. The preset acceleration threshold data can be used to determine whether there is an impact caused by external force damage to the gun line of the target charging pile. Specifically, the preset acceleration threshold data can be set according to actual application requirements. The acceleration matching result can include a third matching result or a fourth matching result. The third matching result can be used to indicate that at least one acceleration data in the current acceleration data exceeds the preset acceleration threshold data. The fourth matching result can be used to indicate that multiple acceleration data in the current acceleration data do not exceed the preset acceleration threshold data.
[0084] In a specific embodiment, the displacement matching result can be used to indicate whether the current displacement data matches the preset displacement threshold data. The preset displacement threshold data can be used to determine whether there are abnormal movement conditions such as too fast displacement change or exceeding a certain range of the gun line of the target charging pile. Specifically, the preset displacement threshold data can be set according to actual application requirements. The displacement matching result can include a fifth matching result or a sixth matching result. The fifth matching result can be used to indicate that at least one displacement data in the current displacement data exceeds the preset displacement threshold data. The sixth matching result can be used to indicate that multiple displacement data in the current displacement data do not exceed the preset displacement threshold data.
[0085] In a specific embodiment, determining the target gun line detection result based on the pressure matching result, the acceleration matching result, and the displacement matching result may include:
[0086] When the pressure matching result, the acceleration matching result, or the displacement matching result belongs to the target matching result, determining the target gun line detection result as the first detection result;
[0087] Or,
[0088] When the pressure matching result, the acceleration matching result, and the displacement matching result do not belong to the target matching result, determining the target gun line detection result as the second detection result.
[0089] In a specific embodiment, the target matching result can be used to indicate that there is data in the corresponding status data that exceeds the threshold corresponding thereto.
[0090] In a specific embodiment, when the pressure matching result is the first matching result, it can be determined that the pressure matching result belongs to the target matching result; when the acceleration matching result is the third matching result, it can be determined that the acceleration matching result belongs to the target matching result; when the displacement matching result is the fifth matching result, it can be determined that the displacement matching result belongs to the target matching result.
[0091] In a specific embodiment, when the pressure matching result, the acceleration matching result, or the displacement matching result belongs to the target matching result, it can be determined that there is at least one status data in the target cable state data of the target charging pile that exceeds the threshold, and it can be determined that the target cable detection result is the first detection result. It can be understood that when the matching result corresponding to any one of the pressure data, the acceleration data, and the displacement data indicates that the current cable may be abnormal, the target cable detection result can be determined to be the first detection result.
[0092] In a specific embodiment, when the target charging pile includes a locking mechanism, the current cable state data may include current pressure data (which may include cable pressure data or charging gun pressure data), cable acceleration data, and cable displacement data, and the abnormal detection of the cable can be realized through the above current cable state data.
[0093] In a specific embodiment, for a charging pile including a locking mechanism, the obtained charging gun acceleration data and charging gun displacement data may both be empty, or may both be 0; or there may also be acts of theft or damage such as violently damaging the locking mechanism or bypassing the electronic lock system (such as blocking the communication between the charging pile and the gun head lock through an electromagnetic jammer to invalidate the locked state), etc., and then further realizing the theft of the charging pile cable. At this time, since the locking mechanism can no longer be locked normally, during the movement of the charging gun, the charging gun displacement data and the charging gun acceleration data can be collected through the sensors in the charging gun.
[0094] In the above embodiment, by performing matching processing on the current pressure data and the preset pressure threshold data to obtain the pressure matching result, performing matching processing on the current acceleration data and the preset acceleration threshold data to obtain the acceleration matching result, performing matching processing on the current displacement data and the preset displacement threshold data to obtain the displacement matching result, and determining the target cable detection result based on the pressure matching result, the acceleration matching result, and the displacement matching result, the accuracy of the abnormal detection of the cable of the target charging pile can be improved, thereby improving the safety of the charging pile cable, improving the user experience, and enhancing the practicality of the system.
[0095] S207: When the target gun line detection result indicates that the gun line of the target charging pile is abnormal, control the video acquisition device corresponding to the target charging pile to record the video of the recorded gun line environment corresponding to the target charging pile, and send an abnormal prompt signal to the target operation and maintenance terminal.
[0096] In a specific embodiment, the recorded gun line environment video can be the video of the gun line of the target charging pile and its surrounding environment recorded when the abnormality of the gun line is detected. It can be understood that the retention of video data provides strong evidence for subsequent accountability and further enhances the practicability of the system.
[0097] In a specific embodiment, when the target gun line detection result indicates that the gun line of the target charging pile is abnormal, a recording start signal can be sent to the video acquisition device to control the video acquisition device to start recording the video of the target charging pile and its surrounding environment, and obtain the recorded gun line environment video.
[0098] In a specific embodiment, when the target gun line detection result indicates that the gun line of the target charging pile is abnormal, the alarm module can be controlled to give an alarm.
[0099] In a specific embodiment, the target operation and maintenance terminal can be a terminal for operation and maintenance personnel to operate.
[0100] In a specific embodiment, the abnormal prompt signal can be used to prompt the operation and maintenance personnel that the gun line of the target charging pile may be damaged, so as to facilitate the operation and maintenance personnel to further check and confirm. Among them, the abnormal prompt signal can include the charging pile location information corresponding to the target charging pile. Specifically, when the target gun line detection result indicates that the gun line of the target charging pile is abnormal, the charging pile location information of the target charging pile can be obtained from the storage module of the target charging pile, and the abnormal prompt signal carrying the charging pile location information of the target charging pile is sent to the target operation and maintenance terminal. Further, by obtaining the charging pile identification information of the target charging pile and based on the charging pile identification information of the target charging pile, the charging pile location information corresponding to the target charging pile can be determined from the location information of each of the multiple preset charging piles.
[0101] In a specific embodiment, the above method may further include:
[0102] Based on a preset damage recognition model, perform gun line damage recognition on the recorded gun line environment video to obtain the gun line damage recognition result corresponding to the target charging pile;
[0103] Send the gun line damage recognition result and the recorded gun line environment video to the target operation and maintenance terminal.
[0104] In a specific embodiment, a preset damage recognition model can be used to implement gun line damage recognition. The preset damage recognition model can be obtained by training a video processing model to be trained based on a preset training set.
[0105] In a specific embodiment, the preset training set can include multiple sample video data and the corresponding label recognition results for each sample video data. Among them, the multiple sample video data can include video data of various abnormal behavior scenarios (such as violent wire pulling, wire cutting, etc.). Specifically, the multiple sample video data can be input into the video processing model to be trained for gun line damage recognition to obtain the predicted damage recognition results corresponding to each sample video data; based on the predicted damage recognition results corresponding to each sample video data and the label recognition results corresponding to each sample video data, the target loss information can be determined; based on the target loss information, the video processing model to be trained can be trained to obtain a preset damage recognition model.
[0106] In a specific embodiment, the gun line damage recognition result can include a first recognition result or a second recognition result. Among them, the first recognition result can be used to indicate that there is abnormal behavior content in the input recorded gun line environment video. The second recognition result can be used to indicate that there is no abnormal behavior content in the input recorded gun line environment video.
[0107] In a specific embodiment, the recorded gun line environment video can be input into the preset damage recognition model for gun line damage recognition to obtain the gun line damage recognition result corresponding to the target charging pile.
[0108] In a specific embodiment, the gun line damage recognition result and the recorded gun line environment video can be sent to the target operation and maintenance terminal so that the target operation and maintenance terminal can display the gun line damage recognition result and the recorded gun line environment video.
[0109] In a specific embodiment, the gun line damage recognition result and the recorded gun line environment video can be stored in the storage module of the target charging pile.
[0110] In the above embodiment, by using the preset damage recognition model to perform gun line damage recognition on the recorded gun line environment video to obtain the gun line damage recognition result corresponding to the target charging pile, the gun line damage recognition of the recorded gun line environment video can be realized. The gun line damage recognition result and the recorded gun line environment video are sent to the target operation and maintenance terminal, so that the operation and maintenance personnel can quickly know whether there is abnormal behavior content in the recorded gun line environment video, improving the readability of the recorded gun line environment video, thereby improving the user experience and enhancing the system practicality.
[0111] In a specific embodiment, the above method may further include:
[0112] Receive a real-time video acquisition instruction sent by a target terminal;
[0113] Based on a video acquisition device, acquire a real-time video of the gun line environment, and transmit the real-time video of the gun line environment to the target terminal in real time for real-time display of the real-time video of the gun line environment on the target terminal.
[0114] In a specific embodiment, the target terminal may include a target operation and maintenance terminal or a target user terminal. Among them, the target user terminal may refer to a user terminal that uses the above-mentioned target charging pile for charging.
[0115] In a specific embodiment, the real-time video acquisition instruction may be used to instruct the acquisition of a real-time video of the gun line environment. Specifically, the real-time video acquisition instruction may be triggered by a target object performing an instruction trigger operation on the target terminal.
[0116] In a specific embodiment, the target charging pile may be subjected to real-time environmental video acquisition through a video acquisition device to obtain a real-time video of the gun line environment, and the real-time video of the gun line environment is transmitted to the target terminal in real time.
[0117] In the above embodiment, by obtaining the current operating state of the target charging pile, the detection of the current operating state of the target charging pile can be realized. In the case where the target charging pile is in an unauthorized use state, the current gun line state data corresponding to the target charging pile is obtained. The current gun line state data is used to indicate the current state of the gun line of the target charging pile, and the acquisition of data related to the current state of the gun line of the target charging pile in the case where the charging pile is in an unauthorized use state can be realized. Then, in combination with the current gun line state data, an abnormality detection of the gun line of the target charging pile is performed to obtain a target gun line detection result, and the abnormality detection of the gun line of the target charging pile can be realized. Next, in the case where the target gun line detection result indicates that there is an abnormality in the gun line of the target charging pile, the video acquisition device corresponding to the target charging pile is controlled to record the recorded gun line environment video corresponding to the target charging pile, and an abnormality prompt signal is sent to the target operation and maintenance terminal, and the recorded gun line environment video is sent to the target operation and maintenance terminal, which can timely remind the operation and maintenance personnel, effectively prevent the theft or damage of the gun line of the DC charging pile in the unauthorized use state, reduce the maintenance cost, improve the utilization effectiveness of the storage resources, improve the data effectiveness of the recorded gun line environment video, avoid the risk of missing key evidence when manually reviewing the video, and thus improve the user experience and enhance the system practicality.
[0118] Figure 3 It is a block diagram of an abnormality detection device shown according to an exemplary embodiment. Specifically, as Figure 3 shown, the device may include:
[0119] The pile status acquisition module 310 can be used to acquire the current pile operation status of the target charging pile; the current pile operation status includes an unauthorized use status;
[0120] The status data acquisition module 320 can be used to acquire the current gun line status data corresponding to the target charging pile when the target charging pile is in the unauthorized use status, and the current gun line status data is used to indicate the current operation status of the gun line of the target charging pile;
[0121] The abnormality detection module 330 can be used to perform abnormality detection on the gun line of the target charging pile based on the current gun line status data to obtain a target gun line detection result;
[0122] The execution module 340 can be used to control the video acquisition device corresponding to the target charging pile to collect the recorded gun line environment video corresponding to the target charging pile and send an abnormality prompt signal to the target operation and maintenance terminal when the target gun line detection result indicates that there is an abnormality in the gun line of the target charging pile.
[0123] In a specific embodiment, the above-mentioned abnormality detection module 330 may include:
[0124] The first matching module can be used to perform matching processing on the current pressure data and the preset pressure threshold data to obtain a pressure matching result;
[0125] The second matching module can be used to perform matching processing on the current acceleration data and the preset acceleration threshold data to obtain an acceleration matching result;
[0126] The third matching module can be used to perform matching processing on the current displacement data and the preset displacement threshold data to obtain a displacement matching result;
[0127] The detection result generation module can be used to determine the target gun line detection result based on the pressure matching result, the acceleration matching result and the displacement matching result.
[0128] In a specific embodiment, the above-mentioned detection result generation module may include a first result generation module or a second result generation module;
[0129] The first result generation module can be used to determine that the target gun line detection result is the first detection result when the pressure matching result, the acceleration matching result or the displacement matching result belongs to the target matching result; the target matching result is used to indicate that the corresponding status data matches the corresponding threshold data, and the first detection result is used to indicate that the gun line of the target charging pile is in an abnormal state;
[0130] The second result generation module can be used to determine that the target gun line detection result is the second detection result when the pressure matching result, the acceleration matching result, and the displacement matching result do not belong to the target matching result; the second detection result is used to indicate that the gun line of the target charging pile is in a normal state.
[0131] In a specific embodiment, the above device may further include:
[0132] An operation execution module, which can be used to perform a backup power supply operation when it is detected that the power supply of the charging gun corresponding to the target charging pile is disconnected, so that the backup power supply of the charging gun corresponding to the target charging pile supplies power to the sensor module. The sensor module is used to collect the current gun line status data and transmit the current gun line status data to the target charging pile. The backup power supply of the charging gun corresponding to the target charging pile is arranged in the charging gun corresponding to the target charging pile.
[0133] In a specific embodiment, the sensor module may include a first sensor sub-module and a plurality of second sensor sub-modules. The first sensor sub-module may be arranged in the charging gun corresponding to the target charging pile, and the plurality of second sensor sub-modules may be respectively arranged at different positions of the charging cable corresponding to the target charging pile.
[0134] In a specific embodiment, the above device may further include:
[0135] A third result generation module, which can be used to determine that the target gun line detection result is the first detection result when receiving a signal transmission interruption signal sent by the target charging pile; the signal transmission interruption signal is used to indicate that the target charging pile detects that the temperature signal transmission of the temperature sensor of the charging gun of the target charging pile stops, and the first detection result is used to indicate that the gun line of the target charging pile is in an abnormal state.
[0136] In a specific embodiment, the above device may further include:
[0137] A gun line damage recognition module, which can be used to perform gun line damage recognition on the recorded gun line environment video based on a preset damage recognition model to obtain the gun line damage recognition result corresponding to the target charging pile;
[0138] A data sending module, which can be used to send the gun line damage recognition result and the recorded gun line environment video to the target operation and maintenance terminal.
[0139] In a specific embodiment, the above device may further include:
[0140] An instruction receiving module, which can be used to receive a real-time video acquisition instruction sent by the target terminal;
[0141] The real-time transmission module can be used to obtain the real-time video of the gun line environment based on a video acquisition device and transmit the real-time video of the gun line environment to a target terminal in real time to display the real-time video of the gun line environment on the target terminal in real time.
[0142] Regarding the device in the above embodiments, the specific manners in which each module and unit perform operations have been described in detail in the embodiments related to the method, and will not be elaborated here.
[0143] Figure 4 It is a block diagram of an electronic device for implementing abnormal detection of the gun line of a target charging pile according to an exemplary embodiment. The electronic device can be a server, and its internal structure diagram can be as Figure 4 shown. The electronic device includes a processor, a memory, and a network interface connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements an abnormal detection method.
[0144] Figure 5 It is a block diagram of another electronic device for implementing abnormal detection of the gun line of a target charging pile according to an exemplary embodiment. The electronic device can be a terminal, and its internal structure diagram can be as Figure 5 shown. The electronic device includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements an abnormal detection method. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen. The input device of the electronic device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the electronic device, or an external keyboard, touchpad, or mouse, etc.
[0145] Those skilled in the art can understand, Figure 4 or Figure 5The structure shown is only a block diagram of some structures related to the present disclosure solution, and does not constitute a limitation on the electronic device to which the present disclosure solution is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0146] In an exemplary embodiment, an electronic device is further provided, including: a processor; a memory for storing instructions executable by the processor; wherein, the processor is configured to execute the instructions to implement the anomaly detection method as in the embodiments of the present disclosure.
[0147] In an exemplary embodiment, a computer-readable storage medium is further provided. When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can execute the anomaly detection method in the embodiments of the present disclosure.
[0148] In an exemplary embodiment, a computer program product containing instructions is further provided. When it runs on a computer, the computer executes the anomaly detection method in the embodiments of the present disclosure.
[0149] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it may include the processes of the embodiments of the above methods. Among them, any reference to the memory, storage, database or other media used in the various embodiments provided by the present application may include non-volatile and / or volatile memories. Non-volatile memories may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memories may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0150] Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not disclosed herein. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0151] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. An anomaly detection method, characterized in that, The method includes: Obtaining the current operating state of the target charging pile; the current operating state of the pile includes an unauthorized use state; When the target charging pile is in the unauthorized use state, obtaining the current cable state data corresponding to the target charging pile, where the current cable state data is used to indicate the current operating state of the cable of the target charging pile; Based on the current cable state data, performing anomaly detection on the cable of the target charging pile to obtain a target cable detection result; When the target cable detection result indicates that there is an anomaly in the cable of the target charging pile, controlling the video acquisition device corresponding to the target charging pile to record the video of the environment of the recorded cable corresponding to the target charging pile, and sending an anomaly prompt signal to the target operation and maintenance terminal; The current cable state data includes current pressure data, current acceleration data, and current displacement data; the performing anomaly detection on the cable of the target charging pile based on the current cable state data to obtain a target cable detection result includes: Performing a matching process on the current pressure data and preset pressure threshold data to obtain a pressure matching result; Performing a matching process on the current acceleration data and preset acceleration threshold data to obtain an acceleration matching result; Performing a matching process on the current displacement data and preset displacement threshold data to obtain a displacement matching result; Based on the pressure matching result, the acceleration matching result, and the displacement matching result, determining the target cable detection result; The determining the target cable detection result based on the pressure matching result, the acceleration matching result, and the displacement matching result includes: When the pressure matching result, the acceleration matching result, or the displacement matching result belongs to a target matching result, determining the target cable detection result as a first detection result; the target matching result is used to indicate that the corresponding state data matches the corresponding threshold data, and the first detection result is used to indicate that the cable of the target charging pile is in an abnormal state; Or, When the pressure matching result, the acceleration matching result, and the displacement matching result do not belong to the target matching result, determining the target cable detection result as a second detection result; the second detection result is used to indicate that the cable of the target charging pile is in a normal state.
2. The method according to claim 1, characterized in that, The method further includes: When it is detected that the power supply of the charging gun corresponding to the target charging pile is disconnected, performing a backup power supply operation so that the backup power supply of the charging gun corresponding to the target charging pile supplies power to the sensor module, where the sensor module is used to collect the current cable state data and transmit the current cable state data to the target charging pile, and the backup power supply of the charging gun corresponding to the target charging pile is arranged in the charging gun corresponding to the target charging pile.
3. The method according to claim 2, wherein The sensor module includes a first sensor sub-module and a plurality of second sensor sub-modules, the first sensor sub-module is arranged in the charging gun corresponding to the target charging pile, and the plurality of second sensor sub-modules are respectively arranged at different positions of the charging cable corresponding to the target charging pile.
4. The method according to claim 1, characterized in that, The method further includes: When a signal transmission interruption signal sent by the target charging pile is received, determining that the target gun line detection result is a first detection result; the signal transmission interruption signal is used to indicate that the target charging pile detects that the temperature signal transmission of the temperature sensor of the charging gun of the target charging pile stops, and the first detection result is used to indicate that the gun line of the target charging pile is in an abnormal state.
5. The method according to claim 1, characterized in that The method further includes: Based on a preset damage recognition model, performing gun line damage recognition on the recorded gun line environment video to obtain a gun line damage recognition result corresponding to the target charging pile; Sending the gun line damage recognition result and the recorded gun line environment video to the target operation and maintenance terminal.
6. The method according to any one of claims 1-5, characterized in that The method further includes: Receiving a real-time video acquisition instruction sent by a target terminal; Based on the video acquisition device, acquiring a real-time gun line environment video and transmitting the real-time gun line environment video to the target terminal in real time to display the real-time gun line environment video on the target terminal in real time.
7. An anomaly detection device, characterized in that, The device includes: A pile status acquisition module, configured to acquire the current pile operation status of a target charging pile; the current pile operation status includes an unauthorized use status; A status data acquisition module, configured to acquire the current gun line status data corresponding to the target charging pile when the target charging pile is in the unauthorized use status, where the current gun line status data is used to indicate the current operation status of the gun line of the target charging pile; An abnormality detection module, configured to perform abnormality detection on the gun line of the target charging pile based on the current gun line status data to obtain a target gun line detection result; the current gun line status data includes current pressure data, current acceleration data, and current displacement data; the performing abnormality detection on the gun line of the target charging pile based on the current gun line status data to obtain a target gun line detection result includes: performing a matching process on the current pressure data and preset pressure threshold data to obtain a pressure matching result; performing a matching process on the current acceleration data and preset acceleration threshold data to obtain an acceleration matching result; performing a matching process on the current displacement data and preset displacement threshold data to obtain a displacement matching result; determining the target gun line detection result based on the pressure matching result, the acceleration matching result, and the displacement matching result; the determining the target gun line detection result based on the pressure matching result, the acceleration matching result, and the displacement matching result includes: when the pressure matching result, the acceleration matching result, or the displacement matching result belongs to a target matching result, determining that the target gun line detection result is a first detection result; or, when the pressure matching result, the acceleration matching result, and the displacement matching result do not belong to the target matching result, determining that the target gun line detection result is a second detection result; the target matching result is used to indicate that the corresponding status data matches the corresponding threshold data, the first detection result is used to indicate that the gun line of the target charging pile is in an abnormal state; the second detection result is used to indicate that the gun line of the target charging pile is in a normal state; An execution module, configured to, when the target gun line detection result indicates that the gun line of the target charging pile is abnormal, control a video acquisition device corresponding to the target charging pile to acquire a recorded gun line environment video corresponding to the target charging pile, and send an abnormal prompt signal to a target operation and maintenance terminal.
8. An electronic device, characterized in that, It includes: A processor; A memory for storing executable instructions of the processor; Wherein, the processor is configured to execute the executable instructions to implement the abnormal detection method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Charging gun electronic lock control method, device and equipment and computer storage medium
CN114179665A
Abnormal inclination control method and device for charging pile, charging pile and medium
CN114454762A