Data processing method and device for illegal configuration of traffic equipment

Through data processing methods, including feature extraction and decision tree models, illegal configuration items of traffic equipment are automatically recommended, solving the problem of low configuration accuracy in the existing technology and achieving higher accuracy and automation.

CN118334872BActive Publication Date: 2024-10-01富盛科技股份有限公司
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410776070.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-10-01
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

The illegal configuration of traffic equipment in the existing technology has the problem of low configuration accuracy, mainly because manual configuration relies on experience and is prone to configuration omissions or errors.

Method used

Adopting a data processing method, including obtaining the data to be configured, performing feature extraction based on illegal configuration characteristics and illegal prediction of the preset illegal configuration model, matching the illegal configuration data in the preset illegal configuration database, and constructing and information through the decision tree model Gain ratio calculation, automatically recommend illegal configuration items.

Benefits of technology

It improves the accuracy of illegal configuration of traffic equipment, reduces the probability of configuration omissions, and realizes automated illegal configuration recommendations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118334872B_ABST
    Figure CN118334872B_ABST
Patent Text Reader

Abstract

The present application discloses a data processing method and device for illegal configuration of traffic equipment. It includes: obtaining data to be configured; performing feature extraction processing on the data to be configured based on illegal configuration features to obtain feature data to be configured, wherein the feature data to be configured is illegal configuration feature data used to represent the equipment to be configured; performing illegal prediction processing on the feature data to be configured based on a preset illegal configuration model to obtain predicted illegal item data; matching the illegal configuration data corresponding to the predicted illegal item data in a preset illegal configuration database to obtain target configuration data. The illegal configuration model is used to recommend illegal items for traffic equipment to be illegally configured, and illegal configuration is performed according to the recommended illegal items, which solves the technical problem of low configuration accuracy of illegal configuration of traffic equipment in the prior art and achieves the technical effect of improving the accuracy of illegal configuration of traffic equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart transportation, and more specifically, to a data processing method and device for illegal configuration of traffic equipment. Background Art

[0002] Traffic equipment illegal configuration refers to configuring corresponding illegal detection items on traffic equipment that captures vehicle illegal behaviors. In the prior art, traffic equipment illegal configuration is mainly performed manually according to actual needs. The correctness of manual configuration mainly depends on the experience of the configurator, which is prone to configuration omissions and configuration errors.

[0003] Therefore, illegal configuration in the prior art has a low configuration accuracy rate. Summary of the invention

[0004] The main purpose of the present application is to provide a data processing method and device for illegal configuration of traffic equipment, so as to solve the technical problem of low configuration accuracy of illegal configuration of traffic equipment in the prior art, and achieve the technical effect of improving the accuracy of illegal configuration of traffic equipment.

[0005] In order to achieve the above-mentioned purpose, in a first aspect of the present application, a data processing method for illegal configuration of traffic equipment is proposed, comprising:

[0006] Acquire data to be configured, wherein the data to be configured is data used to represent the device to be configured, and the device to be configured is a traffic device to be illegally configured;

[0007] Performing feature extraction processing on the data to be configured based on illegal configuration features to obtain feature data to be configured, wherein the feature data to be configured is illegal configuration feature data used to represent the device to be configured;

[0008] Performing illegal prediction processing on the feature data to be configured based on a preset illegal configuration model to obtain predicted illegal item data;

[0009] The illegal configuration data corresponding to the predicted illegal item data is matched in a preset illegal configuration database to obtain target configuration data.

[0010] Furthermore, the feature data to be configured is processed for illegal prediction based on a preset illegal configuration model, and the predicted illegal item data obtained includes:

[0011] Performing identification processing based on configuration features on the feature data to be configured to obtain first feature data to be configured and second feature data to be configured, wherein the first feature data to be configured is data used to represent the feature of the type of the device to be configured, and the second feature data to be configured is data used to represent the feature of the location to be configured;

[0012] Matching the illegal configuration model corresponding to the first feature data to be configured to obtain a process illegal configuration model, wherein the process illegal configuration model is used to represent the illegal configuration model corresponding to the type feature of the device to be configured;

[0013] The second feature data to be configured is processed by illegal prediction based on the process illegal configuration model to obtain the predicted illegal item data.

[0014] Furthermore, the second feature data to be configured is processed by illegal prediction based on the process illegal configuration model, and the predicted illegal item data obtained includes:

[0015] Performing identification processing based on location features on the second feature data to be configured to obtain first location feature data and second location feature data, wherein the first location feature data is feature data used to indicate the geographic location of the device, and the second location feature data is feature data used to indicate the location type of the device;

[0016] According to the process illegal configuration model, the first position feature data and the second position feature data are processed for illegal prediction based on position features to obtain the predicted illegal item data, wherein the process illegal configuration data is an illegal configuration model constructed based on a decision tree.

[0017] Furthermore, before obtaining the data to be configured, the data processing method further includes:

[0018] Acquire sample illegal configuration data, wherein the sample illegal configuration data is data used to represent the illegal configuration sample;

[0019] Performing extraction processing on the sample illegal configuration data based on illegal configuration features to obtain sample illegal configuration feature data;

[0020] The sample illegal configuration feature data is processed by constructing a decision tree model based on a machine learning algorithm to obtain the preset illegal configuration model.

[0021] Furthermore, the sample illegal configuration feature data is processed by constructing a decision tree model based on a machine learning algorithm, and the preset illegal configuration model is obtained, including:

[0022] The number of feature categories of the sample illegal configuration feature data is judged to determine whether the features corresponding to the sample illegal configuration feature data are of the same feature category.

[0023] If the feature corresponding to the sample illegal configuration feature data is of the same feature category, the feature corresponding to the sample illegal configuration feature data is used as a class label of a single-node decision tree to obtain a first decision tree model;

[0024] If the feature corresponding to the sample illegal configuration feature data is a feature of a different category, a decision tree model is constructed for the sample illegal configuration feature data to obtain a second decision tree model;

[0025] Model testing is performed on the first decision tree model and the second decision tree model to obtain the preset illegal configuration model, wherein the preset illegal configuration model is a decision tree model that meets preset model testing rules.

[0026] Furthermore, if the feature corresponding to the sample illegal configuration feature data is a feature of a different category, a decision tree model is constructed for the sample illegal configuration feature data to obtain a second decision tree model including:

[0027] Calculating the information gain ratio of each feature to the sample illegal configuration feature data to obtain process sample illegal configuration feature data, wherein the process sample illegal configuration feature data is data used to represent the sample illegal configuration feature corresponding to the highest information gain ratio;

[0028] Compare the information gain ratio corresponding to the illegal configuration feature data of the process sample with the preset information gain ratio threshold,

[0029] If the information gain ratio corresponding to the illegal configuration feature data of the process sample is less than a preset information gain ratio threshold, the feature corresponding to the most similar feature categories in the illegal configuration feature data of the sample is used as a class label of a single-node decision tree to obtain the second decision tree model;

[0030] If the information gain ratio corresponding to the process sample illegal configuration feature data is greater than or equal to a preset information gain ratio threshold, the sample illegal configuration data is subsetted according to the characteristic value corresponding to the process sample illegal configuration feature data, and sub-nodes are constructed according to the features corresponding to the most identical feature categories in the subset, and a decision tree model is constructed according to the nodes and their sub-nodes to obtain the second decision tree model, wherein the nodes are constructed according to the characteristic values ​​corresponding to the process sample illegal configuration feature data.

[0031] Further, the sample illegal configuration data is subjected to subset segmentation processing according to the feature values ​​corresponding to the process sample illegal configuration feature data, sub-nodes are constructed according to the features corresponding to the most identical feature categories in the subset, and a decision tree model is constructed according to the node and its sub-nodes, and the second decision tree model includes:

[0032] Constructing sub-training sample data according to the subset, wherein the sub-training sample data is sample illegal configuration data in the subset;

[0033] Performing sub-decision tree construction processing based on a machine learning algorithm on the sub-training sample data to obtain a sub-decision tree;

[0034] The second decision tree model is determined according to the sub-decision tree, wherein the second decision tree model includes multiple sub-decision trees.

[0035] According to a second aspect of the present application, a data processing device for illegal configuration of traffic equipment is proposed, comprising:

[0036] A data acquisition module, used for acquiring data to be configured, wherein the data to be configured is data used to represent the device to be configured, and the device to be configured is the traffic device to be illegally configured;

[0037] A feature extraction module, used for performing feature extraction processing on the data to be configured based on illegal configuration features to obtain feature data to be configured, wherein the feature data to be configured is illegal configuration feature data used to represent the device to be configured;

[0038] A violation prediction module, used to perform violation prediction processing on the feature data to be configured based on a preset violation configuration model to obtain predicted violation item data;

[0039] The configuration recommendation module is used to match the illegal configuration data corresponding to the predicted illegal item data in a preset illegal configuration database to obtain target configuration data.

[0040] According to a third aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the above-mentioned data processing method for illegal configuration of traffic equipment.

[0041] According to the fourth aspect of the present application, an electronic device is proposed, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor executes the above-mentioned data processing method for illegal configuration of traffic equipment.

[0042] The technical solution provided by the embodiments of the present application may have the following beneficial effects:

[0043] In the present application, data to be configured is obtained, wherein the data to be configured is data used to represent the device to be configured, and the device to be configured is a traffic device to be illegally configured; feature extraction processing based on illegal configuration features is performed on the data to be configured to obtain feature data to be configured, wherein the feature data to be configured is illegal configuration feature data used to represent the device to be configured; illegal prediction processing based on a preset illegal configuration model is performed on the feature data to be configured to obtain predicted illegal item data; illegal configuration data corresponding to the predicted illegal item data is matched in a preset illegal configuration database to obtain target configuration data. Illegal items are recommended for the traffic equipment to be illegally configured through the illegal configuration model, and illegal configuration is performed according to the recommended illegal items, thereby solving the technical problem of low configuration accuracy of illegal configuration of traffic equipment in the prior art and achieving the technical effect of improving the accuracy of illegal configuration of traffic equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The drawings constituting a part of this application are used to provide a further understanding of this application, so that other features, purposes and advantages of this application become more obvious. The schematic embodiment drawings and their descriptions of this application are used to explain this application and do not constitute an improper limitation on this application. In the drawings:

[0045] Figure 1 A flow chart of a data processing method for illegal configuration of traffic equipment proposed in this application;

[0046] Figure 2 A flow chart of a data processing method for illegal configuration of traffic equipment proposed in this application;

[0047] Figure 3 A flow chart of a data processing method for illegal configuration of traffic equipment proposed in this application;

[0048] Figure 4 This is a schematic diagram of a data processing device for illegal configuration of traffic equipment proposed in this application. DETAILED DESCRIPTION

[0049] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0050] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0051] In the present application, the terms "upper", "lower", "left", "right", "front", "back", "top", "bottom", "inner", "outer", "middle", "vertical", "horizontal", "lateral", "longitudinal" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings. These terms are mainly used to better describe the present application and its embodiments, and are not used to limit the indicated devices, elements or components to have a specific orientation, or to be constructed and operated in a specific orientation.

[0052] In addition, some of the above terms may be used to express other meanings in addition to indicating orientation or positional relationship. For example, the term "on" may also be used to express a certain dependency or connection relationship in some cases. For those of ordinary skill in the art, the specific meanings of these terms in this application can be understood according to specific circumstances.

[0053] In addition, the terms "installed", "set", "provided with", "connected", "connected", and "socketed" should be understood in a broad sense. For example, "connection" can be a fixed connection, a detachable connection, or an integral structure; it can be a mechanical connection or an electrical connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be an internal connection between two devices, elements, or components. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0054] Illegal configuration refers to illegal configuration of traffic equipment, which means configuring corresponding illegal detection items on traffic equipment that captures illegal vehicle behaviors. Existing illegal configuration of traffic equipment is manually configured according to actual needs. Whether the configuration is correct or not mostly depends on the experience of the configurator. The configurator is responsible for the configuration by himself, and the probability of inaccurate configuration and configuration omission is very high.

[0055] This application proposes a data processing method for illegal configuration of traffic equipment. Figure 1 A flow chart of a data processing method for illegal configuration of traffic equipment proposed in this application, such as Figure 1As shown, the method comprises the following steps:

[0056] S101: Obtaining data to be configured;

[0057] The data to be configured is data used to represent the device to be configured. The device to be configured is the traffic equipment to be configured for illegal behavior. The traffic equipment used to capture vehicle violations needs to be configured with corresponding illegal detection items to obtain relevant data of the traffic equipment to be configured, including relevant data such as device type and device location.

[0058] S102: performing feature extraction processing on the data to be configured based on the illegal configuration features to obtain feature data to be configured;

[0059] The feature data to be configured is used to represent illegal configuration feature data of the device to be configured, and the illegal configuration feature data includes data used to represent device features and device location features of the traffic device.

[0060] S103: performing illegal prediction processing on the configuration feature data based on a preset illegal configuration model to obtain predicted illegal item data;

[0061] In another optional embodiment of the present application, a data processing method for illegal configuration of traffic equipment is provided to implement illegal configuration model for illegal prediction processing. Figure 2 A flowchart of a data processing method for illegal configuration of traffic equipment provided by this application, such as Figure 2 As shown, the method comprises the following steps:

[0062] S201: performing identification processing on the feature data to be configured based on the configuration feature to obtain first feature data to be configured and second feature data to be configured;

[0063] The first feature data to be configured is data used to represent the feature of the type of device to be configured, and the second feature data to be configured is data used to represent the feature of the location to be configured;

[0064] S202: Matching the illegal configuration model corresponding to the first feature data to be configured to obtain a process illegal configuration model;

[0065] The process illegal configuration model is used to represent the illegal configuration model corresponding to the characteristics of the device type to be configured. The device type characteristics include: checkpoints and electronic police. Different device types correspond to different illegal detection items. The illegal configuration corresponding to the device type is determined based on the device type characteristics.

[0066] S203: Performing illegal prediction processing on the second feature data to be configured based on the process illegal configuration model to obtain predicted illegal item data.

[0067] In another optional embodiment of the present application, a data processing method for illegal configuration of traffic equipment is proposed, comprising:

[0068] The second feature data to be configured is processed for identification based on location features to obtain first location feature data and second location feature data, wherein the first location feature data is feature data for indicating the geographical location of the equipment, and the second location feature data is feature data for indicating the location type of the equipment; the first location feature data and the second location feature data are processed for illegal prediction based on location features according to the process illegal configuration model to obtain predicted illegal item data, wherein the process illegal configuration data is an illegal configuration model constructed based on a decision tree.

[0069] S104: Match the illegal configuration data corresponding to the predicted illegal item data in a preset illegal configuration database to obtain target configuration data.

[0070] In the preset violation configuration database, according to the predicted traffic equipment violations, the violation detection items corresponding to the violation item data are matched, and the violation detection items are configured to the above-mentioned traffic equipment. The preset violation configuration database stores a variety of violation detection item data. Through the above-mentioned violation item prediction and violation detection item matching, the automatic configuration of the violation detection items on the traffic equipment is realized, the configuration accuracy is improved, and the probability of configuration omissions is reduced.

[0071] In another optional embodiment of the present application, a data processing method for illegal configuration of traffic equipment is proposed, which is used to obtain a preset illegal configuration model. Figure 3 A data processing method for illegal configuration of traffic equipment proposed in this application, such as Figure 3 As shown, the method comprises the following steps:

[0072] S301: Obtain sample illegal configuration data;

[0073] The sample illegal configuration data is data used to represent the illegal configuration sample;

[0074] S302: extracting and processing the sample illegal configuration data based on illegal configuration features to obtain sample illegal configuration feature data;

[0075] S303: constructing a decision tree model based on a machine learning algorithm for the sample illegal configuration feature data to obtain a preset illegal configuration model.

[0076] In another optional embodiment of the present application, a data processing method for illegal configuration of traffic equipment is proposed, comprising:

[0077] The number of feature categories of the sample illegal configuration feature data is judged to determine whether the features corresponding to the sample illegal configuration feature data are of the same feature category. If the features corresponding to the sample illegal configuration feature data are of the same feature category, the features corresponding to the sample illegal configuration feature data are used as class labels of a single-node decision tree to obtain a first decision tree model; if the features corresponding to the sample illegal configuration feature data are of different feature categories, the sample illegal configuration feature data is subjected to decision tree model construction processing to obtain a second decision tree model; the first decision tree model and the second decision tree model are subjected to model testing processing to obtain a preset illegal configuration model, wherein the preset illegal configuration model is a decision tree model that meets the preset model testing rules.

[0078] In another optional embodiment of the present application, a data processing method for illegal configuration of traffic equipment is proposed, comprising:

[0079] The information gain ratio of each feature of the sample illegal configuration feature data to the sample illegal configuration feature data is calculated and processed to obtain the process sample illegal configuration feature data, wherein the process sample illegal configuration feature data is data used to represent the sample illegal configuration feature corresponding to the highest information gain ratio; the information gain ratio corresponding to the process sample illegal configuration feature data is compared with a preset information gain ratio threshold; if the information gain ratio corresponding to the process sample illegal configuration feature data is less than the preset information gain ratio threshold, the feature corresponding to the most similar feature categories in the sample illegal configuration feature data is used as the class label of a single-node decision tree to obtain a second decision tree model; if the information gain ratio corresponding to the process sample illegal configuration feature data is greater than or equal to the preset information gain ratio threshold, the sample illegal configuration data is subset-segmented according to the feature value corresponding to the process sample illegal configuration feature data, sub-nodes are constructed according to the features corresponding to the most identical feature categories in the subset, and a decision tree model is constructed according to the node and its sub-nodes to obtain a second decision tree model, wherein nodes are constructed according to the feature values ​​corresponding to the process sample illegal configuration feature data.

[0080] In another optional embodiment of the present application, a data processing method for illegal configuration of traffic equipment is proposed, including: constructing sub-training sample data based on a subset, wherein the sub-training sample data is sample illegal configuration data in the subset; performing sub-decision tree construction processing based on a machine learning algorithm on the sub-training sample data to obtain a sub-decision tree; determining the second decision tree model based on the sub-decision tree, wherein the second decision tree model includes multiple sub-decision trees.

[0081] In another optional embodiment of the present application, the illegal configuration model is constructed based on a decision tree algorithm, including:

[0082] Obtain sample data, analyze the data to construct training data set D and feature set A, perform feature extraction based on illegal configuration features on the sample data, and construct feature set A based on the extracted features. Illegal configuration features are used to represent traffic equipment features, including equipment type, geographic location, installation location, shooting lane, etc. The feature value of each feature in feature set A is various types of violations. For example, the value of feature set A is ,feature The value of .

[0083] Furthermore, the specific process of generating a decision tree based on the training data set D and feature set A constructed above includes:

[0084] (1) If all instances in D belong to the same class , then set T to a single-node tree and set the class As the class label of the node, return T;

[0085] (2) If A = , then set T to a single-node tree and replace the class with the largest number of instances in D As the class label of the node, return T;

[0086] (3) Otherwise, calculate the information gain ratio of each feature in A to D according to the formula, and select the feature with the largest information gain ratio ;

[0087] (4) If If the information gain ratio is less than the threshold Y, then T is set to the number of single nodes, and the class with the largest number of instances in D is As the class label of the node, return T;

[0088] (5) Otherwise, Every possible value of ,according to Split D into subsets with non-empty ,Will The class with the largest number of instances in is used as a label, and a child node is constructed. The node and its child nodes form a tree T, and T is returned;

[0089] (6) For node i, As the training set, For the feature set, recursively call steps (1) to (5) to obtain the subtree ,return .

[0090] Among them, the training data set is D, and |D| represents its sample capacity, that is, the number of samples. is the feature category, k=1, 2,... , K, Belong to class The number of samples, .feature There are n different values , according to the characteristics The value of divides D into n subsets , for The number of samples, . Remember the subset Belongs to the category The set of samples is ,Right now , for The value of threshold Y is set to 0, and the generated decision tree does not perform any pruning operation. The calculation process of information gain ratio is as follows:

[0091] (1) Calculate the empirical entropy H(D) of the training data set D. The calculation formula is as follows:

[0092] ,

[0093] (2) Calculation features For the training data set D Empirical conditional entropy , the calculation formula is as follows:

[0094] ,

[0095] (3) Calculation features Information gain, the calculation formula is as follows:

[0096] ,

[0097] (4) Calculation features For the training data set D Information gain ratio , the calculation formula is as follows:

[0098] ,

[0099] in, , n It is a feature The number of values.

[0100] In another optional embodiment of the present application, a data processing device for illegal configuration of traffic equipment is proposed. Figure 4 A schematic diagram of a data processing device for illegal configuration of traffic equipment provided by the present application, such as Figure 4 As shown, including:

[0101] The data acquisition module 41 is used to acquire data to be configured, wherein the data to be configured is data used to represent the device to be configured, and the device to be configured is the traffic device to be illegally configured;

[0102] A feature extraction module 42, configured to perform feature extraction processing on the data to be configured based on illegal configuration features to obtain feature data to be configured, wherein the feature data to be configured is illegal configuration feature data used to represent the device to be configured;

[0103] The illegal prediction module 43 is used to perform illegal prediction processing on the feature data to be configured based on a preset illegal configuration model to obtain predicted illegal item data;

[0104] The configuration recommendation module 44 is used to match the illegal configuration data corresponding to the predicted illegal item data in a preset illegal configuration database to obtain target configuration data.

[0105] The specific manner of executing the operation of each unit in the above embodiment has been described in detail in the embodiment of the method, and will not be elaborated here.

[0106] In summary, in the present application, the data to be configured is obtained, wherein the data to be configured is data used to represent the device to be configured, and the device to be configured is the traffic device to be illegally configured; the data to be configured is subjected to feature extraction processing based on illegal configuration features to obtain feature data to be configured, wherein the feature data to be configured is illegal configuration feature data used to represent the device to be configured; the feature data to be configured is subjected to illegal prediction processing based on a preset illegal configuration model to obtain predicted illegal item data; the illegal configuration data corresponding to the predicted illegal item data is matched in a preset illegal configuration database to obtain target configuration data. The illegal configuration model is used to recommend illegal items for the traffic equipment to be illegally configured, and illegal configuration is performed according to the recommended illegal items, thereby solving the technical problem of low configuration accuracy of illegal configuration of traffic equipment in the prior art and achieving the technical effect of improving the accuracy of illegal configuration of traffic equipment.

[0107] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0108] Obviously, those skilled in the art should understand that the above-mentioned units or steps of the present application can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the present application is not limited to any specific combination of hardware and software.

[0109] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A data processing method for illegal configuration of traffic equipment, characterized in that: include: Acquire data to be configured, wherein the data to be configured is data used to represent the device to be configured, and the device to be configured is a traffic device to be illegally configured; Performing feature extraction processing on the data to be configured based on illegal configuration features to obtain feature data to be configured, wherein the feature data to be configured is illegal configuration feature data used to represent the device to be configured; The feature data to be configured is processed for illegal prediction based on a preset illegal configuration model to obtain predicted illegal item data, including: Performing identification processing based on configuration features on the feature data to be configured to obtain first feature data to be configured and second feature data to be configured, wherein the first feature data to be configured is data used to represent the type features of the device to be configured, and the second feature data to be configured is data used to represent the location features to be configured; matching the illegal configuration model corresponding to the first feature data to be configured to obtain a process illegal configuration model, wherein the process illegal configuration model is used to represent the illegal configuration model corresponding to the type features of the device to be configured; performing illegal prediction processing based on the process illegal configuration model on the second feature data to be configured to obtain the predicted illegal item data; The second feature data to be configured is processed based on the location feature to obtain the first location feature data and the second location feature data, wherein the first location feature data is feature data for indicating the geographical location of the device, and the second location feature data is feature data for indicating the location type of the device; the first location feature data and the second location feature data are processed based on the location feature for illegal prediction according to the process illegal configuration model to obtain the predicted illegal item data, wherein the process illegal configuration data is an illegal configuration model constructed based on a decision tree; The illegal configuration data corresponding to the predicted illegal item data is matched in a preset illegal configuration database to obtain target configuration data.

2. The data processing method according to claim 1, characterized in that: Before obtaining the data to be configured, the data processing method further includes: Acquire sample illegal configuration data, wherein the sample illegal configuration data is data used to represent the illegal configuration sample; Performing extraction processing on the sample illegal configuration data based on illegal configuration features to obtain sample illegal configuration feature data; The sample illegal configuration feature data is processed by constructing a decision tree model based on a machine learning algorithm to obtain the preset illegal configuration model.

3. The data processing method according to claim 2, characterized in that: The sample illegal configuration feature data is processed by a decision tree model based on a machine learning algorithm to obtain the preset illegal configuration model, including: The number of feature categories of the sample illegal configuration feature data is judged to determine whether the features corresponding to the sample illegal configuration feature data are of the same feature category. If the feature corresponding to the sample illegal configuration feature data is of the same feature category, the feature corresponding to the sample illegal configuration feature data is used as a class label of a single-node decision tree to obtain a first decision tree model; If the feature corresponding to the sample illegal configuration feature data is a feature of a different category, a decision tree model is constructed for the sample illegal configuration feature data to obtain a second decision tree model; Model testing is performed on the first decision tree model and the second decision tree model to obtain the preset illegal configuration model, wherein the preset illegal configuration model is a decision tree model that meets preset model testing rules.

4. The data processing method according to claim 3, characterized in that: If the feature corresponding to the sample illegal configuration feature data is a feature of a different category, a decision tree model is constructed for the sample illegal configuration feature data to obtain a second decision tree model including: Calculating the information gain ratio of each feature to the sample illegal configuration feature data to obtain process sample illegal configuration feature data, wherein the process sample illegal configuration feature data is data used to represent the sample illegal configuration feature corresponding to the highest information gain ratio; Compare the information gain ratio corresponding to the illegal configuration feature data of the process sample with the preset information gain ratio threshold, If the information gain ratio corresponding to the illegal configuration feature data of the process sample is less than a preset information gain ratio threshold, the feature corresponding to the most similar feature categories in the illegal configuration feature data of the sample is used as a class label of a single-node decision tree to obtain the second decision tree model; If the information gain ratio corresponding to the process sample illegal configuration feature data is greater than or equal to a preset information gain ratio threshold, the sample illegal configuration data is subsetted according to the characteristic value corresponding to the process sample illegal configuration feature data, and sub-nodes are constructed according to the features corresponding to the most identical feature categories in the subset, and a decision tree model is constructed according to the nodes and their sub-nodes to obtain the second decision tree model, wherein the nodes are constructed according to the characteristic values ​​corresponding to the process sample illegal configuration feature data.

5. The data processing method according to claim 4, characterized in that: The sample illegal configuration data is segmented into subsets according to the feature values ​​corresponding to the feature data of the process sample illegal configuration, sub-nodes are constructed according to the features corresponding to the most identical feature categories in the subsets, and a decision tree model is constructed according to the nodes and their sub-nodes, so that the second decision tree model includes: Constructing sub-training sample data according to the subset, wherein the sub-training sample data is sample illegal configuration data in the subset; Performing sub-decision tree construction processing based on a machine learning algorithm on the sub-training sample data to obtain a sub-decision tree; The second decision tree model is determined according to the sub-decision tree, wherein the second decision tree model includes multiple sub-decision trees.

6. A data processing device for illegal configuration of traffic equipment, characterized in that: include: A data acquisition module, used for acquiring data to be configured, wherein the data to be configured is data used to represent the device to be configured, and the device to be configured is the traffic device to be illegally configured; A feature extraction module, used for performing feature extraction processing on the data to be configured based on illegal configuration features to obtain feature data to be configured, wherein the feature data to be configured is illegal configuration feature data used to represent the device to be configured; The illegal prediction module is used to perform illegal prediction processing on the feature data to be configured based on a preset illegal configuration model to obtain predicted illegal item data, including: Performing identification processing based on configuration features on the feature data to be configured to obtain first feature data to be configured and second feature data to be configured, wherein the first feature data to be configured is data used to represent the type features of the device to be configured, and the second feature data to be configured is data used to represent the location features to be configured; matching the illegal configuration model corresponding to the first feature data to be configured to obtain a process illegal configuration model, wherein the process illegal configuration model is used to represent the illegal configuration model corresponding to the type features of the device to be configured; performing illegal prediction processing based on the process illegal configuration model on the second feature data to be configured to obtain the predicted illegal item data; The second feature data to be configured is processed based on the location feature to obtain the first location feature data and the second location feature data, wherein the first location feature data is feature data for indicating the geographical location of the device, and the second location feature data is feature data for indicating the location type of the device; the first location feature data and the second location feature data are processed based on the location feature for illegal prediction according to the process illegal configuration model to obtain the predicted illegal item data, wherein the process illegal configuration data is an illegal configuration model constructed based on a decision tree; The configuration recommendation module is used to match the illegal configuration data corresponding to the predicted illegal item data in a preset illegal configuration database to obtain target configuration data.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the data processing method for illegal configuration of traffic equipment as described in any one of claims 1-5.

8. An electronic device, characterized in that: include: at least one processor; And a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor executes the data processing method for illegal configuration of traffic equipment as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Vehicle violation judgment method and device, computer equipment and storage medium

    CN111091041A

  • Prediction method and device based on decision tree model and computer equipment

    CN113516297A

  • Traffic control scene determination method and device, electronic equipment and storage medium

    CN116013084A

  • Comprehensive traffic operation service system and method based on TransGPT

    CN116341877A

  • Illegal user identification method and device, equipment, storage medium and product

    CN116861236A