Road intersection determination method, device, electronic device and storage medium

By acquiring and dividing the driving trajectory and determining road intersections based on the characteristics of the trajectory segments, the problem of low efficiency in determining road intersections in the existing technology is solved, and efficient and accurate road intersection recognition is achieved.

CN116052453BActive Publication Date: 2024-10-11GUANGZHOU XIAOPENG CONNECTIVITY TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211743621.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-30
Publication Date
2024-10-11
Estimated Expiration
2042-12-30

Smart Images

  • Figure CN116052453B_ABST
    Figure CN116052453B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, electronic device and storage medium for determining a road intersection. The method comprises: obtaining a driving trajectory data set; dividing each driving trajectory of a plurality of driving trajectories into a plurality of trajectory segments; obtaining driving characteristics of a plurality of trajectory segments; wherein the driving characteristics of the trajectory segments are used to indicate at least one of the following: the geographical location corresponding to the trajectory segment, the driving direction corresponding to the trajectory segment, and the driving speed corresponding to the trajectory segment; based on the driving characteristics of the plurality of trajectory segments, determining the road intersection within the target space range. The technical solution provided in the embodiment of the present application enables the electronic device to screen out trajectory segments with common characteristics based on the driving characteristics of the plurality of trajectory segments, and determine the geographical location corresponding to the screened trajectory segments as the road intersection within the target space range, so that the road intersection within the target space range can be determined simply and efficiently.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic maps, and in particular to a method, device, electronic device and storage medium for determining a road intersection. Background Art

[0002] In technical fields such as advanced driver assistance and autonomous driving, vehicle driving usually relies on high-precision maps, which provide detailed lane-level road information.

[0003] The production of high-precision maps requires accurate determination of road intersections. The road intersection determination method provided by the related art is as follows: an image acquisition device and a positioning device are provided on the vehicle, and the image acquisition device is used to acquire an environmental image of the vehicle. When an intersection is identified in the environmental image, the geographical location located by the positioning device at the time of acquisition of the environmental image is obtained, thereby determining the road intersection.

[0004] The road intersection determination method provided by the related art has low efficiency in determining road intersections. Summary of the invention

[0005] The present application proposes a road intersection determination method, device, electronic device and storage medium.

[0006] In a first aspect, an embodiment of the present application provides a method for determining a road intersection, the method comprising: obtaining a driving trajectory data set, the driving trajectory data set including multiple driving trajectories within a target space range; dividing each of the multiple driving trajectories into multiple trajectory segments; obtaining driving characteristics of the multiple trajectory segments; wherein the driving characteristics of the trajectory segments are used to indicate at least one of the following: a geographical location corresponding to the trajectory segment, a driving direction corresponding to the trajectory segment, and a driving speed corresponding to the trajectory segment; based on the driving characteristics of the multiple trajectory segments, determining a road intersection within the target space range.

[0007] In a second aspect, an embodiment of the present application provides a road intersection determination device, which includes: a data acquisition module, used to acquire a driving trajectory data set, the driving trajectory data set including multiple driving trajectories within a target space range; a trajectory division module, used to divide each of the multiple driving trajectories into multiple trajectory segments; a feature acquisition module, used to acquire driving characteristics of the multiple trajectory segments; wherein the driving characteristics of the trajectory segments are used to indicate at least one of the following: a geographical location corresponding to the trajectory segment, a driving direction corresponding to the trajectory segment, and a driving speed corresponding to the trajectory segment; an intersection determination module, used to determine a road intersection within the target space range based on the driving characteristics of the multiple trajectory segments.

[0008] In a third aspect, an embodiment of the present application provides a vehicle, comprising: one or more processors; a memory; and one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the road intersection determination method as described in the first aspect.

[0009] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer program instructions are stored. The computer program instructions can be called by a processor to execute the road intersection determination method as in the first aspect.

[0010] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when executed, is used to implement the road intersection determination method as described in the first aspect.

[0011] Compared with the prior art, the road intersection determination method provided in the embodiment of the present application obtains a large number of driving trajectories within the target space range, and then divides the above-mentioned driving trajectories into trajectory segments, and determines the road intersections within the target space range based on the driving characteristics of each trajectory segment. Since the driving trajectories at the road intersections usually have some common characteristics, such as the existence of intersecting trajectories, deceleration before reaching the road intersection, acceleration after passing the road intersection, and two almost overlapping driving trajectories having different driving directions when passing the road intersection, etc., the electronic device can filter out the trajectory segments with the above-mentioned common characteristics based on the driving characteristics of multiple trajectory segments, and determine the geographical locations corresponding to the filtered trajectory segments as the road intersections within the target space range, so as to simply and efficiently determine the road intersections within the target space range. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0013] Figure 1 It is a schematic diagram of the implementation environment provided by the embodiment of the present application.

[0014] Figure 2 This is a flow chart of a road intersection determination method provided by an embodiment of the present application.

[0015] Figure 3 This is a flowchart of a road intersection determination method provided by another embodiment of the present application.

[0016] Figure 4This is a schematic diagram of determining a road intersection provided by an embodiment of the present application.

[0017] Figure 5 This is a schematic diagram of determining a road intersection provided by an embodiment of the present application.

[0018] Figure 6 It is a structural block diagram of a road intersection determination device provided by an embodiment of the present application.

[0019] Figure 7 It is a structural block diagram of an electronic device provided by an embodiment of the present application.

[0020] Figure 8 It is a structural block diagram of a computer storage medium provided by an embodiment of the present application. DETAILED DESCRIPTION

[0021] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.

[0022] In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.

[0023] Please refer to Figure 1 , which shows a schematic diagram of an implementation environment provided by an embodiment of the present application. The implementation environment includes an electronic device 100, which can be a server, a server cluster consisting of multiple servers, or a cloud computing service center. In some embodiments, the electronic device 100 can be a background server corresponding to a map application.

[0024] In some embodiments, the implementation environment also includes multiple vehicles 200, and the multiple vehicles 200 are all connected to the electronic device 100. During the driving process, the vehicle 200 obtains its own geographical location through a positioning module (such as a GPS module) at predetermined intervals, thereby obtaining the driving trajectory of the vehicle 200. The vehicle 200 can also obtain the speed of the vehicle 200 through a speed sensor at predetermined intervals, thereby obtaining the speed of the vehicle 200 at each trajectory point. The vehicle 200 can also obtain its own driving direction through a direction sensing device at predetermined intervals, thereby obtaining the driving direction of the vehicle 200 at each trajectory point. The vehicle 200 can report the driving trajectory to the electronic device 100 through the above-mentioned communication connection at the end of the driving, and the driving trajectory includes the geographical location, speed, driving direction, etc. of each trajectory point.

[0025] In an embodiment of the present application, the electronic device 100 can obtain multiple driving trajectories within the target space range, and each driving trajectory can be divided into multiple trajectory segments. Then, based on the driving characteristics of each trajectory segment, the intersection within the target space range is determined. Since the driving trajectories at the intersection usually have some common characteristics, such as the existence of intersecting trajectories, deceleration before reaching the intersection, acceleration after passing the intersection, and two almost overlapping driving trajectories having different driving directions when passing the intersection, etc., the electronic device 100 can filter out the trajectory segments with the above-mentioned common characteristics based on the driving characteristics of each trajectory segment, and determine the geographical location of the filtered trajectory segment as the intersection position within the target space range, so as to accurately and efficiently determine the intersection within the target space range.

[0026] Please refer to Figure 2 , which shows a flow chart of a road intersection determination method provided by an embodiment of the present application, which can be applied to Figure 1 In the electronic device 100 of the embodiment, the method may include the following steps S201-S204.

[0027] Step S201, obtaining a driving trajectory data set.

[0028] The driving trajectory data set includes multiple driving trajectories within a target spatial range. The target spatial range is set based on experiments or experience, and illustratively, the target spatial range is 10 km.

[0029] The driving trajectory refers to the line segment connected by the geographical locations that the vehicle passes through when driving. In some embodiments, the vehicle includes a positioning module. During driving, the vehicle collects its own geographical location through the positioning module at predetermined intervals to obtain a driving trajectory. The predetermined period can be set by default by the vehicle, or it can be customized by a technician according to the accuracy requirements of the driving trajectory. In an embodiment of the present application, when obtaining the driving trajectory, the vehicle can also obtain information such as the driving direction and driving speed at the trajectory point, so that each trajectory point in the driving trajectory has three attributes: geographical location, driving direction and driving speed.

[0030] The driving trajectory within the target space range may be a complete driving trajectory or a partial driving trajectory intercepted from other driving trajectories. In addition, the embodiment of the present application does not limit the starting position and the end position of the driving trajectory within the target space range. The number of driving trajectories can be actually determined according to the determination accuracy of the road intersection. The higher the determination accuracy of the road intersection, the more driving trajectories are required. The lower the determination accuracy requirement of the road intersection, the fewer driving trajectories can be.

[0031] In some embodiments, the electronic device may receive driving trajectories sent by multiple vehicles, and then filter out driving trajectories within the target space from the driving trajectories sent by the multiple vehicles, thereby obtaining a driving trajectory data set. Filtering the driving trajectories within the target space may be implemented in the following two ways.

[0032] In one implementation, for each driving trajectory, the electronic device obtains the geographic location information of the trajectory points in the driving trajectory, and the geographic location range corresponding to the target space range, obtains the number of designated trajectory points in the driving trajectory whose geographic location information belongs to the geographic location range corresponding to the above-mentioned target space range, and determines the driving trajectory with a number of designated trajectory points greater than a preset number as a driving trajectory within the target space range. For example, driving trajectory A includes 700 designated trajectory points whose geographic location information belongs to the geographic location range corresponding to the above-mentioned target space range, and the preset number is 500, then driving trajectory A is a driving trajectory within the target space range.

[0033] In another implementation, for each driving trajectory, the electronic device obtains the geographic location information of the trajectory points in the driving trajectory, and the geographic location range corresponding to the target space range, obtains the number of designated trajectory points in the driving trajectory whose geographic location information belongs to the geographic location range corresponding to the above-mentioned target space range, and the ratio of the number to the total number of trajectory points included in the driving trajectory, and determines the driving trajectory with a ratio greater than a preset ratio as a driving trajectory within the target space range. For example, driving trajectory B includes 1,000 trajectory points, and there are 800 designated trajectory points whose geographic location information belongs to the geographic location range corresponding to the above-mentioned target space range, then the ratio is 80%, and the preset ratio is 60%, then driving trajectory B is a driving trajectory within the target space range.

[0034] In other embodiments, the electronic device may obtain the driving trajectory data set from a driving trajectory database. In some embodiments, different storage paths of the driving trajectory database store driving trajectory data sets of different spatial ranges. When the driving trajectory database is set in the electronic device, the electronic device may determine the storage path of the driving trajectory data set within the target spatial range, and then directly read the driving trajectory data set of the target spatial range from the storage path; when the driving trajectory database is another device independent of the electronic device, the electronic device may send a data acquisition request to the other device that sets the driving trajectory database, and then the other device that sets the driving trajectory database may return the driving trajectory data set of the target spatial range to the electronic device based on the data acquisition request.

[0035] In some embodiments, the electronic device obtains the driving trajectory data set after obtaining the map generation instruction and executes subsequent steps. Further, the electronic device obtains the driving trajectory data set and executes subsequent steps when determining that the electronic map to be generated includes the target space range.

[0036] Step S202: divide each of the plurality of driving trajectories into a plurality of trajectory segments.

[0037] The division principle of dividing the driving trajectory into multiple trajectory segments can be a specified length, a driving direction, or a driving speed. It should be noted that the electronic device uses the same division principle to divide all driving trajectories. In addition, the embodiment of the present application does not limit the number of trajectory segments obtained by dividing a driving trajectory, and the number of trajectory segments obtained by dividing different trajectory segments can be the same or different.

[0038] When the division principle is the specified length, the electronic device divides each driving trajectory into multiple trajectory segments, and the trajectory length of each trajectory segment is the specified length. When the division principle is the driving direction, the electronic device divides each driving trajectory into multiple trajectory segments, and adjacent trajectory segments in the multiple trajectory segments have different driving directions. When the division principle is the driving speed, the electronic device divides each driving trajectory into multiple trajectory segments, and the driving speeds of the trajectory points in the same trajectory segment belong to the same specified speed range.

[0039] In some embodiments, after dividing the trajectory segments to obtain multiple trajectory segments, the electronic device may further simplify each trajectory segment. Specifically, the electronic device connects the first trajectory point and the last trajectory point included in the trajectory segment to obtain a directed line segment for representing the trajectory segment.

[0040] Step S203, obtaining driving characteristics of multiple trajectory segments.

[0041] The driving characteristics of the track segment are used to indicate at least one of the following: a geographical location corresponding to the track segment, a driving direction corresponding to the track segment, and a driving speed corresponding to the track segment.

[0042] The geographical location corresponding to the trajectory segment may be the geographical location range corresponding to the directed line segment mentioned above. Specifically, the electronic device obtains the geographical locations corresponding to the starting point and the end point of the directed line segment respectively, and then determines the geographical location range between the two as the geographical location corresponding to the trajectory segment. The driving direction corresponding to the trajectory segment is also the direction of the directed line segment. In one example, the electronic device may predefine a reference line, and indicate the driving direction corresponding to the trajectory segment by the angle between the directed line segment and the reference line. The driving speed corresponding to the trajectory segment may be the average speed of the vehicle traveling on the trajectory segment, or it may be a speed curve corresponding to the driving speeds corresponding to each trajectory point in the trajectory segment. In the embodiments of the present application, only the latter is taken as an example for explanation.

[0043] Step S204: determining a road intersection within the target space range based on the driving characteristics of the plurality of trajectory segments.

[0044] Driving trajectories at intersections usually have some common features, such as intersecting trajectories, deceleration before reaching the intersection, acceleration after passing the intersection, and two almost overlapping driving trajectories having different driving directions when passing the intersection. In the embodiment of the present application, the electronic device can screen out trajectory segments with the above common features based on the driving features of multiple trajectory segments, and determine the geographical location corresponding to the screened trajectory segments as the intersection position within the target space range, thereby achieving simple and efficient determination of the intersection within the target space range.

[0045] In summary, the road intersection determination method provided in the embodiment of the present application obtains a large number of driving trajectories within the target space range, and then divides the above-mentioned driving trajectories into trajectory segments, and determines the road intersections within the target space range based on the driving characteristics of each trajectory segment. Since the driving trajectories at the road intersections usually have some common characteristics, such as the existence of intersecting trajectories, deceleration before reaching the road intersection, acceleration after passing the road intersection, and two almost overlapping driving trajectories having different driving directions when passing the road intersection, etc., the electronic device can filter out the trajectory segments with the above-mentioned common characteristics based on the driving characteristics of multiple trajectory segments, and determine the geographical locations corresponding to the filtered trajectory segments as the road intersections within the target space range, so as to simply and efficiently determine the road intersections within the target space range.

[0046] See also Figure 3 , which shows a flow chart of a road intersection determination method provided by an embodiment of the present application. The method is applied to Figure 1 In the electronic device 100, the method includes the following steps S301-S306.

[0047] Step S301, obtaining a driving trajectory data set.

[0048] The driving trajectory dataset includes multiple driving trajectories within the target space.

[0049] In some embodiments, after obtaining the driving trajectory data set, it is also necessary to perform data cleaning on multiple driving trajectories within the target space to obtain a data set of driving trajectory data after data cleaning. The driving trajectory data set after data cleaning is concentrated on multiple driving trajectories within the target space for determining road intersections. In the embodiment of the present application, data cleaning is used to remove obviously unreasonable driving trajectories, thereby avoiding the above-mentioned unreasonable driving trajectories from interfering with the road intersection determination result, so as to make the road intersection determination result more accurate.

[0050] In a first possible implementation, the electronic device obtains the number of abnormal trajectory points in multiple driving trajectories in the driving trajectory data set, and removes the first target driving trajectory whose number of abnormal trajectory points is greater than a preset number. The preset number can be set based on experiments or experience, and the embodiment of the present application does not limit this. Abnormal trajectory points are also called noise points, which usually deviate from the driving trajectory, usually due to drift of the positioning signal. If the number of abnormal trajectory points is large, it means that the driving trajectory is inaccurate and therefore needs to be removed.

[0051] In a second possible implementation, the electronic device obtains the driving speeds corresponding to the multiple driving trajectories in the driving trajectory data set, and removes the second target driving trajectory whose absolute value of the difference between the driving speed and the speed limit information of the target road is greater than a preset value. The speed limit information of the target road refers to the maximum speed when driving on the target road, such as 80km / h. The preset value is set based on experiments or experience, and the embodiment of the present application does not limit this. In the case where the difference between the driving speed of the vehicle and the speed limit information of the target road is too large, the driving trajectory may be caused by the driver encountering an accident or drinking, and has no reference value, so it needs to be removed.

[0052] In a third possible implementation, the electronic device obtains curvature information corresponding to a plurality of driving trajectories in the driving trajectory data set, and removes the third target driving trajectory corresponding to the abnormal curvature information in the curvature information. Curvature information refers to the rotation rate of the tangent direction angle to the arc length at a point on the curve, which is defined by differentiation and indicates the degree to which the curve deviates from a straight line. Abnormal curvature information refers to excessive curvature. If abnormal curvature occurs, it means that the vehicle suddenly turns during driving. At this time, the driving trajectory has no reference value and therefore needs to be removed.

[0053] Step S302: divide each of the plurality of driving trajectories into a plurality of trajectory segments.

[0054] Step S303: Acquire driving characteristics of multiple trajectory segments.

[0055] The driving characteristics of the track segment are used to indicate at least one of the following: a geographical location corresponding to the track segment, a driving direction corresponding to the track segment, and a driving speed corresponding to the track segment.

[0056] Step S304: Obtain feature vectors corresponding to the plurality of trajectory segments.

[0057] The feature vector corresponding to the trajectory segment is used to characterize the driving characteristics of the trajectory segment. The dimension of the feature vector is the same as the number of driving characteristics of the trajectory segment, that is, one driving feature of the trajectory segment can be represented by a one-dimensional feature vector. In an embodiment of the present application, the trajectory segment has three driving characteristics such as geographical location, driving direction, and driving speed, then the feature vector corresponding to the trajectory segment can be represented by a three-dimensional feature vector. Exemplarily, trajectory segment A can be represented by the vector [pos1, V1, θ1], where pos1 represents the geographical location of the trajectory segment, V1 represents the driving speed of the trajectory segment, and θ1 represents the direction of the driving trajectory.

[0058] Step S305 , clustering the feature vectors corresponding to the multiple trajectory segments to obtain multiple types of trajectory segment sets.

[0059] Clustering refers to dividing a data set into different classes or clusters according to a specific standard, so that the similarity of data objects in the same cluster is as large as possible, and the difference of data objects in different clusters is as large as possible. In an embodiment of the present application, the similarity between the feature vectors corresponding to any two trajectory segments can be calculated by an inter-cluster distance measurement algorithm, and two trajectory segments with a similarity greater than a preset similarity belong to the same type of trajectory segment set. The above-mentioned inter-cluster distance algorithm can be a cosine distance, a Euclidean distance, a Minkowski distance, etc. It should be noted that when performing similarity measurement, the electronic device can set different weights for different driving characteristics.

[0060] Each type of track segment set in the multiple types of track segment sets corresponds to a common feature. The common feature includes but is not limited to: a multi-turn feature, a cross track feature, a specified speed change trend feature, etc. The acquisition process of the common feature will be described in the following embodiment.

[0061] Step S306 , determining road intersections within the target space range based on the common features corresponding to the multiple types of trajectory segment sets.

[0062] In some embodiments, when the electronic device determines that a common feature of a first type of trajectory segment set among multiple types of trajectory segment sets is a multi-turn feature, the common geographic location of the first type of trajectory segment set is determined as a road intersection within the target space range.

[0063] The multi-turn feature is used to characterize that the first trajectory segment in the first category of trajectory segment set corresponds to multiple driving directions. In some embodiments, for each category of trajectory segment set, the electronic device detects the driving direction of the trajectory segment in the trajectory segment set, or whether the driving direction of the next trajectory segment corresponding to the above trajectory segment is the same. If different, it is determined that the first trajectory segment in the trajectory segment set belongs to the same driving trajectory. The next trajectory segment belongs to the same driving trajectory as the trajectory segment in the trajectory segment set. The common geographic location of the first category of trajectory segment set can be a geographic location where a preset number or a preset proportion of trajectory segments in the first category of trajectory segments overlap with each other. Exemplarily, the first category of trajectory segment set includes 20 trajectory segments, of which the geographic locations of 17 trajectory segments overlap with each other, then the geographic locations where the 17 trajectory segments overlap are determined to be the common geographic location of the first category of trajectory segment set. Combined with reference Figure 4 The first trajectory segment in the first type of trajectory segment set has two driving directions, namely, left and right. Therefore, the common geographical location of the first type of trajectory segment set is most likely a T-junction.

[0064] In some embodiments, when the electronic device determines that the common feature of the second type of trajectory segment set in the plurality of types of trajectory segment sets is a cross-trajectory feature, the common geographic location of the second type of trajectory segment set is determined as an intersection within the target space range. The cross-trajectory feature is used to characterize that the second trajectory segment in the second type of trajectory segment set intersects with other trajectory segments, and the angle between the second trajectory segment and the other trajectory segments is greater than a preset angle. The preset angle is set based on actual experience, such as 60 degrees.

[0065] In some embodiments, for each type of track segment set, the electronic device detects whether there are other track segments in the track segment set with the same geographical location but with a driving direction difference greater than a preset difference. If there are other track segments, it means that the track segments in the track segment set have intersecting tracks. Figure 5 , the second trajectory segment in the second type of trajectory segment set corresponds to a cross trajectory, and the angle between the cross trajectory and the second trajectory segment is 90 degrees, which means that the common geographical location of the second type of trajectory segment set is most likely a crossroads.

[0066] In some embodiments, when the electronic device determines that the common feature of the third type of trajectory segment set in the multiple types of trajectory segment sets is the specified speed change trend feature, the common geographical location of the third type of trajectory segment set is determined as an intersection within the target space range, and the specified speed change trend feature is used to characterize that the third trajectory segment in the third type of trajectory segment set has a specified speed change trend, and the specified change speed trend is used to characterize that the driving speed corresponding to the third trajectory segment first decreases and then increases. When a vehicle passes a traffic light intersection, it is highly likely to decelerate first and then accelerate. Based on this principle, the electronic device can determine the geographical location corresponding to the trajectory segment with the change trend of first decreasing and then increasing driving speed as a road intersection.

[0067] In some embodiments, after determining the road intersections, the electronic device may also search for trajectory segments belonging to the same driving trajectory in the different types of trajectory segment sets, and then connect the various road intersections based on the trajectory segments belonging to the same driving trajectory to obtain a road topological relationship.

[0068] In summary, the technical solution provided by the embodiments of the present application obtains a large number of driving trajectories within the target space range, and then divides the above-mentioned driving trajectories into trajectory segments, and determines the road intersections within the target space range based on the driving characteristics of each trajectory segment. Since the driving trajectories at road intersections usually have some common characteristics, such as the existence of intersecting trajectories, deceleration before reaching the road intersection, acceleration after passing the road intersection, and two almost overlapping driving trajectories having different driving directions when passing the road intersection, etc., the electronic device can filter out the trajectory segments with the above-mentioned common characteristics based on the driving characteristics of multiple trajectory segments, and determine the geographical locations corresponding to the filtered trajectory segments as the road intersections within the target space range, so as to simply and efficiently determine the road intersections within the target space range.

[0069] See also Figure 6 , which shows a structural block diagram of a road intersection determination device provided in an embodiment of the present application, the device includes: a data acquisition module 610, a trajectory division module 620, a feature acquisition module 630 and an intersection determination module 640.

[0070] The data acquisition module 610 is used to acquire a driving trajectory data set, where the driving trajectory data set includes multiple driving trajectories within a target space range.

[0071] The trajectory division module 620 is used to divide each of the multiple driving trajectories into multiple trajectory segments.

[0072] The feature acquisition module 630 is used to acquire the driving features of multiple trajectory segments; wherein the driving features of the trajectory segments are used to indicate at least one of the following: the geographical location corresponding to the trajectory segment, the driving direction corresponding to the trajectory segment, and the driving speed corresponding to the trajectory segment.

[0073] The intersection determination module 640 is used to determine the road intersections within the target space range based on the driving characteristics of the multiple trajectory segments.

[0074] In some embodiments, the intersection determination module 640 is used to obtain feature vectors corresponding to multiple trajectory segments, where the feature vectors corresponding to the trajectory segments are used to characterize the driving characteristics of the trajectory segments; clustering is performed on the feature vectors corresponding to the multiple trajectory segments to obtain multiple categories of trajectory segment sets, where each category of trajectory segment sets in the multiple categories of trajectory segment sets corresponds to common features; and based on the common features corresponding to the multiple categories of trajectory segment sets, road intersections within the target space are determined.

[0075] In some embodiments, the intersection determination module 640 is used to determine the common geographical location of the first category of trajectory segment sets as a road intersection within the target space range when it is determined that the common feature of the first category of trajectory segment sets in the multiple categories of trajectory segment sets is a multi-turn feature, and the multi-turn feature is used to characterize that the first trajectory segment in the first category of trajectory segment sets corresponds to multiple driving directions.

[0076] In some embodiments, the intersection determination module 640 is used to determine the common geographical location of the second type of trajectory segment set as a road intersection within the target space range when it is determined that the common feature of the second type of trajectory segment set in the multiple types of trajectory segment sets is a cross-trajectory feature, and the cross-trajectory feature is used to characterize that the second trajectory segment in the second type of trajectory segment set intersects with other trajectory segments, and the angle between the second trajectory segment and the other trajectory segments is greater than a preset angle.

[0077] In some embodiments, the intersection determination module 640 is used to determine the common geographical location of the third category of trajectory segment sets as a road intersection within the target space range when it is determined that the common feature of the third category of trajectory segment sets in the multiple categories of trajectory segment sets is a specified speed change trend feature, the specified speed change trend feature is used to characterize that the third trajectory segment in the third category of trajectory segment sets has a specified speed change trend, and the specified change speed trend is used to characterize that the driving speed corresponding to the third trajectory segment first decreases and then increases.

[0078] In some embodiments, the device further includes: a data cleaning module (not shown in the figure). The data cleaning module is used to clean the driving trajectory data set to obtain a driving trajectory data set after data cleaning. The driving trajectory data set after data cleaning contains multiple driving trajectories within the target space range for determining intersections within the target space range.

[0079] In some embodiments, the data cleaning module is specifically used to obtain the number of abnormal trajectory points in multiple driving trajectories in a driving trajectory data set, and remove the first target driving trajectory whose number of abnormal trajectory points is greater than a preset number; or / and, obtain the driving speeds corresponding to the multiple driving trajectories in the driving trajectory data set, and remove the second target driving trajectory whose absolute value of the difference between the driving speed and the speed limit information of the target road is greater than a preset value; or / and, obtain the curvature information corresponding to the multiple driving trajectories in the driving trajectory data set, and remove the third target driving trajectory corresponding to the abnormal curvature information in the curvature information.

[0080] In summary, the technical solution provided by the embodiments of the present application obtains a large number of driving trajectories within the target space range, and then divides the above-mentioned driving trajectories into trajectory segments, and determines the road intersections within the target space range based on the driving characteristics of each trajectory segment. Since the driving trajectories at road intersections usually have some common characteristics, such as the existence of intersecting trajectories, deceleration before reaching the road intersection, acceleration after passing the road intersection, and two almost overlapping driving trajectories having different driving directions when passing the road intersection, etc., the electronic device can filter out the trajectory segments with the above-mentioned common characteristics based on the driving characteristics of multiple trajectory segments, and determine the geographical locations corresponding to the filtered trajectory segments as the road intersections within the target space range, so as to simply and efficiently determine the road intersections within the target space range.

[0081] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0082] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.

[0083] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0084] See also Figure 7 , which shows that the embodiment of the present application also provides an electronic device 700, which includes: one or more processors 710, a memory 720, and one or more applications. Among them, the one or more applications are stored in the memory and are configured to be executed by one or more processors, and the one or more applications are configured to execute the method described in the above embodiment.

[0085] The processor 710 may include one or more processing cores. The processor 710 uses various interfaces and lines to connect various parts of the entire battery management system, and executes various functions and processes data of the battery management system by running or executing instructions, programs, code sets or instruction sets stored in the memory 720, and calling data stored in the memory 720. Optionally, the processor 710 can be implemented in at least one hardware form of digital signal processing (DSP), field programmable gate array (FPGA), and programmable logic array (PLA). The processor 710 can integrate one or more combinations of a central processing unit 710 (CPU), a graphics processing unit 710 (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 710, but may be implemented separately through a communication chip.

[0086] The memory 720 may include a random access memory 720 (Random Access Memory, RAM), and may also include a read-only memory 720 (Read-Only Memory, ROM). The memory 720 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 720 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (e.g., a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the various method embodiments described above, etc. The data storage area may also store data created by the electronic device during use (e.g., a phone book, audio and video data, chat record data), etc.

[0087] See also Figure 8 , which shows that an embodiment of the present application also provides a computer-readable storage medium 800, in which computer program instructions 810 are stored. The computer program instructions 810 can be called by a processor to execute the method described in the above embodiment.

[0088] The computer-readable storage medium 800 may be, for example, a flash memory, an electrically erasable programmable read-only memory (EEPROM), an electrically programmable read-only memory (EPROM), a hard disk, or a read-only memory (ROM). Optionally, the computer-readable storage medium includes a non-transitory computer-readable storage medium. The computer-readable storage medium 800 has storage space for computer program instructions 810 for executing any method steps of the above method. These computer program instructions 810 may be read from one or more computer program products or may be written into one or more computer program products.

[0089] The above are only preferred embodiments of the present application, and are not intended to limit the present application in any form. Although the present application has been disclosed as above with preferred embodiments, it is not intended to limit the present application. Any technical personnel in the field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present application. However, any brief modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application are still within the scope of the technical solution of the present application.

Claims

1. A method for determining a road intersection, characterized in that: The method comprises: Acquire a driving trajectory data set, wherein the driving trajectory data set includes a plurality of driving trajectories within a target space range; Dividing each of the plurality of driving trajectories into a plurality of trajectory segments, wherein the trajectory lengths of the plurality of trajectory segments are all specified lengths, or the driving speeds of trajectory points in the same trajectory segment among the plurality of trajectory segments belong to the same specified speed interval; Acquire driving characteristics of a plurality of the trajectory segments; wherein the driving characteristics of the trajectory segments are used to indicate at least one of the following: a geographical location corresponding to the trajectory segment, a driving direction corresponding to the trajectory segment, and a driving speed corresponding to the trajectory segment, wherein the geographical location corresponding to the trajectory segment is a geographical location range corresponding to a directed line segment corresponding to the trajectory segment, wherein the directed line segment corresponding to the trajectory segment is obtained by connecting a first trajectory point and a last trajectory point included in the trajectory segment, wherein the driving direction corresponding to the trajectory segment is a direction of the directed line segment, wherein the driving speed corresponding to the trajectory segment is an average speed of the vehicle traveling on the trajectory segment, or a speed curve corresponding to the driving speeds corresponding to each trajectory point in the trajectory segment; Acquire feature vectors corresponding to a plurality of the trajectory segments respectively, wherein the feature vectors corresponding to the trajectory segments are used to characterize the driving characteristics of the trajectory segments; The similarity between the feature vectors respectively corresponding to the plurality of trajectory segments is calculated by using an inter-cluster distance measurement algorithm, and two trajectory segments with a similarity greater than a preset similarity are classified into the same type of trajectory segment set to obtain multiple types of trajectory segment sets, each type of trajectory segment set in the multiple types of trajectory segment sets corresponds to a common feature, and different driving features have different weights; Based on the common features corresponding to the plurality of sets of trajectory segments, road intersections within the target space are determined.

2. The method according to claim 1, characterized in that The determining of the road intersections within the target space range based on the common features corresponding to the plurality of sets of trajectory segments respectively comprises: When it is determined that a common feature of a first type of trajectory segment set among the multiple types of trajectory segment sets is a multi-turn feature, the common geographical location of the first type of trajectory segment set is determined as a road intersection within the target space range, and the multi-turn feature is used to characterize that the first trajectory segment in the first type of trajectory segment set corresponds to multiple driving directions.

3. The method according to claim 1, characterized in that The determining of the road intersections within the target space range based on the common features corresponding to the plurality of sets of trajectory segments respectively comprises: When it is determined that a common feature of a second type of trajectory segment set among the plurality of trajectory segment sets is a cross-trajectory feature, the common geographical location of the second type of trajectory segment set is determined as a road intersection within the target space range, and the cross-trajectory feature is used to characterize that a second trajectory segment in the second type of trajectory segment set intersects with other trajectory segments, and an angle between the second trajectory segment and the other trajectory segments is greater than a preset angle.

4. The method according to claim 1, characterized in that: The determining of the road intersections within the target space range based on the common features corresponding to the plurality of sets of trajectory segments respectively comprises: When it is determined that a common feature of a third type of trajectory segment set among the plurality of trajectory segment sets is a specified speed change trend feature, the common geographical location of the third type of trajectory segment set is determined as a road intersection within the target space range, and the specified speed change trend feature is used to characterize that the third trajectory segment in the third type of trajectory segment set has a specified speed change trend, and the specified change speed trend is used to characterize that the driving speed corresponding to the third trajectory segment first decreases and then increases.

5. The method according to any one of claims 1 to 4, characterized in that: Also includes: The driving trajectory data set is cleaned to obtain a cleaned driving trajectory data set, wherein the cleaned driving trajectory data set includes a plurality of driving trajectories within the target space range for determining intersections within the target space range.

6. The method according to claim 5, characterized in that The step of performing data cleaning on the driving trajectory data set to obtain a data cleaned driving trajectory data set includes: Acquire the number of abnormal trajectory points in the plurality of driving trajectories in the driving trajectory data set, and remove the first target driving trajectory whose number of abnormal trajectory points is greater than a preset number; or / and, Acquire the driving speeds respectively corresponding to the plurality of driving trajectories in the driving trajectory data set, and remove the second target driving trajectory whose absolute value of the difference between the driving speed and the speed limit information of the target road is greater than a preset value; or / and, The curvature information respectively corresponding to the plurality of driving trajectories in the driving trajectory data set is obtained, and the third target driving trajectory corresponding to the abnormal curvature information in the curvature information is removed.

7. A road intersection determination device, characterized in that: The device comprises: A data acquisition module, used to acquire a driving trajectory data set, wherein the driving trajectory data set includes a plurality of driving trajectories within a target space range; A trajectory division module, used for dividing each of the plurality of driving trajectories into a plurality of trajectory segments, wherein the trajectory lengths of the plurality of trajectory segments are all specified lengths, or the driving speeds of the trajectory points in the same trajectory segment in the plurality of trajectory segments belong to the same specified speed interval; a feature acquisition module, configured to acquire driving features of a plurality of the trajectory segments; wherein the driving features of the trajectory segments are used to indicate at least one of the following: a geographical location corresponding to the trajectory segment, a driving direction corresponding to the trajectory segment, and a driving speed corresponding to the trajectory segment; the geographical location corresponding to the trajectory segment is a geographical location range corresponding to a directed line segment corresponding to the trajectory segment; the directed line segment corresponding to the trajectory segment is obtained by connecting a first trajectory point and a last trajectory point included in the trajectory segment; the driving direction corresponding to the trajectory segment is a direction of the directed line segment; the driving speed corresponding to the trajectory segment is an average speed of the vehicle traveling on the trajectory segment, or a speed curve corresponding to the driving speeds corresponding to the respective trajectory points in the trajectory segment; The intersection determination module is used to obtain feature vectors corresponding to the plurality of trajectory segments, wherein the feature vectors corresponding to the trajectory segments are used to characterize the driving characteristics of the trajectory segments; the similarity between the feature vectors corresponding to the plurality of trajectory segments is calculated by an inter-cluster distance measurement algorithm, and two trajectory segments with similarities greater than a preset similarity are classified into the same type of trajectory segment set to obtain multiple types of trajectory segment sets, wherein each type of trajectory segment set in the multiple types of trajectory segment sets corresponds to a common feature, and different driving characteristics have different weights; and the road intersections within the target space range are determined based on the common features corresponding to the multiple types of trajectory segment sets.

8. An electronic device, characterized in that: include: one or more processors; Memory; One or more applications, wherein one or more of the applications are stored in the memory and configured to be executed by one or more of the processors, and one or more of the applications are configured to execute the road intersection determination method as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and the computer program instructions can be called by a processor to execute the road intersection determination method according to any one of claims 1 to 6.