A method for identifying abnormal repair enterprises of heavy-duty diesel vehicles
By employing spatial clustering and brand authorization verification methods, the challenge of identifying abnormal repairs of heavy-duty diesel vehicles has been solved, enabling accurate identification and quantitative statistics of abnormal repair companies and improving regulatory efficiency.
Patent Information
- Application Number
- CN202611425873.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-15
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies cannot effectively identify abnormal maintenance behavior in heavy-duty diesel vehicles, especially when the OBD terminal is offline, they cannot distinguish between equipment failure and human violations, and they lack the ability to quantitatively identify abnormal maintenance companies.
By using spatial clustering analysis based on the OBD remote monitoring platform, combined with POI retrieval and brand authorization verification related to automotive repair, and employing the Distance Competition Ratio (DCR) algorithm and brand authorization verification, quantitative statistics on abnormal repair enterprises are achieved.
It enables cross-domain reasoning from OBD offline behavior to maintenance attribution, accurately identifies abnormal maintenance companies, reduces the false positive rate, and provides precise regulatory clues.
Smart Images

Figure CN123180973A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of motor vehicle emission monitoring technology, and in particular to a method for identifying abnormal repair shops for heavy-duty diesel vehicles. Background Technology
[0002] Heavy-duty diesel vehicles are a major source of nitrogen oxides (NOx) and particulate matter (PM) emissions from road traffic. To control vehicle emissions, my country has been comprehensively promoting the construction of a remote monitoring system for heavy-duty diesel vehicles' OBD (On-Board Diagnostics) since 2019. This system requires heavy-duty diesel vehicles to install remote emission management on-board terminals (hereinafter referred to as OBD terminals), which report engine operating data, emission data, GPS location, and other information to national and local monitoring platforms in real time via mobile communication networks.
[0003] However, in actual operation, some vehicles experience prolonged periods of OBD terminal offlineness (i.e., cessation of data reporting). Reasons for vehicle offlineness include: terminal equipment malfunction, vehicle scrapping / out of service, vehicle maintenance, and intentional disconnection of the OBD terminal. Among these, some instances of intentional OBD terminal disconnection are closely related to irregular or abnormal maintenance activities. Some vehicle owners, in order to circumvent emissions regulations, deliberately disconnect the OBD terminal during maintenance, thus removing the vehicle from the remote monitoring system.
[0004] In existing technologies, detection methods for OBD terminal disconnection mainly focus on the physical layer detection level. For example, Chinese invention CN111426984B discloses an OBD module disconnection detection method that determines whether the OBD device has been physically unplugged by detecting the CAN bus communication status and CAN loop resistance value. While these methods can detect whether the terminal has been disconnected, they cannot further determine whether the disconnection was caused by equipment malfunction or improper human error during maintenance.
[0005] In addition, the existing means of supervising motor vehicle repairs mainly rely on electronic repair record systems, which depend on repair companies voluntarily uploading repair records, resulting in data gaps and false uploads.
[0006] Therefore, existing technologies have the following shortcomings in identifying abnormal maintenance in heavy-duty diesel vehicles: (1) Lack of spatial dimension analysis: Existing OBD remote monitoring platforms mainly focus on the data quality and emission compliance of individual vehicles, without utilizing the offline spatial location information of a large number of offline vehicles to identify regional abnormal behaviors, and lack the method of inferring maintenance behavior from the spatial distribution pattern of the group.
[0007] (2) Lack of maintenance attribution ability: Even if a large number of offline vehicles are found in a certain area, the existing methods cannot determine whether these vehicles are being repaired by the same repair shop, and cannot quantitatively identify key repair shops.
[0008] Therefore, there is an urgent need for a method that can automatically identify areas where suspected illegal repair vehicles gather based on OBD remote monitoring data and spatial analysis, and further locate abnormal repair shops, thereby providing accurate clues about illegal auto repair shops for environmental protection departments and transportation departments. Summary of the Invention
[0009] In view of this, embodiments of this application provide a method for identifying abnormal repair shops for heavy-duty diesel vehicles, which at least partially solves the problem of lack of spatial analysis and repair attribution capabilities in the prior art.
[0010] This application provides a method for identifying abnormal repair shops for heavy-duty diesel vehicles, including: Based on the local heavy-duty diesel vehicle OBD remote monitoring platform, the last reported location and last reported timestamp of each vehicle are extracted. Based on the last reported timestamp, vehicles whose offline duration exceeds the preset offline duration threshold are filtered out to form a set of vehicles to be analyzed. For vehicles within the vehicle set to be analyzed, spatial clustering analysis is performed based on the last reported location to obtain multiple clusters. For each cluster and its surrounding areas, perform a search for POIs related to automotive repair to obtain a set of automotive repair-related enterprises corresponding to each cluster; Based on the set of car repair-related enterprises corresponding to each cluster, the cause of vehicle repair is determined. Based on the results of the maintenance attribution determination, a quantitative statistic of the number of vehicles requiring abnormal maintenance is performed for each automotive repair-related enterprise.
[0011] According to a specific implementation of an embodiment of this application, the spatial clustering analysis based on the last reported location includes: Input the set of vehicles to be analyzed, the neighborhood radius parameter, and the minimum number of vehicles parameter. Perform spatial clustering analysis based on the spatial clustering algorithm, and output multiple clusters, the location coordinates of each cluster, and a discrete set of vehicles marked as noise points. The location coordinates of each cluster are the arithmetic mean of the location coordinates of all vehicles in each cluster.
[0012] According to a specific implementation of an embodiment of this application, the step of performing a search for automotive repair-related POIs for each cluster and its surrounding areas includes: For each cluster, the location coordinates of the cluster are used as the cluster center, and POIs related to automobile repair are retrieved within the retrieval radius; Among them, the search radius is larger than the radius of the cluster. The POI search categories include car sales and car repair related locations. The POI search keywords include car repair, car maintenance, car repair and maintenance, 4S store, auto repair shop, repair shop and car repair service. Each automotive repair-related enterprise in the set includes the following attribute information: enterprise name, POI search category label, enterprise latitude and longitude location, and enterprise distance from the cluster center.
[0013] According to a specific implementation of an embodiment of this application, the step of determining the cause of vehicle repairs based on the set of automotive repair-related enterprises corresponding to each cluster includes: Calculate the total number of auto repair-related enterprises in each cluster, and determine whether the area where the cluster is located belongs to an auto repair cluster based on the total number of auto repair-related enterprises in each cluster; For vehicles belonging to the cluster of auto repair agglomeration area, the repair attribution of the vehicle is determined in three levels by distance competition ratio. The three levels of determination include definite repair attribution, uncertain repair attribution, and no clear repair attribution. For vehicles whose repair attribution is determined, brand authorization verification is performed based on the nearest automotive repair-related business to determine whether the vehicle underwent normal repairs.
[0014] According to a specific implementation of an embodiment of this application, determining whether the area where a cluster is located belongs to an auto repair cluster area based on the total number of auto repair-related enterprises within each cluster includes: When the total number of car repair-related enterprises in each cluster is greater than or equal to the first threshold for the number of enterprises, the area where the cluster is located is determined to be a car repair cluster area; When the total number of car repair-related enterprises in each cluster is less than the first threshold for the number of enterprises but greater than or equal to 1, it is determined that there is a single car repair-related enterprise in the region where the cluster is located. If the total number of car repair-related businesses in each cluster is 0, it is determined that there are no car repair-related businesses in the area where that cluster is located.
[0015] According to a specific implementation of an embodiment of this application, the three-level determination of vehicle maintenance attribution based on distance competition ratio includes: For each vehicle within a cluster belonging to the auto repair cluster, calculate the spherical distance between that vehicle and each auto repair-related enterprise in the set of auto repair-related enterprises corresponding to that cluster; Sort the spherical distances from the vehicle to each auto repair-related business in ascending order; Based on the ranking results, the distances of the first and second ranked vehicles are selected, and the distance competition ratio of the vehicle is calculated. The formula for calculating the distance competition ratio is as follows: , Where DCR_i is the distance competition ratio of the i-th vehicle, d_{(2)} is the distance of the second-ranked vehicle, and d_{(1)} is the distance of the first-ranked vehicle; When DCR_i≥θ_DCR and d_{(1)}≤d_max, it is determined that the vehicle was repaired by the nearest car repair related enterprise, and the vehicle belongs to the category of determined repair attribution. θ_DCR is the distance competition ratio threshold, and d_max is the maximum effective attribution distance. When DCR_i < θ_DCR and d_{(1)} ≤ d_max, the vehicle is determined to have an uncertain repair attribution. All car repair-related enterprises that satisfy d_{(r)} - d_{(1)} < Δd are marked as suspected repair points for the vehicle, where d_{(r)} is the distance at the r-th order and Δd is the distance fuzziness threshold. When d_{(1)}>d_max, it is determined that the vehicle has no clear cause for repair.
[0016] According to a specific implementation of an embodiment of this application, the method further includes: For a cluster containing a single auto repair-related enterprise, calculate the spherical distance between the vehicle and the single auto repair-related enterprise for each vehicle in the cluster. If the spherical distance is less than 200m, the vehicle is considered to belong to the category of definite repair attribution.
[0017] According to a specific implementation of an embodiment of this application, the step of performing brand authorization verification based on the nearest automotive repair-related enterprise to determine whether the vehicle is undergoing normal repairs for a vehicle with a determined repair cause includes: Obtain the brand information B(v') of the vehicle for which the repair attribution was determined. i ), retrieve the set of authorized brands of the nearest car repair-related enterprises to the vehicle, B_auth(S_{(1)}); If B(v') i If ) ∈B_auth(S_{(1)}), the vehicle is determined to be under normal maintenance; If B(v') i ) B_auth(S_{(1)}) determines that the vehicle is under abnormal repair and marks the nearest car repair company as under abnormal repair.
[0018] According to a specific implementation of an embodiment of this application, the quantitative statistical analysis of the number of vehicles requiring abnormal repairs for each automotive repair-related enterprise based on the repair attribution determination results includes: The formula for calculating the number of vehicles marked as having abnormal repairs for each auto repair-related business is as follows: , in, The number of vehicles corresponding to auto repair-related businesses S_j that are marked as having abnormal repairs; I_abnormal(v' i S_j) is an indicator function, if vehicle v' i If the cause is determined to be S_j and the brand authorization verification indicates abnormal repair, then I_abnormal = 1; if vehicle v' i If the attribution is uncertain and S_j is a suspected repair point, I_abnormal = 0.5; otherwise, I_abnormal = 0. The statistics are attributed to the total number of vehicles N_total(S_j) for each automotive repair-related business; The abnormal repair rate R_abnormal(S_j) is calculated using the following formula: R_abnormal(S_j) = N_abnormal(S_j) / N_total(S_j); If N_abnormal(S_j)≥N_threshold, then mark the car repair-related enterprise S_j as a key enterprise for abnormal repairs; If N_abnormal(S_j)≥N_threshold and R_abnormal(S_j)≥R_threshold, or N_abnormal(S_j)≥2·N_threshold, then the auto repair-related enterprise S_j is marked as a highly suspicious enterprise, where N_threshold is the threshold for the number of abnormally repaired vehicles and R_threshold is the threshold for the abnormal repair rate.
[0019] According to one specific implementation of an embodiment of this application, the spatial clustering analysis employs the DBSCAN density clustering algorithm.
[0020] Beneficial effects: The method for identifying abnormal repair shops for heavy-duty diesel vehicles in this application embodiment has the following beneficial effects: (1) For the first time, cross-domain reasoning from OBD offline behavior to maintenance attribution is realized: innovatively utilizing the spatial location distribution patterns of a large number of offline vehicles, through a four-layer progressive reasoning chain of "offline location clustering → POI association → brand verification → enterprise quantification", the full-process identification of specific maintenance enterprises is realized by inferring from group behavior.
[0021] (2) The Distance Competition Ratio (DCR) algorithm is proposed to achieve accurate repair attribution: By quantifying the degree of distance difference between the nearest and second-nearest auto repair shops, the problem of inaccurate attribution by the traditional nearest neighbor method in the scenario of auto repair clusters (where multiple shops are close to each other) is solved. DCR can automatically distinguish between "definite attribution" and "uncertain attribution" and uses a weighted labeling for uncertain cases to effectively reduce the misjudgment rate.
[0022] (3) Introducing brand authorization verification to distinguish between normal and abnormal repairs: This not only determines whether a vehicle is offline near a repair shop, but also further verifies whether the repair shop has the authorized repair qualifications for the corresponding vehicle brand. Heavy-duty diesel vehicles repaired at unauthorized shops are significantly more likely to have illegal emissions than vehicles repaired at authorized 4S shops, thus achieving accurate identification. Attached Figure Description
[0023] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 This is a flowchart of a method for identifying abnormal repair shops for heavy-duty diesel vehicles according to an embodiment of the present invention. Detailed Implementation
[0025] The embodiments of this application will now be described in detail with reference to the accompanying drawings.
[0026] The following specific examples illustrate the implementation of this application. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. This application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be noted that, in the absence of conflict, the following embodiments and features in the embodiments can be combined with each other. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0027] It should be noted that various aspects of embodiments within the scope of the appended claims are described below. It will be apparent that the aspects described herein can be embodied in a wide variety of forms, and any particular structure and / or function described herein is merely illustrative. Based on this application, those skilled in the art will understand that one aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number of aspects set forth herein can be used to implement the device and / or practice the method. Additionally, this device and / or method can be implemented using structures and / or functionalities other than one or more of the aspects set forth herein.
[0028] It should also be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of this application. The illustrations only show the components related to this application and are not drawn according to the number, shape and size of the components in actual implementation. In actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0029] Furthermore, specific details are provided in the following description to facilitate a thorough understanding of the examples. However, those skilled in the art will understand that the described aspects can be practiced without these specific details.
[0030] In one embodiment, this application provides a method for identifying abnormal repair shops for heavy-duty diesel vehicles, specifically including the following steps: Based on the local heavy-duty diesel vehicle OBD remote monitoring platform, the last reported location and last reported timestamp of each vehicle are extracted. Based on the last reported timestamp, vehicles whose offline duration exceeds the preset offline duration threshold are filtered out to form a set of vehicles to be analyzed. For vehicles within the vehicle set to be analyzed, spatial clustering analysis is performed based on the last reported location to obtain multiple clusters. For each cluster and its surrounding areas, perform a search for POIs related to automotive repair to obtain a set of automotive repair-related enterprises corresponding to each cluster; Based on the set of car repair-related enterprises corresponding to each cluster, the cause of vehicle repair is determined. Based on the results of the maintenance attribution determination, a quantitative statistic of the number of vehicles requiring abnormal maintenance is performed for each automotive repair-related enterprise.
[0031] Furthermore, the spatial clustering analysis based on the last reported location includes: Input the set of vehicles to be analyzed, the neighborhood radius parameter, and the minimum number of vehicles parameter. Perform spatial clustering analysis based on the spatial clustering algorithm, and output multiple clusters, the location coordinates of each cluster, and a discrete set of vehicles marked as noise points. The location coordinates of each cluster are the arithmetic mean of the location coordinates of all vehicles in each cluster.
[0032] Furthermore, the step of performing a POI search for automotive repair-related points for each cluster and its surrounding areas includes: For each cluster, the location coordinates of the cluster are used as the cluster center, and POIs related to automobile repair are retrieved within the retrieval radius; Among them, the search radius is larger than the radius of the cluster. The POI search categories include car sales and car repair related locations. The POI search keywords include car repair, car maintenance, car repair and maintenance, 4S store, auto repair shop, repair shop and car repair service. Each automotive repair-related enterprise in the set includes the following attribute information: enterprise name, POI search category label, enterprise latitude and longitude location, and enterprise distance from the cluster center.
[0033] In specific implementation, the spatial clustering analysis employs the DBSCAN (Density-Based Spatial Clustering of Applications with Noise) density clustering algorithm. Through clustering analysis, Maintenance and repair points within the same vehicle activity range and geographical area can be clustered into a single cluster, avoiding misidentification of multiple related points within the same actual operating area as independent points, and ensuring that the geographical division of subsequent abnormal repair statistics conforms to the spatial distribution characteristics of the actual operation of auto repair enterprises.
[0034] Furthermore, the determination of vehicle repair attribution based on the set of automotive repair-related enterprises corresponding to each cluster includes: Calculate the total number of auto repair-related enterprises in each cluster, and determine whether the area where the cluster is located belongs to an auto repair cluster based on the total number of auto repair-related enterprises in each cluster. For vehicles belonging to the cluster of auto repair agglomeration area, the repair attribution of the vehicle is determined in three levels by distance competition ratio. The three levels of determination include definite repair attribution, uncertain repair attribution, and no clear repair attribution. For vehicles whose repair attribution is determined, brand authorization verification is performed based on the nearest automotive repair-related business to determine whether the vehicle underwent normal repairs.
[0035] Furthermore, determining whether the area where a cluster is located belongs to an auto repair cluster based on the total number of auto repair-related enterprises within each cluster includes: When the total number of car repair-related enterprises in each cluster is greater than or equal to the first threshold for the number of enterprises, the area where the cluster is located is determined to be a car repair cluster area; When the total number of car repair-related enterprises in each cluster is less than the first threshold for the number of enterprises but greater than or equal to 1, it is determined that there is a single car repair-related enterprise in the region where the cluster is located. If the total number of car repair-related businesses in each cluster is 0, it is determined that there are no car repair-related businesses in the area where that cluster is located.
[0036] Furthermore, the method of determining vehicle repair attribution through distance competition ratio in three levels includes: For each vehicle within a cluster belonging to the auto repair cluster, calculate the spherical distance between that vehicle and each auto repair-related enterprise in the set of auto repair-related enterprises corresponding to that cluster; Sort the spherical distances from the vehicle to each auto repair-related business in ascending order; Based on the ranking results, the distances of the first and second ranked vehicles are selected, and the distance competition ratio of the vehicle is calculated. The formula for calculating the distance competition ratio is as follows: , Where DCR_i is the distance competition ratio of the i-th vehicle, d_{(2)} is the distance of the second-ranked vehicle, and d_{(1)} is the distance of the first-ranked vehicle; When DCR_i≥θ_DCR and d_{(1)}≤d_max, it is determined that the vehicle was repaired by the nearest car repair related enterprise, and the vehicle belongs to the category of determined repair attribution. θ_DCR is the distance competition ratio threshold, and d_max is the maximum effective attribution distance. When DCR_i < θ_DCR and d_{(1)} ≤ d_max, the vehicle is determined to have an uncertain repair attribution. All car repair-related enterprises that satisfy d_{(r)} - d_{(1)} < Δd are marked as suspected repair points for the vehicle, where d_{(r)} is the distance at the r-th order and Δd is the distance fuzziness threshold. When d_{(1)}>d_max, it is determined that the vehicle has no clear cause for repair.
[0037] In this embodiment, θ_DCR, d_max, and Δd are preset parameters that can be adjusted according to the geographical characteristics of the target study area. Users can adaptively calibrate these parameters based on the spatial distribution density of auto repair shops in different regions to ensure the accuracy of the repair attribution determination results. Vehicles determined to have no clear repair attribution are not included in the statistical scope of subsequent abnormal repair identification, avoiding the impact of attribution errors on the reliability of the final abnormal repair shop identification results.
[0038] Furthermore, the method also includes: For a cluster containing a single auto repair-related enterprise, calculate the spherical distance between the vehicle and the single auto repair-related enterprise for each vehicle in the cluster. If the spherical distance is less than 200m, the vehicle is considered to belong to the category of definite repair attribution.
[0039] Furthermore, for vehicles with determined repair attribution, the process of verifying brand authorization based on the nearest automotive repair-related business to the vehicle to determine whether the vehicle underwent normal repairs includes: Obtain the brand information B(v') of the vehicle for which the repair attribution was determined. i ), retrieve the set of authorized brands of the nearest car repair-related enterprises to the vehicle, B_auth(S_{(1)}); If B(v') i If ) ∈B_auth(S_{(1)}), the vehicle is determined to be under normal maintenance; If B(v') i ) B_auth(S_{(1)}) determines that the vehicle is under abnormal repair and marks the nearest car repair company as under abnormal repair.
[0040] Furthermore, based on the results of the repair attribution determination, a quantitative statistical analysis of the number of vehicles requiring abnormal repairs is conducted for each automotive repair-related enterprise, including: The formula for calculating the number of vehicles marked as having abnormal repairs for each auto repair-related business is as follows: , in, The number of vehicles corresponding to auto repair-related businesses S_j that are marked as having abnormal repairs; I_abnormal(v' i S_j) is an indicator function, if vehicle v' i If the cause is determined to be S_j and the brand authorization verification indicates abnormal repair, then I_abnormal = 1; if vehicle v' i If the attribution is uncertain and S_j is a suspected repair point, I_abnormal = 0.5; otherwise, I_abnormal = 0. The statistics are attributed to the total number of vehicles N_total(S_j) for each automotive repair-related business; The abnormal repair rate R_abnormal(S_j) is calculated using the following formula: R_abnormal(S_j) = N_abnormal(S_j) / N_total(S_j); If N_abnormal(S_j)≥N_threshold, then mark the car repair-related enterprise S_j as a key enterprise for abnormal repairs; If N_abnormal(S_j)≥N_threshold and R_abnormal(S_j)≥R_threshold, or N_abnormal(S_j)≥2·N_threshold, then the auto repair-related enterprise S_j is marked as a highly suspicious enterprise, where N_threshold is the threshold for the number of abnormally repaired vehicles and R_threshold is the threshold for the abnormal repair rate.
[0041] In this embodiment, by using dual threshold determination, suspicious enterprises with a large number of unauthorized repair businesses over a long period of time can be accurately screened out, providing a clear direction for the supervision of heavy-duty diesel vehicle maintenance and improving the pertinence and efficiency of the supervision work.
[0042] In one embodiment, the method of this application is described in detail with reference to a specific example. Figure 1 Specifically, it includes the following steps: Step S1: Extract the offline location of the vehicle from the OBD remote monitoring system. Data reported by vehicle monitoring terminals and attribute information such as vehicle brand are obtained from the local heavy-duty diesel vehicle OBD remote monitoring platform. The last reported location (latitude and longitude coordinates) and the last reported timestamp of each vehicle are extracted.
[0043] Specifically, suppose the monitoring platform connects to N heavy-duty diesel vehicles, denoted as the vehicle set V = {v1, v2, ..., v_N}. For each vehicle v i Extract the following information from its most recent terminal-reported data packet: (a) Last reported location coordinates: (lat i lon i ), where lat i Latitude, lon i (a) Longitude; (b) Last reported timestamp: t i Accurate to the second.
[0044] Step S2: Filter vehicles that have been offline for more than a preset threshold time. Let the current system time be t0, calculate v for each vehicle.i Offline duration: Δt i =t0 t i Filter vehicles that meet the following criteria: Δt i ≥T_offline T_offline is the preset offline duration threshold, with a recommended value range of 7-15 days.
[0045] The selection criteria for the preset offline duration threshold are as follows: For heavy-duty diesel vehicles in regular operation, if they are offline for more than 30 consecutive days, it can be basically determined that the vehicle is in a long-term offline state. However, choosing 7-15 days as the threshold has two advantages: First, it allows for the early detection of suspected offline issues after a vehicle enters a long-term offline state, shortening the regulatory response time; second, it includes more vehicles in the analysis sample, improving the statistical significance of spatial clustering. In practical applications, this can be adjusted according to the normal reporting frequency and maintenance cycle of OBD terminals in different regions.
[0046] After filtering by offline time, the set of vehicles to be analyzed is obtained as V' = {v'1, v'2, ..., v'_n}, where n is the number of vehicles remaining after filtering.
[0047] Step S3: Perform spatial clustering of offline vehicle locations Regarding the correlation between offline location and repair location: It should be noted that the last reported location of a vehicle (i.e., offline location) is not the same as the repair location. A vehicle may go offline outside of a repair location due to reasons such as rest stops or roadside breakdowns. However, when a vehicle goes offline due to repairs, the spatial correlation between its offline location and the actual repair location is extremely high. This is because when a vehicle is sent for repair, it must enter the area where the repair shop is located. During the repair, the vehicle is parked within the shop's premises, and after the OBD terminal is disconnected during the repair process, the last reported location is the location of the repair shop. Therefore, using the offline location as an approximate inference of the repair location is fully reasonable in spatial correlation analysis.
[0048] The DBSCAN (Density-Based Spatial Clustering of Applications with Noise) density clustering algorithm was used to perform spatial clustering analysis on the vehicle location set selected in step S2.
[0049] Input parameters include: (a) The set of vehicle locations P = {(lat' i lon' i ) | i = 1, 2, ..., n}; (b) The neighborhood radius parameter ε is recommended to be 200m; (c) The minimum number of points parameter MinPts (i.e. the minimum number of vehicles to input) is recommended to be 10.
[0050] The output includes: (a) There are K clusters C1, C2, ..., C_K, and each cluster C_k contains n_k vehicles; (b) The location coordinates (lat_k, lon_k) of each cluster C_k are calculated as the arithmetic mean of the positions of all vehicles within the cluster; (c) The set of discrete vehicles marked as noise points (isolated vehicles that do not belong to any cluster).
[0051] Step S4: Perform POI searches related to auto repair around each cluster. For each cluster C_k (k = 1, 2, ..., K), retrieve car repair-related POIs (Points of Interest) within the retrieval radius R, centered on its cluster position (lat_k, lon_k).
[0052] Search parameters include: (a) Search radius R, recommended value is 1km; (b) POI search categories: Locations related to car sales and car repair; (c) POI keywords include: car repair, car maintenance, car repair and maintenance, 4S shop, auto repair shop, repair shop, car repair service, etc. (d) POI data source: Gaode Map API, Baidu Map API or other map service providers with auto repair POI data.
[0053] Search Results: Retrieving each cluster C_k yields a set of auto repair-related businesses S_k = {S_{k,1}, S_{k,2}, ..., S_{k,m_k}}. Each auto repair business S_{k,j} in the set contains the following attributes: business name, POI category label, latitude and longitude location (lat_{k,j}, lon_{k,j}), and distance from the cluster center. Here, j is the index variable for auto repair-related businesses, j = 1, 2, ..., m_k, where m_k is the total number of auto repair businesses retrieved within the k-th cluster.
[0054] Step S5: Determine the auto repair cluster area or individual auto repair shop Based on the number of auto repair businesses m_k retrieved in step S4, the types of auto repair businesses surrounding each cluster C_k are classified and determined: The judgment rules are as follows: (a) If m_k ≥ N_cluster, where the recommended value of N_cluster is 2, the area where the cluster is located is determined to be an auto repair agglomeration area, and the type Tag_k is marked as "auto repair agglomeration area"; (b) If 1 ≤ m_k < N_cluster, it is determined to be a single repair shop, and the type Tag_k is marked as "single auto repair shop"; (c) If m_k = 0, it is marked as "no auto repair enterprises in the surrounding area", and the vehicles in this cluster may be offline due to other reasons (such as long-term parking, equipment failure, etc.).
[0055] Step S6: Repair attribution determination based on distance competition ratio and brand matching For vehicles that are offline in the "auto repair agglomeration area", the distance competition ratio (DCR) is introduced to realize the repair attribution of offline vehicles to specific repair enterprises.
[0056] By comparing whether the brand of the vehicle is consistent with the authorized brand of the repair enterprise, normal repair (authorized shop repair) and abnormal repair (unauthorized repair) are distinguished. It includes the following sub-steps: Step S6a: Calculation of distance competition ratio For vehicles that are offline in the "auto repair agglomeration area", calculate the distance between each vehicle and each auto repair enterprise. For each vehicle v' in each cluster C_k i and each auto repair enterprise S_{k,j}, calculate the spherical distance between them. The Haversine formula is used for distance calculation, and the formula is as follows: , In the formula, d represents the Great-Circle Distance between two points on the earth's surface, that is, the length of the minor arc between the two points on the great circle passing through the two points and the earth's center; R is the earth's radius, usually taking the average radius of 6,371 km; φ1 and φ2 are the latitudes of the starting point A and the ending point B respectively, expressed in radians, with north latitude being positive and south latitude being negative; λ1 and λ2 are the longitudes of the starting point A and the ending point B respectively, expressed in radians, with east longitude being positive and west longitude being negative; sin and cos are the sine function and cosine function respectively, arcsin is the arcsine function, and √ is the square root operation. All angle variables in the formula need to be uniformly converted into radians before being substituted into the calculation.
[0057] For each vehicle v' in the cluster C_k i , sort its distances to all auto repair enterprises in ascending order: d_{(1)} ≤ d_{(2)} ≤ ... ≤ d_{(m_k)} Where d_{(r)} is the distance between the r-th nearest auto repair shop and vehicle v'. i The distance. Define the distance contention ratio DCR_i: DCR_i = (d_{(2)} d_{(1)}) / d_{(1)} Where d_{(1)} is the distance of the first sorted vehicle, i.e., vehicle v' i The distance to the nearest auto repair shop, d_{(2)} is the second-ranked distance, i.e., the distance of vehicle v' i The distance to the nearest auto repair shop. If d_{(1)} = 0, that is, the last reported location of the vehicle coincides with the location of a certain auto repair shop, then let DCR_i = +∞, which represents deterministic attribution.
[0058] Step S6b: Repair attribution determination For vehicles offline in the "Auto Repair Cluster Area", based on DCR_i and the nearest distance d_{(1)}, for vehicle v' i The maintenance cause is determined in three levels: Scenario 1 – Determining the cause of repair: If DCR_i ≥ θ_DCR and d_{(1)} ≤ d_max, then determine that vehicle v' i The nearest auto repair shop, S_{(1)}, is selected to perform the repairs. Here, θ_DCR is the distance competition ratio threshold (recommended value 0.5), and d_max is the maximum effective attribution distance, recommended value 200m.
[0059] Scenario 2 – Uncertain Repair Attribution: If DCR_i < θ_DCR and d_{(1)} ≤ d_max, then determine that vehicle v' i The cause of repair is uncertain. In this case, all auto repair shops S_{(r)} that satisfy d_{(r)} - d_{(1)} < Δd are marked as suspected repair shops for the vehicle. Here, Δd is the distance fuzzy threshold (recommended value 200m), and r = 1, 2, ..., m_k.
[0060] Scenario 3 – No clear repair attribution: If d_{(1)}>d_max, then determine vehicle v' i Without a clear cause for repair, it will not participate in subsequent brand verification and enterprise quantitative analysis.
[0061] For vehicles located near a "single auto repair shop" that are not within 200 meters of the shop, they are identified as having been repaired at that shop. Vehicles identified through simplified attribution are then subjected to brand authorization verification in the same step S6c.
[0062] Step S6c: Brand Authorization Verification For vehicle v' whose maintenance attribution was determined in step S6b iConduct brand authorization verification: (a) Obtain vehicle v' i Brand information B(v' i Examples include FAW Jiefang, Dongfeng Commercial Vehicle, and China National Heavy Duty Truck Group. (b) Obtain the set of licensed brands B_auth(S_{(1)}) of the attribution firm S_{(1)}. Obtaining brand licensing data is feasible, and specific sources include: ① Semantic association between vehicle brands and auto repair shop names: There is a clear naming correspondence between heavy-duty diesel vehicle brands (such as FAW Jiefang, Dongfeng Commercial Vehicle, and Sinotruk) and their authorized service stations. For example, auto repair shops whose names contain keywords such as FAW Jiefang, Dongfeng Commercial Vehicle, and Sinotruk can be directly identified as authorized service stations of the corresponding brands; ② List of authorized service stations published on the official websites of automobile brand manufacturers; (c) Judgment rules: If B(v') i ) ∈B_auth(S_{(1)}), which is determined to be normal repair (authorized repair). The vehicle's maintenance and repair within the brand authorization scope of the enterprise is a reasonable behavior; If B(v') i ) B_auth(S_{(1)}) is determined to be abnormal repair (unauthorized repair), that is, the vehicle was repaired by a company that is not authorized by the brand, which is suspected of being an illegal repair and may involve the behavior of making the vehicle offline to evade emission supervision.
[0063] For vehicles with uncertain repair attribution, all candidate companies are marked as suspected abnormal repair points, without distinguishing between normal and abnormal, but their weights are reduced (weight coefficient ω = 0.5).
[0064] Step S7: Quantitative Assessment of the Repair Business Based on the maintenance attribution results in step S6, a quantitative count of the number of vehicles requiring abnormal maintenance is performed for each auto repair shop.
[0065] (1) Count the number of vehicles marked as abnormal repairs for each auto repair shop S_j: N_abnormal(S_j) =Σ_{i=1}^{n} I_abnormal(v' i , S_j) Where I_abnormal(v' i S_j) is an indicator function: If vehicle v' i If the issue is determined to be caused by S_j and the brand verification indicates abnormal repair, then I_abnormal = 1; If vehicle v' iIf the attribution is uncertain and S_j is a candidate suspected enterprise, then I_abnormal = ω = 0.5; In other cases, I_abnormal = 0.
[0066] (2) The total number of vehicles attributed to the enterprise:
[0067] Where I_attribution(v' i S_j) is the attribution indicator function, and vehicle v' i It is 1 when it is attributed to S_j, and 0 otherwise.
[0068] (3) Calculate the abnormal repair rate: R_abnormal(S_j) = N_abnormal(S_j) / N_total(S_j) (4) Identification of key enterprises for abnormal maintenance: If N_abnormal(S_j) ≥ N_threshold (recommended value N_threshold = 5), mark the auto repair shop S_j as a "key enterprise for abnormal repair".
[0069] A company will be upgraded to a "highly suspicious enterprise" if it meets all of the following conditions: N_abnormal(S_j) ≥ N_threshold and R_abnormal(S_j) ≥ R_threshold (recommended value R_threshold = 0.5); Or N_abnormal(S_j) ≥ 2·N_threshold (i.e. ≥ 10 vehicles).
[0070] Wherein, N_threshold is the threshold for the number of vehicles undergoing abnormal repairs. It is the minimum threshold for determining whether an auto repair shop constitutes a "key enterprise for abnormal repairs". R_abnormal is the abnormal repair rate of auto repair shop S_j, which reflects the proportion of abnormal repairs in the shop's repair business. R_threshold is the threshold for the abnormal repair rate.
[0071] The method for identifying abnormal repair shops for heavy-duty diesel vehicles proposed in this application conducts spatial clustering based on the offline location of the vehicle's OBD system. It combines publicly available automotive repair POI data with the brand authorization information of repair shops and completes repair attribution through distance competition ratio. It identifies suspicious shops based on the number of abnormal vehicles and the abnormal repair rate. It does not require additional data collection equipment or hardware modifications to the existing OBD system. It can quickly screen and identify shops with a high incidence of unauthorized abnormal repairs using only existing data. It can provide precise targeting for mobile source emission supervision, reduce supervision costs, and improve supervision efficiency.
[0072] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for identifying abnormal repair shops for heavy-duty diesel vehicles, characterized in that, include: Based on the local heavy-duty diesel vehicle OBD remote monitoring platform, the last reported location and last reported timestamp of each vehicle are extracted. Based on the last reported timestamp, vehicles whose offline duration exceeds the preset offline duration threshold are filtered out to form a set of vehicles to be analyzed. For vehicles within the vehicle set to be analyzed, spatial clustering analysis is performed based on the last reported location to obtain multiple clusters. For each cluster and its surrounding areas, perform a search for POIs related to automotive repair to obtain a set of automotive repair-related enterprises corresponding to each cluster; Based on the set of car repair-related enterprises corresponding to each cluster, the cause of vehicle repair is determined. Based on the results of the maintenance attribution determination, a quantitative statistic of the number of vehicles requiring abnormal maintenance is performed for each automotive repair-related enterprise.
2. The method for identifying abnormal repair shops for heavy-duty diesel vehicles according to claim 1, characterized in that, The spatial clustering analysis based on the last reported location includes: Input the set of vehicles to be analyzed, the neighborhood radius parameter, and the minimum number of vehicles parameter. Perform spatial clustering analysis based on the spatial clustering algorithm, and output multiple clusters, the location coordinates of each cluster, and a discrete set of vehicles marked as noise points. The location coordinates of each cluster are the arithmetic mean of the location coordinates of all vehicles in each cluster.
3. The method for identifying abnormal repair shops for heavy-duty diesel vehicles according to claim 2, characterized in that, The step of performing a search for automotive repair-related POIs for each cluster and its surrounding areas includes: For each cluster, the location coordinates of the cluster are used as the cluster center, and POIs related to automobile repair are retrieved within the retrieval radius; Among them, the search radius is larger than the radius of the cluster. The POI search categories include car sales and car repair related locations. The POI search keywords include car repair, car maintenance, car repair and maintenance, 4S store, auto repair shop, repair shop and car repair service. Each automotive repair-related enterprise in the set includes the following attribute information: enterprise name, POI search category label, enterprise latitude and longitude location, and enterprise distance from the cluster center.
4. The method for identifying abnormal repair shops for heavy-duty diesel vehicles according to claim 1, characterized in that, The process of determining the cause of vehicle repairs based on the set of automotive repair-related enterprises corresponding to each cluster includes: Calculate the total number of auto repair-related enterprises in each cluster, and determine whether the area where the cluster is located belongs to an auto repair cluster based on the total number of auto repair-related enterprises in each cluster; For vehicles belonging to the cluster of auto repair agglomeration area, the repair attribution of the vehicle is determined in three levels by distance competition ratio. The three levels of determination include definite repair attribution, uncertain repair attribution, and no clear repair attribution. For vehicles whose repair attribution is determined, brand authorization verification is performed based on the nearest automotive repair-related business to determine whether the vehicle underwent normal repairs.
5. The method for identifying abnormal repair shops for heavy-duty diesel vehicles according to claim 4, characterized in that, The step of determining whether a cluster belongs to an auto repair cluster area based on the total number of auto repair-related enterprises within each cluster includes: When the total number of car repair-related enterprises in each cluster is greater than or equal to the first threshold for the number of enterprises, the area where the cluster is located is determined to be a car repair cluster area; When the total number of car repair-related enterprises in each cluster is less than the first threshold for the number of enterprises but greater than or equal to 1, it is determined that there is a single car repair-related enterprise in the region where the cluster is located. If the total number of car repair-related businesses in each cluster is 0, it is determined that there are no car repair-related businesses in the area where that cluster is located.
6. The method for identifying abnormal repair shops for heavy-duty diesel vehicles according to claim 4, characterized in that, The method of attributing vehicle repairs to causes through distance competition ratios in three levels includes: For each vehicle within a cluster belonging to the auto repair cluster, calculate the spherical distance between that vehicle and each auto repair-related enterprise in the set of auto repair-related enterprises corresponding to that cluster; Sort the spherical distances from the vehicle to each auto repair-related business in ascending order; Based on the ranking results, the distances of the first and second ranked vehicles are selected, and the distance competition ratio of the vehicle is calculated. The formula for calculating the distance competition ratio is as follows: , Where DCR_i is the distance competition ratio of the i-th vehicle, d_{(2)} is the distance of the second-ranked vehicle, and d_{(1)} is the distance of the first-ranked vehicle; When DCR_i≥θ_DCR and d_{(1)}≤d_max, it is determined that the vehicle was repaired by the nearest car repair related enterprise, and the vehicle belongs to the category of determined repair attribution. θ_DCR is the distance competition ratio threshold, and d_max is the maximum effective attribution distance. When DCR_i < θ_DCR and d_{(1)} ≤ d_max, the vehicle is determined to have an uncertain repair attribution. All car repair-related enterprises that satisfy d_{(r)} - d_{(1)} < Δd are marked as suspected repair points for the vehicle, where d_{(r)} is the distance at the r-th order and Δd is the distance fuzziness threshold. When d_{(1)}>d_max, it is determined that the vehicle has no clear cause for repair.
7. The method for identifying abnormal repair shops for heavy-duty diesel vehicles according to claim 5, characterized in that, The method further includes: For a cluster containing a single auto repair-related enterprise, calculate the spherical distance between the vehicle and the single auto repair-related enterprise for each vehicle in the cluster. If the spherical distance is less than 200m, the vehicle is considered to belong to the category of definite repair attribution.
8. The method for identifying abnormal repair shops for heavy-duty diesel vehicles according to claim 6, characterized in that, For vehicles with identified repair attributions, the process involves verifying the brand authorization of the nearest automotive repair shop to determine whether the vehicle underwent normal repairs, including: Obtain the brand information B(v') of the vehicle for which the repair attribution was determined. i ), retrieve the set of authorized brands of the nearest car repair-related enterprises B_auth(S_{(1)}); If B(v') i If ) ∈B_auth(S_{(1)}), the vehicle is determined to be under normal maintenance; If B(v') i ) B_auth(S_{(1)}) determines that the vehicle is under abnormal repair and marks the nearest car repair company as under abnormal repair.
9. The method for identifying abnormal repair shops for heavy-duty diesel vehicles according to claim 8, characterized in that, Based on the results of the repair attribution determination, a quantitative statistical analysis of the number of vehicles requiring abnormal repairs is performed for each automotive repair-related enterprise, including: The formula for calculating the number of vehicles marked as having abnormal repairs for each auto repair-related business is as follows: , in, The number of vehicles corresponding to auto repair-related businesses S_j that are marked as having abnormal repairs; I_abnormal(v' i S_j) is an indicator function, if vehicle v' i If the cause is determined to be S_j and the brand authorization verification indicates abnormal repair, then I_abnormal = 1; if vehicle v' i If the attribution is uncertain and S_j is a suspected repair point, I_abnormal = 0.5; otherwise, I_abnormal = 0. The statistics are attributed to the total number of vehicles N_total(S_j) for each automotive repair-related business; The abnormal repair rate R_abnormal(S_j) is calculated using the following formula: R_abnormal(S_j) = N_abnormal(S_j) / N_total(S_j); If N_abnormal(S_j)≥N_threshold, then mark the car repair-related enterprise S_j as a key enterprise for abnormal repairs; If N_abnormal(S_j)≥N_threshold and R_abnormal(S_j)≥R_threshold, or N_abnormal(S_j)≥2·N_threshold, then the auto repair-related enterprise S_j is marked as a highly suspicious enterprise, where N_threshold is the threshold for the number of abnormally repaired vehicles and R_threshold is the threshold for the abnormal repair rate.
10. The method for identifying abnormal repair shops for heavy-duty diesel vehicles according to claim 1, characterized in that, The spatial clustering analysis uses the DBSCAN density clustering algorithm.
Citation Information
Patent Citations
OBD module disconnection detection method, OBD vehicle monitoring terminal, OBD monitoring system
CN111426984B
