Road section analysis method and related device
By converting the latitude and longitude data passing by the vehicle into spatial coordinates and rotating, the problem of low accuracy in latitude and longitude data analysis in the prior art is solved, and more accurate road section analysis and vehicle driving trajectory restoration are achieved.
Patent Information
- Application Number
- CN202510063154.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-15
- Publication Date
- 2025-04-22
AI Technical Summary
In the prior art, the accuracy of analyzing the vehicle's driving trajectory based on latitude and longitude data is low, and it is difficult to restore the real trajectory of the vehicle driving on the ground, resulting in a low accuracy of road section analysis.
By converting the latitude and longitude data of multiple positions through which the target vehicle passes into the initial spatial coordinates in the spatial coordinate system with the center of the earth as the origin, and rotating it, so that the section corresponding to the earth at the initial position is parallel to the xy plane, the accurate spatial coordinate position is obtained and the vehicle's driving trajectory on the ground is analyzed.
It improves the accuracy of road section analysis, can more accurately identify the road sections passing by the vehicle, and enhances the ability to restore the vehicle's driving trajectory.
Smart Images

Figure CN119863931A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a road section analysis method and related devices. Background Art
[0002] During the driving process, by counting the historical vehicle data corresponding to a certain section of road, an optimization strategy based on the route can be established to improve the optimization effect. In order to implement the optimization strategy based on the section, the route should be divided first to generate accurate sections.
[0003] In related technologies, the division of road sections is mainly based on the longitude and latitude data corresponding to the vehicle's driving trajectory. Through the longitude and latitude data, the vehicle's driving trajectory can be restored to analyze where the vehicle will encounter intersections, and then the route between two adjacent intersections can be identified as a road section.
[0004] However, the accuracy of directly analyzing the vehicle's driving trajectory based on longitude and latitude data is low, and it is difficult to restore the actual trajectory of the vehicle on the ground. Therefore, the accuracy of road section analysis directly based on longitude and latitude data is low. Summary of the invention
[0005] In order to solve the above technical problems, the present application provides a road section analysis method, which can more accurately divide the road sections passed by the vehicle.
[0006] The embodiments of the present application disclose the following technical solutions:
[0007] In a first aspect, an embodiment of the present application discloses a road section analysis method, the method comprising:
[0008] Acquire latitude and longitude data corresponding to a plurality of locations passed by a target vehicle during driving, wherein the target vehicle is any one vehicle;
[0009] Determine, based on the latitude and longitude data corresponding to the multiple positions, initial spatial coordinate positions corresponding to the multiple positions in a spatial coordinate system with the center of the earth as the origin, the initial position being the first position passed by the target vehicle during the driving process;
[0010] According to the longitude and latitude data corresponding to the initial position, the initial spatial coordinate positions corresponding to the multiple positions are rotated so that the tangent plane of the earth corresponding to the initial position is parallel to the xy plane of the spatial coordinate system, thereby obtaining the spatial coordinate positions corresponding to the multiple positions;
[0011] Determine the coordinate positions of the spatial coordinate positions corresponding to the multiple positions respectively, which are composed of the coordinates on the xy plane in the spatial coordinate system, as the coordinate positions corresponding to the multiple positions respectively on the ground;
[0012] The road sections passed by the target vehicle during the driving process are analyzed according to the coordinate positions respectively corresponding to the multiple positions on the ground.
[0013] In a possible implementation, rotating the initial spatial coordinate positions corresponding to the multiple positions respectively according to the latitude and longitude data corresponding to the initial position so that the tangent plane of the earth corresponding to the initial position is parallel to the xy plane of the spatial coordinate system to obtain the spatial coordinate positions corresponding to the multiple positions respectively includes:
[0014] The initial spatial coordinate positions corresponding to the multiple positions are rotated counterclockwise around the z-axis by the target longitude, and the target latitude is rotated counterclockwise around the y-axis to obtain the spatial coordinate positions corresponding to the multiple positions, wherein the target longitude is the difference between 180 degrees and the longitude corresponding to the initial position, and the target latitude is the difference between 90 degrees and the latitude corresponding to the initial position.
[0015] In a possible implementation, analyzing the road section passed by the target vehicle during the driving process according to the coordinate positions respectively corresponding to the multiple positions on the ground includes:
[0016] Analyzing the intersections passed by the target vehicle during the driving process according to the coordinate positions corresponding to the multiple positions on the ground;
[0017] The track between two adjacent intersections passed by the target vehicle during the driving process is determined as a road section.
[0018] In a possible implementation, analyzing the intersections passed by the target vehicle during the driving process according to the coordinate positions respectively corresponding to the multiple positions on the ground includes:
[0019] Divide multiple time windows according to the preset time period length;
[0020] According to the driving times corresponding to the multiple positions respectively, determining the time windows corresponding to the multiple positions respectively, the driving time corresponding to any position among the multiple positions being the time when the target vehicle passes through the any position;
[0021] Analyzing whether the target vehicle turns in any time window according to the coordinate positions on the ground corresponding to the positions in the any time window;
[0022] Based on determining that the target vehicle turns in the arbitrary time window, an intersection passed by the target vehicle in the arbitrary time window is determined.
[0023] In a possible implementation, analyzing whether the target vehicle turns in any time window according to the coordinate positions on the ground corresponding to the positions in the any time window includes:
[0024] Determine the coordinate position on the ground corresponding to the center of gravity of the trajectory composed of the positions in the arbitrary time window according to the coordinate positions on the ground corresponding to the positions in the arbitrary time window;
[0025] Determine the angles between the lines connecting the coordinate positions of the positions adjacent to each other at the corresponding driving time in the arbitrary time window and the coordinate position of the center of gravity of the trajectory;
[0026] Based on the fact that the angles between the lines connecting the coordinate positions corresponding to any two adjacent positions at the corresponding driving moments in the arbitrary time window and the coordinate position of the center of gravity of the trajectory are not greater than the first preset angle, and the sum of the angles between the lines connecting the coordinate positions corresponding to all adjacent positions at the corresponding driving moments and the coordinate position of the center of gravity of the trajectory is greater than the second preset angle, it is determined that the target vehicle turns in the arbitrary time window.
[0027] In a possible implementation, determining the intersection passed by the target vehicle in the arbitrary time window based on determining that the target vehicle turns in the arbitrary time window includes:
[0028] Based on determining that the target vehicle turns in the arbitrary time window, determine the coordinate positions corresponding to the first n positions and the last n positions at the driving time in the position in the arbitrary time window, where n is a positive integer;
[0029] A first straight line is obtained by fitting the coordinate positions corresponding to the first n positions, and a second straight line is obtained by fitting the coordinate positions corresponding to the last n positions;
[0030] determining an intersection point of the first straight line and the second straight line;
[0031] Among the coordinate positions corresponding to the positions in the arbitrary time window, the coordinate position closest to the intersection is determined as the intersection position of the intersection passed by the target vehicle in the time window.
[0032] In a possible implementation, the method further includes:
[0033] Based on the fact that the time interval between the two time windows is less than the preset time interval and the target vehicle passes through the intersection in both time windows, the intersections in the two time windows are merged into the same intersection.
[0034] In a possible implementation, the method further includes:
[0035] Based on the fact that the overlapping section length between any two road sections is greater than a preset length and the section starting points and / or section end points corresponding to the any two road sections are different, the coordinate positions on the any two road sections where the overlap changes to non-overlap are determined as the intersection positions corresponding to the intersection.
[0036] In a possible implementation, the method further includes:
[0037] Deduplication is performed based on coordinate positions respectively corresponding to the multiple positions on the ground;
[0038] The analyzing the road section passed by the target vehicle during the driving process according to the coordinates respectively corresponding to the multiple positions on the ground includes:
[0039] The road section passed by the target vehicle during the driving process is analyzed according to the coordinate positions on the ground respectively corresponding to the multiple positions after deduplication.
[0040] In a possible implementation, the method further includes:
[0041] Determine the driving times corresponding to the multiple positions respectively, the driving time corresponding to any position among the multiple positions being the time when the target vehicle passes the any position;
[0042] Based on the fact that the distance between the coordinate positions respectively corresponding to two adjacent positions at the driving time is less than a preset distance, removing the position corresponding to the later driving time of the two positions;
[0043] The analyzing the road section passed by the target vehicle during the driving process according to the coordinate positions respectively corresponding to the multiple positions on the ground includes:
[0044] The road section passed by the target vehicle during the driving process is analyzed according to the coordinate positions on the ground respectively corresponding to the multiple positions after the removal processing.
[0045] In a second aspect, an embodiment of the present application discloses a road section analysis device, the device comprising an acquisition unit, a first determination unit, a rotation unit, a second determination unit and an analysis unit:
[0046] The acquisition unit is used to acquire the longitude and latitude data corresponding to a plurality of positions passed by the target vehicle during the driving process, wherein the target vehicle is any one vehicle;
[0047] The first determining unit is used to determine the initial spatial coordinate positions corresponding to the multiple positions in a spatial coordinate system with the center of the earth as the origin according to the latitude and longitude data corresponding to the multiple positions, the initial position being the first position passed by the target vehicle during the driving process;
[0048] The rotation unit is used to rotate the initial spatial coordinate positions corresponding to the multiple positions respectively according to the latitude and longitude data corresponding to the initial position, so that the tangent plane of the earth corresponding to the initial position is parallel to the xy plane of the spatial coordinate system, thereby obtaining the spatial coordinate positions corresponding to the multiple positions respectively;
[0049] The second determining unit is used to determine the coordinate positions composed of the coordinates corresponding to the multiple positions on the xy plane in the spatial coordinate system among the spatial coordinate positions corresponding to the multiple positions as the coordinate positions corresponding to the multiple positions on the ground;
[0050] The analysis unit is used to analyze the road section passed by the target vehicle during the driving process according to the coordinate positions corresponding to the multiple positions on the ground.
[0051] In a possible implementation, the rotating unit is specifically used to:
[0052] The initial spatial coordinate positions corresponding to the multiple positions are rotated counterclockwise around the z-axis by the target longitude, and the target latitude is rotated counterclockwise around the y-axis to obtain the spatial coordinate positions corresponding to the multiple positions, wherein the target longitude is the difference between 180 degrees and the longitude corresponding to the initial position, and the target latitude is the difference between 90 degrees and the latitude corresponding to the initial position.
[0053] In a possible implementation, the analysis unit is specifically used to:
[0054] Analyzing the intersections passed by the target vehicle during the driving process according to the coordinate positions corresponding to the multiple positions on the ground;
[0055] The track between two adjacent intersections passed by the target vehicle during the driving process is determined as a road section.
[0056] In a possible implementation, the analysis unit is specifically used to:
[0057] Divide multiple time windows according to the preset time period length;
[0058] According to the driving times corresponding to the multiple positions respectively, determining the time windows corresponding to the multiple positions respectively, the driving time corresponding to any position among the multiple positions being the time when the target vehicle passes through the any position;
[0059] Analyzing whether the target vehicle turns in any time window according to the coordinate positions on the ground corresponding to the positions in the any time window;
[0060] Based on determining that the target vehicle turns in the arbitrary time window, an intersection passed by the target vehicle in the arbitrary time window is determined.
[0061] In a possible implementation, the analysis unit is specifically used to:
[0062] Determine the coordinate position on the ground corresponding to the center of gravity of the trajectory composed of the positions in the arbitrary time window according to the coordinate positions on the ground corresponding to the positions in the arbitrary time window;
[0063] Determine the angles between the lines connecting the coordinate positions of the positions adjacent to each other at the corresponding driving time in the arbitrary time window and the coordinate position of the center of gravity of the trajectory;
[0064] Based on the fact that the angles between the lines connecting the coordinate positions corresponding to any two adjacent positions at the corresponding driving moments in the arbitrary time window and the coordinate position of the center of gravity of the trajectory are not greater than the first preset angle, and the sum of the angles between the lines connecting the coordinate positions corresponding to all adjacent positions at the corresponding driving moments and the coordinate position of the center of gravity of the trajectory is greater than the second preset angle, it is determined that the target vehicle turns in the arbitrary time window.
[0065] In a possible implementation, the analysis unit is specifically used to:
[0066] Based on determining that the target vehicle turns in the arbitrary time window, determine the coordinate positions corresponding to the first n positions and the last n positions at the driving time in the position in the arbitrary time window, where n is a positive integer;
[0067] A first straight line is obtained by fitting the coordinate positions corresponding to the first n positions, and a second straight line is obtained by fitting the coordinate positions corresponding to the last n positions;
[0068] determining an intersection point of the first straight line and the second straight line;
[0069] Among the coordinate positions corresponding to the positions in the arbitrary time window, the coordinate position closest to the intersection is determined as the intersection position of the intersection passed by the target vehicle in the time window.
[0070] In a possible implementation, the device further includes a merging unit:
[0071] The merging unit is used to merge the intersections in the two time windows into the same intersection based on the time interval between the two time windows being less than a preset time interval and the target vehicle passing through the intersection in both time windows.
[0072] In a possible implementation manner, the apparatus further includes a third determining unit:
[0073] The third determination unit is used to determine the coordinate positions on any two road sections where the overlap changes to non-overlap as the intersection positions corresponding to the intersection, based on the fact that the overlap length between any two road sections is greater than a preset length and that the section starting points and / or section end points respectively corresponding to the any two road sections are different.
[0074] In a possible implementation, the device further includes a deduplication unit:
[0075] The deduplication unit is used to perform deduplication based on coordinate positions respectively corresponding to the multiple positions on the ground;
[0076] The analysis unit is specifically used for:
[0077] The road section passed by the target vehicle during the driving process is analyzed according to the coordinate positions on the ground respectively corresponding to the multiple positions after deduplication.
[0078] In a possible implementation manner, the device further includes a fourth determining unit and a removing unit:
[0079] The fourth determining unit is used to determine the driving times corresponding to the multiple positions respectively, and the driving time corresponding to any position among the multiple positions is the time when the target vehicle passes the arbitrary position;
[0080] The removing unit is used to remove the position corresponding to the later driving time of the two positions, based on the distance between the coordinate positions respectively corresponding to the two positions being smaller than a preset distance;
[0081] The analysis unit is specifically used for:
[0082] The road section passed by the target vehicle during the driving process is analyzed according to the coordinate positions on the ground respectively corresponding to the multiple positions after the removal processing.
[0083] In a third aspect, an embodiment of the present application discloses a computer device, wherein the computer device includes a processor and a memory:
[0084] The memory is used to store a computer program and transmit the computer program to the processor;
[0085] The processor is used to execute the road section analysis method described in any one of the first aspects according to the instructions in the computer program;
[0086] In a fourth aspect, an embodiment of the present application discloses a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the road segment analysis method described in any one of the first aspects;
[0087] In a fifth aspect, an embodiment of the present application discloses a computer program product including a computer program, which, when executed on a computer device, enables the computer device to execute the road section analysis method described in any one of the first aspects.
[0088] It can be seen from the above technical scheme that when analyzing the road section passed by the target vehicle, the present application will not directly analyze based on the longitude and latitude data, but first convert the longitude and latitude data corresponding to the multiple positions passed by the target vehicle into the initial spatial coordinates in the spatial coordinate system with the center of the earth as the origin. Because the radius of the earth is too large, the position involved in the target vehicle during driving can be approximately regarded as the position in the same plane, and the plane is the section of the earth at the initial position passed by the target vehicle during driving. Thus, based on the longitude and latitude corresponding to the multiple positions, the initial spatial coordinates of the multiple positions in the spatial coordinate system can be rotated to obtain the spatial coordinates corresponding to the multiple positions, so that the plane where the multiple positions are approximately located is rotated to a plane parallel to the xy plane, so that the coordinates of the spatial coordinates corresponding to the multiple positions on the xy plane can accurately identify the coordinate positions of the multiple positions on the ground, and then the driving trajectory of the target vehicle on the ground can be accurately analyzed based on the coordinate positions of the multiple positions on the ground. Therefore, based on the coordinate positions of the multiple positions on the ground, the road section passed by the target vehicle during driving can be accurately analyzed, and the accuracy of road section identification can be improved, and then the accuracy of analyzing the road section can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0089] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0090] Figure 1 A flow chart of a road section analysis method provided in an embodiment of the present application;
[0091] Figure 2 A schematic diagram of a road section analysis method provided in an embodiment of the present application;
[0092] Figure 3 A schematic diagram of a road section analysis method provided in an embodiment of the present application;
[0093] Figure 4 A schematic diagram of a road section analysis method provided in an embodiment of the present application;
[0094] Figure 5 A schematic diagram of a road section analysis method provided in an embodiment of the present application;
[0095] Figure 6 A schematic diagram of a road section analysis method provided in an embodiment of the present application;
[0096] Figure 7 A schematic diagram of a road section analysis method provided in an embodiment of the present application;
[0097] Figure 8 A structural block diagram of a road section analysis device provided in an embodiment of the present application;
[0098] Fig. 9 A structural diagram of a terminal provided in an embodiment of the present application;
[0099] Fig.10 A structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0100] The embodiments of the present application are described below in conjunction with the accompanying drawings.
[0101] In the related art, before analyzing the road section, it is necessary to first identify various road sections on the ground, and then obtain the corresponding data of the road section for analysis. In the related art, the latitude and longitude data are mainly used to restore the vehicle trajectory, so as to analyze whether the vehicle turns during driving, and then the trajectory between two turns is identified as a road section.
[0102] However, since the longitude and latitude data reflect the position of the vehicle on the earth's spherical surface, not the position on a plane, the accuracy of directly analyzing the vehicle trajectory through the longitude and latitude data is low, which in turn leads to low analysis accuracy for the road section.
[0103] In order to solve the above technical problems, the present application provides a road section analysis method, which can first convert the longitude and latitude data of the vehicle's passing position into the initial spatial coordinate position in a spatial coordinate system with the center of the earth as the origin. Since the radius of the earth is large, these initial spatial coordinate positions can be approximately regarded as the coordinate positions on the earth's section corresponding to the initial position of the vehicle during the driving process. Therefore, based on the longitude and latitude data of the initial position, the initial spatial coordinate positions corresponding to multiple positions can be rotated so that the section of the earth corresponding to the initial position is parallel to the xy plane, and the spatial coordinate positions corresponding to multiple positions are obtained. The coordinates corresponding to these spatial coordinate positions on the xy plane can more accurately characterize the vehicle's driving trajectory on the ground, and thus can more accurately analyze the road section passed by the vehicle.
[0104] It is understandable that the method can be applied to a computer device, which is a computer device capable of performing road section analysis, such as a terminal device or a server. The method can be executed independently by a terminal device or a server, and can also be applied to a network scenario in which a terminal device and a server communicate, and is executed by the cooperation of a terminal device and a server. Among them, the terminal device can be a mobile phone, a tablet computer, a laptop computer, a desktop computer and other devices. The terminal device can also include a variety of virtual reality devices, such as augmented reality (AR) devices, such as AR glasses, AR screens and other devices, and virtual reality (VR) technology devices, such as head-mounted VR glasses and other devices. The server can be understood as an application server, or a Web server. In actual deployment, the server can be an independent server, a cluster server, or a cloud server, etc.
[0105] See also Figure 1 , Figure 1 A flow chart of a road section analysis method provided in an embodiment of the present application, the method comprising:
[0106] S101: Obtaining longitude and latitude data corresponding to a plurality of locations passed by a target vehicle during driving.
[0107] Among them, the target vehicle can be any vehicle, and the driving process is a continuous process. The computer device can filter out the longitude and latitude data corresponding to multiple positions passed by the target vehicle and which are continuous in time based on the time corresponding to the vehicle to which the position belongs and the target vehicle passing each position. The longitude and latitude data can be, for example, GPS data.
[0108] S102: Determine initial spatial coordinate positions corresponding to the plurality of positions in a spatial coordinate system with the center of the earth as the origin according to the latitude and longitude data corresponding to the plurality of positions.
[0109] Since the longitude and latitude data can characterize the distribution of locations on the earth, the location distribution of each location in three-dimensional space can be obtained through the longitude and latitude data, and then it can be converted to a spatial coordinate system with the center of the earth as the origin to obtain the initial spatial coordinate positions corresponding to multiple locations. The trajectory composed of the converted multiple locations in the spatial coordinate system can be as follows Figure 2 As shown in the figure, the initial position is the first position that the target vehicle passes during driving.
[0110] S103: According to the longitude and latitude data corresponding to the initial position, the initial spatial coordinate positions corresponding to the multiple positions are rotated so that the section of the earth corresponding to the initial position is parallel to the xy plane of the spatial coordinate system, thereby obtaining the spatial coordinate positions corresponding to the multiple positions.
[0111] It is understandable that, since the radius of the earth is too large compared to the vehicle's driving trajectory, multiple positions on the vehicle's driving trajectory can be approximately regarded as being in the same plane, which is the section corresponding to the earth at the initial position. Therefore, the corresponding position change mode of multiple positions on this plane can more accurately characterize the position change mode of the vehicle during driving. Based on this, the computer device can analyze how to rotate the plane based on the longitude and latitude data corresponding to the initial position, and can convert the plane into a plane parallel to the xy plane of the spatial coordinate system, so as to know how to rotate the initial spatial coordinate positions corresponding to multiple positions, so that the corresponding coordinate positions of multiple positions in the spatial coordinate system can be approximately on a plane parallel to the xy plane, and the spatial coordinate positions corresponding to multiple positions can be obtained after rotation.
[0112] S104: Determine the coordinate positions consisting of the corresponding coordinates on the xy plane in the spatial coordinate system among the spatial coordinate positions corresponding to the multiple positions as the coordinate positions corresponding to the multiple positions on the ground.
[0113] It can be seen from the above steps that the coordinate positions composed of the coordinates corresponding to the spatial coordinate positions of multiple positions on the xy plane can accurately represent the position changes of multiple positions on the plane of the simulated ground, so that these coordinate positions can be determined as the coordinate positions corresponding to the multiple positions on the ground. Figure 3 , Figure 2 The coordinate positions corresponding to the multiple spatial coordinate positions in the xy plane can be expressed as Figure 3 shown. Figure 3 What is displayed is the position on the xy plane, the horizontal axis is the x-axis coordinate in the spatial coordinate system, and the vertical axis is the y-axis coordinate in the spatial coordinate system.
[0114] S105: Analyze the road sections that the target vehicle passes through during the driving process according to the coordinate positions corresponding to the multiple positions on the ground.
[0115] Since the coordinate positions corresponding to multiple positions on the ground can accurately simulate the way the position of the target vehicle on the ground changes during driving, it is possible to accurately analyze which trajectories passed by the target vehicle belong to the same road section based on these coordinate positions, thereby obtaining accurate analysis results for the road section.
[0116] It can be seen from the above technical scheme that when analyzing the road section passed by the target vehicle, the present application will not directly analyze based on the longitude and latitude data, but first convert the longitude and latitude data corresponding to the multiple positions passed by the target vehicle into the initial spatial coordinates in the spatial coordinate system with the center of the earth as the origin. Because the radius of the earth is too large, the position involved in the target vehicle during driving can be approximately regarded as the position in the same plane, and the plane is the section of the earth at the initial position passed by the target vehicle during driving. Thus, based on the longitude and latitude corresponding to the multiple positions, the initial spatial coordinates of the multiple positions in the spatial coordinate system can be rotated to obtain the spatial coordinates corresponding to the multiple positions, so that the plane where the multiple positions are approximately located is rotated to a plane parallel to the xy plane, so that the coordinates of the spatial coordinates corresponding to the multiple positions on the xy plane can accurately identify the coordinate positions of the multiple positions on the ground, and then the driving trajectory of the target vehicle on the ground can be accurately analyzed based on the coordinate positions of the multiple positions on the ground. Therefore, based on the coordinate positions of the multiple positions on the ground, the road section passed by the target vehicle during driving can be accurately analyzed, and the accuracy of road section identification can be improved, and then the accuracy of analyzing the road section can be improved.
[0117] Next, the technical solution provided by this application will be introduced in detail in conjunction with the accompanying drawings.
[0118] First, in a possible implementation, when the initial spatial coordinate positions corresponding to the multiple positions are rotated according to the latitude and longitude data corresponding to the initial position so that the section corresponding to the earth at the initial position is parallel to the xy plane of the spatial coordinate system, and the spatial coordinate positions corresponding to the multiple positions are obtained, the computer device can analyze the characteristics of the spatial coordinate system and find out that when the section corresponding to the initial position is rotated to be parallel to the xy plane, it can be rotated in the following manner:
[0119] The computer device can rotate the initial spatial coordinate positions corresponding to the multiple positions counterclockwise around the z-axis by the target longitude, and counterclockwise around the y-axis by the target latitude, to obtain the spatial coordinate positions corresponding to the multiple positions, wherein the target longitude is the difference between 180 longitude and the longitude corresponding to the initial position, and the target latitude is the difference between 90 latitude and the latitude corresponding to the initial position. When the difference is positive, the counterclockwise rotation difference is the absolute value of the counterclockwise rotation difference, and when the difference is negative, the counterclockwise rotation difference is the absolute value of the clockwise rotation difference.
[0120] In a possible implementation, the computer device may analyze the intersections that the target vehicle passes through during driving based on the position change of the target vehicle on the ground, so that the vehicle trajectory between adjacent intersections can be identified as a road section.
[0121] When analyzing the road section that the target vehicle passes through during driving according to the coordinate positions corresponding to the multiple positions on the ground, the computer device can first analyze the intersections that the target vehicle passes through during driving according to the coordinate positions corresponding to the multiple positions on the ground. Then, the computer device can determine the trajectory between two adjacent intersections that the target vehicle passes through during driving as a road section.
[0122] When analyzing whether the target vehicle passes through an intersection, the computer device can analyze the position of the target vehicle at which it turns by analyzing the position change of the target vehicle on the ground, and identify the position where the turn occurs as the position of the intersection.
[0123] In this implementation, when analyzing the intersections that the target vehicle passes through during driving according to the coordinate positions corresponding to the multiple positions on the ground, the computer device can first divide the time windows into multiple time windows according to the preset time period length, and the window lengths of the multiple time windows are all the preset time period lengths, for example, Figure 4 As shown, the time intervals between the multiple positions can be the same, and the computer device can select the 5 positions before and after each position, for a total of 11 positions, as the multiple positions in the same time window.
[0124] The computer device can determine the time windows corresponding to the multiple locations according to the driving times corresponding to the multiple locations, and the driving time corresponding to any location among the multiple locations is the time when the target vehicle passes through the arbitrary location.
[0125] According to the coordinate positions corresponding to the positions on the ground in any time window, the computer device can analyze the position change mode of the target vehicle in the any time window, so as to analyze whether the target vehicle turns in the any time window. Based on the determination that the target vehicle does not turn in the any time window, the computer device can determine that the target vehicle does not pass through the intersection in the any time window; based on the determination that the target vehicle turns in the any time window, the computer device can determine the intersection passed by the target vehicle in the any time window, so as to identify the road section based on the intersection.
[0126] Specifically, in a possible implementation, when analyzing whether the target vehicle turns in any time window based on the coordinate positions on the ground corresponding to the positions in any time window, the computer device can perform the analysis by analyzing the steering angle of the target vehicle in any time window.
[0127] The computer device may first determine the coordinate position on the ground corresponding to the center of gravity of the trajectory composed of the positions in any time window according to the coordinate positions on the ground corresponding to the positions in any time window, for example Figure 5 shown.
[0128] Then, the computer device can determine the angles between the lines connecting the coordinate positions corresponding to adjacent positions at the corresponding driving moments in any time window and the coordinate positions of the center of gravity of the trajectory, and analyze the driving steering angle of the target vehicle in the arbitrary time window based on the angle of the angle.
[0129] Based on the fact that the angle between the lines connecting the coordinate positions of any two adjacent positions at the corresponding driving moments and the coordinate positions of the center of gravity of the trajectory is not greater than the first preset angle, and the sum of the angles between the lines connecting the coordinate positions of all adjacent positions at the corresponding driving moments and the coordinate positions of the center of gravity of the trajectory is greater than the second preset angle, it is indicated that on the one hand, the target vehicle has made continuous turns in the arbitrary time window, and the overall turning amplitude in the arbitrary time window is large, so the computer device can determine that the target vehicle has turned in the arbitrary time window. In this way, it is possible to effectively avoid the situation where a slight deviation of the target vehicle during driving is identified as a turn, improve the recognition accuracy of the vehicle turn, and then improve the recognition accuracy of the intersection and road section. Among them, the first preset angle and the second preset angle can be adjusted based on actual needs, for example, the first preset angle can be 150°, and the second preset angle can be 200°.
[0130] In addition, in a possible implementation, after determining that the target vehicle turns, the computer device may determine the position of the intersection that the target vehicle passes through in any time window in the following manner.
[0131] When determining that the target vehicle turns in any time window and the intersections that the target vehicle passes in any time window, the computer device can first determine the coordinate positions corresponding to the first n positions and the last n positions at the driving time in the position in the any time window, where n is a positive integer. Since the target vehicle turns in any time window, the first n positions are likely to be positions distributed on the road section before the turn, and the last n positions are likely to be positions distributed on the road section after the turn.
[0132] It is understandable that the intersection of the road sections before and after the turn is most likely the location of the intersection. Figure 6 As shown, the computer device can fit a first straight line according to the coordinate positions corresponding to the first n positions, and fit a second straight line according to the coordinate positions corresponding to the last n positions. The first straight line can represent the road section before the turn, and the second straight line can represent the road section after the turn.
[0133] The computer device can determine the intersection of the first straight line and the second straight line, and the intersection can represent the position of the target vehicle at the turning point, that is, the position of the intersection in any time window. Thus, the computer device can determine the coordinate position closest to the intersection among the coordinate positions corresponding to the positions in any time window as the intersection position of the intersection passed by the target vehicle in any time window. Among them, n can be set based on actual needs, for example, it can be set to 3, which is not limited here.
[0134] It is understandable that in real scenarios, there is usually only one intersection at a similar location. Therefore, in one possible implementation method, based on the fact that the time interval between the two time windows is less than the preset time interval, and the target vehicle passes through the intersection in both time windows, it means that the intersection passed by the target vehicle in these two time windows is most likely the same intersection. Therefore, the computer device can merge the intersections in the two time windows into the same intersection, avoiding redundant intersections and improving the accuracy of intersection recognition.
[0135] In addition, in order to further improve the accuracy of intersection recognition, after identifying intersections and road sections based on vehicle turns, the computer device can also analyze whether there are unrecognized intersections based on the overlap between different road sections.
[0136] The computer device can compare any two road sections and analyze the overlap between any two road sections. If the overlap length between any two road sections is greater than a preset length and the road section start points and / or road section end points corresponding to any two road sections are different, it means that the two road sections are likely to be two branches of an intersection. For example, when the overlap length between two road sections is greater than a preset length, it can be said that the two road sections are likely to contain the same road section. When the road section start points corresponding to the two road sections are different, it means that the two road sections are gathered from two branches of an intersection. When the road section end points corresponding to the two road sections are different, it means that the two road sections are probably two branches of an intersection. Figure 7 As shown, it can be shown that the two sections are separated by an intersection. Based on this, the computer device can determine the coordinate positions on any two sections that change from overlapping to non-overlapping as the intersection positions corresponding to the intersection.
[0137] At the same time, after identifying a new intersection in this way, the computer device can also re-segment the road section based on the intersection to obtain a new road section.
[0138] In addition, in order to ensure the accuracy of the road segment analysis, the computer equipment can also improve the accuracy of the coordinate position corresponding to the position in a variety of ways.
[0139] On the one hand, in a possible implementation, the computer device may perform deduplication based on the coordinate positions corresponding to the multiple positions on the ground, so that the coordinate positions corresponding to the remaining multiple positions do not overlap.
[0140] When analyzing the road sections that the target vehicle passes through during driving according to the coordinates corresponding to multiple positions on the ground, the computer equipment can analyze the road sections that the target vehicle passes through during driving according to the coordinate positions corresponding to the multiple positions on the ground after deduplication.
[0141] On the other hand, the computer device can also filter out some less useful positions. For example, in order to analyze the vehicle's driving trajectory, the computer device can only retain one position within a preset distance, so as to ensure that the remaining positions can accurately represent the change of the vehicle's position, and avoid too many positions, which will lead to too many coordinate positions that need to be analyzed, affecting the analysis efficiency.
[0142] The computer device can determine the driving times corresponding to the multiple positions, and the driving time corresponding to any position among the multiple positions is the time when the target vehicle passes the arbitrary position. Then, based on the fact that the distance between the coordinate positions corresponding to the two adjacent positions at the driving time is less than the preset distance, the position corresponding to the later driving time among the two positions is removed, so that only one position can be retained for a preset distance.
[0143] When analyzing the road section that the target vehicle passes through during driving according to the coordinate positions corresponding to the multiple positions on the ground, the computer device can analyze the road section that the target vehicle passes through during driving according to the coordinate positions corresponding to the multiple positions on the ground after the removal processing. The preset distance can be set based on actual needs, for example, it can be set to 5m.
[0144] Based on the road section analysis method provided in the above embodiment, the present application also provides a road section analysis device, see Figure 8 , Figure 8 This is a structural block diagram of a road section analysis device provided in this application. The device 800 includes
[0145] The present application also provides a computer device, see Fig. 9 As shown, the computer device may be a terminal device, and a mobile phone is taken as an example:
[0146] Fig. 9 FIG. 1 is a block diagram showing a partial structure of a mobile phone related to a terminal device provided in an embodiment of the present application. Fig. 9 The mobile phone includes: a radio frequency (RF) circuit 710, a memory 720, an input unit 730, a display unit 740, a sensor 750, an audio circuit 760, a wireless fidelity (WiFi) module 770, a processor 780, and a power supply 790. Those skilled in the art will understand that Fig. 9 The mobile phone structure shown in the figure does not constitute a limitation on the mobile phone, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0147] Combine the following Fig. 9 A detailed introduction to the various components of the mobile phone:
[0148] The RF circuit 710 can be used for receiving and sending signals during the process of sending and receiving information or making calls. In particular, after receiving the downlink information of the base station, it is sent to the processor 780 for processing; in addition, the designed uplink data is sent to the base station. Usually, the RF circuit 710 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, referred to as LNA), a duplexer, etc. In addition, the RF circuit 710 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to the Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
[0149] The memory 720 can be used to store software programs and modules. The processor 780 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 720. The memory 720 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 720 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0150] The input unit 730 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile phone. Specifically, the input unit 730 may include a touch panel 731 and other input devices 732. The touch panel 731, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 731 or near the touch panel 731 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 731 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 780, and can receive and execute commands sent by the processor 780. In addition, the touch panel 731 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 731, the input unit 730 may further include other input devices 732. Specifically, the other input devices 732 may include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
[0151] The display unit 740 can be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 740 may include a display panel 741. Optionally, the display panel 741 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), etc. Further, the touch panel 731 may cover the display panel 741. When the touch panel 731 detects a touch operation on or near it, it is transmitted to the processor 780 to determine the type of touch event. Subsequently, the processor 780 provides a corresponding visual output on the display panel 741 according to the type of touch event. Although in Fig. 9 In the embodiment, the touch panel 731 and the display panel 741 are used as two independent components to realize the input and output functions of the mobile phone, but in some embodiments, the touch panel 731 and the display panel 741 can be integrated to realize the input and output functions of the mobile phone.
[0152] The mobile phone may also include at least one sensor 750, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 741 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 741 and / or the backlight when the mobile phone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0153] The audio circuit 760, the speaker 761, and the microphone 762 can provide an audio interface between the user and the mobile phone. The audio circuit 760 can transmit the received audio data to the speaker 761 after converting the received audio data into an electrical signal, which is converted into a sound signal for output; on the other hand, the microphone 762 converts the collected sound signal into an electrical signal, which is received by the audio circuit 760 and converted into audio data, and then the audio data is output to the processor 780 for processing, and then sent to another mobile phone through the RF circuit 710, or the audio data is output to the memory 720 for further processing.
[0154] WiFi is a short-range wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages and access streaming media through the WiFi module 770. It provides users with wireless broadband Internet access. Fig. 9 A WiFi module 770 is shown, but it is understandable that it is not an essential component of the mobile phone and can be omitted as needed without changing the essence of the invention.
[0155] The processor 780 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 720, and calling data stored in the memory 720, it executes various functions of the mobile phone and processes data, thereby performing overall detection of the mobile phone. Optionally, the processor 780 may include one or more processing units; preferably, the processor 780 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 780.
[0156] The mobile phone also includes a power supply 790 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 780 through a power management system, so that the power management system can manage charging, discharging, power consumption and other functions.
[0157] Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be described in detail here.
[0158] In this embodiment, the processor 780 included in the terminal device also has the following functions:
[0159] Acquire latitude and longitude data corresponding to a plurality of locations passed by a target vehicle during driving, wherein the target vehicle is any one vehicle;
[0160] Determine, based on the latitude and longitude data corresponding to the multiple positions, initial spatial coordinate positions corresponding to the multiple positions in a spatial coordinate system with the center of the earth as the origin, the initial position being the first position passed by the target vehicle during the driving process;
[0161] According to the longitude and latitude data corresponding to the initial position, the initial spatial coordinate positions corresponding to the multiple positions are rotated so that the tangent plane of the earth corresponding to the initial position is parallel to the xy plane of the spatial coordinate system, thereby obtaining the spatial coordinate positions corresponding to the multiple positions;
[0162] Determine the coordinate positions of the spatial coordinate positions corresponding to the multiple positions respectively, which are composed of the coordinates on the xy plane in the spatial coordinate system, as the coordinate positions corresponding to the multiple positions respectively on the ground;
[0163] The road sections passed by the target vehicle during the driving process are analyzed according to the coordinate positions respectively corresponding to the multiple positions on the ground.
[0164] The present application also provides a server. Fig.10 As shown, Fig.10The structural diagram of the server 800 provided in the embodiment of the present application, the server 800 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 822 (for example, one or more processors) and a memory 832, and one or more storage media 830 (for example, one or more mass storage devices) storing application programs 842 or data 844. Among them, the memory 832 and the storage medium 830 can be temporary storage or permanent storage. The program stored in the storage medium 830 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processing unit 822 can be configured to communicate with the storage medium 830 and execute a series of instruction operations in the storage medium 830 on the server 800.
[0165] The server 800 may also include one or more power supplies 826, one or more wired or wireless network interfaces 850, one or more input and output interfaces 858, and / or one or more operating systems 841, such as Windows Server 2000. TM , Mac OS X TM , Unix TM ,Linux TM , FreeBSD TM etc.
[0166] The steps performed by the server in the above embodiment can be based on Fig.10 The server structure shown.
[0167] An embodiment of the present application also provides a computer-readable storage medium for storing a computer program, wherein the computer program is used to execute any one of the implementations of the road section analysis method described in the aforementioned embodiments.
[0168] An embodiment of the present application also provides a computer program product including a computer program, which, when executed on a computer device, enables the computer device to execute the road section analysis method described in any one of the above embodiments.
[0169] It is understandable that in the specific implementation of the present application, related data such as user information (such as trajectory data) is involved. When the above embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0170] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the above-mentioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiment; and the above-mentioned storage medium can be at least one of the following media: read-only memory (English: read-only memory, abbreviated: ROM), RAM, magnetic disk or optical disk, etc. Various media that can store program codes.
[0171] It should be noted that each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiments. The device and system embodiments described above are merely schematic, in which the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.
[0172] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A road section analysis method, characterized in that: The method comprises: Acquire latitude and longitude data corresponding to a plurality of positions passed by a target vehicle during driving, wherein the target vehicle is any one vehicle; Determine, based on the latitude and longitude data corresponding to the multiple positions, initial spatial coordinate positions corresponding to the multiple positions in a spatial coordinate system with the center of the earth as the origin, the initial position being the first position passed by the target vehicle during the driving process; According to the longitude and latitude data corresponding to the initial position, the initial spatial coordinate positions corresponding to the multiple positions are rotated so that the tangent plane of the earth corresponding to the initial position is parallel to the xy plane of the spatial coordinate system, thereby obtaining the spatial coordinate positions corresponding to the multiple positions; Determine the coordinate positions of the spatial coordinate positions corresponding to the multiple positions respectively, which are composed of the coordinates on the xy plane in the spatial coordinate system, as the coordinate positions corresponding to the multiple positions respectively on the ground; The road sections passed by the target vehicle during the driving process are analyzed according to the coordinate positions respectively corresponding to the multiple positions on the ground.
2. The method according to claim 1, characterized in that The method of rotating the initial spatial coordinate positions corresponding to the multiple positions respectively according to the latitude and longitude data corresponding to the initial position so that the tangent plane of the earth corresponding to the initial position is parallel to the xy plane of the spatial coordinate system to obtain the spatial coordinate positions corresponding to the multiple positions respectively includes: The initial spatial coordinate positions corresponding to the multiple positions are rotated counterclockwise around the z-axis by the target longitude, and the target latitude is rotated counterclockwise around the y-axis to obtain the spatial coordinate positions corresponding to the multiple positions, wherein the target longitude is the difference between 180 degrees and the longitude corresponding to the initial position, and the target latitude is the difference between 90 degrees and the latitude corresponding to the initial position.
3. The method according to claim 1, characterized in that The analyzing the road section passed by the target vehicle during the driving process according to the coordinate positions respectively corresponding to the multiple positions on the ground includes: Analyzing the intersections passed by the target vehicle during the driving process according to the coordinate positions corresponding to the multiple positions on the ground; The track between two adjacent intersections passed by the target vehicle during the driving process is determined as a road section.
4. The method according to claim 3, characterized in that The step of analyzing the intersections passed by the target vehicle during the driving process according to the coordinate positions respectively corresponding to the multiple positions on the ground includes: Divide multiple time windows according to the preset time period length; According to the driving times corresponding to the multiple positions respectively, determining the time windows corresponding to the multiple positions respectively, the driving time corresponding to any position among the multiple positions being the time when the target vehicle passes through the any position; Analyzing whether the target vehicle turns in any time window according to the coordinate positions on the ground corresponding to the positions in the any time window; Based on determining that the target vehicle turns in the arbitrary time window, an intersection passed by the target vehicle in the arbitrary time window is determined.
5. The method according to claim 4, characterized in that The step of analyzing whether the target vehicle turns in any time window according to the coordinate positions on the ground corresponding to the positions in the any time window comprises: Determine the coordinate position on the ground corresponding to the center of gravity of the trajectory composed of the positions in the arbitrary time window according to the coordinate positions on the ground corresponding to the positions in the arbitrary time window; Determine the angles between the lines connecting the coordinate positions of the positions adjacent to each other at the corresponding driving time in the arbitrary time window and the coordinate position of the center of gravity of the trajectory; Based on the fact that the angles between the lines connecting the coordinate positions corresponding to any two adjacent positions at the corresponding driving moments in the arbitrary time window and the coordinate position of the center of gravity of the trajectory are not greater than the first preset angle, and the sum of the angles between the lines connecting the coordinate positions corresponding to all adjacent positions at the corresponding driving moments and the coordinate position of the center of gravity of the trajectory is greater than the second preset angle, it is determined that the target vehicle turns in the arbitrary time window.
6. The method according to claim 4, characterized in that The determining, based on determining that the target vehicle turns in the arbitrary time window, of the intersection passed by the target vehicle in the arbitrary time window comprises: Based on determining that the target vehicle turns in the arbitrary time window, determine the coordinate positions corresponding to the first n positions and the last n positions at the driving time in the position in the arbitrary time window, where n is a positive integer; A first straight line is obtained by fitting the coordinate positions corresponding to the first n positions, and a second straight line is obtained by fitting the coordinate positions corresponding to the last n positions; determining an intersection point of the first straight line and the second straight line; Among the coordinate positions corresponding to the positions in the arbitrary time window, the coordinate position closest to the intersection is determined as the intersection position of the intersection passed by the target vehicle in the time window.
7. The method according to claim 4, characterized in that The method further comprises: Based on the fact that the time interval between the two time windows is less than the preset time interval and the target vehicle passes through the intersection in both time windows, the intersections in the two time windows are merged into the same intersection.
8. The method according to claim 3, characterized in that The method further comprises: Based on the fact that the overlapping section length between any two road sections is greater than a preset length and the section starting points and / or section end points corresponding to the any two road sections are different, the coordinate positions on the any two road sections where the overlap changes to non-overlap are determined as the intersection positions corresponding to the intersection.
9. The method according to claim 1, characterized in that: The method further comprises: Deduplication is performed based on coordinate positions respectively corresponding to the multiple positions on the ground; The analyzing the road section passed by the target vehicle during the driving process according to the coordinates respectively corresponding to the multiple positions on the ground includes: The road section passed by the target vehicle during the driving process is analyzed according to the coordinate positions on the ground respectively corresponding to the multiple positions after deduplication.
10. The method according to claim 1, characterized in that The method further comprises: Determine the driving times corresponding to the multiple positions respectively, the driving time corresponding to any position among the multiple positions being the time when the target vehicle passes the any position; Based on the fact that the distance between the coordinate positions respectively corresponding to two adjacent positions at the driving time is less than a preset distance, removing the position corresponding to the later driving time of the two positions; The analyzing the road section passed by the target vehicle during the driving process according to the coordinate positions respectively corresponding to the multiple positions on the ground includes: The road section passed by the target vehicle during the driving process is analyzed according to the coordinate positions on the ground respectively corresponding to the multiple positions after the removal processing.
11. A road section analysis device, characterized in that: The device comprises an acquisition unit, a first determination unit, a rotation unit, a second determination unit and an analysis unit: The acquisition unit is used to acquire the longitude and latitude data corresponding to a plurality of positions passed by the target vehicle during the driving process, wherein the target vehicle is any one vehicle; The first determining unit is used to determine the initial spatial coordinate positions corresponding to the multiple positions in a spatial coordinate system with the center of the earth as the origin according to the latitude and longitude data corresponding to the multiple positions, the initial position being the first position passed by the target vehicle during the driving process; The rotation unit is used to rotate the initial spatial coordinate positions corresponding to the multiple positions respectively according to the latitude and longitude data corresponding to the initial position, so that the tangent plane of the earth corresponding to the initial position is parallel to the xy plane of the spatial coordinate system, thereby obtaining the spatial coordinate positions corresponding to the multiple positions respectively; The second determining unit is used to determine the coordinate positions composed of the coordinates corresponding to the multiple positions on the xy plane in the spatial coordinate system among the spatial coordinate positions corresponding to the multiple positions as the coordinate positions corresponding to the multiple positions on the ground; The analysis unit is used to analyze the road section passed by the target vehicle during the driving process according to the coordinate positions corresponding to the multiple positions on the ground.
12. A computer device, characterized in that: The computer device comprises a processor and a memory: The memory is used to store a computer program and transmit the computer program to the processor; The processor is used to execute the road section analysis method described in any one of claims 1-10 according to the instructions in the computer program.