Road data processing method, device, computer equipment and storage medium
By acquiring and analyzing the driving status data of the target vehicle, extracting and clustering driving status features, and detecting abnormal road conditions, the problem of low manual detection efficiency in traditional technology is solved and efficient abnormal road condition detection is achieved.
Patent Information
- Application Number
- CN202011123988.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-20
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2040-10-20
AI Technical Summary
Abnormal road condition detection in traditional car navigation relies on manual on-site inspections, which is inefficient and consumes a lot of human resources.
By obtaining the driving status data fragments of the target vehicle, extract the driving status distribution characteristics, perform clustering processing, determine road abnormality information, and use sensor data to detect abnormal road conditions to avoid on-site inspections.
It improves the efficiency of abnormal road condition detection, achieves timely feedback, and effectively avoids the impact of natural factors such as weather on detection.
Smart Images

Figure CN114387777B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of road data processing, and in particular to a road data processing method, device, computer equipment and storage medium. Background Art
[0002] With the development of artificial intelligence, car navigation technology has emerged. Car navigation uses GPS (Global Positioning System) and electronic maps to work. Car navigation has functions such as automatic voice navigation, optimal route search, and abnormal road condition reminder, which greatly facilitates people's travel.
[0003] In traditional technology, technicians inspect roads on site and mark abnormal road conditions on electronic maps. However, this abnormal road condition detection method wastes a lot of manpower and is inefficient. Summary of the invention
[0004] Based on this, it is necessary to provide a road data processing method, device, computer equipment and storage medium that can improve the efficiency of abnormal road condition detection in response to the above technical problems.
[0005] A road data processing method, the method comprising:
[0006] Acquire at least two driving status data segments of at least one target vehicle on a target road; the driving status data segments are obtained by detecting sensors corresponding to the target vehicle;
[0007] Extracting driving state distribution characteristics corresponding to each driving state data segment;
[0008] Performing clustering processing on the distribution features of each driving state to obtain the categories corresponding to the distribution features of each driving state; the categories include normal categories and abnormal categories;
[0009] Based on the driving status distribution characteristics under the abnormal category, the road abnormality information of the target road is determined.
[0010] A road data processing device, the device comprising:
[0011] An acquisition module, used to acquire at least two driving status data segments of at least one target vehicle on a target road; the driving status data segments are obtained by detecting a sensor corresponding to the target vehicle;
[0012] An extraction module, used for extracting driving state distribution characteristics corresponding to each driving state data segment;
[0013] A processing module, used for clustering the distribution features of each driving state to obtain the category corresponding to each driving state distribution feature; the category includes a normal category and an abnormal category;
[0014] The determination module is used to determine the road abnormality information of the target road based on the driving state distribution characteristics under the abnormal category.
[0015] A computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0016] Acquire at least two driving status data segments of at least one target vehicle on a target road; the driving status data segments are obtained by detecting sensors corresponding to the target vehicle;
[0017] Extracting driving state distribution characteristics corresponding to each driving state data segment;
[0018] Performing clustering processing on the distribution features of each driving state to obtain the categories corresponding to the distribution features of each driving state; the categories include normal categories and abnormal categories;
[0019] Based on the driving status distribution characteristics under the abnormal category, the road abnormality information of the target road is determined.
[0020] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:
[0021] Acquire at least two driving status data segments of at least one target vehicle on a target road; the driving status data segments are obtained by detecting sensors corresponding to the target vehicle;
[0022] Extracting driving state distribution characteristics corresponding to each driving state data segment;
[0023] Performing clustering processing on the distribution features of each driving state to obtain the categories corresponding to the distribution features of each driving state; the categories include normal categories and abnormal categories;
[0024] Based on the driving status distribution characteristics under the abnormal category, the road abnormality information of the target road is determined.
[0025] The above-mentioned road data processing method, device, computer equipment and storage medium obtain at least two driving state data segments of at least one target vehicle on the target road, extract the driving state distribution characteristics corresponding to each driving state data segment, perform clustering processing on each driving state distribution characteristic, obtain the category corresponding to each driving state distribution characteristic, and determine the road abnormality information of the target road based on the driving state distribution characteristics under the abnormal category. Since the driving state data segment is obtained by detecting the sensor corresponding to the target vehicle, the abnormal road condition on the road can be detected by obtaining the sensor data, and the technical personnel do not need to conduct on-site inspections, thereby improving the detection efficiency of abnormal road conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 A diagram showing an application environment of a road data processing method in an embodiment;
[0027] Figure 2 A schematic diagram of a process flow of a road data processing method in one embodiment;
[0028] Figure 3 is a schematic diagram of a three-axis coordinate system in one embodiment;
[0029] Figure 4 is a schematic diagram of the acceleration change in the gravity direction in one embodiment;
[0030] FIG5( a ) is a schematic diagram of the change of angular velocity in the direction of gravity in one embodiment;
[0031] FIG5( b ) is a schematic diagram showing the change of angular velocity in the direction of gravity in another embodiment;
[0032] Figure 6 A schematic flow chart of a road data processing method in another embodiment;
[0033] Figure 7 is a flowchart of a road data processing method in one embodiment;
[0034] Figure 8 A schematic diagram of the architecture of a road data processing system in one embodiment;
[0035] Fig. 9 is a structural block diagram of a road data processing device in one embodiment;
[0036] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0038] Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that machines have the functions of perception, reasoning and decision-making.
[0039] Artificial intelligence technology is a comprehensive discipline that covers a wide range of fields, including both hardware-level and software-level technologies. The basic technologies of artificial intelligence generally include sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics and other technologies. Artificial intelligence software technology mainly includes computer vision technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0040] Machine Learning (ML) is a multi-disciplinary subject that involves probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and other disciplines. It specializes in studying how computers simulate or implement human learning behavior to acquire new knowledge or skills and reorganize existing knowledge structures to continuously improve their performance. Machine learning is the core of artificial intelligence and the fundamental way to make computers intelligent. Its applications are spread across all areas of artificial intelligence. Machine learning and deep learning usually include artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and self-learning.
[0041] With the research and advancement of artificial intelligence technology, artificial intelligence technology has been studied and applied in many fields, such as common car navigation, unmanned driving, automatic driving, drones, robots, smart homes, smart wearable devices, virtual assistants, smart speakers, smart marketing, smart medical care, smart customer service, etc. I believe that with the development of technology, artificial intelligence technology will be applied in more fields and play an increasingly important role.
[0042] The road data processing method provided in this application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. Among them, the terminal 102 can be but not limited to a vehicle, a laptop computer, a smart phone, a tablet computer, a portable wearable device, a sensor device, etc. The server 104 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud storage, network services, cloud communications, big data and artificial intelligence platforms. The terminal and the server can be directly or indirectly connected via wired or wireless communication, and this application is not limited here.
[0043] In one embodiment, the server 104 obtains at least two driving state data segments of at least one target vehicle on the target road through the terminal 102; the server 104 extracts the driving state distribution features corresponding to each driving state data segment; the server 104 performs clustering processing on each driving state distribution feature to obtain the category corresponding to each driving state distribution feature; the server 104 determines the road abnormality information of the target road based on the driving state distribution features under the abnormal category. Among them, the terminal 102 can be a mobile terminal placed in the target vehicle, and the mobile terminal is equipped with a sensor; the terminal 102 can also be the target vehicle, and the target vehicle is equipped with a sensor.
[0044] In one embodiment, Figure 2 As shown, a road data processing method is provided, which is applied to Figure 1 Taking the server 104 in the example as an example, the following steps are included:
[0045] Step 202, obtaining at least two driving status data segments of at least one target vehicle on the target road; the driving status data segments are obtained by detecting sensors corresponding to the target vehicle.
[0046] The target road is a road to be detected for abnormal road conditions by the method provided in the embodiment of the present application. Abnormal road conditions are road conditions that affect the smooth driving of vehicles, such as speed bumps, curves, uphills, downhills, obstacles, etc. The obstacles can specifically be potholes, road stones, vehicle drops, etc.
[0047] The target vehicle is a vehicle traveling on the target road, or a vehicle that has passed the target road before the current time. The sensor corresponding to the target vehicle may be a sensor installed on the target vehicle, or a sensor placed in the target vehicle, such as a sensor device placed in the target vehicle, and the sensor device may specifically be a mobile terminal.
[0048] It can be understood that when a vehicle passes through abnormal road conditions, the data detected by the sensor will change accordingly, so the abnormal road conditions can be detected by analyzing the sensor data.
[0049] In a specific embodiment, the sensor corresponding to the target vehicle may be a mobile terminal placed in the target vehicle. When driving, the user often places the mobile terminal in the vehicle, and the mobile terminal is equipped with a sensor, so abnormal road conditions can be detected by analyzing the sensor data of the mobile terminal.
[0050] This application can detect abnormal road conditions based on a mobile crowdsourcing data mechanism. The mobile crowdsourcing data mechanism is a mechanism that entrusts tasks that cannot be completed by one person to the public through a mobile Internet platform, and uses the power of the public to obtain non-privacy data. That is, this application obtains data detected by sensors of a mobile terminal in at least one target vehicle on the target road, and obtains abnormal road conditions on the target road by analyzing the sensor data. In this way, there is no need for technical personnel to conduct on-site inspections, which improves the efficiency of detecting abnormal road conditions; and, based on the analysis of sensor data, one is to obtain timely feedback information, and the other is to effectively avoid the influence of natural factors such as weather on detection.
[0051] Among the at least two driving state data segments of at least one target vehicle, the at least two driving state data segments may originate from the same vehicle, such as at least two driving state data segments of one target vehicle; the at least two driving state data segments may also originate from different vehicles, such as at least one driving state data segment of at least two target vehicles respectively. The number of driving state data segments of different vehicles may be different or the same.
[0052] The driving state data segment is data reflecting the state of the target vehicle driving on the target road. The driving state data segment may be sensor data detected by a sensor, or may be data obtained by processing the sensor data detected by the sensor.
[0053] It can be understood that the sensor data obtained by sensor detection can be multi-dimensional data, and the driving status data segment can reflect the road condition of the target road. Different road conditions will have different effects on data of different dimensions. The present application can detect the road condition on the target road by analyzing data of different dimensions of the driving status data segment. Among them, different dimensions can be different coordinate dimensions.
[0054] In a specific embodiment, the driving state data segment is the sensor data of the target vehicle in a specified time and direction. The sensor data can be acceleration, angular velocity, speed, displacement, etc. The specified time can be 2 seconds, 4 seconds, etc. The specified direction can be the direction of gravity, etc. Figure 3 , Figure 3 Schematic diagram of a three-axis coordinate system in an embodiment. It can be seen that the X-axis corresponds to the horizontal direction of the vehicle, the Y-axis corresponds to the forward direction of the vehicle, and the Z-axis corresponds to the vertical direction of the vehicle, and the gravity direction is the vertical direction corresponding to the Z-axis.
[0055] In one embodiment, step 202 includes: determining a target vehicle on a target road; for one of the target vehicles, sequentially acquiring sensor data of the target vehicle within a preset time period; the preset time period is determined based on the time period for the front and rear wheels of the target vehicle to pass through abnormal road conditions respectively; extracting sub-data of each sensor data in the gravity direction; and using the sub-data as a driving status data segment.
[0056] In a specific embodiment, for one of the target vehicles on the target road, a sliding window may be used to continuously collect sensor data. For example, a sliding window of 2 seconds may be used to collect sensor data, and the interval between sliding windows may be 0.2 seconds.
[0057] The reason why this application uses a sliding window to collect sensor data is that during the driving process of the vehicle, the duration of the data signal mutation generated by the vehicle passing through abnormal road conditions is short. Taking the speed bump as an example, the time it takes for the front and rear wheels of the vehicle to pass through the speed bump is about 2 seconds, that is, the duration of a single data signal mutation is 2 seconds. Therefore, by continuously collecting sensor data through a sliding window, it is possible to avoid missing valid data and improve the accuracy of abnormal road condition detection.
[0058] The reason why this application uses sensor data in the direction of gravity is that when a vehicle passes through abnormal road conditions, the sensor data in the direction of gravity will undergo a sudden change in signal. Taking speed bumps and curves as examples, the mobile terminal is placed horizontally on the car storage table to test the changes in sensor data in the direction of gravity when the vehicle passes through speed bumps and curves.
[0059] When the vehicle passes through a speed bump, the changes in the acceleration sensor data in the direction of gravity can be detected. When the vehicle passes through a curve, the vehicle will continue to change its direction, and the changes in the gyroscope sensor data in the direction of gravity can be detected.
[0060] Reference Figure 4 , Figure 4 This is a schematic diagram of the acceleration change in the direction of gravity in one embodiment. It can be seen that the A1-A4 segment is the data signal vibration generated by the acceleration in the direction of gravity when the vehicle passes over the speed bump. In other words, when the vehicle passes over the speed bump, it will cause the vehicle body to bump briefly, and at the same time, the acceleration in the direction of gravity will have a sudden change in signal.
[0061] Referring to Figure 5(a), Figure 5(a) is a schematic diagram of the change of angular velocity in the direction of gravity in one embodiment. It can be seen that when the vehicle turns left, the angular velocity in the direction of gravity first increases and then decreases. Referring to Figure 5(b), Figure 5(b) is a schematic diagram of the change of angular velocity in the direction of gravity in another embodiment. It can be seen that when the vehicle turns right, the angular velocity in the direction of gravity first decreases and then increases. When the vehicle completes the turn, the angular velocity in the direction of gravity returns to the data signal state before the turn. In other words, when the vehicle passes a curve, at the turning point of the road, it will cause a signal mutation in the angular velocity in the direction of gravity. The turning point of the road is the connection point of two orthogonal roads.
[0062] In one embodiment, the sensor data includes at least one of acceleration sensor data and gyroscope sensor data; extracting sub-data of each sensor data in the direction of gravity includes: extracting sub-data of each acceleration sensor data in the direction of gravity, and at least one of sub-data of each gyroscope sensor data in the direction of gravity.
[0063] Specifically, the type of sensor data can be determined according to the type of abnormal road condition to be detected. For example, if the abnormal road condition to be detected is a speed bump, the sensor data can be acceleration sensor data; if the abnormal road condition to be detected is a curve, the sensor data can be gyroscope sensor data; if the abnormal road condition to be detected is a speed bump and a curve, the sensor data can be acceleration sensor data and gyroscope sensor data.
[0064] In a specific embodiment, step 202 includes the following situations:
[0065] (i) For a target road, the server obtains at least two driving status data segments of a target vehicle traveling on the target road. For example, if there is one target vehicle traveling on the target road, then at least two driving status data segments of the target vehicle are obtained; if there are more than one target vehicle traveling on the target road, then driving status data segments of each target vehicle are obtained respectively, and each target vehicle can obtain one or at least two driving status data segments respectively.
[0066] (ii) For a target road, the server obtains at least two driving status data segments of target vehicles that have passed through the target road before the current time. For example, at least two driving status data segments of a target vehicle are obtained; or driving status data segments of more than one target vehicle are obtained respectively, and each target vehicle can obtain one or at least two driving status data segments.
[0067] In a specific embodiment, the server obtains at least two driving status data segments of at least one target vehicle on the target road.
[0068] Step 204: extracting the driving state distribution characteristics corresponding to each driving state data segment.
[0069] The driving state distribution feature is used to describe the data distribution attribute of the driving state data segment. The driving state distribution feature can specifically be data reflecting the statistical distribution characteristics obeyed by the sensor data.
[0070] During the experiment, the researchers found that the user's hand movements would interfere with the detection of abnormal road conditions: one is when the user picks up the mobile terminal from the car's storage table, and the other is when the user picks up the mobile terminal from a pocket or an adjacent seat. The first hand movement generates an acceleration signal similar to a speed bump, causing a sudden change in the acceleration signal in the direction of gravity, which may be misdetected as a speed bump; the second hand movement generates an angular velocity signal similar to a curve, causing a sudden change in the angular velocity signal in the direction of gravity, which may be misdetected as a curve. For an example, continue to refer to Figure 4 ,It can be seen that the data signal vibration in segment B is caused by the user picking up the mobile terminal from the car storage table.
[0071] Therefore, in order to improve the accuracy of abnormal road condition detection and reduce the impact of human factors on detection, the present application extracts driving state distribution features based on driving state data segments.
[0072] In one embodiment, step 204 includes: for one of the driving status data segments, dividing the driving status data segment into at least two first sub-segments; determining the feature values of each first sub-segment in each feature dimension; and generating the corresponding driving status distribution features of the driving status data segment based on the feature values of each first sub-segment in each feature dimension.
[0073] The first sub-segment is a sub-segment of the driving status data segment. For example, if the driving status data segment is 2 seconds, the first sub-segment may be 0.4 seconds of it.
[0074] In a specific embodiment, the feature dimension may include at least one of a mean, a maximum value, a second maximum value, a minimum value, a second minimum value, a standard deviation, and a root mean square error. The mean can express the average size of the data, the maximum value can express the range of the data, the standard deviation can reflect the fluctuation range of the data, and the root mean square error can reflect the overall strength of the data.
[0075] Specifically, the server divides the driving status data segment into at least two first sub-segments, and for one of the first sub-segments, determines the feature value of the first sub-segment in each feature dimension, and generates the corresponding driving status distribution feature of the driving status data segment based on the feature value of each first sub-segment in each feature dimension.
[0076] For example, a 2-second driving state data segment is divided into 5 first sub-segments, each of which is 0.4 seconds. A 7-dimensional feature is calculated based on each first sub-segment, and the 7-dimensional feature includes: mean, maximum value, second largest value, minimum value, second smallest value, standard deviation and root mean square error. Based on the 7-dimensional features corresponding to each of the 5 first sub-segments, a 35-dimensional driving state distribution feature is obtained by splicing.
[0077] In a specific embodiment, the server extracts the driving state distribution characteristics corresponding to each driving state data segment.
[0078] Step 206 , clustering is performed on each driving state distribution feature to obtain a category corresponding to each driving state distribution feature; the category includes a normal category and an abnormal category.
[0079] Among them, clustering processing is to automatically classify similar samples into one category. General clustering algorithms can be used, such as K-Means clustering algorithm, K-means++ clustering algorithm, density-based clustering algorithm, agglomerative hierarchical clustering algorithm, divisive hierarchical clustering algorithm, etc.
[0080] In a specific embodiment, step 206 includes the following situations:
[0081] (i) The server extracts the driving state distribution features corresponding to each driving state data segment, and after obtaining all feature data for clustering processing, performs clustering processing on each driving state distribution feature.
[0082] (ii) The server extracts the driving state distribution features corresponding to each driving state data segment, and performs clustering processing on each driving state distribution feature extracted.
[0083] In a specific embodiment, the server performs clustering processing on each driving state distribution feature to obtain a category corresponding to each driving state distribution feature.
[0084] Specifically, the server may perform clustering processing on each driving state distribution feature to divide the driving state distribution feature into at least two categories. The server then analyzes the driving state distribution features clustered into the same category to obtain the specific category to which the driving state distribution feature belongs, such as a normal category or an abnormal category.
[0085] Reference Figure 7 It can be seen that the server obtains at least two driving status data segments of at least one target vehicle on the target road, extracts the driving status distribution characteristics corresponding to each driving status data segment, performs clustering processing on each driving status distribution characteristic, and obtains the category corresponding to each driving status distribution characteristic. The category includes a normal category and an abnormal category. The abnormal category can specifically be a speed bump category, a curve category, etc.
[0086] Step 208: Determine the road abnormality information of the target road based on the driving state distribution characteristics under the abnormal category.
[0087] The road abnormality information includes at least the abnormal road condition category, the location of the abnormal road condition, etc.
[0088] In one embodiment, step 208 includes: obtaining positioning information corresponding to the driving state distribution characteristics under the abnormal category; determining the road abnormality information of the target road based on the driving state distribution characteristics under the abnormal category and the positioning information corresponding to the driving state distribution characteristics under the abnormal category.
[0089] Specifically, the driving status data fragments obtained by the server carry GPS (Global Positioning System) positioning information, and the positioning information corresponding to the driving status distribution characteristics under the abnormal category is queried. Based on the driving status distribution characteristics under the abnormal category and the corresponding positioning information, the location of the abnormal road condition of the target road is determined.
[0090] In one embodiment, based on the driving state distribution characteristics under the abnormal category and the positioning information corresponding to the driving state distribution characteristics under the abnormal category, the road abnormality information of the target road is determined, including: for the first driving state distribution characteristics under the speed bump category, according to the first driving state distribution characteristics and the positioning information corresponding to the first driving state distribution characteristics, the speed bump position in the target road is determined; for the second driving state distribution characteristics under the curve category, according to the second driving state distribution characteristics and the positioning information corresponding to the second driving state distribution characteristics, the curve position in the target road is determined.
[0091] Specifically, for the purpose of road anomaly detection, the server can analyze the driving state distribution characteristics under the abnormal category to obtain the specific abnormal road conditions of the target road. The server analyzes the driving state distribution characteristics under each category. If the driving state distribution characteristics under a category meet the speed bump feature attributes, the category is the speed bump category; if the driving state distribution characteristics under a category meet the curve feature attributes, the category is the curve category; if the driving state distribution characteristics under a category meet the normal feature attributes, the category is the normal category.
[0092] In a specific embodiment, the server determines the road abnormality information of the target road based on the driving state distribution characteristics under the abnormal category.
[0093] It is understandable that the driving state data segments can also be directly used as driving state distribution features. For example, when the sensor corresponding to the target vehicle is a sensor installed on the target vehicle, since the influence of the user's hand movement is avoided, the driving state data segments are clustered to obtain the categories corresponding to the driving state data segments, and the location of the abnormal road condition of the target road is determined based on the driving state data segments under the abnormal category and the corresponding positioning information.
[0094] The road data processing method provided in this embodiment can be applied to a variety of application scenarios, such as detecting abnormal road conditions on a target road and marking the abnormal road conditions so that the road administration department can detect abnormal road conditions regularly and conduct timely repairs if speed bumps are found to be defective. For another example, abnormal road conditions on a target road can be detected and shared with a car navigation system, which can prompt the driver to pay attention to the abnormal road conditions in a timely manner, thereby improving the travel experience of the driver and the passenger.
[0095] In the above road data processing method, at least two driving state data segments of at least one target vehicle on the target road are obtained, driving state distribution features corresponding to each driving state data segment are extracted, and each driving state distribution feature is clustered to obtain the category corresponding to each driving state distribution feature, and the road abnormality information of the target road is determined based on the driving state distribution features under the abnormal category. Since the driving state data segment is obtained by detecting the sensor corresponding to the target vehicle, the abnormal road condition on the road can be detected by obtaining the sensor data, and there is no need for technical personnel to conduct on-site inspections, thereby improving the detection efficiency of abnormal road conditions.
[0096] In one embodiment, before extracting the driving state distribution characteristics corresponding to each driving state data segment, it also includes: for one of the driving state data segments, obtaining the noise data filtering range corresponding to the driving state data segment; the data in the driving state data segment that is outside the noise data filtering range is the noise data; according to the noise data filtering range, extracting the target data from the driving state data segment; extracting the driving state distribution characteristics corresponding to each driving state data segment, including: extracting the driving state distribution characteristics corresponding to each target data.
[0097] Specifically, when the server acquires the driving state data segments, the sudden stop or acceleration of the vehicle may also cause a sudden change in the data signal, thus affecting the detection result. Therefore, before extracting the driving state distribution features corresponding to each driving state data segment, each driving state data segment may be filtered to remove the noise data in each driving state data segment.
[0098] In one embodiment, for one of the driving status data segments, a noise data filtering range corresponding to the driving status data segment is obtained, including: for one of the driving status data segments, obtaining a historical driving status data segment corresponding to the driving status data segment; obtaining a mean and a standard deviation of the historical driving status data segment; and generating a noise data filtering range corresponding to the driving status data segment based on the mean and the standard deviation of the historical driving status data segment.
[0099] The server obtains the driving status data segments in chronological order, and the historical driving status data segments corresponding to the driving status data segments are driving status data segments that are before the driving status data segments in the sequence formed by the driving status data segments.
[0100] In a specific embodiment, the driving state data segment can be filtered based on the 3σ criterion. According to the 3σ criterion, the noise data filtering range (μ+3σ, μ-3σ) is set, and the data not within the range is noise data. Where μ represents the mean and σ represents the standard deviation.
[0101] Specifically, for one of the driving state data segments, the server queries the historical driving state data segment corresponding to the driving state data segment, obtains the mean and standard deviation according to the historical driving state data segment, and constructs the noise data filtering range corresponding to the driving state data segment according to the 3σ criterion. It can be understood that as the server continues to obtain the driving state data segments, the noise data filtering range for different driving state data segments is also continuously updated.
[0102] It can be understood that for the first driving status data segment obtained by the server, the driving status data segment can be divided into more than one sub-segment, the mean and standard deviation are obtained according to the sub-segments, and the noise data filtering range corresponding to the first driving status data segment is constructed according to the 3σ criterion.
[0103] In this embodiment, before extracting the driving state distribution features, the driving state data segments are filtered to filter out noise data in the driving state data segments, thereby reducing the influence of the noise data on the detection results.
[0104] In one embodiment, when the server is acquiring driving status data segments, data may be missing due to problems with the sensor itself or network delays. Therefore, before extracting the corresponding driving status distribution features of each driving status data segment, each driving status data segment may be smoothed.
[0105] Specifically, the idea of smoothing filtering is adopted, that is, if there is data missing at the current time, and the time interval between the current time and the previous time period is less than the preset time, the data of the previous time period is used as the data of the current time.
[0106] In this embodiment, before extracting the driving state distribution features, the driving state data segments are smoothed to reduce the impact of missing data on the detection results.
[0107] In one embodiment, the method also includes: for one of the driving status data segments, obtaining a differential data segment corresponding to the driving status data segment; dividing the differential data segment into at least two second sub-segments; determining the feature values of each second sub-segment in each feature dimension; based on the feature values of each first sub-segment in each feature dimension, generating driving status distribution characteristics corresponding to the driving status data segment, including: generating driving status distribution characteristics corresponding to the driving status data segment based on the feature values of each first sub-segment in each feature dimension and the feature values of each second sub-segment in each feature dimension.
[0108] The differential data segment corresponding to the driving state data segment is a difference data segment between the driving state data segment and the previous driving state data segment, such as a difference data segment between the driving state data segment and the previous driving state data segment. The previous driving state data segment is the previous data segment of the driving state data segment in the sequence formed by the driving state data segments. The second sub-segment is a sub-segment of the differential data segment.
[0109] Specifically, the server divides the driving status data segment into at least two first sub-segments, and for one of the first sub-segments, determines the feature value of the first sub-segment in each feature dimension; the server obtains the differential data segment corresponding to the driving status data segment, divides the differential data segment into at least two second sub-segments, and for one of the second sub-segments, determines the feature value of the second sub-segment in each feature dimension; the server generates the driving status distribution characteristics corresponding to the driving status data segment based on the feature values of each second sub-segment in each feature dimension and the feature values of each first sub-segment in each feature dimension.
[0110] For example, a 2-second driving status data segment is divided into 5 first sub-segments, each of which is 0.4 seconds; a 7-dimensional feature is calculated based on each first sub-segment, and the 7-dimensional feature includes: mean, maximum value, second largest value, minimum value, second smallest value, standard deviation and root mean square error; based on the 7-dimensional features corresponding to each of the 5 first sub-segments, a 35-dimensional feature is obtained by splicing. In addition, a 2-second differential data segment is divided into 5 second sub-segments, each of which is 0.4 seconds; a 7-dimensional feature is calculated based on each second sub-segment, and the 7-dimensional feature includes: mean, maximum value, second largest value, minimum value, second smallest value, standard deviation and root mean square error; based on the 7-dimensional features corresponding to each of the 5 second sub-segments, a 35-dimensional feature is obtained by splicing. Finally, the 35-dimensional features obtained by splicing the first sub-segments and the 35-dimensional features obtained by splicing the second sub-segments are spliced together to obtain a 70-dimensional driving status distribution feature.
[0111] In this embodiment, driving state distribution characteristics are extracted based on differential data segments. Since differential data segments can reduce the impact of irregular fluctuations between driving state data segments, the detection accuracy can be improved when detecting abnormal road conditions based on driving state distribution characteristics.
[0112] In one embodiment, clustering processing is performed on each driving state distribution feature to obtain a category corresponding to each driving state distribution feature, including: obtaining an initial cluster center point; selecting the next cluster center point based on the distance between each driving state distribution feature and the initial cluster center point, until a preset number of cluster center points are selected; clustering processing is performed on each driving state distribution feature according to the preset number of cluster center points to obtain a category corresponding to each driving state distribution feature.
[0113] Specifically, the server randomly selects the initial cluster center point, uses the distribution characteristics of each driving state as the sample point, and calculates the distance between each sample point and the initial cluster center point. The larger the distance, the greater the probability that the sample point will be the next cluster center point. Based on the roulette mode, the sample point with the highest probability is selected as the next cluster center point until a preset number of cluster center points are selected.
[0114] In a specific embodiment, after selecting a preset number of cluster center points, cluster processing is performed on each driving state distribution feature according to the preset number of cluster center points to obtain the category corresponding to each driving state distribution feature. Taking the K-Means clustering algorithm as an example, for one of the sample points, the distance between the sample point and each cluster center point is calculated, and the sample point is classified into the cluster corresponding to the cluster center point with the smallest distance. After the classification of each sample point is completed, the centroid is recalculated for each cluster to update the cluster center point corresponding to each cluster. Repeat the above steps until the cluster center point no longer changes.
[0115] In one embodiment, the method further includes: for one of the categories, obtaining the cluster center point of the category and the driving state distribution characteristics under the category; determining the sum of square errors corresponding to the category based on the cluster center point of the category and the driving state distribution characteristics under the category; and continuing to cluster the driving state distribution characteristics in the direction of minimizing the sum of square errors corresponding to each category until the clustering stop condition is met.
[0116] The SSE (Sum of the Squared Errors) is used to describe the distance between the sample points in the cluster and the cluster center. The smaller the SSE, the closer the distance between the sample points in the cluster and the cluster center, and the better the clustering effect.
[0117] The sum of squared errors can be calculated using the following formula:
[0118]
[0119] Among them, C i is a cluster, x is a cluster C i The sample point of gi is cluster C i The center of mass.
[0120] Specifically, the server evaluates the clustering effect by the sum of squared errors, and improves the clustering effect by minimizing the sum of squared errors. It is understandable that the clustering effect can also be evaluated by recall rate, precision rate, etc.
[0121] In this embodiment, a preset number of cluster center points are first selected based on the distance between each sample point and the initial cluster center point, and then the distribution characteristics of each driving state are clustered according to the preset number of cluster center points. Compared with the traditional K-Means clustering algorithm that first randomly selects a preset number of cluster center points, this embodiment can effectively reduce the number of centroid calculations and reduce the complexity of the calculation.
[0122] In one embodiment, the method further includes: sharing road abnormality information to prompt vehicles on the target road to pay attention to abnormal road conditions.
[0123] In this embodiment, after abnormal information on the target road is detected, the abnormal information can be shared with the car navigation system, and the driver can be promptly reminded to pay attention to abnormal road conditions through the car navigation system.
[0124] The present application also provides a road data processing method, referring to Figure 6 , including the following steps:
[0125] Step 602: determine a target vehicle on the target road, and for one of the target vehicles, sequentially obtain at least one of acceleration sensor data and gyroscope sensor data of the target vehicle within a preset time period.
[0126] The preset duration is determined according to the duration that the front and rear wheels of the target vehicle respectively pass through the abnormal road condition.
[0127] In a specific embodiment, a sensor built into a mobile terminal in the target vehicle is used to acquire at least one of acceleration sensor data and gyroscope sensor data.
[0128] In a specific embodiment, for one of the target vehicles on the target road, a sliding window can be used to continuously collect sensor data. For example, a 2-second sliding window is used to collect sensor data, and the interval between sliding windows can be 0.2 seconds. Through a large number of experiments, researchers have found that using a 2-second sliding window can improve detection accuracy.
[0129] Step 604, extracting at least one of the sub-data of each acceleration sensor data in the direction of gravity and the sub-data of each gyroscope sensor data in the direction of gravity, and using the sub-data of each acceleration sensor data in the direction of gravity and the sub-data of each gyroscope sensor data in the direction of gravity as a driving status data segment.
[0130] Step 606: For one of the driving status data segments, preprocess the driving status data segment, where the preprocessing includes at least one of filtering processing of noise data and smoothing processing of missing data.
[0131] Among them, for the filtering processing of noise data, a historical driving status data segment corresponding to the driving status data segment is obtained, the mean and standard deviation of the historical driving status data segment are obtained, and a noise data filtering range corresponding to the driving status data segment is generated according to the mean and standard deviation of the historical driving status data segment. The data in the driving status data segment that is outside the noise data filtering range is noise data.
[0132] For the smoothing of missing data, the idea of smoothing filtering is adopted, that is, if there is missing data at the current time and the time interval between the current time and the previous time period is less than the preset time, the data of the previous time period is used as the data of the current time.
[0133] Step 608, divide the driving status data segment into at least two first sub-segments, determine the feature values of each first sub-segment in each feature dimension, and generate driving status distribution features corresponding to the driving status data segment based on the feature values of each first sub-segment in each feature dimension.
[0134] According to the noise data filtering range, target data is extracted from the driving status data segment, the target data is divided into at least two first sub-segments, and the characteristic values of each first sub-segment in each characteristic dimension are determined.
[0135] Step 610, obtain the differential data segment corresponding to the driving status data segment, divide the differential data segment into at least two second sub-segments, determine the feature values of each second sub-segment in each feature dimension, and generate the driving status distribution characteristics corresponding to the driving status data segment based on the feature values of each first sub-segment in each feature dimension and the feature values of each second sub-segment in each feature dimension.
[0136] The differential data segment is a difference data segment between the driving state data segment and the previous driving state data segment, and both the driving state data segment and the previous driving state data segment may be pre-processed driving state data segments.
[0137] Step 612, obtain the initial cluster center point, select the next cluster center point based on the distance between each driving state distribution feature and the initial cluster center point, until a preset number of cluster center points are selected, and cluster each driving state distribution feature according to the preset number of cluster center points to obtain the category corresponding to each driving state distribution feature.
[0138] Wherein, the category includes at least one of a normal category, a speed bump category, and a curve category;
[0139] Step 614, obtain the positioning information corresponding to the driving state distribution characteristics under the abnormal category. For the first driving state distribution characteristics under the speed bump category, determine the speed bump position in the target road according to the first driving state distribution characteristics and the positioning information corresponding to the first driving state distribution characteristics. For the second driving state distribution characteristics under the curve category, determine the curve position in the target road according to the second driving state distribution characteristics and the positioning information corresponding to the second driving state distribution characteristics.
[0140] Specifically, refer to Figure 8 , Figure 8It is a schematic diagram of the architecture of a road data processing system in an embodiment. It can be seen that the present application mainly includes a data acquisition module and an abnormal road condition detection module. For the data acquisition module, it mainly includes a data acquisition unit, which can be used to collect at least one of the acceleration sensor data and the gyroscope sensor data. For the abnormal road condition detection module, it mainly includes a data preprocessing unit, a clustering processing and verification unit and an abnormal road condition detection unit. The data preprocessing unit can be used to preprocess at least one of the collected acceleration sensor data and the gyroscope sensor data, and the preprocessing includes at least one of the filtering processing of noise data and the smoothing processing of missing data. The clustering processing and verification unit can be used to cluster the distribution characteristics of each driving state, and improve the clustering effect by minimizing the sum of squared errors. The abnormal road condition detection unit can be used to determine the road abnormality information of the target road based on the driving state distribution characteristics under the abnormal category according to the categories corresponding to each driving state distribution characteristic.
[0141] In this embodiment, abnormal road conditions are detected based on mobile crowdsourcing data, where the mobile crowdsourcing data may include sensor data of mobile terminals, and noise data is eliminated through data preprocessing, and then data features are extracted, and the data features are classified based on a clustering algorithm, thereby achieving the purpose of abnormal road condition detection. Abnormal road conditions on the road can be detected through the sensor data of the mobile terminal, without the need for technical personnel to conduct on-site inspections, thereby improving the efficiency of abnormal road condition detection.
[0142] It should be understood that although Figure 2 , Figure 6 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2 , Figure 6 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0143] In one embodiment, Fig. 9 As shown, a road data processing device is provided. The device can adopt a software module or a hardware module, or a combination of the two to become a part of a computer device. The device specifically includes: an acquisition module 902, an extraction module 904, a processing module 906 and a determination module 908, wherein:
[0144] An acquisition module 902 is used to acquire at least two driving status data segments of at least one target vehicle on a target road; the driving status data segments are obtained by detecting a sensor corresponding to the target vehicle;
[0145] An extraction module 904 is used to extract the driving state distribution characteristics corresponding to each driving state data segment;
[0146] The processing module 906 is used to perform clustering processing on the distribution features of each driving state to obtain the category corresponding to each driving state distribution feature; the category includes a normal category and an abnormal category;
[0147] The determination module 908 is used to determine the road abnormality information of the target road based on the driving state distribution characteristics under the abnormal category.
[0148] In one embodiment, the acquisition module 902 is also used to: determine a target vehicle on a target road; for one of the target vehicles, sequentially obtain sensor data of the target vehicle within a preset time period; the preset time period is determined based on the time period that the front and rear wheels of the target vehicle pass through abnormal road conditions respectively; extract sub-data of each sensor data in the gravity direction; and use the sub-data as a driving status data segment.
[0149] In one embodiment, the sensor data includes at least one of acceleration sensor data and gyroscope sensor data; the acquisition module 902 is further used to: extract at least one of the sub-data of each acceleration sensor data in the gravity direction and the sub-data of each gyroscope sensor data in the gravity direction.
[0150] In one embodiment, the acquisition module 902 is also used to: for one of the driving status data segments, obtain the noise data filtering range corresponding to the driving status data segment; the data in the driving status data segment that is outside the noise data filtering range is the noise data; the extraction module 904 is also used to: extract the target data from the driving status data segment according to the noise data filtering range; extract the driving status distribution characteristics corresponding to each target data.
[0151] In one embodiment, the acquisition module 902 is also used to: for one of the driving status data fragments, obtain the historical driving status data fragment corresponding to the driving status data fragment; obtain the mean and standard deviation of the historical driving status data fragment; and generate a noise data filtering range corresponding to the driving status data fragment based on the mean and standard deviation of the historical driving status data fragment.
[0152] In one embodiment, the extraction module 904 is also used to: for one of the driving status data fragments, divide the driving status data fragment into at least two first sub-fragments; determine the feature values of each first sub-fragment in each feature dimension; and generate the corresponding driving status distribution characteristics of the driving status data fragment based on the feature values of each first sub-fragment in each feature dimension.
[0153] In one embodiment, the extraction module 904 is also used to: for one of the driving status data segments, obtain a differential data segment corresponding to the driving status data segment; divide the differential data segment into at least two second sub-segments; determine the feature values of each second sub-segment in each feature dimension; and generate driving status distribution features corresponding to the driving status data segment based on the feature values of each first sub-segment in each feature dimension and the feature values of each second sub-segment in each feature dimension.
[0154] In one embodiment, the processing module 906 is also used to: obtain an initial cluster center point; select the next cluster center point based on the distance between each driving state distribution feature and the initial cluster center point, until a preset number of cluster center points are selected; cluster each driving state distribution feature according to the preset number of cluster center points to obtain a category corresponding to each driving state distribution feature.
[0155] In one embodiment, the processing module 906 is also used to: for one of the categories, obtain the cluster center point of the category and the driving state distribution characteristics under the category; determine the sum of square errors corresponding to the category based on the cluster center point of the category and the driving state distribution characteristics under the category; and continue to cluster the driving state distribution characteristics in the direction of minimizing the sum of square errors corresponding to each category until the clustering stop condition is met.
[0156] In one embodiment, the determination module 908 is also used to: obtain positioning information corresponding to the driving state distribution characteristics under the abnormal category; determine the road abnormality information of the target road based on the driving state distribution characteristics under the abnormal category and the positioning information corresponding to the driving state distribution characteristics under the abnormal category.
[0157] In one embodiment, the abnormal category includes at least one of a speed bump category and a curve category; the determination module 908 is further used to: for the first driving state distribution feature under the speed bump category, determine the speed bump position in the target road according to the first driving state distribution feature and the positioning information corresponding to the first driving state distribution feature; for the second driving state distribution feature under the curve category, determine the curve position in the target road according to the second driving state distribution feature and the positioning information corresponding to the second driving state distribution feature.
[0158] In one embodiment, the road data processing device further includes a sharing module, and the sharing module is further used to: share road abnormality information to prompt vehicles on the target road to pay attention to abnormal road conditions.
[0159] The specific definition of the road data processing device can be found in the definition of the road data processing method above, which will not be repeated here. Each module in the above road data processing device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0160] In the above-mentioned road data processing device, at least two driving state data segments of at least one target vehicle on the target road are obtained, the driving state distribution features corresponding to each driving state data segment are extracted, and each driving state distribution feature is clustered to obtain the category corresponding to each driving state distribution feature, and the road abnormality information of the target road is determined based on the driving state distribution features under the abnormal category. Since the driving state data segment is obtained by the sensor corresponding to the target vehicle, the abnormal road condition on the road can be detected by obtaining the sensor data, and the technical personnel do not need to conduct on-site inspections, thereby improving the detection efficiency of abnormal road conditions.
[0161] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.10 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store road data processing data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a road data processing method is implemented.
[0162] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0163] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0164] In one embodiment, a computer-readable storage medium is provided, storing a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0165] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-mentioned method embodiments.
[0166] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0167] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0168] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A road data processing method, characterized in that: The method comprises: Acquire at least two driving status data segments of at least one target vehicle on a target road; the driving status data segments are detected by sensors installed on the target vehicle; For one of the driving status data segments, the driving status data segment is divided into at least two first sub-segments, and characteristic values of each of the first sub-segments in each characteristic dimension are determined, where the characteristic dimensions include at least a mean value, a maximum value, a minimum value, a standard deviation, and a root mean square error; For one of the driving state data segments, obtaining a differential data segment corresponding to the driving state data segment, dividing the differential data segment into at least two second sub-segments, and determining a feature value of each of the second sub-segments in each feature dimension; generating a driving state distribution feature corresponding to one of the driving state data segments based on the feature values of each of the first sub-segments in each feature dimension and the feature values of each of the second sub-segments in each feature dimension; Performing clustering processing on each of the driving state distribution features to obtain a category corresponding to each of the driving state distribution features; the category includes a normal category and an abnormal category, and the abnormal category includes a speed bump category and a curve category; For the driving state distribution characteristics under the speed bump category, obtaining positioning information corresponding to the driving state distribution characteristics under the speed bump category, and determining the speed bump position in the target road according to the driving state distribution characteristics under the speed bump category and the positioning information; For the driving state distribution characteristics under the curve category, the positioning information corresponding to the driving state distribution characteristics under the curve category is obtained, and the curve position in the target road is determined according to the driving state distribution characteristics under the curve category and the positioning information.
2. The method according to claim 1, characterized in that The step of obtaining at least two driving status data segments of at least one target vehicle on the target road includes: Determining a target vehicle on the target road; For one of the target vehicles, sequentially obtain sensor data of the target vehicle within a preset time period; the preset time period is determined according to the time period that the front and rear wheels of the target vehicle pass through the abnormal road condition respectively; Extracting sub-data of each sensor data in the gravity direction; The sub-data are used as the driving status data segment.
3. The method according to claim 2, characterized in that The sensor data includes at least one of acceleration sensor data and gyroscope sensor data; The extracting sub-data of each sensor data in the gravity direction includes: At least one of the sub-data of each acceleration sensor data in the gravity direction and the sub-data of each gyroscope sensor data in the gravity direction is extracted.
4. The method according to claim 1, characterized in that: The method further comprises: For one of the driving state data segments, a noise data filtering range corresponding to the driving state data segment is obtained; data in the driving state data segment that is outside the noise data filtering range is noise data; extracting target data from the driving status data segment according to the noise data filtering range; For one of the driving status data segments, dividing the driving status data segment into at least two first sub-segments includes: For one of the driving status data segments, dividing the target data extracted from the driving status data segment into at least two first sub-segments; The step of obtaining, for one of the driving state data segments, a differential data segment corresponding to the driving state data segment comprises: For one of the driving state data segments, a differential data segment corresponding to the target data extracted from the driving state data segment is obtained.
5. The method according to claim 4, characterized in that The step of obtaining, for one of the driving state data segments, a noise data filtering range corresponding to the driving state data segment comprises: For one of the driving status data segments, obtaining a historical driving status data segment corresponding to the driving status data segment; Obtaining the mean and standard deviation of the historical driving status data segments; A noise data filtering range corresponding to the historical driving status data segment is generated according to the mean and standard deviation of the historical driving status data segment.
6. The method according to claim 1, characterized in that The clustering process is performed on each of the driving state distribution features to obtain a category corresponding to each of the driving state distribution features, including: Get the initial cluster center point; Based on the distance between each of the driving state distribution features and the initial cluster center point, selecting the next cluster center point until a preset number of cluster center points are selected; Clustering is performed on each of the driving state distribution features according to the preset number of cluster center points to obtain a category corresponding to each of the driving state distribution features.
7. The method according to claim 6, characterized in that The method further comprises: For one of the categories, obtaining the cluster center point of the category and the driving state distribution characteristics under the category; Determining the sum of square errors corresponding to the category according to the cluster center point of the category and the driving state distribution characteristics under the category; The clustering process is continued for each of the driving state distribution features in the direction of minimizing the sum of square errors corresponding to each category until a clustering stop condition is met.
8. The method according to any one of claims 1 to 7, characterized in that The method further comprises: The road abnormality information is shared to remind vehicles on the target road to pay attention to abnormal road conditions.
9. A road data processing device, characterized in that: The device comprises: An acquisition module, used to acquire at least two driving status data segments of at least one target vehicle on a target road; the driving status data segments are detected by sensors installed on the target vehicle; an extraction module, configured to divide one of the driving state data segments into at least two first sub-segments, determine the feature values of each of the first sub-segments in each feature dimension, wherein the feature dimension includes at least a mean value, a maximum value, a minimum value, a standard deviation, and a root mean square error; for one of the driving state data segments, obtain a differential data segment corresponding to the driving state data segment, divide the differential data segment into at least two second sub-segments, and determine the feature values of each of the second sub-segments in each feature dimension; and generate driving state distribution features corresponding to one of the driving state data segments based on the feature values of each of the first sub-segments in each feature dimension and the feature values of each of the second sub-segments in each feature dimension; A processing module, used for performing clustering processing on each of the driving state distribution features to obtain a category corresponding to each of the driving state distribution features; the category includes a normal category and an abnormal category, and the abnormal category includes a speed bump category and a curve category; A determination module is used to obtain, for the driving state distribution characteristics under the speed bump category, positioning information corresponding to the driving state distribution characteristics under the speed bump category, and determine the speed bump position in the target road according to the driving state distribution characteristics under the speed bump category and the positioning information; for the driving state distribution characteristics under the curve category, obtain positioning information corresponding to the driving state distribution characteristics under the curve category, and determine the curve position in the target road according to the driving state distribution characteristics under the curve category and the positioning information.
10. The device according to claim 9, characterized in that The acquisition module is also used to determine the target vehicle on the target road; for one of the target vehicles, sequentially obtain the sensor data of the target vehicle within a preset time period; the preset time period is determined based on the time period that the front and rear wheels of the target vehicle pass through the abnormal road condition respectively; extract sub-data of each sensor data in the gravity direction; and use the sub-data as the driving status data segment.
11. The device according to claim 10, characterized in that The sensor data includes at least one of acceleration sensor data and gyroscope sensor data; the acquisition module is further used to extract at least one of the sub-data of each acceleration sensor data in the gravity direction and the sub-data of each gyroscope sensor data in the gravity direction.
12. The device according to claim 9, characterized in that The acquisition module is further used to acquire, for one of the driving status data segments, a noise data filtering range corresponding to the driving status data segment; data in the driving status data segment that is outside the noise data filtering range is noise data; and target data is extracted from the driving status data segment according to the noise data filtering range; The extraction module is further configured to divide the target data extracted from one of the driving status data segments into at least two first sub-segments; The extraction module is further used to obtain, for one of the driving status data segments, a differential data segment corresponding to the target data extracted from the driving status data segment.
13. The device according to claim 12, characterized in that The acquisition module is also used to acquire, for one of the driving status data segments, a historical driving status data segment corresponding to the driving status data segment; acquire the mean and standard deviation of the historical driving status data segment; and generate a noise data filtering range corresponding to the driving status data segment based on the mean and standard deviation of the historical driving status data segment.
14. The device according to claim 9, characterized in that The processing module is also used to obtain an initial cluster center point; based on the distance between each of the driving state distribution features and the initial cluster center point, select the next cluster center point until a preset number of cluster center points are selected; and cluster each of the driving state distribution features according to the preset number of cluster center points to obtain a category corresponding to each of the driving state distribution features.
15. The device according to claim 14, characterized in that The processing module is also used to obtain the cluster center point of one of the categories and the driving state distribution characteristics under the category; determine the corresponding sum of square errors of the category according to the cluster center point of the category and the driving state distribution characteristics under the category; and continue to cluster the driving state distribution characteristics in the direction of minimizing the corresponding sum of square errors of each category until the clustering stop condition is met.
16. The device according to any one of claims 9 to 15, characterized in that The device also includes a sharing module for sharing the road abnormality information to prompt vehicles on the target road to pay attention to abnormal road conditions.
17. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.
18. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
