Method, device and electronic equipment for determining vehicle safety score
Patent Information
- Application Number
- CN202111405997.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-24
- Publication Date
- 2026-09-18
- Estimated Expiration
- 2041-11-24
AI Technical Summary
[0017]The method for determining vehicle safety scores provided by this invention first obtains the original charging data of the vehicle being evaluated when executing the currently completed charging order and the safety score of the vehicle being evaluated when executing the previous charging order. Then, based on the original charging data, it determines the order score and order traceability result of the completed charging order. Next, it determines a score correction coefficient based on the original charging data and the order traceability result, and determines a score penalty coefficient and a score correction value based on the original charging data, the order traceability result, and the order score. Finally, it determines the current safety score of the vehicle being evaluated based on the safety score, order score, score correction coefficient, score penalty coefficient, and score correction value of the previous charging order. This method utilizes the original charging data of the vehicle being evaluated when executing the currently completed charging order to first calculate the order score and the order traceability result. Then, it further introduces a score correction coefficient, a score penalty coefficient, and a score correction value, and finally, it comprehensively considers the safety score of the vehicle being evaluated when executing the previous charging order to calculate the current safety score. This method considers the performance of the vehicle being evaluated across multiple data dimensions when determining the vehicle safety score, enabling the final calculated vehicle safety score to more accurately reflect vehicle safety.
Smart Images

Figure CN115291581B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the technical field of vehicle safety, and in particular to a method, apparatus, and electronic device for determining vehicle safety scores. Background Technology
[0002] Currently, electric vehicles are widely used, making vehicle charging safety an important research topic. Given that vehicle safety ratings can reflect vehicle safety to some extent, obtaining accurate vehicle safety ratings based on charging data is a pressing technical problem that needs to be solved in current technology. Summary of the Invention
[0003] The purpose of this invention is to provide a method, apparatus, and electronic device for determining a vehicle safety score, so that the final determined vehicle safety score can more accurately reflect vehicle safety.
[0004] In a first aspect, the present invention provides a method for determining a vehicle safety score, comprising: acquiring original charging data of a vehicle to be scored when executing a currently completed charging order and a safety score of the vehicle to be scored for executing a previous charging order; determining an order score and an order traceability result of the completed charging order based on the original charging data; determining a score correction coefficient based on the original charging data and the order traceability result; and determining a score penalty coefficient and a score correction value based on the original charging data, the order traceability result, and the order score; and determining the current safety score of the vehicle to be scored based on the safety score of the previous charging order, the order score, the score correction coefficient, the score penalty coefficient, and the score correction value.
[0005] In an optional implementation, determining the order score and order traceability result of the completed charging order for the vehicle to be evaluated based on the original charging data includes: obtaining the average value of the target charging safety parameters of the target vehicle within a preset time period; wherein, the target vehicle refers to a vehicle of the same series as the vehicle to be evaluated within the same city or province; the target charging safety parameters include one of the following: target temperature difference, temperature rate, pressure difference, maximum temperature, SOC rate, and single-cell voltage rate; the target temperature difference represents the maximum value of the difference between the highest temperature and the lowest temperature of the battery pack at all sampling times during the charging process; determining the target charging safety parameters of the completed charging order based on the original charging data; and using the first formula. Calculate the order score; where dT_Score represents the order score, dT_dev represents the difference between the target charging safety parameter and the average value of the completed charging order, p1 represents the first preset fitting parameter, p2 represents the second preset fitting parameter, p3 represents the third preset fitting parameter, and p4 represents the fourth preset fitting parameter; process the original charging data using a preset neural network model to obtain the order traceability result; wherein the order traceability result includes any one of the following: strong normal, weak normal, strong abnormal, weak abnormal, and sampling abnormal.
[0006] In an optional implementation, determining the rating correction coefficient based on the original charging data and the order traceability result includes: determining the charging capacity of the completed charging order based on the original charging data; querying the rating correction coefficient in a preset correspondence table based on the charging capacity and the order traceability result; wherein the preset correspondence table is a lookup table of the charging capacity, the order traceability result and the rating correction coefficient.
[0007] In an optional implementation, if the order traceability result indicates a sampling anomaly, a scoring penalty coefficient and a scoring correction value are determined based on the original charging data, the order traceability result, and the order score, including: determining the scoring correction value as a first preset score; wherein the first preset score is negative; and determining the scoring penalty coefficient as 1.
[0008] In an optional implementation, when the order traceability result is strongly abnormal, a scoring penalty coefficient and a scoring correction value are determined based on the original charging data, the order traceability result, and the order score, including: determining the scoring correction value to be 0 and updating the vehicle overhaul flag of the vehicle to be scored to 0; obtaining the state change flag of the vehicle to be scored; and using the second formula... Calculate the scoring penalty coefficient; where a represents a preset coefficient and a>1, b represents a first preset value, Rev_0_flag represents the state change flag, and Rev_0 represents the scoring penalty coefficient.
[0009] In an optional implementation, when the order traceability result is a weak anomaly, a scoring penalty coefficient and a scoring correction value are determined based on the original charging data, the order traceability result, and the order score. This includes: determining that the scoring correction value is 0 and updating the vehicle overhaul flag of the vehicle to be scored to 0; determining whether the order score and the charging capacity of the completed charging orders meet a first preset condition; wherein, the first preset condition indicates that the order score is lower than a first preset score and the charging capacity of the completed charging orders is lower than a first preset capacity threshold; if met, then controlling the state change flag of the vehicle to be scored to accumulate; and using a second formula... Calculate the scoring penalty coefficient; where a represents a preset coefficient and a>1, b represents a first preset value, Rev_0_flag represents the state change flag, and Rev_0 represents the scoring penalty coefficient.
[0010] In an optional implementation, when the order traceability result is weakly normal, a scoring penalty coefficient and a scoring correction value are determined based on the original charging data, the order traceability result, and the order score. This includes: determining whether the order score and the charging capacity of the completed charging order meet a second preset condition; wherein the second preset condition indicates that the order score is full and the charging capacity of the completed charging order is not lower than a first preset capacity threshold; if met, the state change flag of the vehicle to be scored is updated to 0, and the vehicle overhaul flag of the vehicle to be scored is incremented; using a second formula... Calculate the scoring penalty coefficient and determine whether the vehicle overhaul flag is not less than a second preset value; where a represents the preset coefficient and a>1, b represents the first preset value, Rev_0_flag represents the state change flag, and Rev_0 represents the scoring penalty coefficient; if yes, then determine that the scoring correction value is the difference between the score determined based on the safety score of the previous charging order, the order score, the scoring correction coefficient, and the scoring penalty coefficient and the full score.
[0011] In an optional implementation, if the order traceability result is strongly normal, a scoring penalty coefficient and a scoring correction value are determined based on the original charging data, the order traceability result, and the order score, including: updating the state change flag of the vehicle to be scored to 0; and using the second formula... Calculate the scoring penalty coefficient; where a represents a preset coefficient and a > 1, b represents a first preset value, Rev_0_flag represents the state change flag, and Rev_0 represents the scoring penalty coefficient; determine whether the order score and the charging capacity of the completed charging order meet a third preset condition; where the third preset condition indicates that the order score is greater than a second preset score and the charging capacity of the completed charging order is not less than a first preset capacity threshold; if the third preset condition is met, control the accumulation of the vehicle overhaul flag of the vehicle to be scored; determine whether the vehicle overhaul flag is not less than a second preset value; if so, determine that the scoring correction value is the difference between the score determined based on the safety score of the previous charging order, the order score, the scoring correction coefficient, and the scoring penalty coefficient and the full score.
[0012] In an optional implementation, determining the current safety score of the vehicle to be scored based on the safety score of the previous charging order, the order score, the score correction coefficient, the score penalty coefficient, and the score correction value includes: calculating the score change value using the third formula dScore=α*(mn)*Rev_0, where dScore represents the score change value, α represents the score correction coefficient, m represents the order score, n represents the safety score of the previous charging order, and Rev_0 represents the score penalty coefficient; if the score change value is not greater than 0, then the score change value, the safety score of the previous charging order, and the score correction value are compared with the previous charging order score. The sum of the score correction values is used as the current safety score of the vehicle to be scored. If the score change value is greater than 0, it is determined whether the charging capacity and traceability result of the completed charging order meet the fourth preset condition. The fourth preset condition means that the charging capacity of the completed charging order is greater than the second preset capacity threshold, and the traceability result of the order is strong normal or weak normal. If the condition is met, the sum of the score change value, the safety score of the previous charging order, and the score correction value is used as the current safety score of the vehicle to be scored. If the condition is not met, the sum of the safety score of the previous charging order and the score correction value is used as the current safety score of the vehicle to be scored.
[0013] In an optional implementation, the method further includes: acquiring target charging data of the vehicle to be rated when executing the first charging order; determining, based on the target charging data, the target order score, the target order traceability result, and the target charging capacity of the first charging order for the vehicle to be rated executing the first charging order; querying the corresponding initial scoring formula in a preset initial scoring formula list based on the target order traceability result; querying the corresponding charging parameter value in a preset charging parameter table based on the target charging capacity; and calculating the safety score of the vehicle to be rated executing the first charging order using the initial scoring formula, the charging parameter value, and the target order score.
[0014] Secondly, the present invention provides a vehicle safety rating determination device, comprising: a first acquisition module, configured to acquire original charging data of a vehicle to be rated when executing a currently completed charging order and the safety rating of the vehicle to be rated when executing a previous charging order; a first determination module, configured to determine, based on the original charging data, the order score of the vehicle to be rated executing the completed charging order and the order traceability result of the completed charging order; a second determination module, configured to determine a rating correction coefficient based on the original charging data and the order traceability result, and to determine a rating penalty coefficient and a rating correction value based on the original charging data, the order traceability result, and the order score; and a third determination module, configured to determine the current safety rating of the vehicle to be rated based on the safety rating of the previous charging order, the order score, the rating correction coefficient, the rating penalty coefficient, and the rating correction value.
[0015] Thirdly, the present invention provides an electronic device including a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor executes the computer program to implement the steps of any one of the foregoing embodiments.
[0016] Fourthly, the present invention provides a computer-readable medium having processor-executable non-volatile program code, the program code causing the processor to perform the method described in any of the foregoing embodiments.
[0017] The method for determining vehicle safety scores provided by this invention first obtains the original charging data of the vehicle being evaluated when executing the currently completed charging order and the safety score of the vehicle being evaluated when executing the previous charging order. Then, based on the original charging data, it determines the order score and order traceability result of the completed charging order. Next, it determines a score correction coefficient based on the original charging data and the order traceability result, and determines a score penalty coefficient and a score correction value based on the original charging data, the order traceability result, and the order score. Finally, it determines the current safety score of the vehicle being evaluated based on the safety score, order score, score correction coefficient, score penalty coefficient, and score correction value of the previous charging order. This method utilizes the original charging data of the vehicle being evaluated when executing the currently completed charging order to first calculate the order score and the order traceability result. Then, it further introduces a score correction coefficient, a score penalty coefficient, and a score correction value, and finally, it comprehensively considers the safety score of the vehicle being evaluated when executing the previous charging order to calculate the current safety score. This method considers the performance of the vehicle being evaluated across multiple data dimensions when determining the vehicle safety score, enabling the final calculated vehicle safety score to more accurately reflect vehicle safety. Attached Figure Description
[0018] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0019] Figure 1 A flowchart illustrating a method for determining a vehicle safety score according to an embodiment of the present invention;
[0020] Figure 2 A flowchart for determining a scoring correction coefficient based on raw charging data and order traceability results is provided in this embodiment of the invention.
[0021] Figure 3 A functional block diagram of a vehicle safety scoring device provided in an embodiment of the present invention;
[0022] Figure 4 This is a schematic diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0023] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0024] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.
[0025] The following detailed description of some embodiments of the present invention is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0026] Example 1
[0027] Figure 1 A flowchart illustrating a method for determining a vehicle safety score according to an embodiment of the present invention is shown below. Figure 1 As shown, the method specifically includes the following steps:
[0028] Step S102: Obtain the original charging data of the vehicle to be rated when executing the currently completed charging order and the safety score of the vehicle to be rated when executing the previous charging order.
[0029] Specifically, the vehicle safety rating determination method provided in this embodiment of the invention is executed after the vehicle to be rated has completed a charging cycle. Considering that vehicle charging data can reflect vehicle safety issues to a certain extent, in order to conduct a safety rating on the vehicle to be rated, the original charging data of the vehicle to be rated when executing the currently completed charging order must first be obtained. The original charging data includes: charging city, current season, charging time, charging current, charging rate, and battery pack temperature, etc. In addition, this embodiment of the invention also uses the safety rating of the vehicle to be rated when executing the previous charging order as the basic reference data.
[0030] Step S104: Based on the original charging data, determine the order score of the completed charging order executed by the vehicle to be rated and the order traceability result of the completed charging order.
[0031] After obtaining the raw charging data, the order score of the completed charging order is first determined based on the raw charging data. In this embodiment of the invention, the deviation between the target charging safety parameter in the raw charging data and the average value of the target charging safety parameter of the same series of vehicles in the same city / province is used as the standard for measuring the order score. The higher the deviation, the lower the order score; conversely, the lower the deviation, the higher the order score. The target charging safety parameter includes one of the following: target temperature difference (the maximum value of the difference between the highest temperature and the lowest temperature of the battery pack at all sampling times during the charging process), temperature rate, pressure difference, highest temperature, SOC rate, and single cell voltage rate.
[0032] Next, it is necessary to trace the completed charging orders based on the original charging data to obtain the order traceability results. Specifically, those skilled in the art can choose to analyze and process the multi-dimensional battery information issued by the BMS (Battery Management System) based on a large amount of charging data in advance, construct a data classification model based on a logic tree, and pre-classify the output of this data classification model (i.e., the order traceability results). Therefore, after obtaining the original charging data, the original charging data can be input into the data classification model to obtain the order traceability results. The order traceability results are used to characterize whether sampling anomalies occurred during the charging process of the currently completed charging orders, whether the charging process was normal, and the degree of normal / abnormality.
[0033] Alternatively, an expert system can be used to analyze the raw charging data to obtain order traceability results. This embodiment of the invention does not specifically limit the method for obtaining order traceability results; users can choose according to their actual needs.
[0034] Step S106: Determine the rating correction coefficient based on the original charging data and order traceability results; and determine the rating penalty coefficient and rating correction value based on the original charging data, order traceability results and order score.
[0035] After determining the order traceability results and order score, this embodiment of the invention uses the original charging data and order traceability results to determine the score correction coefficient. On the other hand, based on the above two types of data, it further determines the score penalty coefficient and score correction value by combining the order score. The score correction coefficient and score penalty coefficient are basic score coefficients used to affect the change value of the vehicle safety score (the difference between the current score and the previous score). The main function of the score penalty coefficient is to strengthen the tracking ability of the vehicle's deterministic low score, so that the vehicle safety score can reflect its true status more quickly and accurately. The score correction value is a score correction parameter introduced to deal with the two special cases of vehicle maintenance and BMS data collection failure.
[0036] Step S108: Based on the safety score, order score, score correction coefficient, score penalty coefficient, and score correction value of the previous charging order, determine the current safety score of the vehicle to be scored.
[0037] After obtaining the order score, rating correction coefficient, rating penalty coefficient, and rating correction value of the completed charging order, the current safety rating of the vehicle to be rated can be determined by combining it with the safety rating of the previous charging order.
[0038] Specifically, the rating change value is first calculated using the safety score, order score, rating correction coefficient, and rating penalty coefficient of the previous charging order. Then, the final safety score is determined using the safety score, rating change value, and rating correction value of the previous charging order.
[0039] The method for determining vehicle safety scores provided by this invention first obtains the original charging data of the vehicle being evaluated when executing the currently completed charging order and the safety score of the vehicle being evaluated when executing the previous charging order. Then, based on the original charging data, it determines the order score and order traceability result of the completed charging order. Next, it determines a score correction coefficient based on the original charging data and the order traceability result, and determines a score penalty coefficient and a score correction value based on the original charging data, the order traceability result, and the order score. Finally, it determines the current safety score of the vehicle being evaluated based on the safety score, order score, score correction coefficient, score penalty coefficient, and score correction value of the previous charging order. This method utilizes the original charging data of the vehicle being evaluated when executing the currently completed charging order to first calculate the order score and the order traceability result. Then, it further introduces a score correction coefficient, a score penalty coefficient, and a score correction value, and finally, it comprehensively considers the safety score of the vehicle being evaluated when executing the previous charging order to calculate the current safety score. This method considers the performance of the vehicle being evaluated across multiple data dimensions when determining the vehicle safety score, enabling the final calculated vehicle safety score to more accurately reflect vehicle safety.
[0040] In an optional implementation, step S104 above, which determines the order score and order traceability result of the completed charging orders for the vehicle to be rated based on the original charging data, specifically includes the following steps:
[0041] Step S1041: Obtain the average value of the target charging safety parameters of the target vehicle within a preset time period.
[0042] Considering that using fixed thresholds to score the safety of vehicles under evaluation is too rigid, the average value of target charging safety parameters of the target vehicle within a preset time period is used as an important reference indicator when determining the score of completed charging orders. The target vehicle refers to vehicles of the same series as the vehicle under evaluation within the same city or province. Target charging safety parameters include one of the following: target temperature difference, temperature rate, pressure difference, maximum temperature, SOC rate, and single-cell voltage rate. Target temperature difference represents the maximum difference between the highest and lowest temperatures of the battery pack at all sampling moments during charging. Temperature rate represents the rate of change of the highest battery temperature per unit time during charging. Pressure difference represents the difference between the highest and lowest voltages of individual cells in the battery pack at the same time during charging. Maximum temperature represents the maximum temperature of the battery pack at all sampling moments during charging. SOC rate represents the rate of change of SOC per unit time during charging. Single-cell voltage rate represents the rate of change of the highest voltage of individual cells in the battery pack per unit time during charging.
[0043] Generally, if the number of charging orders for the same series of vehicles within the same city is less than a preset threshold within a preset time period, then charging orders for the same series of vehicles within the same province within the preset time period will be selected. In addition, considering the possibility that there may be vehicles with poor temperature performance within the same city / province, when calculating the average target temperature difference within the preset time period, if it is greater than 5℃ (the difference's 1 sigma point is 4.9496), then it will be set to 5℃.
[0044] Step S1042: Determine the target charging safety parameters for completed charging orders based on the original charging data.
[0045] Specifically, considering the problem of false alarms due to illegal values uploaded by the BMS causing abnormal vehicle status, this embodiment of the invention can also establish a battery data cleaning strategy based on multi-dimensional constraints, based on a thorough analysis of historical battery data and the battery's own characteristics, to filter out abnormal values generated by the BMS and charger at the initial stage of startup and the end of charging, thereby reducing the false alarm rate. This embodiment of the invention does not specifically limit the data cleaning method; users can set it according to their actual needs.
[0046] Therefore, after obtaining the raw charging data, the raw charging data can be cleaned first, and then the target charging safety parameters of the completed charging orders can be determined based on the cleaned charging data.
[0047] Step S1043, using the first formula Calculate the order score.
[0048] Where dT_Score represents the order score, dT_dev represents the difference between the target charging safety parameters and the average value of completed charging orders, p1 represents the first preset fitting parameter, p2 represents the second preset fitting parameter, p3 represents the third preset fitting parameter, and p4 represents the fourth preset fitting parameter. Optionally, the first preset fitting parameter is 0.05864, the second preset fitting parameter is -1.263, the third preset fitting parameter is -3.231, and the fourth preset fitting parameter is 99.97. Based on the above formula, it can be seen that the larger the difference (deviation) between the target charging safety parameters and the average value of completed charging orders, the lower the order score; conversely, the smaller the difference, the higher the score. The maximum score for a single charging order is 100 points, and the minimum score is 0 points.
[0049] Step S1044: Process the original charging data using a preset neural network model to obtain the order traceability result.
[0050] Optionally, embodiments of the present invention can obtain a classification model for order traceability results by training a neural network model. The order traceability results include any of the following: strongly normal, weakly normal, strongly abnormal, weakly abnormal, or sampled abnormal. That is, during the model training phase, a large amount of charging data is pre-acquired, and each charging data point is labeled (strongly normal, weakly normal, strongly abnormal, weakly abnormal, or sampled abnormal). The labeled charging data is then input into an initial neural network model. When the training reaches a preset termination condition, the aforementioned preset neural network model is obtained. Furthermore, by inputting the original charging data into the preset neural network model, the order traceability results can be obtained.
[0051] In one alternative implementation, such as Figure 2 As shown, in step S106 above, the scoring correction coefficient is determined based on the original charging data and order traceability results, specifically including the following steps:
[0052] Step S106a: Determine the charging capacity of completed charging orders based on the original charging data.
[0053] Step S106b: Based on the charging capacity and order traceability results, query the scoring correction coefficient in the preset correspondence table.
[0054] Specifically, after obtaining the original charging data, the charging capacity of the completed charging order can be calculated based on the charging parameters such as charging current, charging rate, and charging time in the original charging data. Alternatively, the charging capacity can be calculated directly based on the initial capacity of the battery on the vehicle to be rated read at the start of charging and the final capacity of the battery on the vehicle to be rated read at the end of charging. This embodiment of the invention does not specifically limit the method of determining the charging capacity.
[0055] After obtaining the charging capacity, the system further queries a preset correspondence table based on the order traceability results to determine the rating correction coefficient. This preset correspondence table is a lookup table of charging capacity, order traceability results, and rating correction coefficients. Table 1 below is an example of a preset correspondence table provided in an embodiment of the present invention.
[0056] Table 1
[0057]
[0058] In this embodiment of the invention, the vehicle management system pre-sets a flag bit Rev_100_flag (hereinafter referred to as the vehicle overhaul flag bit) for determining whether a vehicle has undergone major repairs, and a flag bit Rev_0_flag (hereinafter referred to as the state change flag bit) for a sudden change in vehicle status. Furthermore, both the vehicle overhaul flag bit and the state change flag bit are processed accordingly for different order traceability results. The inventors, through statistical analysis of a large amount of relevant data, discovered a first pre-set correlation between the vehicle overhaul flag bit and the score correction value, and a second pre-set correlation between the state change flag bit and the score penalty coefficient. Therefore, the following section provides a detailed explanation of the methods for determining the score penalty coefficient and the score correction value for different order traceability results.
[0059] In an optional implementation, if the order traceability result indicates a sampling anomaly, step S106 above, which determines the scoring penalty coefficient and scoring correction value based on the original charging data, the order traceability result, and the order score, specifically includes the following steps:
[0060] Step S10611: Determine the score correction value as the first preset score.
[0061] Step S10612: Determine the scoring penalty coefficient as 1.
[0062] Specifically, in this embodiment of the invention, an order traceability result of sampling anomaly is considered a special type of order traceability result. Due to the sampling anomaly, the vehicle overhaul flag and state change flag cannot be updated based on the original charging data in this case; that is, the original flag values are maintained. Simultaneously, the scoring penalty coefficient in this case is set to 1, and the scoring correction value is a first preset score. The first preset score is negative, meaning points are deducted from the vehicle safety score. Optionally, the first preset score can be -30. This embodiment of the invention does not limit the specific value of the first preset score; users can set it according to their actual needs.
[0063] In an optional implementation, when the order traceability result is strongly abnormal, step S106 above, which determines the scoring penalty coefficient and scoring correction value based on the original charging data, the order traceability result, and the order score, specifically includes the following steps:
[0064] Step S10621: Determine the scoring correction value to be 0, and update the vehicle overhaul flag of the vehicle to be scored to 0.
[0065] Step S10622: Obtain the state change flag bit of the vehicle to be scored.
[0066] Step S10623, using the second formula Calculate the scoring penalty coefficient.
[0067] Where a represents the preset coefficient and a>1, b represents the first preset value, Rev_0_flag represents the state change flag, and Rev_0 represents the scoring penalty coefficient.
[0068] Specifically, since order traceability results of strong anomalies generally involve serious battery malfunctions, rapid vehicle verification and inspection are necessary. Therefore, if an order traceability result is confirmed as strong anomaly, there is no need to correct the vehicle safety score calculated based on the safety score, order score, score correction coefficient, and score penalty coefficient of the previous charging order. This is because if the order traceability result is strong anomaly, the vehicle safety score should be accelerated to 0. Normally, the vehicle score decreases smoothly; to increase the rate of decrease, the vehicle can be repaired earlier. Therefore, the score correction value is 0, and the vehicle overhaul flag is updated to 0.
[0069] Additionally, in cases of severe anomalies, the state change flag is not updated. Therefore, the scoring penalty coefficient needs to be calculated based on the state change flag of the vehicle to be scored before this charging. Please refer to the second formula above for the specific calculation method. The first preset value 'b' is the upper limit of the Rev_0_flag calculation. To avoid the penalty coefficient from being too large, an upper limit is set to avoid the above problem. Optionally, 'b' can be 5, and 'a' can be 1.15.
[0070] In an optional implementation, when the order traceability result is a weak anomaly, step S106 above, which determines the scoring penalty coefficient and scoring correction value based on the original charging data, the order traceability result, and the order score, specifically includes the following steps:
[0071] Step S10631: Determine the scoring correction value to be 0, and update the vehicle overhaul flag of the vehicle to be scored to 0.
[0072] Step S10632: Determine whether the order score and the charging capacity of completed charging orders meet the first preset condition.
[0073] The first preset condition means that the order score is lower than the first preset score and the charging capacity of the completed charging orders is lower than the first preset capacity threshold.
[0074] If satisfied, proceed with step S10633; otherwise, maintain the state change flag of the vehicle to be evaluated unchanged.
[0075] Step S10633: Control the accumulation of the state change flag of the vehicle to be scored.
[0076] Step S10634, using the second formula Calculate the scoring penalty coefficient.
[0077] Where a represents the preset coefficient and a>1, b represents the first preset value, Rev_0_flag represents the state change flag, and Rev_0 represents the scoring penalty coefficient.
[0078] Specifically, if the order traceability result is determined to be a weak anomaly, there is no need to correct the vehicle safety score calculated based on the safety score, order score, score correction coefficient, and score penalty coefficient of the previous charging order. Therefore, the score correction value is 0, and the vehicle overhaul flag is updated to 0.
[0079] In addition, under weak anomaly conditions, it is necessary to further determine whether to update the status change flag based on the specific values of the order score and charging capacity. In this embodiment of the invention, if the order score and the charging capacity of the completed charging orders meet the first preset condition, the vehicle temperature difference state is considered to be poor. At this time, the status change flag is accumulated, that is, it is determined that the vehicle state has changed abruptly, Rev_0_flag = Rev_0_flag′ + 1, where Rev_0_flag′ represents the status change flag before the update, and Rev_0_flag represents the status change flag after the update. If the order score and the charging capacity of the completed charging orders do not meet the first preset condition, the status change flag of the vehicle to be scored remains unchanged, that is, Rev_0_flag = Rev_0_flag′. After determining the status change flag, the scoring penalty coefficient is calculated using the second formula. Optionally, the first preset score can be set to 60, and the first preset capacity threshold can be set to 140*0.4.
[0080] In an optional implementation, when the order traceability result is weakly normal, step S106 above, which determines the scoring penalty coefficient and scoring correction value based on the original charging data, the order traceability result, and the order score, specifically includes the following steps:
[0081] Step S10641: Determine whether the order score and the charging capacity of completed charging orders meet the second preset condition.
[0082] The second preset condition indicates that the order score is full and the charging capacity of the completed charging order is not lower than the first preset capacity threshold.
[0083] If satisfied, proceed to step S10642 below; if not satisfied, maintain the state change flag and vehicle overhaul flag of the vehicle to be evaluated unchanged.
[0084] Step S10642: Update the status change flag of the vehicle to be evaluated to 0, and control the accumulation of the vehicle overhaul flag of the vehicle to be evaluated.
[0085] Step S10643, using the second formula Calculate the scoring penalty coefficient and determine whether the vehicle overhaul sign is not less than the second preset value.
[0086] Where a represents a preset coefficient and a>1, b represents the first preset value, Rev_0_flag represents the state change flag, Rev_0 represents the scoring penalty coefficient;
[0087] If yes, proceed to step S10644 below; otherwise, determine the score correction value to be 0.
[0088] Step S10644: Determine the score correction value as the difference between the score and the full score, which is determined based on the safety score, order score, score correction coefficient, and score penalty coefficient of the previous charging order.
[0089] If the order traceability result is determined to be weakly normal, then it is necessary to further determine whether to update the status change flag and the vehicle overhaul flag based on the specific values of the order score and charging capacity. Specifically, if the order score and the charging capacity of completed charging orders meet the second preset condition, the vehicle overhaul flag is incremented, and the status change flag is updated to 0. That is, it is determined that the vehicle has undergone an overhaul. Rev_0_flag = 0; Rev_100_flag = Rev_100_flag′ + 1, where Rev_100_flag′ represents the vehicle overhaul flag before the update, and Rev_100_flag represents the vehicle overhaul flag after the update.
[0090] After determining the state change flag, the scoring penalty coefficient is calculated using the second formula; that is, in this case, the scoring penalty coefficient is 1. Furthermore, after accumulating the vehicle overhaul flag, it is necessary to further determine whether the updated vehicle overhaul flag is not less than the second preset value. If it is not less, the scoring correction value is determined to be the difference between the score determined based on the safety score, order score, scoring correction coefficient, and scoring penalty coefficient of the previous charging order and the full score. In other words, step S108 ultimately determines that the current safety score of the vehicle to be scored will be full. Otherwise, there is no need to correct the vehicle safety score calculated based on the safety score, order score, scoring correction coefficient, and scoring penalty coefficient of the previous charging order; that is, the scoring correction value is 0. Optionally, the second preset value can be 3.
[0091] If the order score and the charging capacity of completed charging orders do not meet the second preset condition, the status change flag and vehicle overhaul flag of the vehicle to be scored are kept unchanged, and the scoring penalty coefficient is still calculated using the second formula mentioned above. If the vehicle overhaul flag is not less than the second preset value, the above step S10644 is executed to determine the scoring correction value; if the vehicle overhaul flag is less than the second preset value, the scoring correction value is determined to be 0.
[0092] In an optional implementation, if the order traceability result is strongly normal, step S106 above, which determines the scoring penalty coefficient and scoring correction value based on the original charging data, the order traceability result, and the order score, specifically includes the following steps:
[0093] Step S10651: Update the state change flag of the vehicle to be scored to 0.
[0094] Step S10652, using the second formula Calculate the scoring penalty coefficient.
[0095] Where a represents the preset coefficient and a>1, b represents the first preset value, Rev_0_flag represents the state change flag, and Rev_0 represents the scoring penalty coefficient.
[0096] Specifically, since the order traceability result is determined based on domain experience, there is no need to make another determination. Therefore, if the order traceability result is determined to be strongly normal, there is no need to consider the specific values of the order score and the charging capacity of the completed charging orders. The status mutation flag is directly updated to 0, and the scoring penalty coefficient is solved using the second formula. In other words, in this case, the scoring penalty coefficient is 1.
[0097] Step S10653: Determine whether the order score and the charging capacity of completed charging orders meet the third preset condition.
[0098] The third preset condition indicates that the order score is greater than the second preset score and the charging capacity of the completed charging order is not less than the first preset capacity threshold.
[0099] If the third preset condition is met, then proceed to step S10654 below; if the third preset condition is not met, then keep the vehicle overhaul flag of the vehicle to be evaluated unchanged.
[0100] Step S10654: Control the accumulation of vehicle overhaul flags for the vehicle to be evaluated.
[0101] Step S10655: Determine whether the vehicle overhaul indicator is not less than the second preset value.
[0102] If yes, proceed to step S10656 below; otherwise, determine the score correction value to be 0.
[0103] Step S10656: Determine the score correction value as the difference between the score and the full score, which is determined based on the safety score, order score, score correction coefficient, and score penalty coefficient of the previous charging order.
[0104] Specifically, under normal circumstances, the vehicle overhaul indicator still needs to be updated based on the order score and the specific charging capacity of completed charging orders. If the third preset condition is met, the vehicle overhaul indicator is incremented, and the increment method can refer to the method described above. After incrementing, it is compared with the second preset value to determine the score correction value. This part can refer to steps S10643-S10644 above, and will not be repeated here. If the third preset condition is not met, the vehicle overhaul indicator of the vehicle to be scored remains unchanged. If the vehicle overhaul indicator is not less than the second preset value, refer to step S10644 above to determine the score correction value; if the vehicle overhaul indicator is less than the second preset value, the score correction value is determined to be 0. Optionally, the second preset score can be set to 95.
[0105] In this embodiment of the invention, the case where the order score is full is not included in the third preset condition. The full score is treated as a special case. If the above third preset condition is met and the order score is full, it is determined whether the vehicle overhaul flag is less than the second preset value. If it is less, the vehicle overhaul flag is updated to the second preset value, and the above step S10656 is executed to determine the specific value of the score correction value.
[0106] The above text describes in detail how to determine the order score, score correction factor, score penalty factor, and score correction value. The following text will introduce in detail how to determine the current safety score of the vehicle to be scored.
[0107] In an optional implementation, step S108 above, which determines the current safety score of the vehicle to be rated based on the safety score of the previous charging order, the order score, the score correction coefficient, the score penalty coefficient, and the score correction value, specifically includes the following steps:
[0108] Step S1081: Calculate the score change value using the third formula dScore=α*(mn)*Rev_0.
[0109] Where dScore represents the score change value, α represents the score correction coefficient, m represents the order score, n represents the safety score of the previous charging order, and Rev_0 represents the score penalty coefficient.
[0110] In step S1082, if the score change value is not greater than 0, the sum of the score change value, the safety score of the previous charging order, and the score correction value is used as the current safety score of the vehicle to be scored.
[0111] Step S1083: If the score change value is greater than 0, determine whether the charging capacity and traceability result of the completed charging order meet the fourth preset condition.
[0112] The fourth preset condition indicates that the charging capacity of the completed charging order is greater than the second preset capacity threshold, and the order traceability result is strong normal or weak normal.
[0113] If satisfied, proceed to step S1084 below; if not satisfied, proceed to step S1085 below.
[0114] Step S1084: The sum of the rating change value, the safety rating of the previous charging order, and the rating correction value is used as the current safety rating of the vehicle to be rated.
[0115] Step S1085: The sum of the safety score of the previous charging order and the score correction value is used as the current safety score of the vehicle to be rated.
[0116] Specifically, when calculating the current safety score of the vehicle to be rated, the score change value is first calculated using the third formula mentioned above, taking the safety score of the previous charging order as a reference. After determining the score change value, the calculation of the current safety score is divided into three cases based on its magnitude, charging capacity, and traceability results: 1) The score change value is not greater than 0; 2) The score change value is greater than 0, and the charging capacity and traceability results meet the fourth preset condition; 3) The score change value is greater than 0, and the charging capacity and traceability results do not meet the fourth preset condition. That is, in the scenario where the score change value is greater than 0, this scenario is further subdivided in an attempt to identify situations where the vehicle requires minor repairs.
[0117] In the first scenario, the current safety score of the vehicle to be rated is the sum of the score change, the safety score of the previous charging order, and the score correction value. y = n + dScore + x, where y represents the current safety score of the vehicle to be rated, n represents the safety score of the previous charging order, dScore represents the score change, and x represents the score correction value.
[0118] In the second scenario, the current safety score of the vehicle to be rated is also the sum of the score change value, the safety score of the last charging order, and the score correction value.
[0119] In the third case, the effect of this charging order should be ignored. Therefore, the current safety score of the vehicle to be rated is the sum of the safety score of the last charging order and the score correction value. That is, the score change value dScore is 0, and y = n + x.
[0120] The method for determining the vehicle safety score when the vehicle is not being charged for the first time has been described above. The method for determining the safety score when the vehicle is being charged for the first time will be introduced below. In an optional embodiment, the method of the present invention further includes the following steps:
[0121] Step S201: Obtain the target charging data of the vehicle to be rated when executing the first charging order.
[0122] Step S202: Based on the target charging data, determine the target order score, the target order traceability result, and the target charging capacity of the first charging order for the vehicle to be rated.
[0123] Step S203: Based on the target order traceability results, query the corresponding initial score formula in the preset initial score formula list.
[0124] Step S204: Query the corresponding charging parameter value in the preset charging parameter table based on the target charging capacity.
[0125] Step S205: Calculate the safety score for the vehicle to be scored when performing the first charging order using the initial scoring formula, charging parameter values, and target order score.
[0126] Specifically, in this embodiment of the invention, the first charging order does not consider sampling anomalies. When calculating the safety score of the first charging order, the target charging data of the vehicle being scored when executing the first charging order must first be obtained. Based on the target charging data, the order score, order traceability result, and charging capacity of the first charging order can be determined. To distinguish them from the parameters of currently completed charging orders, the above parameters of the first charging order are respectively recorded as the target order score, target order traceability result, and target charging capacity. The determination of the order score, order traceability result, and charging capacity has been described in detail above and will not be repeated here.
[0127] The charging capacity, combined with the order traceability results, can directly reflect the charging status of the vehicle to be rated: charging time and charging current. Therefore, the safety score of the first charging order for the vehicle to be rated can be determined based on the target charging capacity and the target order traceability results. In other words, the order traceability results and charging capacity reflect the authenticity of the order score. For example, the vehicle score obtained under long-term high current is more authentic than the score under short-term high current, and then higher than the score under short-term low current.
[0128] In this embodiment of the invention, different target order traceability results correspond to different initial scoring formulas for safety scores, and the initial scoring formula contains charging parameter values corresponding to the target charging capacity. Specifically, the initial scoring formula is expressed as: S = WH * (100 - V chg *d1), where S represents the safety score of the first charging order, W represents the third preset value, H represents the fourth preset value, and V chg The above charging parameter values are represented by d1, and the target order score is represented by d1. Each order traceability result corresponds to a set (third preset value, fourth preset value).
[0129] In this embodiment of the invention, different charging capacity ranges correspond to different charging parameter values. The corresponding charging parameter value can be looked up in a preset charging parameter table based on the target charging capacity. For example, the preset charging parameter table can be set according to the following formula: Where C represents the target charging capacity.
[0130] After determining the initial scoring formula, charging parameter values, and target order score, the charging parameter values and target order score are substituted into the initial scoring formula to calculate the safety score of the vehicle to be scored for executing the first charging order.
[0131] In summary, the method of this invention first calculates the order score and order traceability result using the original charging data of the vehicle to be rated when executing the currently completed charging order. Then, it further introduces the score correction coefficient, score penalty coefficient, and score correction value. Finally, it calculates the current safety score of the vehicle to be rated by combining the safety score of the vehicle to be rated when executing the previous charging order. This method takes into account the performance of the vehicle to be rated in multiple data dimensions when determining the vehicle safety score, so that the final calculated vehicle safety score can more accurately reflect the vehicle safety.
[0132] Example 2
[0133] This invention also provides a vehicle safety score determination device, which is mainly used to execute the vehicle safety score determination method provided in Embodiment 1 above. The following is a detailed description of the vehicle safety score determination device provided in this invention.
[0134] Figure 3 This is a functional block diagram of a vehicle safety scoring device provided in an embodiment of the present invention, as shown below. Figure 3 As shown, the device mainly includes: a first acquisition module 10, a first determination module 20, a second determination module 30, and a third determination module 40, wherein:
[0135] The first acquisition module 10 is used to acquire the original charging data of the vehicle to be rated when executing the currently completed charging order and the safety score of the vehicle to be rated when executing the previous charging order.
[0136] The first determining module 20 is used to determine the order score of the vehicle to be rated for executing completed charging orders and the order traceability result of completed charging orders based on the original charging data.
[0137] The second determining module 30 is used to determine the scoring correction coefficient based on the original charging data and the order traceability results, and to determine the scoring penalty coefficient and the scoring correction value based on the original charging data, the order traceability results and the order score.
[0138] The third determining module 40 is used to determine the current safety score of the vehicle to be rated based on the safety score of the previous charging order, the order score, the score correction coefficient, the score penalty coefficient, and the score correction value.
[0139] The vehicle safety rating determination device provided by this invention first calculates the order score and order traceability result using the original charging data of the vehicle to be rated when executing the currently completed charging order. Then, it further introduces the rating correction coefficient, the rating penalty coefficient, and the rating correction value. Finally, it calculates the current safety rating of the vehicle to be rated by combining the safety rating of the vehicle to be rated when executing the previous charging order. This device takes into account the performance of the vehicle to be rated in multiple data dimensions when determining the vehicle safety rating, so that the final calculated vehicle safety rating can more accurately reflect the vehicle safety.
[0140] Optionally, the first determining module 20 is specifically used to: obtain the average value of the target charging safety parameters of the target vehicle within a preset time period; wherein, the target vehicle refers to a vehicle of the same series as the vehicle to be rated within the same city or province; the target charging safety parameters include one of the following: target temperature difference, temperature rate, pressure difference, maximum temperature, SOC rate, and single-cell voltage rate; the target temperature difference represents the maximum value of the difference between the highest temperature and the lowest temperature of the battery pack at all sampling times during the charging process; determine the target charging safety parameters of completed charging orders based on the original charging data; and use the first formula... Calculate the order score; where dT_Score represents the order score, dT_dev represents the difference between the target charging safety parameter and the average value of the completed charging order, p1 represents the first preset fitting parameter, p2 represents the second preset fitting parameter, p3 represents the third preset fitting parameter, and p4 represents the fourth preset fitting parameter; process the original charging data using a preset neural network model to obtain the order traceability result; where the order traceability result includes any of the following: strong normal, weak normal, strong abnormal, weak abnormal, and sampling abnormal.
[0141] Optionally, the second determining module 30 is specifically used for: determining the charging capacity of completed charging orders based on the original charging data; querying the rating correction coefficient in a preset correspondence table based on the charging capacity and order traceability results; wherein the preset correspondence table is a comparison table of charging capacity, order traceability results and rating correction coefficient.
[0142] Optionally, if the order traceability result is a sampling anomaly, the second determining module 30 is further configured to: determine the score correction value as a first preset score; wherein the first preset score is a negative number; and determine the score penalty coefficient as 1.
[0143] Optionally, in the case of a strong anomaly in the order traceability result, the second determining module 30 is further configured to: determine the scoring correction value to be 0, and update the vehicle overhaul flag of the vehicle to be scored to 0; obtain the state change flag of the vehicle to be scored; and use the second formula Calculate the scoring penalty coefficient; where a represents the preset coefficient and a>1, b represents the first preset value, Rev_0_flag represents the state change flag, and Rev_0 represents the scoring penalty coefficient.
[0144] Optionally, in the case of a weak anomaly in the order traceability result, the second determining module 30 is further configured to: determine that the score correction value is 0, and update the vehicle overhaul flag of the vehicle to be scored to 0; determine whether the order score and the charging capacity of the completed charging orders meet the first preset condition; wherein, the first preset condition means that the order score is lower than the first preset score and the charging capacity of the completed charging orders is lower than the first preset capacity threshold; if met, control the accumulation of the state change flag of the vehicle to be scored; and use the second formula Calculate the scoring penalty coefficient; where a represents the preset coefficient and a>1, b represents the first preset value, Rev_0_flag represents the state change flag, and Rev_0 represents the scoring penalty coefficient.
[0145] Optionally, when the order traceability result is weakly normal, the second determining module 30 is further configured to: determine whether the order score and the charging capacity of the completed charging orders meet the second preset condition; wherein, the second preset condition indicates that the order score is full and the charging capacity of the completed charging orders is not lower than the first preset capacity threshold; if met, the status change flag of the vehicle to be rated is updated to 0, and the vehicle overhaul flag of the vehicle to be rated is incremented; using the second formula Calculate the scoring penalty coefficient and determine whether the vehicle overhaul flag is not less than the second preset value; where a represents the preset coefficient and a>1, b represents the first preset value, Rev_0_flag represents the state change flag, and Rev_0 represents the scoring penalty coefficient; if so, determine the scoring correction value as the difference between the score determined based on the safety score, order score, scoring correction coefficient, and scoring penalty coefficient of the previous charging order and the full score.
[0146] Optionally, if the order traceability result is strongly normal, the second determination module 30 is also used to: update the state change flag of the vehicle to be rated to 0; and use the second formula Calculate the scoring penalty coefficient; where 'a' represents a preset coefficient and 'a>1', 'b' represents a first preset value, 'Rev_0_flag' represents a state change flag, and 'Rev_0' represents the scoring penalty coefficient; determine whether the order score and the charging capacity of completed charging orders meet the third preset condition; where the third preset condition means that the order score is greater than the second preset score and the charging capacity of completed charging orders is not less than the first preset capacity threshold; if the third preset condition is met, control the accumulation of the vehicle overhaul flag of the vehicle to be scored; determine whether the vehicle overhaul flag is not less than the second preset value; if so, determine the scoring correction value as the difference between the score determined based on the safety score of the previous charging order, the order score, the scoring correction coefficient, and the scoring penalty coefficient, and the full score.
[0147] Optionally, the third determining module 40 is specifically used to: calculate the score change value using the third formula dScore=α*(mn)*Rev_0, where dScore represents the score change value, α represents the score correction coefficient, m represents the order score, n represents the safety score of the previous charging order, and Rev_0 represents the score penalty coefficient; if the score change value is not greater than 0, then the sum of the score change value, the safety score of the previous charging order, and the score correction value is used as the current safety score of the vehicle to be scored; if the score change value is greater than 0, then it is determined whether the charging capacity and traceability result of the completed charging order meet the fourth preset condition; where the fourth preset condition indicates that the charging capacity of the completed charging order is greater than the second preset capacity threshold, and the order traceability result is strong normal or weak normal; if satisfied, then the sum of the score change value, the safety score of the previous charging order, and the score correction value is used as the current safety score of the vehicle to be scored; if not satisfied, then the sum of the safety score of the previous charging order and the score correction value is used as the current safety score of the vehicle to be scored.
[0148] Optionally, the device further includes:
[0149] The second acquisition module is used to acquire the target charging data of the vehicle to be rated when executing the first charging order.
[0150] The fourth determination module is used to determine the target order score, the target order traceability result, and the target charging capacity of the first charging order for the vehicle to be rated based on the target charging data.
[0151] The first query module is used to query the corresponding initial score formula in the preset initial score formula list based on the traceability results of the target order.
[0152] The second query module is used to query the corresponding charging parameter value in the preset charging parameter table based on the target charging capacity.
[0153] The calculation module uses the initial scoring formula, charging parameter values, and target order score to calculate the safety score of the vehicle to be scored for executing the first charging order.
[0154] Example 3
[0155] See Figure 4 This invention provides an electronic device, which includes a processor 60, a memory 61, a bus 62, and a communication interface 63. The processor 60, the communication interface 63, and the memory 61 are connected via the bus 62. The processor 60 is used to execute executable modules, such as computer programs, stored in the memory 61.
[0156] The memory 61 may include high-speed random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 63 (which can be wired or wireless), such as the Internet, wide area network, local area network, or metropolitan area network. The bus 62 may be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 4 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.
[0157] The memory 61 is used to store programs. After receiving an execution instruction, the processor 60 executes the program. The method executed by the device for defining the flow process disclosed in any of the foregoing embodiments of the present invention can be applied to the processor 60 or implemented by the processor 60.
[0158] Processor 60 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 60 or by instructions in software form. Processor 60 can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this invention can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory 61. Processor 60 reads the information in memory 61 and, in conjunction with its hardware, completes the steps of the above method.
[0159] The computer program product of a vehicle safety rating determination method, apparatus, and electronic device provided in this invention includes a computer-readable storage medium storing processor-executable non-volatile program code. The instructions included in the program code can be used to execute the methods described in the preceding method embodiments; specific implementations can be found in the method embodiments and will not be repeated here. Furthermore, the functional units in the various embodiments of this invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0160] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0161] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0162] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship commonly used when the product of this invention is in use. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this invention. In addition, the terms "first," "second," "third," etc., are only used to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0163] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for determining a vehicle safety score, characterized in that, include: Obtain the original charging data of the vehicle to be rated when executing the currently completed charging order and the safety score of the vehicle to be rated when executing the previous charging order; Based on the original charging data, determine the order score of the vehicle to be scored for executing the completed charging order and the order tracing result of the completed charging order; A rating correction coefficient is determined based on the original charging data and the order traceability result; and a rating penalty coefficient and a rating correction value are determined based on the original charging data, the order traceability result and the order score. Based on the safety score of the previous charging order, the order score, the score correction coefficient, the score penalty coefficient, and the score correction value, the current safety score of the vehicle to be scored is determined, including: Using the third formula Calculate the change in score, where, This represents the change in the rating value. This represents the scoring correction coefficient. This indicates the order score. This indicates the safety score of the previous charging order. This represents the scoring penalty coefficient; If the score change value is not greater than 0, then the sum of the score change value, the safety score of the previous charging order, and the score correction value shall be used as the current safety score of the vehicle to be scored. If the score change value is greater than 0, then it is determined whether the charging capacity and traceability result of the completed charging order meet the fourth preset condition; wherein, the fourth preset condition means that the charging capacity of the completed charging order is greater than the second preset capacity threshold, and the order traceability result is strong normal or weak normal. If satisfied, the sum of the rating change value, the safety rating of the previous charging order, and the rating correction value shall be used as the current safety rating of the vehicle to be rated. If the conditions are not met, the sum of the safety score of the previous charging order and the score correction value will be used as the current safety score of the vehicle to be rated.
2. The method according to claim 1, characterized in that, Based on the original charging data, determine the order score for the completed charging order executed by the vehicle to be rated and the order tracing result of the completed charging order, including: The average value of target charging safety parameters for the target vehicle within a preset time period is obtained. The target vehicle refers to a vehicle of the same series as the vehicle to be evaluated within the same city or province. The target charging safety parameters include one of the following: target temperature difference, temperature rate, pressure difference, maximum temperature, SOC rate, and single-cell voltage rate. The target temperature difference represents the maximum difference between the highest and lowest temperatures of the battery pack at all sampling moments during charging. The temperature rate represents the rate of change of the highest battery temperature per unit time during charging. The pressure difference represents the difference between the highest and lowest voltages of a single battery cell at the same time during charging. The maximum temperature represents the maximum temperature of the battery pack at all sampling moments during charging. The SOC rate represents the rate of change of SOC per unit time during charging. The single-cell voltage rate represents the rate of change of the highest voltage of a single battery cell per unit time during charging. The target charging safety parameters for the completed charging order are determined based on the original charging data. Using the first equation Calculate the order score; where, This indicates the order score. This represents the difference between the target charging safety parameter and the average value for the completed charging order. This represents the first preset fitting parameters. This represents the second preset fitting parameters. This represents the third preset fitting parameter. This represents the fourth preset fitting parameter; The original charging data is processed using a preset neural network model to obtain the order traceability result; wherein the order traceability result includes any one of the following: strong normal, weak normal, strong abnormal, weak abnormal, sampling abnormal.
3. The method according to claim 1, characterized in that, The scoring correction coefficient is determined based on the original charging data and the order traceability results, including: The charging capacity of the completed charging orders is determined based on the original charging data; The rating correction coefficient is queried in a preset correspondence table based on the charging capacity and the order traceability result; wherein the preset correspondence table is a lookup table of the charging capacity, the order traceability result and the rating correction coefficient.
4. The method according to claim 1, characterized in that, In cases where the order traceability result indicates a sampling anomaly, a scoring penalty coefficient and a scoring correction value are determined based on the original charging data, the order traceability result, and the order score, including: The score correction value is determined to be a first preset score; wherein, the first preset score is a negative number; The scoring penalty coefficient is set to 1.
5. The method according to claim 1, characterized in that, In cases where the order traceability result is strongly abnormal, a scoring penalty coefficient and a scoring correction value are determined based on the original charging data, the order traceability result, and the order score, including: The score correction value is set to 0, and the vehicle overhaul flag of the vehicle to be scored is updated to 0. Obtain the state change flag of the vehicle to be scored; Using the second formula Calculate the scoring penalty coefficient; where, Indicates the preset coefficient and , This represents the first preset value. This indicates the state change flag bit. This represents the scoring penalty coefficient.
6. The method according to claim 1, characterized in that, In the case where the order traceability result is a weak anomaly, a scoring penalty coefficient and a scoring correction value are determined based on the original charging data, the order traceability result, and the order score, including: The score correction value is set to 0, and the vehicle overhaul flag of the vehicle to be scored is updated to 0. Determine whether the order score and the charging capacity of the completed charging order meet a first preset condition; wherein, the first preset condition indicates that the order score is lower than a first preset value and the charging capacity of the completed charging order is lower than a first preset capacity threshold; If the condition is met, the state change flag of the vehicle to be scored is incremented. Using the second formula Calculate the scoring penalty coefficient; where, Indicates the preset coefficient and , This represents the first preset value. This indicates the state change flag bit. This represents the scoring penalty coefficient.
7. The method according to claim 1, characterized in that, If the order traceability result is weakly normal, a scoring penalty coefficient and a scoring correction value are determined based on the original charging data, the order traceability result, and the order score, including: Determine whether the order score and the charging capacity of the completed charging order meet the second preset condition; wherein, the second preset condition means that the order score is full and the charging capacity of the completed charging order is not lower than the first preset capacity threshold. If satisfied, update the state change flag of the vehicle to be scored to 0, and control the vehicle overhaul flag of the vehicle to be scored to accumulate. Using the second formula Calculate the scoring penalty coefficient and determine whether the vehicle overhaul indicator is not less than a second preset value; wherein, Indicates the preset coefficient and , This represents the first preset value. This indicates the state change flag bit. This represents the scoring penalty coefficient; If so, the score correction value is determined to be the difference between the score determined based on the safety score of the previous charging order, the order score, the score correction coefficient, and the score penalty coefficient, and the full score.
8. The method according to claim 1, characterized in that, If the order traceability result is strongly normal, a scoring penalty coefficient and a scoring correction value are determined based on the original charging data, the order traceability result, and the order score, including: Update the state change flag of the vehicle to be scored to 0; Using the second formula Calculate the scoring penalty coefficient; where, Indicates the preset coefficient and , This represents the first preset value. This indicates the state change flag bit. This represents the scoring penalty coefficient; Determine whether the order score and the charging capacity of the completed charging order meet a third preset condition; wherein, the third preset condition means that the order score is greater than a second preset score and the charging capacity of the completed charging order is not less than a first preset capacity threshold. If the third preset condition is met, the vehicle overhaul flag of the vehicle to be scored is incremented. Determine whether the vehicle overhaul indicator is not less than the second preset value; If so, the score correction value is determined to be the difference between the score determined based on the safety score of the previous charging order, the order score, the score correction coefficient, and the score penalty coefficient, and the full score.
9. The method according to claim 1, characterized in that, The method further includes: Obtain the target charging data of the vehicle to be rated when executing its first charging order; Based on the target charging data, determine the target order score, the target order traceability result, and the target charging capacity of the first charging order for the vehicle to be scored; Based on the target order traceability results, the corresponding initial score formula is queried from the preset initial score formula list; Based on the target charging capacity, the corresponding charging parameter value is queried from the preset charging parameter table; The safety score for the vehicle to be scored when performing the first charging order is calculated using the initial scoring formula, the charging parameter value, and the target order score.
10. A device for determining vehicle safety scores, characterized in that, include: The first acquisition module is used to acquire the original charging data of the vehicle to be rated when executing the currently completed charging order and the safety score of the vehicle to be rated when executing the previous charging order. The first determining module is used to determine the order score of the vehicle to be scored for executing the completed charging order and the order tracing result of the completed charging order based on the original charging data; The second determining module is used to determine a rating correction coefficient based on the original charging data and the order traceability result, and to determine a rating penalty coefficient and a rating correction value based on the original charging data, the order traceability result and the order score; The third determining module is used to determine the current safety score of the vehicle to be rated based on the safety score of the previous charging order, the order score, the score correction coefficient, the score penalty coefficient, and the score correction value, including: Using the third formula Calculate the change in score, where, This represents the change in the rating value. This represents the scoring correction coefficient. This indicates the order score. This indicates the safety score of the previous charging order. This represents the scoring penalty coefficient; If the score change value is not greater than 0, then the sum of the score change value, the safety score of the previous charging order, and the score correction value shall be used as the current safety score of the vehicle to be scored. If the score change value is greater than 0, then it is determined whether the charging capacity and traceability result of the completed charging order meet the fourth preset condition; wherein, the fourth preset condition means that the charging capacity of the completed charging order is greater than the second preset capacity threshold, and the order traceability result is strong normal or weak normal. If satisfied, the sum of the rating change value, the safety rating of the previous charging order, and the rating correction value shall be used as the current safety rating of the vehicle to be rated. If the conditions are not met, the sum of the safety score of the previous charging order and the score correction value will be used as the current safety score of the vehicle to be rated.
11. An electronic device comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 9.
12. A computer-readable medium having processor-executable non-volatile program code, characterized in that, The program code causes the processor to perform the method of any one of claims 1 to 9.
Citation Information
Patent Citations
Charging health index scoring method and device, terminal equipment and storage medium
CN109934473A