Vehicle charging abnormity detection method and device, equipment and medium

By acquiring target data on vehicle charging status, the integrity and continuity of charging events can be dynamically determined, solving the problem of low detection accuracy caused by the time window method and achieving higher precision in detecting charging anomalies.

CN120902586APending Publication Date: 2025-11-07QINGLING MOTORS GRP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510974768.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-15
Publication Date
2025-11-07

Smart Images

  • Figure CN120902586A_ABST
    Figure CN120902586A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle charging abnormity detection method and device, equipment and a medium, and the method comprises the steps: obtaining target data of a vehicle in a preset time period, the target data comprises a vehicle frame number, N information sending moments and vehicle related data of the N information sending moments, and the vehicle related data comprises a vehicle charging state; determining whether an incomplete charging event exists in the preset time period or not based on the vehicle charging state of the N information sending moments; and if the incomplete charging event exists in the preset time period, determining that the vehicle is charged abnormally. Whether the incomplete charging event exists or not is determined based on the vehicle charging state, then whether the charging abnormity exists or not is judged, and compared with the prior art that the charging event is subjected to rigid division based on a time window, the charging abnormity detection accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of electric vehicles, in particular to a vehicle charging anomaly detection method, device, equipment and medium. BACKGROUND

[0002] In the use process of electric vehicles, the safety and reliability of the charging link are crucial, so accurately detecting charging anomalies is one of the key links to ensure the safe operation of vehicles. At present, the time window method is a commonly used method to achieve such detection. However, this method has obvious defects in actual application. One of the main problems is mismerging: the time window method tends to mistakenly identify and merge multiple short charging behaviors occurring in similar time periods as a single charging event. This merging can mask the real charging pattern, which may miss some specific abnormal types. Another key defect is missegmentation: when facing a charging process with a long duration, the time window method will mechanically cut the entire charging process into multiple independent charging event segments according to the preset fixed time interval. This harsh segmentation not only destroys the continuity and integrity of the charging process, but also interferes with the accurate judgment of real anomalies. It can be seen that the related art detects charging anomalies based on the time window method, resulting in low accuracy. SUMMARY

[0003] The present application provides a vehicle charging anomaly detection method, device, equipment and medium to solve the technical problem of low accuracy caused by detecting charging anomalies based on the time window method.

[0004] The present application provides a vehicle charging anomaly detection method, which comprises:

[0005] Obtaining target data of a vehicle in a preset time period, the target data comprising a vehicle frame number, N information sending time points, and vehicle related data at the N information sending time points, the vehicle related data comprising a vehicle charging state;

[0006] Based on the vehicle charging state at the N information sending time points, determining whether there is an incomplete charging event in the preset time period;

[0007] If there is an incomplete charging event in the preset time period, it is determined that the vehicle charging is abnormal.

[0008] In an embodiment of the present application, based on the vehicle charging state at the N information sending time points, determining whether there is an incomplete charging event in the preset time period comprises:

[0009] If the vehicle charging states at the N information sending time points do not jump from the parking charging state to the uncharged state or the charging completion state, it is determined that there is an incomplete charging event within the preset time period.

[0010] If the vehicle charging states at the N information sending time points jump from the parking charging state to the uncharged state or the charging completion state, it is determined that there is a complete charging event within the preset time period.

[0011] In an embodiment of the present application, after obtaining the target data of the vehicle in the preset time period, the method further comprises:

[0012] The vehicle related data at the N information sending time points is sorted in time from early to late;

[0013] Based on the vehicle charging states at the N sorted information sending time points, the charging session identifier at the N sorted information sending time points is determined, wherein if the vehicle charging states at the N sorted information sending time points jump from the uncharged state or the charging completion state to the parking charging state, the charging session identifier is incremented by one, otherwise the charging session identifier remains unchanged.

[0014] In an embodiment of the present application, based on the vehicle charging states at the N sorted information sending time points, the charging session identifier at the N sorted information sending time points is determined, comprising:

[0015] Based on the vehicle charging states at the N sorted information sending time points, the start charging identifier at the N sorted information sending time points is determined, wherein if the vehicle charging states at the N sorted information sending time points jump from the uncharged state or the charging completion state to the parking charging state, the start charging identifier is determined to be 1, otherwise the start charging identifier is determined to be 0.

[0016] The start charging identifiers from the first sorted information sending time point to the current information sending time point are summed up to obtain the charging session identifier at the current information sending time point, until the charging session identifiers at the N sorted information sending time points are obtained.

[0017] In an embodiment of the present application, the vehicle related data further comprises vehicle location information, and after determining the charging session identifier at the N sorted information sending time points, the method further comprises:

[0018] If there is an incomplete charging event in the information sending moment corresponding to the first charging session identifier, it is determined that there is a charging abnormality, and the vehicle chassis number, the information sending moment corresponding to the incomplete charging event, and the corresponding first vehicle location information are inserted into the first abnormality statistical table, wherein the corresponding first vehicle location information includes the effective vehicle location information recorded for the first time in the incomplete charging event.

[0019] In an embodiment of the present application, the vehicle related data further includes vehicle location information and vehicle SOC, and after determining the charging session identifiers of the N sorted information sending moments, the method further includes:

[0020] If there is a complete charging event in the information sending moment corresponding to the second charging session identifier, the difference between the vehicle SOC at the charging event end moment and the vehicle SOC between the charging event start moment in the complete charging event is determined.

[0021] If the difference is less than or equal to a preset threshold, it is determined that there is a charging abnormality, and the vehicle chassis number, the information sending moment corresponding to the complete charging event, and the corresponding second vehicle location information are inserted into the second abnormality statistical table.

[0022] In an embodiment of the present application, after determining the difference between the vehicle SOC at the charging event end moment and the vehicle SOC between the charging event start moment in the complete charging event, the method further includes:

[0023] If the difference is greater than a preset threshold, it is determined that the second charging session identifier corresponds to a normal complete charging event, and the number of the normal complete charging event is incremented by one.

[0024] The vehicle chassis number, the number of the normal complete charging event, and the difference are inserted into a charging event statistical table.

[0025] The present application provides a vehicle charging abnormality detection device, which includes:

[0026] An acquisition module is configured to acquire target data of a vehicle in a preset period, wherein the target data includes a vehicle chassis number, N information sending moments, and vehicle related data of the N information sending moments, and the vehicle related data includes a vehicle charging state.

[0027] A first determination module is configured to determine whether there is an incomplete charging event in the preset period based on the vehicle charging state of the N information sending moments.

[0028] A second determination module is configured to determine that the vehicle charging is abnormal if there is an incomplete charging event in the preset period.

[0029] The electronic device provided by the present application comprises:

[0030] one or more processors;

[0031] a storage device configured to store one or more programs, when the one or more programs are executed by the one or more processors, the electronic device implements the vehicle charging anomaly detection method.

[0032] The computer readable storage medium provided by the present application has a computer program stored thereon, when the computer program is executed by the processor of the computer, the computer executes the vehicle charging anomaly detection method.

[0033] The present application has the beneficial effect that the present application determines whether there is an incomplete charging event based on the vehicle charging state, and then determines whether there is a charging anomaly, which is advantageous to improve the accuracy of charging anomaly detection compared with the related art which hardens the division of charging events based on the time window. BRIEF DESCRIPTION OF DRAWINGS

[0034] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application. It is apparent that the accompanying drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor on the basis of these drawings.

[0035] In the drawings:

[0036] Figure 1 One of the flowcharts of the vehicle charging anomaly detection method provided by an embodiment of the present application.

[0037] Figure 2 The second flowchart of the vehicle charging anomaly detection method provided by an embodiment of the present application.

[0038] Figure 3 The schematic diagram of the vehicle charging state conversion provided by an embodiment of the present application.

[0039] Figure 4 The architecture diagram of the vehicle charging anomaly detection system provided by an embodiment of the present application.

[0040] Figure 5 The block diagram of the vehicle charging anomaly detection device shown by an exemplary embodiment of the present application.

[0041] Figure 6 The structural schematic diagram of the computer system of the electronic device suitable for realizing the embodiments of the present application is shown. DETAILED DESCRIPTION

[0042] The present application is herein described, by way of example only, with reference to embodiments thereof. As is readily appreciated by those skilled in the art, other embodiments of the present application can be implemented or utilized without departing from the spirit and scope of the present application. From the foregoing description, it will be apparent that variations and modifications can be effected while remaining within the scope of the application. Accordingly, it is intended that such variations and modifications be included within the scope of the application the substance of which is to be limited solely by the appended claims.

[0043] To clearly illustrate embodiments of the present application, the following will further describe the present application with reference to the drawings and specific examples. The present application may, however, be carried out in various ways and thus should not be construed to be limited to the following examples and specific features described below.

[0044] In the following description, numerous specific details are discussed in order to provide a thorough understanding of the embodiments of the present application. However, those of ordinary skill in the art will realize that the embodiments of the present application can be practiced without many of these details. In other instances, well-known structures and functions have not been described in detail in order not to obscure the understanding of this description.

[0045] Please refer to Figure 1 , Figure 1 FIG. 1 shows a flowchart of a vehicle charging abnormality detection method according to an embodiment of the present application. Figure 1 The vehicle charging abnormality detection method includes steps S110-S130, which are described in detail as follows.

[0046] In step S110, target data of the vehicle in a preset time period is acquired, the target data including a vehicle frame number, N information sending time points, and vehicle related data at the N information sending time points (N is a positive integer), the vehicle related data including a vehicle charging state.

[0047] The preset time period can be self-defined, for example, a time period from 00:00 to 24:00 every day.

[0048] The target data can be data of one or more vehicles. In the case of performing the charging anomaly detection locally, the target data is data of one vehicle; in the case of performing the charging anomaly detection in the cloud, the target data is data of multiple vehicles. In the case of data of multiple vehicles, the vehicle identification number (VIN) is used for grouping, and the vehicle-related data of each vehicle is processed respectively to perform the charging anomaly detection. See Figure 2 The embodiment of the present application can link a source database, and the target data can be data filtered from the source database. The target data is obtained by filtering the VIN, the information sending time (ev_send_date) and the vehicle charging state (charging_state) fields from the source database.

[0049] In step S120, based on the vehicle charging state (charging_state) at the N information sending times, it is determined whether there is an incomplete charging event in the preset time period.

[0050] The charging_state can be data of 1, 3 and 4, wherein charging_state = 1 represents a parking charging state, charging_state = 3 represents an uncharged state, and charging_state = 4 represents a charging completion state. The charging state transition is as shown in Figure 3

[0051] In some embodiments, the complete charging event can be defined as charging_state changing from 1 to 3 or charging_state changing from 1 to 4, i.e., jumping from the parking charging state to the uncharged state or the charging completion state. If there is no charging_state changing from 1 to 3 or charging_state changing from 1 to 4, it can be determined that there is no complete charging event, i.e., there is an incomplete charging event.

[0052] In some embodiments, when charging_state changes from 3 or 4 to 1, it represents that the current charging starts. Compared with the simple charging_state state judgment, this method can avoid misjudgment of the continuous charging state; when charging_state changes from 1 to 3 or 4, it represents the current charging state.

[0053] In step S130, if there is an incomplete charging event in the preset time period, it is determined that the vehicle charging is abnormal.

[0054] ​In the embodiment, the preset time period can have an incomplete charging event or a complete charging event, and the incomplete charging event can be determined to exist, and the charging abnormality can be determined to exist.

[0055] In the embodiment, whether the incomplete charging event exists is determined based on the charging state of the vehicle, and whether the charging abnormality exists is determined, which is beneficial to improve the accuracy of the charging abnormality detection compared with the related art in which the charging event is hard divided based on the time window.

[0056] Optionally, after the target data of the vehicle in the preset time period is acquired, the method further includes:

[0057] The vehicle related data at the N information sending moments is sorted in the order from early to late according to time;

[0058] Based on the charging state of the vehicle at the N sorted information sending moments, the charging session identifier (i.e., session_id) at the N sorted information sending moments is determined, wherein if the charging state of the vehicle at the N sorted information sending moments jumps from the uncharged state or the charging complete state to the parked charging state, the charging session identifier is incremented by one, otherwise the charging session identifier remains unchanged.

[0059] In the embodiment, if the target data is the data of the N vehicles, the data can be grouped based on the VIN, and the vehicle related data at the N information sending moments in each group of data is sorted in the order from early to late according to time.

[0060] If the charging_state jumps from 3 or 4 to 1 at the N sorted information sending moments, it indicates that the current charging starts, the charging session identifier is incremented by one, and the initial value of the charging session identifier can be set to 0 or other values in the embodiment.

[0061] In the embodiment, the time window method is broken through, and the charging session identifier can be dynamically assigned for the conversion of each charging event based on the jump of the charging state of the vehicle.

[0062] Optionally, based on the charging state of the vehicle at the N sorted information sending moments, the charging session identifier at the N sorted information sending moments is determined, including:

[0063] Based on the charging state of the vehicle at the N sorted information sending moments, the start charging identifier (is_start) at the N sorted information sending moments is determined, wherein if the charging state of the vehicle at the N sorted information sending moments jumps from the uncharged state or the charging complete state to the parked charging state, the start charging identifier is determined to be 1, otherwise the start charging identifier is determined to be 0.

[0064] Summarize the start charging identifier from the first information sending time to the current information sending time to obtain the charging session identifier of the current information sending time, until the charging session identifiers of the N information sending times are obtained.

[0065] In the embodiment of the application, SUM(is_start)OVER(PARTITION BY VIN ORDER BY ev_send_date)AS session_id can be used to assign session_id, and the session_id is used to realize the segmentation of the unbounded session, which can more accurately reflect the real charging process compared with the traditional time window grouping. In the above, PARTITION BY VIN means grouping according to the vehicle unique identifier VIN, and the charging session identifier of each vehicle is calculated independently. ORDER BY ev_send_date means sorting based on the information sending time ev_send_date, and ensuring that the vehicle related data of each vehicle is processed in chronological order. SUM(is_start) means summarizing the first is_start to the current is_start after sorting. The is_start is 1 when the charging starts, otherwise it is 0. For example, if the charging_state of the current information sending time is 1 and the charging_state of the previous information sending time is 3 or 4, then the is_start of the current information sending time is 1. If the charging_state of the current information sending time is 1 and the charging_state of the previous information sending time is also 1, then the is_start of the current information sending time is 0.

[0066] In the embodiment of the application, through the above steps, the incremental charging session identifier can be automatically generated according to the state of is_start, instead of directly assigning the charging session identifier in advance, which is convenient for stream data processing and suitable for long-term charging event identification.

[0067] Optionally, the vehicle related data further includes vehicle location information, and after the charging session identifiers of the N information sending times after sorting are determined, the method further includes:

[0068] If there is an incomplete charging event in the information sending time corresponding to the first charging session identifier, it is determined that there is a charging anomaly, and the vehicle frame number, the information sending time corresponding to the incomplete charging event and the corresponding first vehicle location information are inserted into the first anomaly statistics table, wherein the corresponding first vehicle location information includes the first recorded valid vehicle location information in the incomplete charging event.

[0069] The vehicle position information can be longitude information and latitude information. In the process of screening in the source database, the longitude field and the latitude field data also need to be screened.

[0070] The first charging session identification corresponds to an incomplete charging event in the information sending moment, that is, there is no change from 1 to 3 or 4 in the vehicle charging state in the information sending moment corresponding to the first charging session identification.

[0071] Referring to Figure 2 If there is an incomplete charging event, the VIN, ev_send_date, longitude and latitude of the incomplete charging event need to be recorded. In addition, in the embodiment of the application, if the longitude and latitude of the incomplete charging event are both equal to 0, the longitude and latitude can be directly recorded; otherwise, the first valid vehicle position information is selected according to the ev_send_date, that is, the first data in which the longitude and latitude are both not equal to 0 is selected, that is, the first recorded valid vehicle position information in the incomplete charging event is selected. The embodiment of the application can link the target database, and insert the VIN, ev_send_date, longitude and latitude of the incomplete charging event into the first abnormality statistics table.

[0072] In the embodiment of the application, by saving the first recorded valid vehicle position information in the incomplete charging event, invalid coordinates can be effectively filtered, and dynamic compensation of longitude and latitude can be realized in combination with the time sequence of the incomplete charging event.

[0073] Alternatively, the vehicle-related data further includes vehicle position information and a state of charge (SOC) of a vehicle battery, and after determining the charging session identification of the N information sending moments in sequence, the method further includes:

[0074] If there is a complete charging event in the information sending moment corresponding to the second charging session identification, the difference between the vehicle SOC at the end moment of the charging event in the complete charging event and the vehicle SOC at the start moment of the charging event is determined;

[0075] If the difference is less than or equal to a preset threshold, it is determined that there is a charging anomaly, and the vehicle identification number, the information sending moment corresponding to the complete charging event and the corresponding second vehicle position information are inserted into the second abnormality statistics table.

[0076] In the embodiment, the charging event start time in the complete charging event is the time when the charging_state changes from 3 or 4 to 1 in the complete charging event, and the charging event end time is the time when the charging_state changes from 1 to 3 or 4 in the complete charging event.

[0077] If the difference between the vehicle SOC at the charging event end time and the vehicle SOC at the charging event start time is less than or equal to the preset threshold, it indicates that the second charging session identification corresponds to a small change in the vehicle SOC in the complete charging event, and there is a charging abnormality, that is, an abnormal complete charging event.

[0078] Referring to Figure 2 The VIN, ev_send_date, longitude and latitude of the abnormal complete charging event can be recorded, linked to the target database, and inserted into the second abnormal statistics table.

[0079] In the embodiment of the application, the change in the vehicle SOC in the complete charging event is also used to determine whether there is a charging abnormality, which is beneficial to improve the comprehensiveness of the charging abnormality determination.

[0080] Optionally, after determining the difference between the vehicle SOC at the charging event end time and the vehicle SOC at the charging event start time in the complete charging event, the method further comprises:

[0081] If the difference is greater than the preset threshold, it is determined that the second charging session identification corresponds to a normal complete charging event, and the number of normal complete charging events is incremented by one.

[0082] The vehicle VIN, the number of normal complete charging events and the vehicle SOC change (i.e., the above-mentioned difference) are inserted into the charging event statistics table.

[0083] In the embodiment of the application, the number of normal complete charging events can be incremented by one each time a normal complete charging event is identified. By recording the number of normal complete charging events and the SOC change (i.e., the above-mentioned difference), and linking to the target database, the number of normal complete charging events and the SOC change can be inserted into the charging event statistics table.

[0084] In the embodiment of the application, by inserting the above-mentioned information into the charging event statistics table, it is convenient to subsequently query the records of normal complete charging events.

[0085] The embodiment of the present application dynamically allocates an incremental charging session identifier through the jump of the vehicle charging state, and the spatiotemporal continuity of the complete charging event can be judged through the incremental charging session identifier. The present application breaks through the time window method, adopts a hybrid recognition mechanism of the jump of the vehicle charging state and the vehicle charging session identifier marking, and adopts multi-dimensional abnormality cooperative determination of the charging abnormal state, and judges the charging abnormality based on the index fusion of the vehicle SOC change, spatiotemporal continuity and charging event integrity. In addition, for invalid vehicle position information, intelligent position compensation based on time series is adopted instead of simply eliminating invalid geographic positions.

[0086] The embodiment of the present application also provides a vehicle charging abnormality detection system for executing the vehicle charging abnormality detection method. Figure 4 The vehicle charging abnormality detection system is described below.

[0087] Referring to Figure 4 , the vehicle charging abnormality detection system includes an original data screening layer, a complete charging event judgment layer, a jump state detection layer, a charging session segmentation layer, an abnormality detection layer and a result output layer. The original data screening layer is used to link a source database and screen out information of VIN, ev_send_date, charging_state, SOC, longitude and latitude fields from the source database. The complete charging event judgment layer is used to judge the complete charging event in combination with the charging_state. The jump state detection layer is used to detect the jump of the charging_state to identify the start of charging and the end of charging. The charging session segmentation layer is used to generate an incremental session_id in combination with the VIN, ev_send_date, charging_state and is_start. The abnormality detection layer is used to perform abnormality detection in combination with the session_id, ev_send_date, SOC and charging_state. The result output layer is used to output the abnormality detection result.

[0088] It should be understood that the size of the serial number of each step in the above embodiment does not mean the order of execution, and the execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.

[0089] Figure 5 is a block diagram of a vehicle charging abnormality detection device shown by an exemplary embodiment of the present application. As Figure 5 shown, the exemplary vehicle charging abnormality detection device includes:

[0090] The acquisition module 510 is configured to acquire target data of the vehicle in a preset time period, the target data including a vehicle frame number, N information sending time points, and vehicle related data at the N information sending time points, the vehicle related data including a vehicle charging state;

[0091] The first determination module 520 is configured to determine whether there is an incomplete charging event in the preset time period based on the vehicle charging state at the N information sending time points.

[0092] The second determination module 530 is configured to determine that the vehicle charging is abnormal if there is the incomplete charging event in the preset time period.

[0093] In an embodiment of the present application, the first determination module 520 is specifically configured to:

[0094] If the vehicle charging state at the N information sending time points does not jump from the parking charging state to the uncharged state or the charging complete state, it is determined that there is the incomplete charging event in the preset time period.

[0095] If the vehicle charging state at the N information sending time points jumps from the parking charging state to the uncharged state or the charging complete state, it is determined that there is a complete charging event in the preset time period.

[0096] In an embodiment of the present application, the device further includes:

[0097] The sorting module is configured to sort the vehicle related data at the N information sending time points in time from early to late.

[0098] The third determination module is configured to determine a charging session identifier of the N information sending time points after sorting based on the vehicle charging state at the N information sending time points after sorting, wherein if the vehicle charging state at the N information sending time points after sorting jumps from the uncharged state or the charging complete state to the parking charging state, the charging session identifier is incremented by one, otherwise the charging session identifier remains unchanged.

[0099] In an embodiment of the present application, the third determination module is specifically configured to:

[0100] Based on the vehicle charging state at the N information sending time points after sorting, a start charging identifier of the N information sending time points after sorting is determined, wherein if the vehicle charging state at the N information sending time points after sorting jumps from the uncharged state or the charging complete state to the parking charging state, the start charging identifier is determined to be 1, otherwise the start charging identifier is determined to be 0.

[0101] The start charging identifiers of the first information sending time point after sorting to the current information sending time point are summed up to obtain the charging session identifier of the current information sending time point, until the charging session identifiers of the N information sending time points after sorting are obtained.

[0102] In an embodiment of the present application, the second determining module 530 is specifically configured to:

[0103] If there is an incomplete charging event in the information sending moment corresponding to the first charging session identifier, it is determined that there is a charging abnormality;

[0104] The device further comprises:

[0105] The first information insertion module is configured to insert the vehicle frame number, the information sending moment corresponding to the incomplete charging event, and the corresponding first vehicle location information into the first abnormality statistical table, wherein the corresponding first vehicle location information comprises the effective vehicle location information recorded for the first time in the incomplete charging event.

[0106] In an embodiment of the present application, the second determining module 530 is specifically further configured to:

[0107] If there is a complete charging event in the information sending moment corresponding to the second charging session identifier, it is determined that the difference between the vehicle SOC at the charging event end moment and the vehicle SOC between the charging event start moment in the complete charging event;

[0108] If the difference is less than or equal to a preset threshold value, it is determined that there is a charging abnormality;

[0109] The device further comprises:

[0110] The second information insertion module is configured to insert the vehicle frame number, the information sending moment corresponding to the complete charging event, and the corresponding second vehicle location information into the second abnormality statistical table.

[0111] In an embodiment of the present application, the device further comprises:

[0112] The fourth determining module is configured to, if the difference is greater than the preset threshold value, determine that the second charging session identifier corresponds to a normal complete charging event, and add one to the number of normal complete charging events;

[0113] The third information insertion module is configured to insert the vehicle frame number, the number of normal complete charging events, and the difference into the charging event statistical table.

[0114] It should be noted that the vehicle charging abnormality detection device provided in the above embodiments and the vehicle charging abnormality detection method provided in the above embodiments belong to the same concept, wherein the specific manner in which each module and unit performs operations has been described in detail in the method embodiments, and will not be described here. The vehicle charging abnormality detection device provided in the above embodiments can allocate the above functions to different functional modules for completion in actual application, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above, and this is not limited herein.

[0115] An electronic device according to an embodiment of the disclosure includes one or more processors and a memory configured to store one or more programs to instruct the one or more processors to execute a method of detecting a vehicle charging anomaly according to various embodiments.

[0116] Figure 6 A structural diagram of a computer system of an electronic device suitable for implementing embodiments of the disclosure is shown. It should be noted that, Figure 6 The computer system 600 of the electronic device shown is only an example and should not impose any limitation on the functions and use range of the embodiments of the disclosure.

[0117] As Figure 6 shown, the computer system 600 includes a central processing unit (CPU) 601 that can perform various appropriate actions and processes according to programs stored in a read-only memory (ROM) 602 or programs loaded from a storage section 608 into a random access memory (RAM) 603, such as performing the methods in the above embodiments. Various programs and data required for system operation are also stored in the RAM 603. The CPU 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0118] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as necessary. A removable recording medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is attached to the drive 610 as necessary, so that a computer program read therefrom is installed into the storage section 608 as necessary.

[0119] In particular, the processes described above with reference to the flowcharts can be implemented as a computer software program in accordance with embodiments of the present application. For example, embodiments of the present application include a computer program product comprising a computer program carried on a computer readable medium, the computer program comprising computer programs for performing the methods illustrated by the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via the communication section 609, and / or installed from the removable media 611. When the computer program is executed by the central processing unit (CPU) 601, various functions defined in the system of the present application are performed.

[0120] It should be noted that the computer readable medium shown in the embodiments of the present application can be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium may, for example, be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination of the above. More specific examples of the computer readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, the computer readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, in which the computer readable computer program is carried. Such propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium can also be any computer readable medium other than the computer readable storage medium, which can send, propagate or transmit the program for use by or in connection with the instruction execution system, apparatus or device. The computer program contained on the computer readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, or the like, or any suitable combination of the above.

[0121] The flowcharts and block diagrams in the drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowcharts or block diagrams can represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and / or flowchart illustrations, and combinations thereof, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or combinations of hardware and software.

[0122] The units described in the embodiments of the present application can be implemented by software, or by hardware, or by a combination of software and hardware. The names of the units described are merely used to clarify the units, and do not constitute a limitation to the units themselves.

[0123] Another aspect of the present application provides a computer readable storage medium, which stores a computer program. The computer program is executed by a processor of a computer, and causes the computer to perform the method for detecting vehicle charging abnormality as described above. The computer readable storage medium can be included in the electronic device described in the embodiments, or can exist separately and not be assembled into the electronic device.

[0124] Another aspect of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device performs the method for detecting vehicle charging abnormality provided in the embodiments.

[0125] The above-described embodiments are merely illustrative for the principles and effects of the present application, and are not intended to limit the present application. Any person skilled in the art can modify or change the above-described embodiments without departing from the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by those skilled in the art without departing from the spirit and scope of the present application should be covered by the claims of the present application.

Claims

1. A method of detecting an abnormality in charging of a vehicle, characterized by, The method comprises: acquiring target data of the vehicle in a preset period, the target data comprising a vehicle chassis number, N information sending time points, and vehicle related data at the N information sending time points, the vehicle related data comprising a vehicle charging state; determining whether there is an incomplete charging event in the preset period based on the vehicle charging state at the N information sending time points; if there is an incomplete charging event in the preset period, determining that the vehicle charging is abnormal.

2. The method of detecting a vehicle charging abnormality according to claim 1, characterized by, The determination of whether there is an incomplete charging event in the preset period based on the vehicle charging state at the N information sending time points comprises: if the vehicle charging state at the N information sending time points does not jump from a parking charging state to an uncharged state or a charging complete state, determining that there is an incomplete charging event in the preset period; if the vehicle charging state at the N information sending time points jumps from the parking charging state to the uncharged state or the charging complete state, determining that there is a complete charging event in the preset period.

3. The method of detecting a vehicle charging abnormality according to claim 2, characterized by, After the acquisition of the target data of the vehicle in the preset period, the method further comprises: sorting the vehicle related data at the N information sending time points in chronological order from early to late; determining the charging session identification of the N information sending time points after sorting based on the vehicle charging state at the N information sending time points after sorting, wherein if the vehicle charging state at the N information sending time points after sorting jumps from the uncharged state or the charging complete state to the parking charging state, the charging session identification is incremented by one, otherwise the charging session identification remains unchanged.

4. The method of detecting a vehicle charging abnormality according to claim 3, characterized by, The determination of the charging session identification of the N information sending time points after sorting based on the vehicle charging state at the N information sending time points after sorting comprises: determining the start charging identification of the N information sending time points after sorting based on the vehicle charging state at the N information sending time points after sorting, wherein if the vehicle charging state at the N information sending time points after sorting jumps from the uncharged state or the charging complete state to the parking charging state, the start charging identification is determined to be 1, otherwise the start charging identification is determined to be 0; summing the start charging identifications of the first information sending time point after sorting to the current information sending time point to obtain the charging session identification of the current information sending time point, until the charging session identification of the N information sending time points after sorting is obtained.

5. The method of detecting a vehicle charging abnormality according to claim 3 or 4, characterized by, The vehicle related data further comprises vehicle location information, and after the determination of the charging session identification of the N information sending time points after sorting, the method further comprises: if there is an incomplete charging event in the information sending time point corresponding to the first charging session identification, determining that there is a charging abnormality, and inserting the vehicle chassis number, the information sending time point corresponding to the incomplete charging event, and the corresponding first vehicle location information into a first abnormality statistical table, wherein the corresponding first vehicle location information comprises the first recorded valid vehicle location information in the incomplete charging event.

6. The method of detecting a vehicle charging abnormality according to claim 3 or 4, characterized by, The vehicle-related data further includes vehicle position information and vehicle SOC, and after the charging session identifiers of the N information sending time points are determined in sequence, the method further includes: If there is a complete charging event in the information sending time point corresponding to the second charging session identifier, determining the difference between the vehicle SOC at the charging event end time point and the vehicle SOC between the charging event start time point in the complete charging event; If the difference is less than or equal to a preset threshold, it is determined that there is a charging anomaly, and the vehicle VIN, the information sending time point corresponding to the complete charging event, and the corresponding second vehicle position information are inserted into the second anomaly statistics table.

7. The method of detecting a vehicle charging abnormality according to claim 6, characterized by, After determining the difference between the vehicle SOC at the charging event end time point and the vehicle SOC between the charging event start time point in the complete charging event, the method further includes: If the difference is greater than a preset threshold, it is determined that the second charging session identifier corresponds to a normal complete charging event, and the number of normal complete charging events is incremented by one; The vehicle VIN, the number of normal complete charging events, and the difference are inserted into the charging event statistics table.

8. A device for detecting abnormal vehicle charging, characterized in that, Comprise: An acquisition module is configured to acquire target data of a vehicle in a preset period, the target data comprising a vehicle VIN, N information sending time points, and vehicle-related data of the N information sending time points, the vehicle-related data comprising a vehicle charging state; A first determination module is configured to determine, based on the vehicle charging state of the N information sending time points, whether there is an incomplete charging event in the preset period; A second determination module is configured to determine the vehicle charging anomaly if there is an incomplete charging event in the preset period.

9. An apparatus, comprising: One or more processors and a memory, The memory has stored thereon a computer program which, when executed by the one or more processors, causes the device to perform the method for detecting vehicle charging anomaly according to any one of claims 1-7. A computer program is stored thereon, which, when executed by one or more processors, causes a device to perform the method for detecting vehicle charging anomaly according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, ​