A vehicle ubi dynamic pricing system and method

By using the vehicle UBI dynamic pricing system and the XGBoost model to process vehicle data, the pricing inaccuracy caused by the unified modeling scheme is solved, and the fine differentiation of risks of different vehicles and fair insurance pricing are achieved.

CN123160285APending Publication Date: 2026-11-24ANCHE INTELLIGENT STRIP (BEIJING) TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611331843.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-31
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing UBI pricing systems using a unified modeling approach struggle to balance generalization capabilities with business adaptability, resulting in low pricing accuracy.

Method used

A vehicle-based UBI dynamic pricing system is provided. Through a data acquisition module, a data processing module, and a risk scoring module, the system collects vehicle data using an on-board terminal device, establishes a device field mapping table, constructs multi-dimensional risk features, generates a risk score using an XGBoost model, and calculates the UBI fee through a business output module.

Benefits of technology

It improves the accuracy of pricing results, can adapt to different brands and models of in-vehicle terminal equipment, accurately distinguish vehicle risks, and achieve fair insurance pricing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160285A_ABST
    Figure CN123160285A_ABST
Patent Text Reader

Abstract

This application provides a vehicle UBI dynamic pricing system and method, relating to the field of pricing model technology. The system includes: a data acquisition module configured to collect vehicle data of the vehicle to be priced using an in-vehicle terminal device; a data processing module configured to: establish a device field mapping table based on the vehicle data; train and store corresponding model components according to the device type based on the device field mapping table; construct multi-dimensional risk features based on the vehicle data; a risk scoring module configured to: determine a target model based on candidate models; input the device field mapping table and multi-dimensional risk features into the target model to generate a risk score; and a business output module configured to: calculate UBI fees based on the risk score, thereby addressing the problem that current UBI pricing systems using a unified modeling scheme struggle to balance generalization ability and business adaptation accuracy, resulting in low pricing accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of pricing model technology, and in particular to a vehicle UBI dynamic pricing system and method. Background Technology

[0002] The pricing of vehicle insurance or similar insurance services is primarily based on static factors such as vehicle model, city of insurance, historical accident record, and basic underwriting information. While this method is simple and easy to implement, it fails to reflect the true differences in risk levels during actual operation. It cannot establish a sufficiently precise risk distinction between high-risk and low-risk vehicles, effectively subsidizing high-risk vehicle owners at the expense of low-risk owners, which is detrimental to insurance fairness.

[0003] With the increasing prevalence of in-vehicle devices such as ADAS (Advanced Driver Assistance Systems), AEB (Automatic Emergency Braking Systems), DMS (Driver Monitoring Systems), OBD (On-Board Diagnostics), and T-Box (Telematics Box) in commercial vehicles, vehicles continuously generate a large amount of structured data directly related to driving risks during daily operation. This data includes, but is not limited to: mileage, online time, forward collision warning, lane departure warning, driver fatigue warning, distracted driving warning, braking signals, and turning signals. This data provides a real-world data foundation for UBI (Usage-Based Insurance) models based on actual usage behavior and operational risks.

[0004] However, significant differences exist in the hardware configurations and sensor combinations of different brands and models of vehicle-mounted terminals, resulting in inherent inconsistencies in the fields that can be collected. For example, some devices possess full-channel acquisition capabilities for ADAS, AEB, and DMS, while others focus on operational data and directional signal data, lacking most AEB advanced warning fields and all DMS fields. Simultaneously, the operational characteristics and risk patterns of different vehicle types (heavy-duty semi-trailer tractors, heavy-duty dump trucks, light-duty trucks, etc.) vary significantly. For instance, heavy-duty semi-trailer tractors primarily operate on highways for long distances, while heavy-duty dump trucks mainly handle short-distance construction site transport; their alarm mode baselines and risk drivers are drastically different. These objective differences make it difficult for a unified modeling scheme to balance generalization ability and business adaptability accuracy, leading to lower pricing accuracy. Summary of the Invention

[0005] This application provides a vehicle UBI dynamic pricing system and method to solve the technical problem that existing UBI pricing systems, which use a unified modeling scheme, have difficulty balancing generalization ability and business adaptation accuracy, resulting in low pricing accuracy.

[0006] The first aspect of this application provides a vehicle UBI dynamic pricing system, including: The communication connection includes a data acquisition module, a data processing module, a risk scoring module, and a business output module; The data acquisition module is configured as follows: Vehicle data of the vehicle to be priced is collected using an in-vehicle terminal device; the vehicle data includes: operating data, alarm behavior data, and vehicle attribute data; The data processing module is configured as follows: Based on the vehicle data, an equipment field mapping table is established; the equipment field mapping table is used to display the vehicles to be priced for each equipment type and the corresponding vehicle data fields; Based on the device field mapping table, corresponding model components are trained and stored according to the device type; the model components include: optimal model file, feature selector, feature scaler, optimal threshold file, and model configuration file; Based on the vehicle data, a multidimensional risk feature is constructed; the multidimensional risk feature includes: basic features and enhanced features; The risk scoring module is configured as follows: Based on the candidate models, the target model is determined; the candidate models include: logistic regression model, random forest model, gradient boosting model, XGBoost model, and LightGBM model; the candidate models are loaded and executed by the corresponding model components; The device field mapping table and the multidimensional risk features are input into the target model to generate a risk score; The service output module is configured as follows: The UBI fee is calculated based on the risk score.

[0007] In some embodiments, the operational data includes: mileage, online duration, average vehicle speed, and working time; The alarm behavior data includes: collision warning, braking warning, lane departure warning, vehicle distance warning, driver status and behavior warning, camera obstruction warning, and blind spot warning; The vehicle attribute data includes: quoted vehicle model, actual vehicle model, equipment type, license plate number and region information, service order identifier, service order status, service start and end time, and accident record information; the service order status includes: not in effect, in service, suspended, reported suspension, transferred to insurance, cancelled, and service completed; the accident record information includes the number of accidents and the cumulative assessed loss amount.

[0008] In some embodiments, the basic features include: a set of operational exposure indicators and a set of alarm indicators; The operational exposure index group includes: mileage, online duration, and average vehicle speed; The alarm indicator group includes: braking warning, vehicle distance warning, close-to-vehicle braking warning, forward collision warning, lane departure warning, close-to-vehicle warning, pedestrian collision warning, forward braking warning, blind spot warning, brake signal, left turn signal, right turn signal, driver status and behavior warning, and camera obstruction warning.

[0009] In some embodiments, the enhanced features include: total alarm density, abnormal behavior index, safety alarm index, alarm density per unit time, alarm density per unit mileage, total steering signals, steering imbalance, forward collision plus close following index, lane departure plus close following index, and emergency braking index.

[0010] In some embodiments, the total alarm density is the sum of the number of warnings per 100 kilometers for all available warning features; the abnormal behavior index is the sum of the number of warnings per 100 kilometers for the driver state and behavior warnings, namely distracted driving, abnormal driving, smoking, making or receiving phone calls, and fatigued driving; and the safety alarm index is the sum of the number of warnings per 100 kilometers for forward collision warning, lane departure warning, close following warning, pedestrian collision warning, and forward braking warning.

[0011] In some embodiments, the data processing module is further configured to: The vehicle data is subjected to anomaly processing; the anomaly processing includes: When the mileage field is empty or zero and the online time and average speed are normal, the estimated mileage is determined and the estimated mileage is used to fill the missing values ​​in the mileage field; the estimated mileage is the product of the average speed and the online time. When the mileage exceeds the preset mileage limit and the average vehicle speed exceeds the preset vehicle speed limit or the online time exceeds the preset time limit, the field corresponding to the mileage is removed. When the average vehicle speed is greater than the preset vehicle speed threshold but less than the preset mileage limit, the median mileage and median online time of vehicles of the same model in the current month are used to cover the original value. When the mileage is greater than zero and the online time is zero, the field corresponding to the mileage is removed. When the mileage is zero and the online time is greater than the first preset time threshold, the mileage is determined based on the online time and the average speed of the same vehicle model in the current month. When the online duration exceeds the second preset duration threshold and the mileage is within the preset mileage range, the online duration is determined based on the mileage and the median average speed of the same vehicle model in the current month. The continuous numerical features in the vehicle data are subjected to quantile limiting processing, and the numerical features corresponding to those below the 1st percentile and above the 99th percentile are removed. In addition, the abnormal handling process will be recorded in the daily risk audit record.

[0012] In some embodiments, the risk scoring module is further configured to: The AUC of each candidate model is determined using the time-series cross-validation method; If the AUC of the XGBoost model is greater than that of other candidate models, then the XGBoost model is determined as the target model. If the AUC of the XGBoost model is not greater than that of other candidate models, a soft voting ensemble model is constructed that includes the Random Forest model, the XGBoost model, and the LightGBM model, and the soft voting ensemble model is determined as the target model; the XGBoost model has the largest weight in the soft voting ensemble model.

[0013] In some embodiments, the risk scoring module is further configured to: Training samples are acquired at preset time intervals; the training samples are the device field mapping table and the multidimensional risk features within the preset time interval. The training samples are input into the candidate model to train the model components.

[0014] In some embodiments, the service output module is further configured to: Based on the risk score, a daily risk review record is generated; the daily risk review record includes: the license plate number, vehicle identification number, statistical date, region, priced vehicle model, equipment type, mileage, online duration, average vehicle speed, risk score, risk level, prediction category, usage threshold, model version, basic feature snapshot, enhanced feature snapshot, anomaly handling marker, and review status of the vehicle to be priced; the review status includes pending review, reviewed, and corrected.

[0015] The second aspect of this application provides a vehicle UBI dynamic pricing method, applied to a vehicle UBI dynamic pricing system as described in any one of the first aspects above, comprising: Vehicle data of the vehicle to be priced is collected using an in-vehicle terminal device; the vehicle data includes: operating data, alarm behavior data, and vehicle attribute data; Based on the vehicle data, an equipment field mapping table is established; the equipment field mapping table is used to display the vehicles to be priced for each equipment type and the corresponding vehicle data fields; Based on the device field mapping table, corresponding model components are trained and stored according to the device type; the model components include: optimal model file, feature selector, feature scaler, optimal threshold file, and model configuration file; Based on the vehicle data, a multidimensional risk feature is constructed; the multidimensional risk feature includes: basic features and enhanced features; Based on the candidate models, the target model is determined; the candidate models include: logistic regression model, random forest model, gradient boosting model, XGBoost model, and LightGBM model; the candidate models are loaded and executed by the corresponding model components; The device field mapping table and the multidimensional risk features are input into the target model to generate a risk score; The UBI fee is calculated based on the risk score.

[0016] This application provides a vehicle usage-based (UBI) dynamic pricing system and method. The system includes: a data acquisition module, a data processing module, a risk scoring module, and a service output module connected by communication. The data acquisition module is configured to: collect vehicle data of the vehicle to be priced using an on-board terminal device; the vehicle data includes: operating data, alarm behavior data, and vehicle attribute data; the data processing module is configured to: establish a device field mapping table based on the vehicle data; the device field mapping table is used to display the vehicle to be priced for each device type and its corresponding vehicle data fields; based on the device field mapping table, train and store corresponding model components according to the device type; the model components include: an optimal model file. The system includes a feature selector, a feature scaler, an optimal threshold file, and a model configuration file. Based on the vehicle data, multidimensional risk features are constructed, including basic features and enhanced features. The risk scoring module is configured to determine a target model based on candidate models. Candidate models include logistic regression, random forest, gradient boosting, XGBoost, and LightGBM models. The candidate models are loaded and executed by their corresponding model components. The device field mapping table and the multidimensional risk features are input into the target model to generate a risk score. The business output module is configured to calculate UBI fees based on the risk score to improve the accuracy of pricing results. Attached Figure Description

[0017] To more clearly illustrate the technical solution of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 This is a pricing flowchart for the vehicle UBI dynamic pricing system in this application.

[0019] Explanation of reference numerals in the attached figures: 1-Data acquisition module; 2-Data processing module; 3-Risk scoring module; 4-Business output module. Detailed Implementation

[0020] To enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this application.

[0021] Because some technologies struggle to balance generalization ability and business adaptability accuracy when using a unified modeling scheme for UBI pricing systems, resulting in low pricing accuracy, this application provides a dynamic pricing system and method for vehicle UBI to address this technical problem. The dynamic pricing system and method for vehicle UBI are described below: like Figure 1 The diagram shown is a pricing flowchart for the vehicle UBI dynamic pricing system in this application.

[0022] The first aspect of this application provides a vehicle UBI dynamic pricing system, including: The system comprises a data acquisition module 1, a data processing module 2, a risk scoring module 3, and a business output module 4, connected via communication. The data acquisition module 1 collects daily vehicle operation data, multi-dimensional alarm behavior data, and business attribute data through various types of in-vehicle terminal devices. The data processing module 2 is used for device field mapping and alignment, missing value handling, outlier identification and correction, basic feature extraction, and enhanced feature construction. The risk scoring module 3 constructs a risk scoring model based on XGBoost, outputting a continuous risk score and risk level in the 0-1 range. The business output module 4 writes the risk scoring results into daily audit records, serving cost management, manual review, and monthly billing summaries.

[0023] The data acquisition module 1 is configured as follows: Vehicle data of the vehicle to be priced is collected using an in-vehicle terminal device; the vehicle data includes: operation data, alarm behavior data, and vehicle attribute data.

[0024] For example, the vehicle UBI dynamic pricing system provided in this application is compatible with various brands and models of in-vehicle terminal devices. The currently compatible device types include at least those shown in Table 1: Table 1: Types of Vehicle-Mounted Terminal Equipment

[0025] Each vehicle terminal reads vehicle operating status data (vehicle speed, mileage, braking signal, steering signal, etc.) through the CAN bus interface, and acquires driving safety alarm event data through built-in or external ADAS / AEB / DMS sensor modules. This data is then uploaded to the cloud-based vehicle network data platform via 4G / 5G wireless communication modules at a frequency of 10-30 seconds per data point or according to event triggering methods. Data upload complies with the JT / T 808 protocol or relevant industry communication protocols.

[0026] The operational data includes: mileage (km), online time (hours), average vehicle speed (km / h), and working time.

[0027] The alarm behavior data (statistics based on the number of times per 100 kilometers) includes: collision warning, braking warning, lane departure warning, vehicle distance warning, driver status and behavior warning, camera obstruction warning, and blind spot warning, as shown in Table 2.

[0028] Table 2: Alarm Behavior Data

[0029] The vehicle attribute data includes: quoted vehicle model, actual vehicle model, equipment type, license plate number and region information, service order identifier, service order status, service start and end time, and accident record information; the service order status includes: not in effect, in service, suspended, reported suspension, transferred to insurance, cancelled, and service completed; the accident record information includes the number of accidents and the cumulative assessed loss amount.

[0030] The vehicle data also includes service status and historical risk data, which are used to control billing intervals and accident surcharge adjustments.

[0031] The data processing module 2 is configured as follows: Based on the vehicle data, an equipment field mapping table is established; the equipment field mapping table is used to display the vehicles to be priced for each equipment type and the corresponding vehicle data fields.

[0032] Specifically, to address the inherent differences in the fields collected by different devices, this application establishes a device field mapping table. This table uses device type as the key and the list of fields that can be collected by that device as the value, precisely defining the standard input field set for each type of device.

[0033] For fields where devices are unavailable, instead of a "post-implantation" strategy (i.e., modeling all fields first and then filling in the missing fields with the mean or median), a "train-to-adapt" strategy is adopted: during the model training phase, training samples for each device type use only a subset of fields available for that device, allowing the model to learn the risk feature distribution pattern corresponding to that device type from the training phase. The essential difference of this strategy is that current imputation schemes attempt to "fix" missing data to adapt to the full-field model, while this application enables the model to actively adapt to the field availability pattern of each device.

[0034] Based on the device field mapping table, corresponding model components are trained and stored according to the device type. These model components include: an optimal model file, a feature selector, a feature scaler, an optimal threshold file, and a model configuration file. During the model inference phase, the system automatically loads the corresponding field mapping configuration based on the target vehicle's device type, aligning only the fields that can actually be collected by the device to the input required by the model. This application independently trains and stores the following five types of model components for each device type, as shown in Table 3.

[0035] Table 3: Model Components

[0036] Based on the vehicle data, a multidimensional risk feature is constructed; the multidimensional risk feature includes basic features and enhanced features. The model input features consist of two parts: basic features and enhanced features. This feature system not only directly uses the original alarm signals collected by the vehicle terminal, but also constructs a series of composite indicators with clear risk orientation through domain knowledge-driven feature combinations, enabling the model to rise from "single-point alarm" to the level of "risk pattern recognition".

[0037] The basic features include: the operational exposure index group and the alarm index group.

[0038] The operational exposure index group includes: mileage, online time, and average vehicle speed. Mileage represents the cumulative mileage driven by the vehicle within the statistical day, reflecting the vehicle's road exposure level for that day; the higher the mileage, the greater the absolute chance of encountering risky scenarios, making it the most basic exposure metric in UBI pricing. Online time is the total time the on-board terminal is in working condition, reflecting the vehicle's operational intensity for that day; combined with mileage, it can distinguish between two different risk characteristics: "low-speed congested operation" and "high-speed smooth operation." Average vehicle speed is the ratio of daily mileage to driving time, reflecting the vehicle's operating condition type for that day; high-speed scenarios (>60km / h) have a prominent collision risk, while low-speed scenarios (<30km / h) have prominent blind spot and pedestrian risks.

[0039] The alarm indicator group includes: braking warning, vehicle distance warning, close-to-vehicle braking warning, forward collision warning, lane departure warning, close-to-vehicle warning, pedestrian collision warning, forward braking warning, blind spot warning, brake signal, left turn signal, right turn signal, driver status and behavior warning, and camera obstruction warning, as shown in Table 4.

[0040] Table 4: Alarm Indicator Groups

[0041] It's worth noting that if the absolute value of the number of alarms is used directly, long-distance vehicles that travel an average of 500km per day will naturally generate more alarm events, but this does not mean that their risk per unit mileage is higher. By standardizing all alarm indicators into "number of alarms per 100 kilometers" (calculation formula: number of alarms ÷ mileage × 100), the interference of different vehicle mileage differences on alarm frequency is eliminated, making vehicles with different operating intensities comparable.

[0042] The enhanced features include: total alarm density, abnormal behavior index, safety alarm index, alarm density per unit time, alarm density per unit mileage, total steering signals, steering imbalance, forward collision plus close following distance index, lane departure plus close following distance index, and emergency braking index. These enhanced features are composite indicators with clear risk orientations, constructed by integrating prior knowledge of commercial vehicle driving risks on top of the basic features. The construction of each type of enhanced feature is based on specific business logic and risk perception, rather than a random permutation and combination.

[0043] The total alarm density is the sum of the number of warnings per 100 kilometers for all available warning features; the abnormal behavior index is the sum of the number of warnings per 100 kilometers for driver status and behavior warnings such as distracted driving, abnormal driving, smoking, making or receiving phone calls, and fatigued driving; and the safety alarm index is the sum of the number of warnings per 100 kilometers for forward collision warning, lane departure warning, close following warning, pedestrian collision warning, and forward braking warning.

[0044] Specifically, the total alarm density is constructed by counting all available alarm features per 100 kilometers. While a single type of alarm (e.g., only a high level of forward collision alarms) might be an isolated incident caused by specific road conditions, a simultaneous high level of multiple different types of alarms strongly suggests insufficient overall risk control ability on the part of the driver. Total alarm density aggregates all alarm signals into a comprehensive metric, reflecting the "full picture of risk events" and effectively distinguishing between "occasional high risk" (only a certain type of alarm is prominent) and "systemic high risk" (multiple types of alarms are generally high). Currently, UBI schemes typically only focus on a single or a few types of alarm indicators, failing to establish a "risk panorama." This feature, for the first time, unifies the dimensions of 21 heterogeneous alarm types and aggregates them, enabling the model to assess the vehicle's risk exposure from a global perspective.

[0045] The alarm density per unit time is constructed as total alarm density ÷ online time. Two vehicles may have the same total alarm density, but if one generates an alarm within 2 hours and the other within 8 hours, the risk implications are drastically different—the former indicates a high concentration of risk events within a unit of time, potentially indicating a high-risk operational scenario (such as nighttime construction or severe weather); the latter, however, is evenly distributed throughout the day's operation. The alarm density per unit time is normalized a second time to the total density, capturing "risk concentration." By extending "spatial exposure normalization" (number of alarms per 100 kilometers) to "temporal exposure normalization" (every online hour), a time-space dual-dimensional risk standardization system is formed.

[0046] The alarm density per unit mileage is constructed as total alarm density ÷ mileage traveled; alarm density per unit mileage further reinforces the concept of "risk intensity per kilometer". When mileage is similar but alarm density differs significantly (e.g., driving 200km, vehicle A generates 5 alarms while vehicle B generates 25 alarms), this indicator can accurately quantify the risk difference between the two vehicles under the same exposure level. Complementing the total alarm density, the former measures "absolute risk," while the latter measures "risk intensity per unit exposure." Using them together can distinguish between two distinct risk profiles: "more mileage, more alarms" and "less mileage, but high risk per kilometer."

[0047] The behavioral anomaly index is constructed by combining the number of distracted driving warnings, driver abnormality warnings, smoking warnings, phone call warnings, and fatigue driving warnings (all per 100 kilometers). These five types of DMS alarms all point to abnormal driver behavior, rather than risks caused by external road conditions. Their common characteristic is that they reflect "human problems" rather than "road problems." Aggregating these five types of DMS alarms into a behavioral anomaly index quantifies the driver's risk propensity: a consistently high behavioral anomaly index indicates that the driver has systematic poor driving habits, and even in good road conditions, their probability of an accident is significantly higher than that of a normal driver. Existing UBI schemes typically use driving behavior characteristics and road safety characteristics interchangeably, without distinguishing the source of risk. This feature, for the first time, separates "driver behavioral risk" from "road safety risk," forming an independent risk dimension, enabling the model to distinguish between "inattentive drivers" and "drivers who are focused despite complex road conditions."

[0048] The total number of turn signals is constructed by summing the number of left turn signal activations and the number of right turn signal activations (both per 100 kilometers). Turning frequency reflects the complexity of the road conditions the vehicle is operating on: frequent lane changes in congested urban areas and continuous curves in mountainous roads both result in high turning frequencies. Turning frequency itself is not a risk, but when high turning frequency is combined with other warnings (such as excessively close following distance), it suggests that the vehicle frequently performs high-risk maneuvers in complex road conditions. By transforming simple signal counting into an indirect measure of the complexity of the operating scenario, the model is provided with "scenario context" information.

[0049] The steering imbalance is constructed as |number of left turn signal activations -number of right turn signal activations| ÷ (number of left turn signal activations + number of right turn signal activations). During normal driving, the frequency of left and right turns should be roughly balanced. If a vehicle consistently has a significantly higher left turn frequency than right turn frequency (or vice versa), it may indicate: a fixed bias in the vehicle's operating route (such as a fixed route for making U-turns on one side); or poor turn signal usage habits (a malfunctioning turn signal on one side or the driver habitually not using that side's signal). Regardless of the cause, severe steering asymmetry constitutes an abnormal driving pattern and is statistically correlated with accident risk. This feature is not a simple count but rather extracts the "pattern anomaly" in steering behavior, representing an indirect risk indicator based on behavioral patterns and demonstrating an improvement from "event counting" to "pattern recognition."

[0050] The safety alarm index is constructed as follows: forward collision warning count + lane departure warning count + close following distance warning count + pedestrian collision warning count + forward braking warning count (all per 100 km / h). These five types of ADAS warnings share a common characteristic: they are all triggered by hazardous factors in the external road environment (obstacles ahead, adjacent vehicles, pedestrians, following distance, etc.), reflecting "safety risks caused by the road environment," forming an orthogonal risk dimension with the behavioral anomaly index (reflecting human-caused risk). A high safety alarm index suggests that the vehicle is frequently in high-risk road scenarios. By splitting driving safety risks into "human-caused risk" (behavioral anomaly index) and "environmental risk" (safety alarm index) according to their sources, the model can evaluate the contribution of the two independent dimensions separately. In the embodiment, after introducing the safety alarm index, feature importance analysis of the XGBoost model shows that the behavioral anomaly index and the safety alarm index are more important than other features, confirming the effectiveness of the dimension splitting.

[0051] The forward collision plus close-range warning index is constructed by combining the number of forward collision warnings, the number of close-range warnings, the number of distance optimizations, and the number of times distance measurement is measured using binoculars (all per 100 km). Forward collision warnings / alarms, along with close-range warnings, distance optimizations, and distance measurement binoculars, all point to the core risk scenario of "the distance to the vehicle or obstacle ahead being too close." Aggregating these into a comprehensive index is superior to using any single category alone: ​​a single alarm may fluctuate due to differences in sensor sensitivity, but multi-source integrated signals are more robust. In actual data, this index shows a significantly higher correlation with forward collision accidents than a single alarm index. This reflects the design principle of "multi-signal fusion is superior to single signal": using ADAS forward collision signals and AEB ranging / braking related signals to cross-validate the same risk scenario, constructing a robust risk metric.

[0052] The lane departure and following distance index is constructed by adding the number of lane departure warnings to the number of following distance warnings (both per 100 kilometers). Lane departure (abnormal lateral control) and following distance (abnormal longitudinal control) represent two fundamental dimensions of driving control. When both are elevated, it indicates problems with both longitudinal and lateral control, representing a high-risk combination. Lateral loss of control combined with following distance is a typical precursor to high-speed rear-end collisions and side impacts. The feature interaction analysis of the XGBoost model can capture the nonlinear gain of this combined effect. The design of this feature embodies the idea of ​​"orthogonal combination of risk dimensions": decomposing driving control into two independent dimensions, longitudinal and lateral, whose combination has an interactive effect that exceeds the sum of individual dimensions.

[0053] The emergency braking index is constructed by adding the number of braking warnings to the number of brake signal activations (both per 100 km). Braking warnings (automatic warnings triggered by the AEB system) and brake signals (CAN signals from the driver actively applying the brakes) reflect braking behavior from the perspectives of "system perception" and "human operation," respectively. When both are high, it indicates frequent braking intervention from both the system and the driver in risky scenarios, suggesting a higher level of risk credibility. When only the brake signal is high while the braking warning is normal, it may reflect an aggressive braking habit rather than a genuine risk. Using both in combination can filter out noise caused by differences in driving style. Cross-verifying the same risk dimension using two independent information sources—"AEB system perception" and "driver operation"—improves the reliability of risk signals.

[0054] It is worth noting that the above 10 types of enhancement features are not simply a matter of feature stacking; their design follows three core principles: Risk source decomposition: The risk signal is decomposed into "human risk" (abnormal behavior index) and "environmental risk" (safety alarm index) according to its source, so that the model can quantify the risk contribution of driver's own factors and road environment factors respectively. Multi-source cross-validation: Utilizing four types of data sources—AEB, ADAS, DMS, and CAN—to measure the same risk scenario from multiple perspectives (e.g., the emergency braking index integrates AEB warning and CAN operation signals) to improve the robustness of risk assessment. Spatiotemporal dual-dimensional normalization: By establishing a multi-level exposure standardization system through "number of times per 100 kilometers" (spatial normalization), "density per unit time" and "density per unit mileage" (secondary normalization), the interference of vehicle operation intensity differences on risk assessment is eliminated.

[0055] Through the aforementioned feature system, the model input is expanded from 21 types of original alarm signals to a multi-dimensional risk representation that includes basic and enhanced features, enabling XGBoost to move from "single-point alarm frequency statistics" to "multi-dimensional risk pattern recognition".

[0056] For example, vehicle operation data often contains issues such as empty mileage, abnormal online time, and abnormally high average speed. Directly inputting this abnormal data into the model will lead to distorted risk scoring and cost fluctuations. Therefore, this application establishes the following seven categories of outlier identification and correction rules after feature construction and before data standardization: The data processing module 2 is further configured to: The vehicle data is subjected to anomaly processing; the anomaly processing includes: Rule 1: When the mileage field is empty or zero and the online time and average speed are normal, determine the estimated mileage and use the estimated mileage to fill the missing values ​​in the mileage field; the estimated mileage is the product of the average speed and the online time.

[0057] Rule 2: When the mileage exceeds the preset mileage limit (e.g., 1000km per day, which exceeds the normal operating limit of commercial vehicles) and the average vehicle speed exceeds the preset speed limit or the online time exceeds the preset time limit, the sample is determined to be an extreme value caused by equipment failure or abnormal data collection. The field corresponding to the mileage is removed, that is, the corresponding sample is removed from the training set.

[0058] Rule 3: When the average vehicle speed is greater than the preset speed threshold (e.g., exceeding 120km / h) but less than the preset mileage limit, the median mileage and median online time of vehicles of the same model in the current month will be used to cover the original value.

[0059] Rule 4: When the mileage is greater than zero (e.g., >10km) and the online time is zero, it is determined that the data collection timing is disordered, and the field corresponding to the mileage is removed; that is, the corresponding sample is removed.

[0060] Rule 5: When the mileage is zero and the online time is greater than the first preset time threshold (e.g., >0.5 hours), it means that the vehicle is in operation but the mileage sensor is not recording normally. The mileage is determined based on the online time and the average speed of the same vehicle model in the current month.

[0061] Rule 6: When the online duration exceeds the second preset duration threshold (e.g., more than 20 hours / day) and the mileage is within the preset mileage range (the mileage does not significantly exceed the limit), it indicates that the terminal may be in standby mode for a long time without actually running. The online duration is determined based on the mileage and the median average speed of the same model in the current month; that is, the online duration is calculated by reverse calculation based on the mileage and the median speed of the same model in the current month.

[0062] Rule 7: Perform quantile limiting processing on continuous numerical features in the vehicle data, and remove numerical features that are below the 1st percentile and above the 99th percentile.

[0063] Specifically, quantile-level winsorization is performed on all continuous numerical features, truncating values ​​below the 1st percentile and above the 99th percentile to P1 and P99 values, respectively, to reduce the impact of extreme values ​​on model training and scoring stability. Winsorization parameters are calculated and stored separately for each device type.

[0064] Furthermore, the anomaly handling process is recorded in the daily risk audit log. The above seven rules are consistently applied during both the training and inference phases to ensure the consistency and reliability of the model's input data. Rules one through six perform cross-validation on the physical and logical relationships between mileage, online duration, and average vehicle speed; rule seven serves as a general fallback rule, covering all continuous numerical features. Anomaly handling markers (anomaly type, value before correction, value after correction, and applied rule number) are synchronously recorded in the daily risk audit log, supporting subsequent audit traceability.

[0065] The risk scoring module 3 is configured as follows: Based on candidate models, a target model is determined. The candidate models include: logistic regression, random forest, gradient boosting, XGBoost, and LightGBM. Each candidate model uses whether a vehicle has experienced an accident or triggered a risk event within a statistical day and a subsequent preset window period (e.g., within 3 days) as a supervision label (binary classification: 1 = accident / positive sample, 0 = no accident / negative sample). The model uses the day's operational data and alarm data as input features, trains the model to output the accident probability for that day, and after calibration, uses it as a risk score (a continuous value in the 0-1 range). The candidate models are loaded and executed by the corresponding model components.

[0066] The risk scoring module 3 is further configured as follows: The AUC of each candidate model is determined using the time-series cross-validation method.

[0067] If the AUC of the XGBoost model is greater than that of other candidate models, then the XGBoost model is determined as the target model.

[0068] If the AUC of the XGBoost model is not greater than that of other candidate models, a soft voting ensemble model is constructed that includes the Random Forest model, the XGBoost model, and the LightGBM model, and the soft voting ensemble model is determined as the target model; the XGBoost model has the largest weight in the soft voting ensemble model.

[0069] For example, five candidate models are compared in parallel during the modeling phase: logistic regression (linear baseline), random forest (Bagging ensemble), gradient boosting (serial ensemble), XGBoost (optimized gradient boosting tree), and LightGBM (histogram-efficient gradient boosting). Each model undergoes hyperparameter optimization through randomized search (RandomizedSearchCV), with AUC of 5-fold cross-validation as the primary evaluation metric.

[0070] Preferably, XGBoost was selected as the core technology for the following reasons: 1. It has demonstrated excellent performance in binary classification tasks with structured tabular data, based on extensive validation; 2. Built-in L1 / L2 regularization effectively prevents overfitting in scenarios with high-dimensional sparse alarm features; 3. It supports column sampling and row sampling to enhance generalization ability; 4. It can directly output probability values ​​for risk scoring; 5. Feature importance output supports model interpretation. If the AUC of XGBoost is not significantly better than other models (difference ≤ 0.02), a soft-voting ensemble model (voting='soft') is constructed, comprising Random Forest, XGBoost, and LightGBM, with XGBoost assigned a higher weight.

[0071] For example, this application does not pre-define a single model, but instead trains five candidate models (logistic regression, random forest, gradient boosting, XGBoost, and LightGBM) in parallel. The AUC of each model is compared using time-series cross-validation (TimeSeriesSplit, ensuring the training set time window is always earlier than the validation set). The optimal model is selected based on the decision rule that "XGBoost AUC is significantly better than the others (difference > 0.02), otherwise a soft-voting ensemble model is constructed (XGBoost weight 2, others weight 1)." This rule balances model performance and engineering stability. XGBoost has been widely validated as the optimal choice for structured tabular data, but alternative ensemble paths are retained to address scenarios with insufficient data for certain device types.

[0072] The risk scoring module 3 is also used for sample imbalance processing: in UBI scenarios, the number of days with incidents (positive samples) is much less than the number of days without incidents (negative samples). The SMOTE oversampling and random undersampling combination method is used to balance the samples so that the positive and negative ratio of the training set tends to be reasonable.

[0073] The risk scoring module 3 is also used for combined optimization of feature selection and probability calibration: it uses RFECV recursive feature elimination to select the optimal feature subset, reducing redundant features and noise interference; it uses isotonic regression calibration to map the original model probability to a calibration score that is closer to the true probability of occurrence; and it uses F1 / G-mean bi-objective optimization to search for the optimal classification threshold. This forms a combined optimization chain of "selection, calibration, and segmentation," jointly ensuring the stability and interpretability of the output risk score.

[0074] The device field mapping table and the multidimensional risk features are input into the target model to generate a risk score.

[0075] The risk scoring module 3 is also configured as follows: Training samples are acquired at preset time intervals; the training samples are the device field mapping table and the multidimensional risk features within the preset time interval.

[0076] The training samples are input into the candidate model to train the model components.

[0077] Specifically, the entire training process is re-executed each month based on new samples from the past 3-6 months: generating new model components for the new month, storing them in a four-level directory structure (historical versions are retained but not overwritten), and automatically matching the corresponding monthly version based on the business date during inference, without the need for manual intervention.

[0078] The service output module 4 is configured as follows: The UBI fee is calculated based on the risk score.

[0079] The service output module 4 is also configured as follows: Based on the risk score, a daily risk review record is generated; the daily risk review record includes: the license plate number, vehicle identification number, statistical date, region, quoted vehicle model, equipment type, mileage, online duration, average vehicle speed, risk score (0-1), risk level (customized according to the risk score, including high, medium, and low), prediction category, usage threshold, model version, basic feature snapshot, enhanced feature snapshot, anomaly handling marker, and review status; the review status includes pending review, reviewed, and corrected.

[0080] For example, the risk score result serves as the core risk input for subsequent UBI daily cost calculation (combined with the service rate per kilometer, risk premium multiple, accident surcharge factor, and daily maximum limit). Monthly costs are formed by summing daily costs within the valid billing interval. Auditors can view the risk score, all feature values, anomaly handling markers, and model version information for a specified vehicle on a specified date, verifying or correcting abnormal data. Correction records (corrector, correction time, previous value, corrected value, and reason for correction) are stored in the operation log. The system can dynamically control whether a vehicle participates in risk scoring, whether the score result is included in cost calculation, and whether that day is included in the monthly summary based on the service order status (not in effect / in service / suspended / reported suspension / transfer / cancellation / service completed) on the corresponding date.

[0081] This application provides a vehicle usage-based (UBI) dynamic pricing system, which has the following embodiments: Background: The target vehicle is a heavy-duty dump truck operating within Beijing, equipped with Kunlunshan vehicle-mounted terminal equipment (capable of ADAS+AEB, but not DMS). This vehicle type is mainly used for short-distance construction site transportation, with significant blind spot risks and pedestrian collision risks.

[0082] Data Acquisition: The Kunlun Mountain equipment can collect 14 types of alarm data (forward collision warning, braking warning, lane departure warning, optimized vehicle distance warning, dual-lens vehicle distance warning, brake signal, left turn signal, right turn signal, forward collision alarm, lane departure alarm, close following alarm, pedestrian collision alarm, forward braking alarm, and blind spot alarm) and 3 types of operational data (daily mileage, online time, and average vehicle speed). The 6 DMS-related alarm fields (making / receiving phone calls, smoking, fatigued driving, distracted driving, driver abnormality, and camera obstruction) are unavailable because the equipment does not have a DMS module.

[0083] Model training: Extract historical data of "heavy dump trucks, Kunlun Mountain, and Beijing" from the cloud platform for the past 6 months, associate them with accident records (whether an accident occurred on the statistical date and within the following 3 days) to generate supervision labels, and construct a dataset of approximately 1,200 positive samples and 48,000 negative samples.

[0084] The training process is executed sequentially: Feature construction: Based on the 14 types of alarms and 3 types of operational indicators available for calculation of basic features, 6 types of enhanced features are constructed, including total alarm density, safety alarm index, alarm density per unit time, alarm density per unit mileage, total steering signal, and steering imbalance (the behavior anomaly index is not included in the calculation due to the lack of the DMS field), for a total of 20 features.

[0085] Data standardization: Z-score standardization, with parameters stored independently for each Kunlun Mountain device.

[0086] Sample balancing: SMOTE oversampling generates approximately 36,000 synthetic positive samples, and negative samples are randomly undersampled to approximately 36,000 samples. The target ratio of positive to negative samples is 1:3 to 1:5.

[0087] RFECV feature selection: 5-fold cross-validation recursive elimination, selecting from 20 dimensions to the optimal feature subset of 15 dimensions.

[0088] Multi-model comparison: Five candidate models were randomly searched for 150 groups and cross-validated with 5-fold cross-validation, as shown in Table 5.

[0089] Table 5: Comparison Chart of Candidate Models

[0090] XGBoost's AUC (0.792) significantly outperformed other models (ΔAUC > 0.02), and it was directly selected as the core model. Optimal hyperparameters: n_estimators=300, learning_rate=0.05, max_depth=5, subsample=0.8, colsample_bytree=0.7, gamma=0.1, reg_alpha=1, reg_lambda=2.

[0091] Probability calibration: Isotonic regression calibration, the Brier Score decreased from 0.142 to 0.089.

[0092] Threshold optimization: The optimal threshold is 0.52 (F1=0.68, G-mean=0.76), which divides the risk into low risk (<0.35), medium risk (0.35-0.65), and high risk (>0.65).

[0093] Model persistence: All components are stored as `Dump Truck / Kunlun Mountain / Beijing / 202506 / `.

[0094] Model inference: On a certain day, the vehicle traveled 185km, was online for 6.5 hours, had an average speed of 48km / h, and triggered 2.1 forward collision warnings, 1.3 lane departure warnings, and 3.5 close-range warnings at 100km / h. The system loaded the model component according to the path "Heavy-duty dump truck, Kunlun Mountain, Beijing, 202506". After feature processing, the data was input into XGBoost, and after calibration, a risk score of 0.67 was output (medium risk level; the high close-range warning score is consistent with the blind spot risk characteristics of dump trucks in construction site scenarios). This result and feature snapshot were written to the daily risk review record.

[0095] A second aspect of this application provides a vehicle UBI dynamic pricing method, applied to a vehicle UBI dynamic pricing system described in any of the above embodiments, comprising: Vehicle data of the vehicle to be priced is collected using an in-vehicle terminal device; the vehicle data includes: operating data, alarm behavior data, and vehicle attribute data; Based on the vehicle data, an equipment field mapping table is established; the equipment field mapping table is used to display the vehicles to be priced for each equipment type and the corresponding vehicle data fields; Based on the device field mapping table, corresponding model components are trained and stored according to the device type; the model components include: optimal model file, feature selector, feature scaler, optimal threshold file, and model configuration file; Based on the vehicle data, a multidimensional risk feature is constructed; the multidimensional risk feature includes: basic features and enhanced features; Based on the candidate models, the target model is determined; the candidate models include: logistic regression model, random forest model, gradient boosting model, XGBoost model, and LightGBM model; the candidate models are loaded and executed by the corresponding model components; The device field mapping table and the multidimensional risk features are input into the target model to generate a risk score; The UBI fee is calculated based on the risk score.

[0096] It is worth noting that the effects of the above method embodiments can be found in the effects of the above system embodiments, and will not be repeated here.

[0097] The above detailed embodiments further illustrate the purpose, technical solution, and beneficial effects of the embodiments of this application. It should be understood that the above are merely specific embodiments of the embodiments of this application and are not intended to limit the protection scope of the embodiments of this application. Any modifications, equivalent substitutions, improvements, etc., made on the basis of the technical solutions of the embodiments of this application should be included within the protection scope of the embodiments of this application.

Claims

1. A vehicle UBI dynamic pricing system, characterized in that, include: The communication connection includes a data acquisition module (1), a data processing module (2), a risk scoring module (3), and a business output module (4). The data acquisition module (1) is configured as follows: Vehicle data of the vehicle to be priced is collected using an in-vehicle terminal device; the vehicle data includes: operating data, alarm behavior data, and vehicle attribute data; The data processing module (2) is configured as follows: Based on the vehicle data, an equipment field mapping table is established; the equipment field mapping table is used to display the vehicles to be priced for each equipment type and the corresponding vehicle data fields; Based on the device field mapping table, corresponding model components are trained and stored according to the device type; the model components include: optimal model file, feature selector, feature scaler, optimal threshold file, and model configuration file; Based on the vehicle data, a multidimensional risk feature is constructed; the multidimensional risk feature includes: basic features and enhanced features; The risk scoring module (3) is configured as follows: Based on the candidate models, the target model is determined; the candidate models include: logistic regression model, random forest model, gradient boosting model, XGBoost model, and LightGBM model; the candidate models are loaded and executed by the corresponding model components; The device field mapping table and the multidimensional risk features are input into the target model to generate a risk score; The service output module (4) is configured as follows: The UBI fee is calculated based on the risk score.

2. The vehicle UBI dynamic pricing system according to claim 1, characterized in that, The operational data includes: mileage, online duration, average vehicle speed, and working time; The alarm behavior data includes: collision warning, braking warning, lane departure warning, vehicle distance warning, driver status and behavior warning, camera obstruction warning, and blind spot warning; The vehicle attribute data includes: quoted vehicle model, actual vehicle model, equipment type, license plate number and region information, service order identifier, service order status, service start and end time, and accident record information; the service order status includes: not in effect, in service, suspended, reported suspension, transferred to insurance, cancelled, and service completed; the accident record information includes the number of accidents and the cumulative assessed loss amount.

3. The vehicle UBI dynamic pricing system according to claim 1, characterized in that, The basic features include: an operational exposure index group and an alarm index group; The operational exposure index group includes: mileage, online duration, and average vehicle speed; The alarm indicator group includes: braking warning, vehicle distance warning, close-to-vehicle braking warning, forward collision warning, lane departure warning, close-to-vehicle warning, pedestrian collision warning, forward braking warning, blind spot warning, brake signal, left turn signal, right turn signal, driver status and behavior warning, and camera obstruction warning.

4. A vehicle UBI dynamic pricing system according to claim 3, characterized in that, The enhanced features include: total alarm density, abnormal behavior index, safety alarm index, alarm density per unit time, alarm density per unit mileage, total steering signals, steering imbalance, forward collision plus close following index, lane departure plus close following index, and emergency braking index.

5. A vehicle UBI dynamic pricing system according to claim 4, characterized in that, The total alarm density is the sum of the number of warnings per 100 kilometers for all available warning features; the abnormal behavior index is the sum of the number of warnings per 100 kilometers for driver status and behavior warnings such as distracted driving, abnormal driving, smoking, making or receiving phone calls, and fatigued driving; and the safety alarm index is the sum of the number of warnings per 100 kilometers for forward collision warning, lane departure warning, close following warning, pedestrian collision warning, and forward braking warning.

6. A vehicle UBI dynamic pricing system according to claim 3, characterized in that, The data processing module (2) is also configured to: The vehicle data is subjected to anomaly processing; the anomaly processing includes: When the mileage field is empty or zero and the online time and average speed are normal, the estimated mileage is determined and the estimated mileage is used to fill the missing values ​​in the mileage field; the estimated mileage is the product of the average speed and the online time. When the mileage exceeds the preset mileage limit and the average vehicle speed exceeds the preset vehicle speed limit or the online time exceeds the preset time limit, the field corresponding to the mileage is removed. When the average vehicle speed is greater than the preset vehicle speed threshold but less than the preset mileage limit, the median mileage and median online time of vehicles of the same model in the current month are used to cover the original value. When the mileage is greater than zero and the online time is zero, the field corresponding to the mileage is removed. When the mileage is zero and the online time is greater than the first preset time threshold, the mileage is determined based on the online time and the average speed of the same vehicle model in the current month. When the online duration exceeds the second preset duration threshold and the mileage is within the preset mileage range, the online duration is determined based on the mileage and the median average speed of the same vehicle model in the current month. The continuous numerical features in the vehicle data are subjected to quantile limiting processing, and the numerical features corresponding to those below the 1st percentile and above the 99th percentile are removed. In addition, the abnormal handling process will be recorded in the daily risk audit record.

7. A vehicle UBI dynamic pricing system according to claim 1, characterized in that, The risk scoring module (3) is further configured as follows: The AUC of each candidate model is determined using the time-series cross-validation method; If the AUC of the XGBoost model is greater than that of other candidate models, then the XGBoost model is determined as the target model. If the AUC of the XGBoost model is not greater than that of other candidate models, a soft voting ensemble model is constructed that includes the Random Forest model, the XGBoost model, and the LightGBM model, and the soft voting ensemble model is determined as the target model; the XGBoost model has the largest weight in the soft voting ensemble model.

8. A vehicle UBI dynamic pricing system according to claim 1, characterized in that, The risk scoring module (3) is also configured as follows: Training samples are acquired at preset time intervals; the training samples are the device field mapping table and the multidimensional risk features within the preset time interval. The training samples are input into the candidate model to train the model components.

9. A vehicle UBI dynamic pricing system according to claim 1, characterized in that, The service output module (4) is also configured as follows: Based on the risk score, a daily risk review record is generated; the daily risk review record includes: the license plate number, vehicle identification number, statistical date, region, priced vehicle model, equipment type, mileage, online duration, average vehicle speed, risk score, risk level, prediction category, usage threshold, model version, basic feature snapshot, enhanced feature snapshot, anomaly handling marker, and review status of the vehicle to be priced; the review status includes pending review, reviewed, and corrected.

10. A vehicle UBI dynamic pricing method, applied to a vehicle UBI dynamic pricing system according to any one of claims 1 to 9, characterized in that, include: Vehicle data of vehicles to be priced is collected using in-vehicle terminal equipment; The vehicle data includes: operational data, alarm behavior data, and vehicle attribute data; Based on the vehicle data, an equipment field mapping table is established; the equipment field mapping table is used to display the vehicles to be priced for each equipment type and the corresponding vehicle data fields; Based on the device field mapping table, corresponding model components are trained and stored according to the device type; the model components include: optimal model file, feature selector, feature scaler, optimal threshold file, and model configuration file; Based on the vehicle data, a multidimensional risk feature is constructed; the multidimensional risk feature includes: basic features and enhanced features; Based on the candidate models, the target model is determined; the candidate models include: logistic regression model, random forest model, gradient boosting model, XGBoost model, and LightGBM model; the candidate models are loaded and executed by the corresponding model components; The device field mapping table and the multidimensional risk features are input into the target model to generate a risk score; The UBI fee is calculated based on the risk score.