New energy vehicle battery replacement identification method and system based on data mining
Using data mining technology to identify the battery swapping behavior of new energy vehicles solves the problem that OEMs cannot monitor battery swapping information, achieves accurate identification and update of battery swapping station locations, and improves the accuracy and efficiency of the system.
Patent Information
- Application Number
- CN202310361783.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-01
AI Technical Summary
OEMs are unable to obtain the battery swapping information of new energy vehicle users and cannot monitor the battery swapping behavior, resulting in the inability to effectively identify and manage battery swapping site locations.
A data mining-based method is used to collect vehicle driving data, national standard message data and GPS data, perform data preprocessing and filtering, use clustering algorithms and Geohash coding technology to identify battery swapping behavior, and improve the location of battery swapping stations on the map. , and obtain the location of existing battery swap stations through the electronic map API for matching.
It achieves accurate identification and update of power swap station locations, ensures the accuracy of location information, improves system accuracy and operating efficiency, reduces calculation time, and can identify missing power swap station locations and update their locations.
Smart Images

Figure CN118734093A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of battery replacement control, and more specifically, to a new energy vehicle battery replacement identification method and system based on data mining. Background Art
[0002] my country's promotion of new energy vehicles has been very effective. As of the end of June 2021, my country's new energy vehicle ownership exceeded 6.5 million, accounting for 2% of the total domestic vehicle ownership. In 2021, my country's new energy vehicle sales resumed rapid growth, with annual sales expected to reach 2.5 million. The rapid growth in ownership has put pressure on the power grid, and the convenience of electric vehicle charging may also become a stumbling block to subsequent high growth.
[0003] Compared with fuel vehicles, energy replenishment is an important consideration for users to purchase new energy vehicles. It is divided into charging and battery replacement. Charging is currently the mainstream of the market. The battery replacement mode refers to the centralized storage, centralized charging, and unified distribution of a large number of batteries through centralized charging stations, and the battery replacement service for electric vehicles at the battery distribution station, or a model that integrates battery charging, logistics deployment, and battery replacement services. According to statistics from the China Charging Alliance, as of the end of 2021, my country had a total of 75,000 charging stations, and the month-on-month growth rate generally tended to be stable at about 2%. There are 1,298 battery replacement stations, and the month-on-month growth rate showed a rapid growth trend, reaching a historical high of 22% in October. After 10 years of development, charging piles have formed a certain scale across the country. But compared with charging, battery replacement can effectively solve users' mileage anxiety, increase drivers' income, eliminate battery safety hazards, and reduce users' initial car purchase costs.
[0004] However, currently, battery swapping is mostly done by third-party battery swapping companies in cooperation with OEMs, and OEMs cannot obtain user battery swapping information and cannot monitor battery swapping behaviors. Therefore, it is very important to help OEMs identify these battery swapping behaviors. Summary of the invention
[0005] In order to solve the defects and shortcomings of the prior art, the present invention provides a new energy vehicle battery replacement identification method and system based on data mining.
[0006] To achieve the above purpose, the technical solution adopted by the present invention is a new energy vehicle battery replacement identification method based on data mining, and the method comprises the following steps:
[0007] S1: Collect the locations of existing battery swap stations on the map, and cluster the missing battery swap station locations on the map based on the vehicle battery swap information provided by the business, so as to complete the battery swap station locations on the map;
[0008] S2: Collect vehicle driving data, national standard message data, GPS data and perform data preprocessing;
[0009] S3: extracting vehicle message information from the data collected by S2 and filtering the vehicle message information according to message filtering rules;
[0010] S4: Extract the GPS location information in the vehicle message information, and match the GPS location information with the battery swap station location to identify the battery swap behavior.
[0011] Preferably, the S1 comprises the following steps:
[0012] S11: Read vehicle message data according to the vehicle battery replacement information provided by the service, extract vehicle GPS and SOC data, and then perform data preprocessing;
[0013] S12: Obtain the locations of existing battery swap stations on the map by calling the electronic map API;
[0014] S13: clustering the vehicle GPS data obtained in S11 through a clustering algorithm, and then matching it with the battery swap station location obtained in S12 to obtain the missing battery swap station location on the map;
[0015] S14: Merge the existing battery swap station locations on the map and the missing battery swap station locations on the clustered map, delete duplicate locations, and perform Geohash encoding on all GPS information.
[0016] Preferably, S2 comprises the following steps:
[0017] S21: Obtain national standard message data, SOC, and current data of the vehicle from the OEM's data management system, and pre-process the data;
[0018] S22: Acquire vehicle travel information by collecting data transmitted by the vehicle-side CAN, the vehicle travel information including the start time, stop time, start longitude and latitude, and stop longitude and latitude of the vehicle, and then perform data preprocessing.
[0019] Preferably, S3 comprises the following steps:
[0020] S31: extracting the message data of the vehicle on the previous day, and extracting the timestamp in the message data and the latitude and longitude information of the corresponding time;
[0021] S32: Calculate the soc difference, mileage difference, and time difference between each frame of the message and the previous frame of the message, and filter the message segments that meet the rules according to the message filtering rules.
[0022] Preferably, the message screening rule is: if the SOC difference between each frame message and the previous frame message is greater than 50, the mileage difference is less than 1 kilometer, and the time difference is within 5 minutes, then the frame message fragment meets the rule.
[0023] Preferably, S4 comprises the following steps:
[0024] S41: extracting GPS data from message segments that meet the rules, performing geohash encoding on the GPS data, and matching the corresponding battery swap stations;
[0025] S42: Calculate the distance between the vehicle and the battery swap station;
[0026] S43: If the distance between the vehicle and the battery swap station is within 50 meters, the vehicle behavior is considered to be a battery swap behavior.
[0027] Preferably, the distance between the battery swap station and the vehicle is calculated as follows:
[0028] dis(x i , x j ,y i ,y j )=R×arcos[cos y i ×cos y j ×cos(x i -x j )+sin y i ×sin y j ]
[0029] Where R is the radius of the earth, (x i , x j ) and (y i ,y j ) are two different longitudes and latitudes, and the distance between the longitudes and latitudes of points i and j is dis(x i , x j ,y i ,y j ).
[0030] Preferably, S4 comprises the following steps:
[0031] S44: If the distance between the vehicle and the battery swap station is greater than 50 meters, but the SOC data of the vehicle changes, the vehicle behavior is considered to be a suspected battery swap behavior, and the suspected battery swap behavior information is stored in the suspected battery swap database;
[0032] S45: When the suspected battery swapping data accumulated in the suspected battery swapping database reaches 100, the GPS points in the suspected battery swapping behavior information are aggregated. If the number of suspected battery swapping behaviors occurring at a certain GPS point is greater than a preset value, then the GPS point is a new battery swapping site, and the new battery swapping site is updated to the battery swapping site database;
[0033] S46: Match the GPS points in the suspected battery swapping behavior information with the latest battery swapping site location information, store the matched battery swapping data into the battery swapping database and delete the data information originally in the suspected battery swapping database.
[0034] Preferably, the data preprocessing includes removing duplicate longitudes and latitudes, removing missing longitudes and latitudes, unifying the latitude and longitude dimensions, and deleting data that is not in the country based on the longitude and latitude locations.
[0035] The present invention also includes a new energy vehicle battery replacement identification system based on data mining, which is used to implement the new energy vehicle battery replacement identification method based on data mining described above, and the system includes: a data acquisition and processing module, which is used to collect data from the vehicle terminal and perform preprocessing;
[0036] The battery swap station address acquisition module is used to identify the location of the battery swap station;
[0037] Battery swap identification model, used to calculate battery swap information;
[0038] The battery swap station database is used to store GPS and Geohash information of the battery swap station;
[0039] Suspected battery swap database, used to store suspected battery swap information;
[0040] Battery replacement history database, used to store vehicle battery replacement information;
[0041] An interactive visualization module is used to display the number of battery swaps at the battery swap station and vehicle battery swap information.
[0042] Beneficial effects of the present invention:
[0043] The present invention provides a method and system for identifying battery swapping of new energy vehicles based on data mining. When the data of battery swapping stations is inaccurate in the early stage, the locations of battery swapping stations can be identified by clustering data. In the middle and late stages, the locations of battery swapping stations can be continuously updated according to the data accumulated in the early stage to ensure the accuracy of the location information and the accuracy of the system. The location of the battery swapping station near the owner of the vehicle can be efficiently matched through Geohash coding technology, and then the distance between the owner and the battery swapping station can be calculated. This method can greatly reduce the calculation time and improve the operation efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 A step diagram of a new energy vehicle battery replacement identification method based on data mining according to the present invention;
[0045] Figure 2 This is a module diagram of a new energy vehicle battery replacement identification system based on data mining in the present invention. DETAILED DESCRIPTION
[0046] The present invention is further described in detail below in conjunction with the accompanying drawings. These drawings are simplified schematic diagrams, which only illustrate the basic structure of the present invention in a schematic manner. The direction of this specific implementation is to Figure 1 Direction is standard.
[0047] like Figure 1 As shown, a method for identifying battery replacement of new energy vehicles based on data mining comprises the following steps:
[0048] S1: Collect the locations of existing battery swap stations on the map, and cluster the missing battery swap station locations on the map based on the vehicle battery swap information provided by the business, so as to complete the battery swap station locations on the map;
[0049] S2: Collect vehicle driving data, national standard message data, GPS data and perform data preprocessing;
[0050] S3: extracting vehicle message information from the data collected by S2 and filtering the vehicle message information according to message filtering rules;
[0051] S4: Extract the GPS location information in the vehicle message information, and match the GPS location information with the battery swap station location to identify the battery swap behavior.
[0052] Preferably, the S1 comprises the following steps:
[0053] S11: Read vehicle message data according to the vehicle battery replacement information provided by the service, extract vehicle GPS and SOC data, and then perform data preprocessing;
[0054] S12: Obtain the locations of existing battery swap stations on the map by calling the electronic map API;
[0055] S13: clustering the vehicle GPS data obtained in S11 through a clustering algorithm, and then matching it with the battery swap station location obtained in S12 to obtain the missing battery swap station location on the map;
[0056] S14: Merge the existing battery swap station locations on the map and the missing battery swap station locations on the clustered map, delete duplicate locations, and perform Geohash encoding on all GPS information.
[0057] In S11, it is necessary to extract the vehicle message data of the corresponding time from the database according to the time in the battery replacement information data provided by the business.
[0058] The locations of battery swap stations on the electronic map API are not complete, and they are not updated as new battery swap stations are built, so battery swap stations are often missed. At this time, the missing battery swap station locations on the map are clustered through vehicle battery swap information to complete the battery swap station locations on the electronic map API. This makes it easier for users to find nearby battery swap stations when swapping batteries, and it is also easier to monitor the battery swap behavior at this point. Geohash coding technology is used to efficiently match the location of the battery swap station near the owner, and then calculate the distance between the owner and the battery swap station. This method can greatly reduce calculation time and improve operation efficiency.
[0059] Preferably, S2 comprises the following steps:
[0060] S21: Obtain national standard message data, SOC, and current data of the vehicle from the OEM's data management system, and pre-process the data;
[0061] S22: Acquire vehicle travel information by collecting data transmitted by the vehicle-side CAN, the vehicle travel information including the start time, stop time, start longitude and latitude, and stop longitude and latitude of the vehicle, and then perform data preprocessing.
[0062] Preferably, the data preprocessing includes removing duplicate longitudes and latitudes, removing missing longitudes and latitudes, unifying the latitude and longitude dimensions, and deleting data that is not in the country based on the longitude and latitude locations.
[0063] Sometimes the vehicle collected data will be missing, repeated or erroneous. These data cannot be used for subsequent calculations. Data preprocessing after data collection can remove some erroneous, repeated, accurate or incompatible data, thereby preventing errors in subsequent steps.
[0064] Preferably, S3 comprises the following steps:
[0065] S31: extracting the message data of the vehicle on the previous day, and extracting the timestamp in the message data and the latitude and longitude information of the corresponding time;
[0066] S32: Calculate the soc difference, mileage difference, and time difference between each frame of the message and the previous frame of the message, and filter the message segments that meet the rules according to the message filtering rules.
[0067] Preferably, the message screening rule is: if the SOC difference between each frame message and the previous frame message is greater than 50, the mileage difference is less than 1 kilometer, and the time difference is within 5 minutes, then the frame message fragment meets the rule.
[0068] Preferably, S4 comprises the following steps:
[0069] S41: extracting GPS data from message segments that meet the rules, performing geohash encoding on the GPS data, and matching the corresponding battery swap stations;
[0070] S42: Calculate the distance between the vehicle and the battery swap station;
[0071] S43: If the distance between the vehicle and the battery swap station is within 50 meters, the vehicle behavior is considered to be a battery swap behavior.
[0072] Preferably, the distance between the battery swap station and the vehicle is calculated as follows:
[0073] dis(x i , x j ,y i ,y j )=R×arcos[cos y i ×cos y j ×cos(x i -x j )+sin y i ×sin y j ]
[0074] Where R is the radius of the earth, (x i , x j ) and (y i ,y j ) are two different longitudes and latitudes, and the distance between the longitudes and latitudes of points i and j is dis(x i , x j ,y i ,y j ).
[0075] Preferably, S4 comprises the following steps:
[0076] S44: If the distance between the vehicle and the battery swap station is greater than 50 meters, but the SOC data of the vehicle changes, the vehicle behavior is considered to be a suspected battery swap behavior, and the suspected battery swap behavior information is stored in the suspected battery swap database 5;
[0077] S45: When the suspected battery swapping data accumulated in the suspected battery swapping database 5 reaches 100, the GPS points in the suspected battery swapping behavior information are aggregated. If the number of suspected battery swapping behaviors occurring at a certain GPS point is greater than a preset value, then the GPS point is a new battery swapping site, and the new battery swapping site is updated to the battery swapping site database;
[0078] S46: Match the GPS points in the suspected battery swapping behavior information with the latest battery swapping site location information, store the matched battery swapping data into the battery swapping database and delete the data information originally in the suspected battery swapping database 5.
[0079] like Figure 2 As shown, the present invention also includes a new energy vehicle battery replacement identification system based on data mining, which is used to implement the new energy vehicle battery replacement identification method based on data mining described above, and the system includes: a data acquisition and processing module 1, which is used to collect data from the vehicle terminal and perform preprocessing;
[0080] The battery swap station address acquisition module 2 is used to identify the location of the battery swap station;
[0081] Battery swap identification model 3, used to calculate battery swap information;
[0082] The battery swap station database 4 is used to store GPS and Geohash information of the battery swap station;
[0083] Suspected battery swap database 5, used to store suspected battery swap information;
[0084] Battery replacement history database 6, used to store vehicle battery replacement information;
[0085] The interactive visualization module 7 is used to display the number of battery swaps at the battery swap station and the vehicle battery swap information.
[0086] The present invention also includes a computer-readable storage medium, on which a data processing program is stored. When the data processing program is executed by a processor, the method described above is implemented.
[0087] The present invention also includes a computer device, which includes a memory and a processor. The memory stores computer-readable instructions, and the processor implements the above method when executing the computer-readable instructions.
[0088] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0089] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0090] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0091] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0092] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0093] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for identifying battery replacement of new energy vehicles based on data mining, characterized in that: The method comprises the following steps: S1: Collect the locations of existing battery swap stations on the map, and cluster the missing battery swap station locations on the map based on the vehicle battery swap information provided by the business, so as to complete the battery swap station locations on the map; S2: Collect vehicle driving data, national standard message data, GPS data and perform data preprocessing; S3: extracting vehicle message information from the data collected by S2 and filtering the vehicle message information according to message filtering rules; S4: Extract the GPS location information in the vehicle message information, and match the GPS location information with the battery swap station location to identify the battery swap behavior.
2. According to claim 1, the method for identifying battery replacement of new energy vehicles based on data mining is characterized in that: The S1 comprises the following steps: S11: Read vehicle message data according to the vehicle battery replacement information provided by the service, extract vehicle GPS and SOC data, and then perform data preprocessing; S12: Obtain the locations of existing battery swap stations on the map by calling the electronic map API; S13: clustering the vehicle GPS data obtained in S11 through a clustering algorithm, and then matching it with the battery swap station location obtained in S12 to obtain the missing battery swap station location on the map; S14: Merge the existing battery swap station locations on the map and the missing battery swap station locations on the clustered map, delete duplicate locations, and perform Geohash encoding on all GPS information.
3. The method for identifying battery replacement of new energy vehicles based on data mining according to claim 1 is characterized in that: The S2 comprises the following steps: S21: Obtain national standard message data, SOC, and current data of the vehicle from the OEM's data management system, and pre-process the data; S22: Acquire vehicle travel information by collecting data transmitted by the vehicle-side CAN, the vehicle travel information including the start time, stop time, start longitude and latitude, and stop longitude and latitude of the vehicle, and then perform data preprocessing.
4. The method for identifying battery replacement of new energy vehicles based on data mining according to claim 1 is characterized in that: The S3 comprises the following steps: S31: extracting the message data of the vehicle on the previous day, and extracting the timestamp in the message data and the latitude and longitude information of the corresponding time; S32: Calculate the soc difference, mileage difference, and time difference between each frame of the message and the previous frame of the message, and filter the message segments that meet the rules according to the message filtering rules.
5. According to claim 4, the method for identifying battery replacement of new energy vehicles based on data mining is characterized in that: The message screening rule is: if the SOC difference between each frame message and the previous frame message is greater than 50, the mileage difference is less than 1 kilometer, and the time difference is within 5 minutes, then the frame message fragment meets the rule.
6. The method for identifying battery replacement of new energy vehicles based on data mining according to claim 1 is characterized in that: The S4 comprises the following steps: S41: extracting GPS data from message segments that meet the rules, performing geohash encoding on the GPS data, and matching the corresponding battery swap stations; S42: Calculate the distance between the vehicle and the battery swap station; S43: If the distance between the vehicle and the battery swap station is within 50 meters, the vehicle behavior is considered to be a battery swap behavior.
7. The method for identifying battery replacement of new energy vehicles based on data mining according to claim 6 is characterized in that: The calculation formula for the distance between the battery swap station and the vehicle is: dis(x i ,x j ,and i ,and j )=R×arcos[cos and i ×cos and j ×cos(x i -x j )+without and i ×without and j ] Where R is the radius of the earth, (x i , x j ) and (y i ,y j ) are two different longitudes and latitudes, and the distance between the longitudes and latitudes of points i and j is dis(x i , x j ,y i ,y j ).
8. The method for identifying battery replacement of new energy vehicles based on data mining according to claim 7 is characterized in that: The S4 comprises the following steps: S44: If the distance between the vehicle and the battery swap station is greater than 50 meters, but the SOC data of the vehicle changes, the vehicle behavior is considered to be a suspected battery swap behavior, and the suspected battery swap behavior information is stored in the suspected battery swap database (5); S45: When the number of suspected battery swapping data accumulated in the suspected battery swapping database (5) reaches 100, the GPS points in the suspected battery swapping behavior information are aggregated. If the number of suspected battery swapping behaviors occurring at a certain GPS point is greater than a preset value, then the GPS point is a new battery swapping site, and the new battery swapping site is updated to the battery swapping site database; S46: Match the GPS points in the suspected battery swapping behavior information with the latest battery swapping site location information, store the matched battery swapping data in the battery swapping database and delete the data information originally in the suspected battery swapping database (5).
9. The method for identifying battery replacement of new energy vehicles based on data mining according to claim 1 or 2, characterized in that: The data preprocessing includes removing duplicate longitude and latitude, removing missing longitude and latitude, unifying the latitude and longitude dimensions, and deleting data that is not in the country according to the longitude and latitude locations.
10. A new energy vehicle battery replacement identification system based on data mining, characterized in that: The system is used to implement the new energy vehicle battery replacement identification method based on data mining as described in any one of claims 1 to 9, and comprises: a data acquisition and processing module (1), which is used to collect data from the vehicle terminal and perform preprocessing; A battery swap station address acquisition module (2), used to identify the location of the battery swap station; A battery swap identification model (3), used to calculate battery swap information; The battery swap station database (4) is used to store GPS and Geohash information of the battery swap station; A suspected battery swap database (5), used to store suspected battery swap information; A battery replacement history database (6), used to store vehicle battery replacement information; The interactive visualization module (7) is used to display the number of battery swaps at the battery swap station and the vehicle battery swap information.
Citation Information
Patent Citations
Map style display method and device based on activity state and mobile terminal
CN107391604A
Solution device and method for precise presentation of positioning point and track data on electronic map
CN108181638A
Cross-regional transaction visual monitoring method, device and equipment
CN111160996A
Vehicle maintenance behavior monitoring method, equipment, medium and device
CN113723633A
Method for controlling battery replacement of vehicle, computer system, medium and vehicle
CN114368317A
