Vehicle classification method and device, computer equipment and storage medium
By classifying and clustering the vehicle qualitative data and usage characteristic data of new energy vehicles, the problem of traditional battery early warning algorithms being unable to accurately distinguish vehicles is solved, achieving more accurate battery alarm reminders and improving the safety of new energy vehicle batteries. performance and reliability.
Patent Information
- Application Number
- CN202410920739.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-10-11
AI Technical Summary
Traditional battery early warning identification algorithms cannot accurately distinguish the characteristics and usage environments of different new energy vehicle batteries, leading to false alarm problems.
By obtaining the qualitative data and usage characteristic data of vehicles, classification and clustering processing are performed to determine the battery alarm threshold, accurately distinguish vehicles, and formulate detailed safety warning standards.
It improves the accuracy and reliability of battery early warning, reduces false alarms, and improves the safety and reliability of new energy vehicle batteries.
Smart Images

Figure CN118760993A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a vehicle classification method, apparatus, computer equipment and storage medium. Background Art
[0002] With the rapid popularization of new energy vehicles and the rapid development of the new energy vehicle industry, people have put forward higher requirements on the reliability and safety of new energy vehicle batteries.
[0003] In traditional technologies, battery warning recognition algorithms mostly determine the battery warning alarm threshold based on vehicle historical data, vehicle status and other information. However, there are often huge differences in the battery characteristics and vehicle usage environments of different new energy vehicles. This makes it easy for false alarms to occur if the warning algorithm sets a unified warning threshold.
[0004] Therefore, the traditional battery warning recognition algorithm has the problem of being unable to accurately distinguish vehicles, which leads to false alarms. Summary of the invention
[0005] Based on this, it is necessary to provide a vehicle classification method, device, computer equipment and storage medium that can accurately distinguish vehicles in response to the above technical problems.
[0006] In a first aspect, the present application provides a vehicle classification method, comprising:
[0007] Obtaining vehicle qualitative data and usage characteristic data of each vehicle to be monitored;
[0008] Classify each vehicle to be monitored according to the vehicle qualitative data to obtain the qualitative category to which each vehicle to be monitored belongs;
[0009] Clustering is performed on the monitored vehicles in the same qualitative category according to the usage characteristic data to obtain cluster analysis results;
[0010] Among them, vehicle qualitative data includes vehicle attribute data, vehicle environment data and vehicle location data within a preset time period; vehicle attribute data includes vehicle type data and vehicle battery data; usage characteristic data includes charging characteristic data and driving characteristic data; the battery alarm thresholds corresponding to the monitored vehicles under different clustering results are different; the battery alarm thresholds corresponding to the monitored vehicles under the same clustering result are the same; the battery alarm threshold is used to indicate that a battery alarm reminder will be issued when the battery power of the corresponding monitored vehicle exceeds the limit.
[0011] In one embodiment, each vehicle to be monitored is classified according to the vehicle qualitative data to obtain the qualitative category to which each vehicle to be monitored belongs, including:
[0012] Perform attribute classification processing on each vehicle to be monitored according to the vehicle attribute data to obtain the attribute category to which each vehicle to be monitored belongs;
[0013] According to the vehicle location data, each vehicle to be monitored under the same attribute category is classified and processed to obtain the location category to which each vehicle to be monitored belongs;
[0014] According to the vehicle environment data, each vehicle to be monitored in the same location category is subjected to environment classification processing to obtain the environment category to which each vehicle to be monitored belongs;
[0015] Among them, qualitative categories include attribute categories, location categories and environment categories.
[0016] In one embodiment, attribute classification processing is performed on each vehicle to be monitored according to the vehicle attribute data to obtain the attribute category to which each vehicle to be monitored belongs, including:
[0017] Classify each vehicle to be monitored according to the vehicle type data to obtain the factory type of the vehicle to be monitored;
[0018] According to the vehicle battery data, the batteries of the monitored vehicles of the same factory type are classified and processed to obtain the battery category of each monitored vehicle;
[0019] Among them, the attribute categories include factory type and battery category.
[0020] In one embodiment, the position classification processing is performed on each monitored vehicle under the same attribute category according to the vehicle position data to obtain the position category to which each monitored vehicle belongs, including:
[0021] For each vehicle to be monitored, the vehicle position data of the vehicle to be monitored is counted to determine the target position data of the vehicle to be monitored;
[0022] According to the target position data, the position classification processing is performed on the vehicles to be monitored under the same attribute category to obtain the position category to which each vehicle to be monitored belongs.
[0023] In one embodiment, the environment classification processing is performed on each vehicle to be monitored in the same location category according to the vehicle environment data to obtain the environment category to which each vehicle to be monitored belongs, including:
[0024] For each vehicle to be monitored, the vehicle environment data of the vehicle to be monitored is collected to determine the ambient temperature range of the vehicle to be monitored;
[0025] According to the ambient temperature range, the environmental classification processing is performed on the vehicles to be monitored under the same location category to obtain the environmental category to which each vehicle to be monitored belongs.
[0026] In one embodiment, clustering is performed on the monitored vehicles in the same qualitative category according to the usage characteristic data to obtain cluster analysis results, including:
[0027] According to the vehicle characteristic data of the vehicles to be monitored under the same qualitative category, the vehicle characteristic vectors of the corresponding vehicles to be monitored are generated; each vehicle characteristic vector is input into the vehicle characteristic classification model to obtain the target classification result of each vehicle to be monitored.
[0028] In a second aspect, the present application also provides a vehicle classification device, comprising:
[0029] A data acquisition module, used to acquire vehicle qualitative data and usage characteristic data of each vehicle to be monitored;
[0030] The vehicle classification module is used to classify each vehicle to be monitored according to the vehicle qualitative data to obtain the qualitative category to which each vehicle to be monitored belongs;
[0031] The vehicle clustering module is used to cluster the monitored vehicles under the same qualitative category according to the usage characteristic data to obtain the clustering analysis results;
[0032] Among them, vehicle qualitative data includes vehicle attribute data, vehicle environment data and vehicle location data within a preset time period; vehicle attribute data includes vehicle type data and vehicle battery data; usage characteristic data includes charging characteristic data and driving characteristic data; the battery alarm thresholds corresponding to the monitored vehicles under different clustering results are different; the battery alarm thresholds corresponding to the monitored vehicles under the same clustering result are the same; the battery alarm threshold is used to indicate that a battery alarm reminder will be issued when the battery power of the corresponding monitored vehicle exceeds the limit.
[0033] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0034] Obtaining vehicle qualitative data and usage characteristic data of each vehicle to be monitored;
[0035] Classify each vehicle to be monitored according to the vehicle qualitative data to obtain the qualitative category to which each vehicle to be monitored belongs;
[0036] Clustering is performed on the monitored vehicles in the same qualitative category according to the usage characteristic data to obtain cluster analysis results;
[0037] Among them, vehicle qualitative data includes vehicle attribute data, vehicle environment data and vehicle location data within a preset time period; vehicle attribute data includes vehicle type data and vehicle battery data; usage characteristic data includes charging characteristic data and driving characteristic data; the battery alarm thresholds corresponding to the monitored vehicles under different clustering results are different; the battery alarm thresholds corresponding to the monitored vehicles under the same clustering result are the same; the battery alarm threshold is used to indicate that a battery alarm reminder will be issued when the battery power of the corresponding monitored vehicle exceeds the limit.
[0038] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0039] Obtaining vehicle qualitative data and usage characteristic data of each vehicle to be monitored;
[0040] Classify each vehicle to be monitored according to the vehicle qualitative data to obtain the qualitative category to which each vehicle to be monitored belongs;
[0041] Clustering is performed on the monitored vehicles in the same qualitative category according to the usage characteristic data to obtain cluster analysis results;
[0042] Among them, vehicle qualitative data includes vehicle attribute data, vehicle environment data and vehicle location data within a preset time period; vehicle attribute data includes vehicle type data and vehicle battery data; usage characteristic data includes charging characteristic data and driving characteristic data; the battery alarm thresholds corresponding to the monitored vehicles under different clustering results are different; the battery alarm thresholds corresponding to the monitored vehicles under the same clustering result are the same; the battery alarm threshold is used to indicate that a battery alarm reminder will be issued when the battery power of the corresponding monitored vehicle exceeds the limit.
[0043] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0044] Obtaining vehicle qualitative data and usage characteristic data of each vehicle to be monitored;
[0045] Classify each vehicle to be monitored according to the vehicle qualitative data to obtain the qualitative category to which each vehicle to be monitored belongs;
[0046] Clustering is performed on the monitored vehicles in the same qualitative category according to the usage characteristic data to obtain cluster analysis results;
[0047] Among them, vehicle qualitative data includes vehicle attribute data, vehicle environment data and vehicle location data within a preset time period; vehicle attribute data includes vehicle type data and vehicle battery data; usage characteristic data includes charging characteristic data and driving characteristic data; the battery alarm thresholds corresponding to the monitored vehicles under different clustering results are different; the battery alarm thresholds corresponding to the monitored vehicles under the same clustering result are the same; the battery alarm threshold is used to indicate that a battery alarm reminder will be issued when the battery power of the corresponding monitored vehicle exceeds the limit.
[0048] The above-mentioned vehicle classification method, device, computer equipment and storage medium obtain the vehicle qualitative data and usage characteristic data of each vehicle to be monitored; classify each vehicle to be monitored according to the vehicle qualitative data to obtain the qualitative category to which each vehicle to be monitored belongs; cluster the vehicles to be monitored under the same qualitative category according to the usage characteristic data to obtain cluster analysis results; wherein, the vehicle qualitative data includes vehicle attribute data, vehicle environment data and vehicle position data within a preset time period; the vehicle attribute data includes vehicle type data and vehicle battery data; the usage characteristic data includes charging characteristic data and driving characteristic data; the battery alarm thresholds corresponding to the vehicles to be monitored under different clustering results are different; the battery alarm thresholds corresponding to the vehicles to be monitored under the same clustering result are the same; the battery alarm threshold is used to indicate that when the battery power of the corresponding vehicle to be monitored exceeds the limit, a battery alarm reminder is issued. The present application more accurately classifies the vehicles to be monitored based on the qualitative data and usage characteristic data. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0050] FIG1 is an application environment diagram of a vehicle classification method provided by this embodiment;
[0051] FIG2 is a schematic diagram of a flow chart of a first vehicle classification method provided in this embodiment;
[0052] FIG3 is a schematic diagram of a flow chart of a second vehicle classification method provided in this embodiment;
[0053] FIG4 is a structural block diagram of a vehicle classification device provided in this embodiment;
[0054] FIG5 is an internal structure diagram of a first computer device provided in this embodiment;
[0055] FIG6 is a diagram showing the internal structure of a second type of computer device provided in this embodiment. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0057] The vehicle classification method provided in the embodiment of the present application can be applied in the application environment shown in FIG1. Among them, the computer device obtains the vehicle qualitative data and usage characteristic data of each vehicle to be monitored; classifies each vehicle to be monitored according to the vehicle qualitative data to obtain the qualitative category to which each vehicle to be monitored belongs; clusters the vehicles to be monitored under the same qualitative category according to the usage characteristic data to obtain the cluster analysis result; wherein the vehicle qualitative data includes vehicle attribute data, vehicle environment data and vehicle location data within a preset time period; the vehicle attribute data includes vehicle type data and vehicle battery data; the usage characteristic data includes charging characteristic data and driving characteristic data; the battery alarm thresholds corresponding to the vehicles to be monitored under different clustering results are different; the battery alarm thresholds corresponding to the vehicles to be monitored under the same clustering result are the same; the battery alarm threshold is used to indicate that when the battery power of the corresponding vehicle to be monitored exceeds the limit, a battery alarm reminder is issued. Among them, the computer device can be a terminal or a server. The terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices, and the Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. The portable wearable device may be a smart watch, a smart bracelet, a head-mounted device, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.
[0058] In an exemplary embodiment, as shown in FIG2 , a vehicle classification method is provided, which is described by taking the method applied to the computer device in FIG1 as an example, and includes the following steps 201 to 203. Among them:
[0059] Step 201, obtaining vehicle qualitative data and usage characteristic data of each vehicle to be monitored.
[0060] Among them, the vehicle qualitative data includes vehicle attribute data, vehicle environment data and vehicle position data within a preset time period; the vehicle attribute data includes vehicle type data and vehicle battery data.
[0061] Specifically, the computer device obtains the vehicle qualitative data and usage characteristic data of each vehicle to be monitored within the monitoring range of the monitoring platform.
[0062] Step 202 , classify each to-be-monitored vehicle according to the vehicle qualitative data to obtain the qualitative category to which each to-be-monitored vehicle belongs.
[0063] Among them, qualitative categories include attribute categories, location categories and environment categories.
[0064] Specifically, the attribute category, location category and environment category of each vehicle to be monitored are determined according to the vehicle qualitative data, and the attribute category, location category and environment category of each vehicle to be monitored are used as the qualitative category to which each vehicle to be monitored belongs.
[0065] Step 203 , clustering the vehicles to be monitored in the same qualitative category according to the usage characteristic data to obtain a cluster analysis result.
[0066] Among them, the usage characteristic data includes charging characteristic data and driving characteristic data; the battery alarm thresholds corresponding to the monitored vehicles under different clustering results are different; the battery alarm thresholds corresponding to the monitored vehicles under the same clustering result are the same; the battery alarm threshold is used to indicate that a battery alarm reminder will be issued when the battery power of the corresponding monitored vehicle exceeds the limit.
[0067] Specifically, for each of the to-be-monitored vehicles in each qualitative category, clustering processing is performed on the to-be-monitored vehicles according to the usage characteristic data corresponding to the to-be-monitored vehicles to obtain a cluster analysis result.
[0068] The above-mentioned vehicle classification method, device, computer equipment and storage medium obtain the vehicle qualitative data and usage characteristic data of each vehicle to be monitored; classify each vehicle to be monitored according to the vehicle qualitative data to obtain the qualitative category to which each vehicle to be monitored belongs; cluster the vehicles to be monitored under the same qualitative category according to the usage characteristic data to obtain cluster analysis results; wherein, the vehicle qualitative data includes vehicle attribute data, vehicle environment data and vehicle position data within a preset time period; the vehicle attribute data includes vehicle type data and vehicle battery data; the usage characteristic data includes charging characteristic data and driving characteristic data; the battery alarm thresholds corresponding to the vehicles to be monitored under different clustering results are different; the battery alarm thresholds corresponding to the vehicles to be monitored under the same clustering result are the same; the battery alarm threshold is used to indicate that a battery alarm reminder is issued when the battery power of the corresponding vehicle to be monitored exceeds the limit. This application can more accurately classify the vehicles to be monitored based on the qualitative data and usage characteristic data, and can formulate more detailed standards for safety warnings for different categories of vehicles to be monitored, thereby improving the accuracy and reliability of subsequent safety warnings and vehicle statistical classification.
[0069] In some embodiments, each vehicle to be monitored is classified according to the vehicle qualitative data to obtain the qualitative category to which each vehicle to be monitored belongs, including: performing attribute classification processing on each vehicle to be monitored according to the vehicle attribute data to obtain the attribute category to which each vehicle to be monitored belongs; performing position classification processing on each vehicle to be monitored in the same attribute category according to the vehicle position data to obtain the position category to which each vehicle to be monitored belongs; performing environment classification processing on each vehicle to be monitored in the same position category according to the vehicle environment data to obtain the environment category to which each vehicle to be monitored belongs.
[0070] Specifically, attribute classification processing is performed on each vehicle to be monitored based on the vehicle attribute data to obtain the attribute category to which each vehicle to be monitored belongs; for each vehicle to be monitored in each attribute category, the location category of the vehicle to be monitored is determined based on the vehicle location data of the vehicle to be monitored, and then the location category to which each vehicle to be monitored belongs is obtained; for each vehicle to be monitored in each location category, the environment category to which the vehicle to be monitored belongs is determined based on the vehicle environment data of the vehicle to be monitored, and then the environment category to which each vehicle to be monitored belongs is obtained.
[0071] This embodiment can more accurately classify the monitored vehicles into qualitative categories.
[0072] In some embodiments, attribute classification is performed on each vehicle to be monitored based on the vehicle attribute data to obtain the attribute category of each vehicle to be monitored, including: type classification is performed on each vehicle to be monitored based on the vehicle type data to obtain the factory type of the vehicle to be monitored; battery classification is performed on vehicles to be monitored of the same factory type based on the vehicle battery data to obtain the battery category of each vehicle to be monitored.
[0073] The attribute categories include factory type and battery category. For example, the battery category may include battery type and battery pack type, wherein the battery type may include iron lithium battery, ternary lithium 523 battery, ternary lithium 622 battery, ternary lithium 811 battery, etc. The battery pack type may include "cell-module-battery pack" (CTP), battery integration type (CTC), etc.
[0074] Specifically, according to the vehicle type data of each vehicle to be monitored, the factory type of each vehicle to be monitored is determined, and the monitored vehicles of the same factory type are classified by type. For the monitored vehicles of the same factory type, the battery category corresponding to the vehicle battery data of the vehicle to be monitored is further determined, and the vehicles to be monitored of the same factory type are classified by battery to obtain the battery category of each vehicle to be monitored.
[0075] For example, first, the vehicles to be monitored are divided into I categories according to the factory type of the vehicle type data, and each category is recorded as A i , i=1,2,3…I (I means there are I types of factory models). Secondly, A is obtained based on the vehicle model classification. i After that, each type A i The battery type of the vehicle battery data is further subdivided to obtain A ij , j = 1, 2, 3…J (J means there are J types of batteries), and the battery pack type of the vehicle battery data is A ij Continue to classify as attribute category A ijkmn , k=1,2,3…K, m=1,2,3…M, n=1,2,3…N (K represents the number of categories of the total number of battery cells, M represents the number of categories of battery cooling methods, and N represents the number of categories of battery pack mold distribution), and the attribute category of each vehicle to be monitored is obtained.
[0076] This embodiment can more accurately classify the attributes of the monitored vehicle.
[0077] In some embodiments, position classification processing is performed on each vehicle to be monitored under the same attribute category based on the vehicle position data to obtain the position category to which each vehicle to be monitored belongs, including: for each vehicle to be monitored, counting the vehicle position data of the vehicle to be monitored and determining the target position data of the vehicle to be monitored; based on the target position data, position classification processing is performed on the vehicles to be monitored under the same attribute category to obtain the position category to which each vehicle to be monitored belongs.
[0078] The vehicle location data may be the latitude and longitude location data of the vehicle to be monitored. The location category may include an urban operating condition category and a non-urban operating condition category.
[0079] For example, attribute category A ijkmn Note: B P , P = 1, 2, 3…I×J×K×M×N (P represents I×J×K×M×N categories of attribute categories). Location recognition is performed based on vehicle location data. For each category B P If more than half of the vehicle location data in the B are located in the urban area, the location category of the monitored vehicle is determined to be the urban operating condition category; if more than half of the vehicle location data in the B are located in the non-urban area, the location category of the monitored vehicle is determined to be the non-urban operating condition category. P Further classified into location category B P_r , r=1,2 (r represents urban area or non-urban area, total R=2 categories).
[0080] This embodiment can more accurately classify the location of the monitored vehicle.
[0081] In some embodiments, environmental classification processing is performed on each vehicle to be monitored in the same location category based on the vehicle environmental data to obtain the environmental category to which each vehicle to be monitored belongs, including: for each vehicle to be monitored, counting the vehicle environmental data of the vehicle to be monitored to determine the environmental temperature range of the vehicle to be monitored; based on the environmental temperature range, environmental classification processing is performed on the vehicles to be monitored in the same location category to obtain the environmental category to which each vehicle to be monitored belongs.
[0082] For example, the upper and lower limits of the temperature range of the ambient temperature in the vehicle environment data are based on the average maximum temperature T of the city to which the monitored vehicle belongs in the past fifteen days. max , minimum temperature T min The degree range is divided into S = 10 equal parts. P_r The vehicle in the scenario is further classified into one of the 10 temperature ranges according to the average temperature in the scenario, which is counted as B P_rs (s=1,2,3…10 represents the temperature interval corresponding to the vehicle to be monitored).
[0083] This embodiment can more accurately classify the environment of the monitored vehicle.
[0084] In some embodiments, the vehicles to be monitored under the same qualitative category are clustered based on the usage characteristic data to obtain cluster analysis results, including: generating vehicle characteristic vectors of the corresponding vehicles to be monitored based on the vehicle characteristic data of the vehicles to be monitored under the same qualitative category; inputting each vehicle characteristic vector into a vehicle characteristic classification model to obtain a target classification result for each vehicle to be monitored.
[0085] For example, the obtained B P_rs C t, when t = 1, 2, 3... I×J×K×M×N×R×S (t represents the I×J×K×M×N×R×S categories obtained from the qualitative classification of the first two layers), after completing the above qualitative classification, the usage characteristics of the vehicles to be monitored are classified based on the fuzzy clustering method. The vehicle usage characteristics considered include: charging behavior characteristics and driving behavior characteristics. Among them, the charging behavior characteristics include: the average single charging amount S1, the average weekly charging times N1, the number of times N2 when the SOC is below 10 at the start of charging, the number of times N3 when the SOC is above 95 at the end of charging, the average weekly over-discharge time T1, and the driving behavior characteristics include: the average single-trip mileage S2, the average weekly travel duration T2, the cumulative weekly driving mileage S3, and the driving intensity N4. Among them, the over-discharge time T1 refers to the time when the battery continues to charge after the SOC reaches 100 during the charging process. The driving intensity N4 refers to the total number of times the speed acceleration change exceeds a certain threshold, the number of times the speed deceleration change exceeds a certain threshold, and the number of driving times when the battery temperature is greater than 40 degrees Celsius within a calculation cycle; among them, the number of times of average rapid acceleration or rapid deceleration exceeding the threshold is determined by statistically analyzing the throttle opening and the brake pedal stroke opening.
[0086] Exemplarily, for each class C t , the above nine usage characteristics data of all the vehicles to be monitored in t = 1, 2, 3... I×J×K×M×N×R×S are extracted to form the usage characteristic vector X of each vehicle v = [S1, S2, S3, N1, N2, N3, N4, T1, T2] T , where v = 1, 2, 3... V (V represents the total number of vehicles in each class C t , and the superscript T on the vector represents the transpose to a column vector).
[0087] Exemplarily, an unsupervised machine learning algorithm is used to further cluster and classify the vehicles in each C t class. For example, the FCM clustering algorithm is selected to classify E vehicles (such as E = 5000) in each vehicle type of C t . According to the number of vehicles in the class and the comprehensive consideration of algorithm resources, the specified number of clustering categories G( (G < E)), start the clustering iteration optimization classification for the feature vector samples, and the specific process is as follows:
[0088] Select the initial class centers and determine the sample membership degrees. Select the feature vector data samples of any G vehicles in the selected C t class as the initial class centers, and denote each initial class center as g h , where h = 1, 2, 3... G. Denote the similarity degree between the E samples in the selected C t class and the G classes as the sample membership degrees, and use uae Indicates that, where u ae The e in represents the e-th sample data, and a represents the a-th category. The sum of the membership of a single sample to all G categories is 1, which is the following formula (1-1):
[0089] (1-1)
[0090] Establish an optimization objective function. Multiply the membership degree of each sample by the distance from the sample to each class center to form the objective function F, which is the following formula (1-2):
[0091] (1-2)
[0092] Among them, b=2 is recorded as the membership factor, X v is the feature vector data sample, g h is the class center feature vector sample.
[0093] The membership degree and class center of each feature vector data sample are updated and calculated. According to the objective function and the membership degree constraint conditions, the constraint conditions are used to determine the iterative optimization formula of the membership degree, as shown in the following formula (1-3):
[0094] (1-3)
[0095] The initial set class center data g h , h=1,2,3…G is brought into the iterative optimization formula to obtain the membership degree u of each sample to the initial class center ae Numeric value.
[0096] After obtaining each element of the optimized membership matrix, the membership elements are sequentially brought into the optimization iteration formula of the class center to obtain G new class centers. After obtaining the new class center, the next fuzzy clustering iteration can be performed to obtain new membership elements and class centers. Among them, the iteration formula of the class center is as follows (1-4):
[0097] (1-4)
[0098] Clustering iteration termination judgment. When the number of iterations reaches the limited number of iterations H or the difference in the membership values of the previous and next two iterations is less than the limited value, the iteration ends and the result is output. The termination condition of the iteration is as follows (1-5):
[0099] (1-5)
[0100] Output the final cluster classification result. Based on the finally optimized class center and the membership of each sample to the class center, the sample is classified into the class with the largest membership according to the size of the membership to complete the third layer of usage feature classification based on fuzzy clustering.
[0101] According to the clustering algorithm, each After further classification of the classes, the total number of tg categories (tg=1,2,3…I×J×K×M×N×R×S×G, G is the number of cluster categories).
[0102] This embodiment can obtain clustering processing of the vehicles to be monitored more accurately.
[0103] In one embodiment, this embodiment provides an optional method for vehicle classification, and takes the method applied to a server as an example for explanation. As shown in FIG3 , the method includes the following steps:
[0104] Step 301, obtaining vehicle qualitative data and usage characteristic data of each vehicle to be monitored.
[0105] Step 302: classify each monitored vehicle according to the vehicle type data to obtain the factory type of the monitored vehicle.
[0106] Step 303 , based on the vehicle battery data, battery classification processing is performed on the vehicles to be monitored of the same factory type to obtain the battery category to which each vehicle to be monitored belongs.
[0107] Step 304 , performing position classification processing on each to-be-monitored vehicle under the same attribute category according to the vehicle position data, and obtaining the position category to which each to-be-monitored vehicle belongs.
[0108] Step 305 , performing environmental classification processing on each to-be-monitored vehicle in the same location category according to the vehicle environmental data, and obtaining the environmental category to which each to-be-monitored vehicle belongs.
[0109] Step 306 : generating a vehicle characteristic vector of the corresponding vehicle to be monitored according to the vehicle characteristic data of the vehicles to be monitored under the same qualitative category.
[0110] Step 307: input each vehicle characteristic vector into a vehicle characteristic classification model to obtain a target classification result of each vehicle to be monitored.
[0111] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0112] Based on the same inventive concept, the embodiment of the present application also provides a vehicle classification device for implementing the vehicle classification method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more vehicle classification device embodiments provided below can refer to the limitations on the vehicle classification method above, and will not be repeated here.
[0113] In an exemplary embodiment, as shown in FIG4 , a vehicle classification device is provided, comprising: a data acquisition module 10, a vehicle classification module 11 and a vehicle clustering module 12, wherein:
[0114] The data acquisition module 10 is used to acquire the vehicle qualitative data and usage characteristic data of each vehicle to be monitored;
[0115] The vehicle classification module 11 is used to classify each vehicle to be monitored according to the vehicle qualitative data to obtain the qualitative category to which each vehicle to be monitored belongs;
[0116] The vehicle clustering module 12 is used to cluster the monitored vehicles of the same qualitative category according to the usage characteristic data to obtain a cluster analysis result;
[0117] Among them, vehicle qualitative data includes vehicle attribute data, vehicle environment data and vehicle location data within a preset time period; vehicle attribute data includes vehicle type data and vehicle battery data; usage characteristic data includes charging characteristic data and driving characteristic data; the battery alarm thresholds corresponding to the monitored vehicles under different clustering results are different; the battery alarm thresholds corresponding to the monitored vehicles under the same clustering result are the same; the battery alarm threshold is used to indicate that a battery alarm reminder will be issued when the battery power of the corresponding monitored vehicle exceeds the limit.
[0118] In some embodiments, the vehicle classification module 11 in FIG. 4 further includes:
[0119] The attribute classification unit is used to classify the attributes of each monitored vehicle according to the vehicle attribute data to obtain the attribute category to which each monitored vehicle belongs;
[0120] A position classification unit is used to classify the positions of the vehicles to be monitored under the same attribute category according to the vehicle position data, so as to obtain the position category to which each vehicle to be monitored belongs;
[0121] The environmental classification unit is used to perform environmental classification processing on each monitored vehicle under the same location category according to the vehicle environmental data to obtain the environmental category to which each monitored vehicle belongs; wherein the qualitative category includes attribute category, location category and environmental category.
[0122] In some embodiments, the attribute classification unit in Figure 4 is also used to perform type classification processing on each vehicle to be monitored according to the vehicle type data to obtain the factory type of the vehicle to be monitored; according to the vehicle battery data, the battery classification processing is performed on the vehicles to be monitored under the same factory type to obtain the battery category of each vehicle to be monitored; wherein the attribute category includes the factory type and the battery category.
[0123] In some embodiments, the position classification unit in Figure 4 is also used to count the vehicle position data of the vehicle to be monitored for each vehicle to be monitored, and determine the target position data of the vehicle to be monitored; according to the target position data, the vehicles to be monitored under the same attribute category are position classified to obtain the position category to which each vehicle to be monitored belongs.
[0124] In some embodiments, the environmental classification unit in Figure 4 is also used to count the vehicle environmental data of the vehicle to be monitored for each vehicle to be monitored, and determine the environmental temperature range of the vehicle to be monitored; according to the environmental temperature range, the environmental classification processing is performed on the vehicles to be monitored under the same location category to obtain the environmental category to which each vehicle to be monitored belongs.
[0125] In some embodiments, the vehicle clustering module 12 in Figure 4 is also used to generate a vehicle characteristic vector of the corresponding vehicle to be monitored based on the vehicle characteristic data of the vehicle to be monitored under the same qualitative category; each vehicle characteristic vector is input into the vehicle characteristic classification model to obtain a target classification result for each vehicle to be monitored.
[0126] Each module in the above vehicle classification device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0127] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG5. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store cluster analysis result data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a vehicle classification method is implemented.
[0128] In an exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG6. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer 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 input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a vehicle classification method is implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0129] Those skilled in the art will understand that the structures shown in FIGS. 5 and 6 are merely block diagrams of partial structures related to the scheme of the present application, and do not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device may include more or fewer components than those shown in the figures, or combine certain components, or have a different arrangement of components.
[0130] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0131] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0132] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0133] It should be noted that the data involved in this application (including but not limited to data used for analysis, stored data, displayed data, etc.) are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0134] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0135] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0136] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A vehicle classification method, characterized in that: The method comprises: Obtaining vehicle qualitative data and usage characteristic data of each vehicle to be monitored; Classify the vehicles to be monitored according to the vehicle qualitative data to obtain the qualitative category to which the vehicles to be monitored belong; Clustering the monitored vehicles in the same qualitative category according to the usage characteristic data to obtain a cluster analysis result; Among them, the vehicle qualitative data includes vehicle attribute data, vehicle environment data and vehicle position data within a preset time period; the vehicle attribute data includes vehicle type data and vehicle battery data; the usage characteristic data includes charging characteristic data and driving characteristic data; the battery alarm thresholds corresponding to the monitored vehicles under different clustering results are different; the battery alarm thresholds corresponding to the monitored vehicles under the same clustering result are the same; the battery alarm threshold is used to indicate that a battery alarm reminder will be issued when the battery power of the corresponding monitored vehicle exceeds the limit.
2. The method according to claim 1, characterized in that The classifying process of each to-be-monitored vehicle according to the vehicle qualitative data to obtain the qualitative category to which each to-be-monitored vehicle belongs includes: Performing attribute classification processing on each of the vehicles to be monitored according to the vehicle attribute data to obtain the attribute category to which each of the vehicles to be monitored belongs; Performing position classification processing on each to-be-monitored vehicle under the same attribute category according to the vehicle position data to obtain the position category to which each to-be-monitored vehicle belongs; Performing environmental classification processing on each vehicle to be monitored in the same location category according to the vehicle environmental data to obtain the environmental category to which each vehicle to be monitored belongs; The qualitative categories include attribute categories, location categories and environment categories.
3. The method according to claim 2, characterized in that The method of performing attribute classification processing on each of the vehicles to be monitored according to the vehicle attribute data to obtain the attribute category to which each of the vehicles to be monitored belongs includes: Performing type classification processing on each of the vehicles to be monitored according to the vehicle type data to obtain the factory type to which the vehicle to be monitored belongs; According to the vehicle battery data, the batteries of the monitored vehicles of the same factory type are classified to obtain the battery category of each monitored vehicle; The attribute category includes the factory type and the battery category.
4. The method according to claim 2, characterized in that: The step of performing position classification processing on each to-be-monitored vehicle under the same attribute category according to the vehicle position data to obtain the position category to which each to-be-monitored vehicle belongs includes: For each vehicle to be monitored, the vehicle position data of the vehicle to be monitored is counted to determine the target position data of the vehicle to be monitored; According to the target position data, position classification processing is performed on the vehicles to be monitored under the same attribute category to obtain the position category to which each vehicle to be monitored belongs.
5. The method according to claim 2, characterized in that: The step of performing environmental classification processing on each vehicle to be monitored in the same location category according to the vehicle environmental data to obtain the environmental category to which each vehicle to be monitored belongs includes: For each vehicle to be monitored, collecting vehicle environment data of the vehicle to be monitored and determining an ambient temperature range of the vehicle to be monitored; According to the environmental temperature range, environmental classification processing is performed on the vehicles to be monitored in the same location category to obtain the environmental category to which each vehicle to be monitored belongs.
6. The method according to claim 1, characterized in that The clustering process is performed on the monitored vehicles in the same qualitative category according to the usage characteristic data to obtain cluster analysis results, including: According to the vehicle characteristic data of the vehicles to be monitored under the same qualitative category, the vehicle characteristic vectors of the corresponding vehicles to be monitored are generated; each of the vehicle characteristic vectors is input into the vehicle characteristic classification model to obtain the target classification result of each vehicle to be monitored.
7. A vehicle classification device, characterized in that: The device comprises: A data acquisition module, used to acquire vehicle qualitative data and usage characteristic data of each vehicle to be monitored; A vehicle classification module, used to classify each of the vehicles to be monitored according to the vehicle qualitative data to obtain the qualitative category to which each of the vehicles to be monitored belongs; A vehicle clustering module, used for clustering the monitored vehicles of the same qualitative category according to the usage characteristic data to obtain a cluster analysis result; Among them, the vehicle qualitative data includes vehicle attribute data, vehicle environment data and vehicle position data within a preset time period; the vehicle attribute data includes vehicle type data and vehicle battery data; the usage characteristic data includes charging characteristic data and driving characteristic data; the battery alarm thresholds corresponding to the monitored vehicles under different clustering results are different; the battery alarm thresholds corresponding to the monitored vehicles under the same clustering result are the same; the battery alarm threshold is used to indicate that a battery alarm reminder will be issued when the battery power of the corresponding monitored vehicle exceeds the limit.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Power battery thermal runaway early warning method and device, storage medium and terminal equipment
CN112622624A
Thermal management system diagnosis method and device and computer readable storage medium
CN115146740A
Method for monitoring a battery of a vehicle, electronic device and vehicle
CN116482548A
Electric vehicle charging behavior classification method and device, storage medium and electronic equipment
CN116484281A
Object recognition method and device, computer equipment and storage medium
CN116778308A
