Key road segment extraction method and device, equipment and storage medium

By determining key road sections in the road network based on road section attributes and trajectory traffic, and combining road section connection relationships and diversion relationships, the problem that existing technologies do not consider the road network topology is solved, and the efficiency of path planning and route recommendation is improved and data storage is achieved. reduction in quantity.

CN118629191APending Publication Date: 2024-09-10TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310269015.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-08
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The existing technology does not consider the topology of the road network when extracting key road sections from the road network, and cannot be effectively applied to path planning and route recommendation.

Method used

By determining the first key road section and the second key road section based on the attribute information and trajectory flow of each road section in the road network, and combining the connection relationship and diversion relationship between road sections, the key road section in the road network is extracted.

Benefits of technology

It realizes the consideration of topological relationships between key road sections in path planning and route recommendation, reduces the amount of data storage and calculation pressure, and improves calculation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118629191A
    Figure CN118629191A
Patent Text Reader

Abstract

The invention discloses a key road segment extraction method and device, equipment and a storage medium, and relates to the field of maps. The method comprises the steps that at least one first key road section with a first attribute in a road network is determined according to attribute information of each road section in the road network, and the attribute information is used for indicating at least one attribute of the road section; for each first key road section, at least one second key road section is determined from the road sections having the connection relation with the first key road section according to the trajectory flow of the first key road section and the trajectory flow of the road sections having the connection relation with the first key road section, and the trajectory flow refers to the number of vehicles passing through the road sections in the historical time period; and determining key road sections in the road network according to the first key road sections and the second key road sections. According to the method, the connection relation between the road sections and the shunting relation between the trajectory flow are combined, the topological structure of the road network is considered, and path planning and route recommendation can be achieved according to the obtained key road sections.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of maps, and in particular to a method, device, equipment and storage medium for extracting key road sections. Background Art

[0002] Since the road network data is relatively large, it is usually necessary to thin out the roads in the road network, extract key sections, and perform path planning and route recommendations based on the key sections to reduce the amount of data storage required.

[0003] In the related art, the key sections are extracted from the road network mainly from the perspective of traffic aspects of the sections, such as the traffic volume of the sections, the fault conditions of the sections, etc., and the sections with large traffic volume and high fault frequency are extracted.

[0004] However, the above extraction methods do not take into account the topological structure of the road network and cannot be applied to path planning and route recommendation. Summary of the invention

[0005] The embodiment of the present application provides a method, device, equipment and storage medium for extracting key road sections. The technical solution is as follows:

[0006] According to one aspect of an embodiment of the present application, a method for extracting key sections is provided, the method comprising:

[0007] Determine at least one first key road section having a first attribute in the road network according to attribute information of each road section in the road network, wherein the attribute information is used to indicate at least one attribute of the road section;

[0008] For each first key road section, determining at least one second key road section from the road sections having a connection relationship with the first key road section according to the trajectory flow of the first key road section and the trajectory flow of the road section having a connection relationship with the first key road section, wherein the trajectory flow refers to the number of vehicles passing through the road section in a historical time period;

[0009] The key sections in the road network are determined according to each of the first key sections and each of the second key sections.

[0010] According to one aspect of an embodiment of the present application, a device for extracting a key section is provided, the device comprising:

[0011] A first determination module, configured to determine at least one first key road section having a first attribute in the road network according to attribute information of each road section in the road network, wherein the attribute information is used to indicate at least one attribute of the road section;

[0012] a second determining module, configured to determine, for each first key road section, at least one second key road section from the road sections having a connection relationship with the first key road section according to the trajectory flow of the first key road section and the trajectory flow of the road section having a connection relationship with the first key road section, wherein the trajectory flow refers to the number of vehicles passing through the road section in a historical time period;

[0013] The third determining module is used to determine the key sections in the road network according to each of the first key sections and each of the second key sections.

[0014] According to one aspect of an embodiment of the present application, a server is provided, the server comprising a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the above-mentioned method for extracting key road sections.

[0015] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the above-mentioned method for extracting key sections.

[0016] According to one aspect of an embodiment of the present application, a computer program product is provided. The computer program product includes a computer program. The computer program is loaded and executed by a processor to implement the above-mentioned method for extracting key sections.

[0017] The technical solution provided in the embodiments of the present application can bring the following beneficial effects:

[0018] After determining the first key section in the road network according to the attribute information of each section in the road network, the second key section is determined according to the trajectory flow of the first key section and the trajectory flow of the section connected to the first key section. On the one hand, the process of determining the second key section combines the connection relationship between each section and the shunt relationship between the trajectory flow, and takes into account the topological structure of the road network, so that the key sections in the road network obtained do not exist independently of each other, but have corresponding topological relationships, which is conducive to path planning and route recommendation based on the obtained key sections. On the other hand, by extracting the key sections in the road network, the amount of data storage during path planning and route recommendation can be reduced, the computing pressure of the server can be reduced, and the computing efficiency can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 It is a schematic diagram of an implementation environment of a solution provided by an embodiment of the present application;

[0020] Figure 2 It is a road network schematic diagram after the key sections are extracted provided by an embodiment of the present application;

[0021] Figure 3 is a flow chart of a method for extracting key sections provided by an embodiment of the present application;

[0022] Figure 4 is a schematic diagram of a first key section and a section connected to the first key section provided by an embodiment of the present application;

[0023] Figure 5 is a schematic diagram of a process for determining a key section provided by an embodiment of the present application;

[0024] Figure 6 is a block diagram of a device for extracting key sections provided by an embodiment of the present application;

[0025] Figure 7 This is a structural block diagram of a server provided by an embodiment of the present application. DETAILED DESCRIPTION

[0026] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0027] Please refer to Figure 1 , which shows a schematic diagram of a solution implementation environment provided by an embodiment of the present application. The solution implementation environment can be implemented as a key section extraction system. The solution implementation environment may include: a terminal device 10 and a server 20.

[0028] The number of terminal devices 10 can be one or more. The terminal device 10 can be an electronic device such as a mobile phone, a tablet computer, a game console, an e-book reader, a multimedia player, a wearable device, a PC (Personal Computer), a vehicle terminal, etc. The client of the map application can be installed in the terminal device 10.

[0029] The server 20 is used to provide background services for the client of the map application installed and running in the terminal device 10. For example, the server 20 can be the background server of the above application. The server 20 can be a single server, or a server cluster composed of multiple servers, or a cloud computing service center. Optionally, the server 20 provides background services for the clients of the map application in multiple terminal devices 10 at the same time. The terminal device 10 and the server 20 can communicate with each other through the network.

[0030] The server 20 stores a road network, and the server 20 can extract key sections from the road network. The schematic diagram of the road network after extracting the key sections is as follows: Figure 2 As shown, the black bold line 21 represents the key road section in the road network.

[0031] In the embodiment of the present application, when a user initiates a route planning request on the client of the map application in the terminal device 10, the server 20 will plan at least one initial route based on the key sections in the road network according to the received request, and then improve and refine the planned initial route according to the topological structure in the road network, so as to obtain at least one complete route corresponding to the at least one initial route. The server 20 can send at least one complete route to the client, and the user can select a suitable route from it according to the actual application requirements, or the server 20 can select a recommended route from at least one complete route and send the recommended route to the client.

[0032] The embodiments of the present application can be applied to application scenarios such as mobile maps, vehicle-mounted systems, food delivery, online car-hailing, and logistics systems. By extracting key sections in the road network, key sections in the road network are obtained, and user needs such as path planning and route recommendations are realized based on the extracted key sections.

[0033] Please refer to Figure 3 , which shows a flow chart of a method for extracting key sections provided by an embodiment of the present application. The execution subject of each step of the method may be a server. The method may include at least one of the following steps 310 to 330:

[0034] Step 310: Determine at least one first key road section having a first attribute in the road network based on the attribute information of each road section in the road network, where the attribute information is used to indicate at least one attribute of the road section.

[0035] A road network refers to a road system that is interconnected and interwoven in a network within a certain area. A link is a traffic route between two adjacent nodes in a road network and is the smallest segmentation unit in the road network. A road can be divided into at least one link, so a road network can also be considered as a link system composed of several links.

[0036] The attribute information of a road section is related to many factors, including but not limited to the geographical location of the road section, road signs on the road section, building features on both sides of the road section, diversion of the road section, etc. For example, the attribute information may include whether the road section is a highway section or a city section, whether the road section is a ground road or an underground road, whether the road section is a connecting section between a main road section and an auxiliary road section, the tributaries of the road section, whether the buildings on both sides of the road section belong to a community, an enterprise, or a school, etc.

[0037] The first key link refers to a link having a first attribute in the attribute information of each link.

[0038] In some embodiments, the first attribute includes at least one of the following: there is a left turn sign on the road section; there is a right turn sign on the road section; there is a U-turn sign on the road section; the road section is a connecting section between a main section and an auxiliary section; there are entrances and exits of buildings on both sides of the road section; the road section has at least two tributary sections.

[0039] The first key section may have one of the first attributes listed above, or may have at least two of the first attributes listed above. For example, the first key section may have only a left turn sign, a right turn sign, or a U-turn sign on the section, or may have a left turn sign, a right turn sign, and a U-turn sign on the section at the same time.

[0040] In the case where there are entrances and exits of buildings on both sides of the road section, there is no specific regulation for the types of buildings on both sides of the road section. They can be entrances and exits of communities, government agencies, factories and enterprises, schools, etc. In the case where a road section has at least two branch sections, there is no specific regulation for the positional relationship between the at least two branch sections and the main section. The branch section can be located in the middle of the main section, that is, vehicles are diverted from the middle of the main section, or it can be located at the end of the main section, that is, vehicles are diverted from the exit of the main section. At least two branch sections can be located in the middle of the main section, or they can be located at the end of the main section. There can also be a branch section located in the middle of the main section, and there can be a branch section located at the end of the main section.

[0041] Generally speaking, a road section with the following attribute information can be excluded as the possibility of being the first key road section, including but not limited to a road section that is within a community, industrial park, parking lot, service area or other building complex, and a road section that has community shops on both sides, etc.

[0042] However, it should be noted that if a road section with the first attribute also has the above-mentioned exclusion attribute information, the road section with the first attribute can still be determined as the first key road section. For example, if there are shops belonging to the community on both sides of the road section, and there are entrances to the community on both sides of the road section, the road section can still be determined as the first key road section.

[0043] By referring to the attribute information of each road section, the first key road section with the first attribute can be obtained from the road network. The road section with the first attribute is usually the road section with a greater impact on path planning. Therefore, the above steps obtain the road sections with higher importance in the road network, providing an implementation basis for subsequent path planning and route recommendation.

[0044] Step 320, for each first key section, determine at least one second key section from the sections connected to the first key section based on the trajectory flow of the first key section and the trajectory flow of the sections connected to the first key section, where the trajectory flow refers to the number of vehicles passing through the section in a historical time period.

[0045] Each first key segment has at least one segment with a connection relationship, such as Figure 4 As shown, Figure 4 Sub-graph (a) shows the case where the first key segment has only one segment with a connection relationship, where segment 1 represents the first key segment, and segment 2 represents the segment with a connection relationship with segment 1. Sub-graph (b) shows the case where the first key segment has at least two segments with a connection relationship, where segment 1 represents the first key segment, and segment 2, segment 3, and segment 4 represent segments with a connection relationship with segment 1.

[0046] Having a connection relationship with the first key road section may mean that there is a road node between the two road sections, for example, there is a zebra crossing, a traffic light, a diversion intersection, etc. between the two road sections that affects the continuous travel of vehicles.

[0047] The trajectory flow of a road section refers to the number of vehicles passing through the road section in a historical time period, where the historical time period can refer to a period before the current time or any time period in the historical time period. Figure 4 In the schematic diagram of the first key section and the sections connected to the first key section, the number on each section mark represents the trajectory flow of the section. For example, in sub-graph (a), the trajectory flow of section 1 is 1000, and the trajectory flow of section 2 is 1000, and there is no diversion. In sub-graph (b), the trajectory flow of section 1 is 1000, the trajectory flow of section 2 is 5, the trajectory flow of section 3 is 400, and the trajectory flow of section 4 is 595, and there is diversion.

[0048] At least one second key section is determined from the sections having a connection relationship with the first key section according to the trajectory flow of the first key section and the trajectory flow of the sections having a connection relationship with the first key section.

[0049] In some embodiments, when the number of road segments having a connection relationship with the first key road segment is equal to 1, the road segment having a connection relationship with the first key road segment is determined as the second key road segment.

[0050] like Figure 4As shown in sub-figure (a), the first key section (section 1) has a section (section 2) with a connection relationship, then the trajectory flow of section 2 is the same as the trajectory flow of section 1, and there is no diversion in the process of trajectory flow from section 1 to section 2, and both are 1000. Therefore, on the basis that section 1 is the first key section, section 2 can be determined as the second key section. Optionally, on the basis that section 1 is the first key section, only section 1 can be retained as the key section, and section 2 is not determined as the second key section.

[0051] By determining a road section that is connected to the first key road section as the second key road section, the road sections with higher importance in the road network are retained, making the structure of the key road sections more complete and rich.

[0052] In some embodiments, when the number of sections connected to the first critical section is greater than 1, the trajectory flow corresponding to each section connected to the first critical section is obtained; based on the trajectory flow of the first critical section and the trajectory flow corresponding to each section connected to the first critical section, the diversion ratio corresponding to each section connected to the first critical section is determined; wherein the diversion ratio corresponding to the section refers to the ratio of the trajectory flow corresponding to the section to the trajectory flow of the first critical section; from each section connected to the first critical section, at least one section whose diversion ratio is greater than or equal to the first threshold is selected and determined as the second critical section.

[0053] like Figure 4 As shown in sub-figure (b), the first key section (section 1) has three sections with connection relationships, namely section 2, section 3 and section 4. According to the trajectory flow of each section, the diversion ratios corresponding to the three sections with connection relationships can be calculated. Since the trajectory flow of section 1 is 1000, the diversion ratio corresponding to section 2 is 0.005, the diversion ratio corresponding to section 3 is 0.4, and the diversion ratio corresponding to section 4 is 0.595. It is determined whether the diversion ratios corresponding to the sections with connection relationships are greater than or equal to the first threshold. If the diversion ratios are greater than or equal to the first threshold, the section is determined as the second key section.

[0054] The first threshold value is any value between 0 and 1, and this application does not limit this. For example, if the first threshold value is 0.1, then Figure 4 Sections 3 and 4 in sub-graph b are determined as the second key sections. If the first threshold is 0.5, then Figure 4 The section 4 in the sub-graph b is determined as the second critical section.

[0055] By judging whether the diversion ratios corresponding to the connected road sections are greater than or equal to the first threshold, the second key road section whose diversion ratio meets the threshold condition is obtained, and the diversion sections with smaller trajectory flow are removed, so that the extracted key road sections are more in line with the driving habits and needs of most people, thereby facilitating the provision of path planning and route recommendations for users.

[0056] Step 330: determining the key sections in the road network according to each of the first key sections and each of the second key sections.

[0057] The key sections in the road network can be determined based on the first key sections determined in step 310 and the second key sections determined in step 320. For example, each first key section and each second key section can be merged to obtain the key sections in the road network.

[0058] For example, the process of obtaining the key section can refer to Figure 5 First, according to the attribute information of each road section in the road network, at least one first key section with a first attribute is determined; secondly, according to the trajectory flow of each road section, at least one second key section is determined from the sections connected to the first key section; finally, each first key section and each second key section are merged to obtain the key sections in the road network.

[0059] The technical solution provided by the embodiment of the present application is to determine the first key section in the road network according to the attribute information of each section in the road network, and then determine the second key section according to the trajectory flow of the first key section and the trajectory flow of the section connected to the first key section. On the one hand, the process of determining the second key section combines the connection relationship between each section and the shunt relationship between the trajectory flow, and takes into account the topological structure of the road network, so that the key sections in the road network obtained do not exist independently of each other, but have corresponding topological relationships, which is conducive to path planning and route recommendation based on the obtained key sections. On the other hand, by extracting the key sections in the road network, the amount of data storage during path planning and route recommendation can be reduced, the computing pressure of the server can be reduced, and the computing efficiency can be improved.

[0060] In some embodiments, the embodiments of the present application will also divide the road network to obtain at least two road network blocks, each road network block includes at least one road segment; for each road network block, the trajectory flow of each road segment included in the road network block within the historical time period is obtained; according to the sum of the trajectory flow of each road segment included in the road network block within the historical time period, and the area of ​​the road network block, the trajectory density of the road network block is determined; when the trajectory density of the road network block is greater than or equal to the second threshold, for each first key road segment included in the road network block, the above step 320 is executed.

[0061] Optionally, the road network can be divided according to the shape of the road network. For example, the road network can be divided into square blocks with a side length of 1 km in the form of a grid to obtain at least two road network blocks. Since the shape of the road network is not necessarily regular, the area of ​​each road network block can be equal, or there can be two road network blocks with unequal areas.

[0062] The road network can also be divided according to the location of each road section in the road network. For example, the road network belonging to the urban area can be divided separately, and the road network belonging to the suburbs can be divided separately. The road network belonging to the urban area and the road network belonging to the suburbs can be divided with the same grid specifications, or the road network belonging to the urban area and the road network belonging to the suburbs can be divided with grids of different specifications. If the road network belonging to the urban area and the road network belonging to the suburbs are divided with grids of different specifications, since the trajectory flow in the urban area is usually greater than the trajectory flow in the suburbs, the road network belonging to the urban area can be divided with a smaller grid specification, and the road network belonging to the suburbs can be divided with a larger grid specification. For example, the road network belonging to the urban area can be divided into square blocks with a side length of 1 km, and the road network belonging to the suburbs can be divided into square blocks with a side length of 2 km.

[0063] After dividing the road network into at least two road network blocks, the trajectory flow of each road section included in each road network block in the historical time period is obtained, and the trajectory density of each road network block is determined according to the sum of the trajectory flow of each road section included in the road network block in the historical time period and the area of ​​the road network block.

[0064] It is determined whether the trajectory density of each road network block is greater than or equal to the second threshold. When the trajectory density of the road network block is greater than or equal to the second threshold, it indicates that each road section in the road network block has met the conditions for executing the above step 320.

[0065] Optionally, a road network block with a trajectory density greater than or equal to a second threshold value may be first obtained, and then at least one first key section with a first attribute may be determined from the obtained road network block, and then at least one second key section may be determined based on the trajectory flow of the first key section and the trajectory flow of the section connected to the first key section. Alternatively, at least one first key section in the road network may be first determined based on the attribute information of each section, and then a road network block with a trajectory density greater than or equal to a second threshold value may be obtained, and then at least one second key section may be determined based on the trajectory flow of the first key section in the obtained road network block and the trajectory flow of the section connected to the first key section.

[0066] In some embodiments, when the trajectory density of a road network block is less than a second threshold, the historical time period is extended to obtain an updated historical time period; and based on the updated historical time period, the step of determining the trajectory density of the road network block according to the sum of the trajectory flow rates of each road section included in the road network block within the historical time period and the area of ​​the road network block is started again.

[0067] For the road network blocks whose trajectory density is less than the second threshold, the road network blocks can be sorted in order of trajectory density, and then the historical time period is extended for the first time to obtain the historical time period after the first update, thereby obtaining the trajectory flow of each road section included in the road network block after the first update, and recalculating the trajectory density of each road network block. If there is a road network block whose trajectory density is greater than or equal to the second threshold among the recalculated trajectory densities of each road network block, the above step 320 is performed for the road network block whose trajectory density is greater than or equal to the second threshold.

[0068] If there are still road network blocks with trajectory density less than the second threshold value among the recalculated trajectory density of each road network block, the historical time period corresponding to the road network blocks with trajectory density less than the second threshold value will continue to be extended, and the trajectory flow of each road section within the historical time period will be filled, and the trajectory flow within a period of time will be filled each time until the trajectory density of all road network blocks is greater than or equal to the second threshold value, and the above step 320 can be executed for all road network blocks.

[0069] By dividing the road network into several road network blocks and calculating the trajectory density of each road network block, the vehicle driving conditions in each road network block can be measured, key sections can be extracted for road network blocks whose trajectory density meets the threshold conditions, and trajectory flow can be filled for road network blocks whose trajectory density does not meet the threshold conditions temporarily, so that the trajectory flow in all road network blocks reaches the same level, so that the diversion ratios corresponding to the various sections connected to the first key section obtained in step 320 have reference significance, and the obtained second key section also has reference significance accordingly.

[0070] In some embodiments, for at least one unidentified road section in the road network, characteristic information of each unidentified road section is obtained, and the unidentified road section refers to a road section for which trajectory traffic is not obtained; the similarity between the characteristic information of the unidentified road section and the characteristic information of the second key road section is determined; the unidentified road section with a similarity greater than a third threshold is determined as a third key road section; and the key sections in the road network are determined based on each first key section, each second key section and each third key section.

[0071] Since there are some sections where the track traffic cannot be obtained during the actual process of obtaining the track traffic, for example, the section may not be equipped with a device for detecting the track traffic, or the device for detecting the track traffic may fail. In order to avoid excluding the sections where the actual track traffic meets the second threshold condition from the second key sections, for the sections where the track traffic is not obtained, the characteristic information of these sections may be obtained, and the sections where the characteristic information meets the third threshold condition may be determined as the third key sections.

[0072] The characteristic information of the road section is used to indicate the road characteristics of the road section, including the road width of the road section, the road length of the road section, the number of lanes on the road section, whether there is a non-motorized vehicle lane on the road section, whether the road section is a one-way street or a two-way street, etc. The characteristic information of the unidentified road section and the characteristic information of the second key road section determined in step 320 are obtained, and the similarity between the characteristic information of each unidentified road section and the characteristic information of each second key road section is calculated. The similarity between the characteristic information of the unidentified road section and the characteristic information of the second key road section can refer to the similarity of one of the characteristic information, or the similarity of several of the characteristic information, or the similarity of all the characteristic information.

[0073] If the similarity between the feature information of the unidentified road section and the feature information of one of the second key road sections is greater than the third threshold, the unidentified road section can be determined as the third key road section. For example, it can mean that the similarity between the road width of the unidentified road section and one of the second key road sections is greater than the third threshold, or it can mean that the comprehensive similarity of the road width and the road length is greater than the third threshold, or it can mean that the similarity of all feature information is greater than the third threshold.

[0074] According to each first key section, each second key section and each third key section, the key section in the road network is determined. For example, each first key section, each second key section and each third key section can be combined to obtain the key section in the road network.

[0075] By extracting the key sections from the unidentified sections as described above, it is possible to avoid excluding the sections whose actual trajectory flow in the sections where the trajectory flow is not obtained meets the second threshold condition from the second key sections, thereby constructing a more complete structure of the key sections, which is beneficial for subsequent path planning and route recommendation.

[0076] In some embodiments, based on key sections in the road network, at least one initial route from a starting location to a target location is obtained; based on each section in the road network and at least one initial route, at least one complete route corresponding one-to-one to at least one initial route is obtained; and from the at least one complete route, a recommended route is determined.

[0077] Based on the key sections extracted above, at least one initial route from the starting point to the target point can be preliminarily planned, and then each initial route is refined and adjusted according to the complete sections in the road network to improve the integrity and smoothness of the route, thereby obtaining at least one complete route corresponding to at least one initial route. Users can travel from the starting point to the target point based on the complete route.

[0078] Optionally, the server may determine a recommended route from several complete routes based on the selection of big data or the user's daily preference, and send the determined recommended route to the client logged in by the user account. The server may also send several complete routes to the client logged in by the user account, and then the user selects a complete route from them as the determined route according to his actual application needs.

[0079] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0080] Please refer to Figure 6 , which shows a block diagram of a key section extraction device provided by an embodiment of the present application. The device has the function of implementing the above-mentioned key section extraction method, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be the terminal device introduced above, or it can be set in the terminal device. Figure 6 As shown, the device 600 may include: a first determination module 610 , a second determination module 620 , and a third determination module 630 .

[0081] The first determination module 610 is used to determine at least one first key road section with a first attribute in the road network according to attribute information of each road section in the road network, wherein the attribute information is used to indicate at least one attribute of the road section.

[0082] The second determination module 620 is used to determine at least one second key section from the sections having a connection relationship with the first key section for each first key section according to the trajectory flow of the first key section and the trajectory flow of the section having a connection relationship with the first key section, wherein the trajectory flow refers to the number of vehicles passing through the section in a historical time period.

[0083] The third determining module 630 is configured to determine the key sections in the road network according to each of the first key sections and each of the second key sections.

[0084] In some embodiments, the second determining module 620 is configured to:

[0085] When the number of the road segments connected to the first key road segment is equal to 1, the road segment connected to the first key road segment is determined as the second key road segment.

[0086] In some embodiments, the second determining module 620 is configured to:

[0087] When the number of road segments connected to the first key road segment is greater than 1, obtaining the trajectory flow corresponding to each road segment connected to the first key road segment;

[0088] Determine the flow split ratios corresponding to the various sections connected to the first key section according to the trajectory flow of the first key section and the trajectory flow corresponding to the various sections connected to the first key section; wherein the flow split ratio corresponding to the sections refers to the ratio of the trajectory flow corresponding to the sections to the trajectory flow of the first key section;

[0089] At least one section whose diversion ratio is greater than or equal to a first threshold is selected from each section connected to the first key section and determined as the second key section.

[0090] In some embodiments, the device 600 also includes a trajectory analysis module, which is used to: divide the road network to obtain at least two road network blocks, each road network block includes at least one road segment; for each road network block, obtain the trajectory flow of each road segment included in the road network block within a historical time period; determine the trajectory density of the road network block based on the sum of the trajectory flow of each road segment included in the road network block within a historical time period and the area of ​​the road network block.

[0091] The second determination module 620 is used to determine at least one second key section from the sections having a connection relationship with the first key section for each first key section included in the road network block, based on the trajectory flow of the first key section and the trajectory flow of the sections having a connection relationship with the first key section, when the trajectory density of the road network block is greater than or equal to a second threshold.

[0092] In some embodiments, the trajectory analysis module is also used to: when the trajectory density of the road network block is less than the second threshold, extend the historical time period to obtain an updated historical time period; and based on the updated historical time period, again start from the step of determining the trajectory density of the road network block according to the sum of the trajectory flow rates of each road section included in the road network block within the historical time period and the area of ​​the road network block.

[0093] In some embodiments, the third determination module 630 is further configured to:

[0094] For at least one unidentified road section in the road network, obtaining characteristic information of each unidentified road section, wherein the unidentified road section refers to a road section for which no track flow is obtained;

[0095] Determining the similarity between the characteristic information of the unidentified road section and the characteristic information of the second key road section;

[0096] Determine the unidentified road section with a similarity greater than a third threshold as a third key road section;

[0097] The key sections in the road network are determined according to each of the first key sections, each of the second key sections and each of the third key sections.

[0098] In some embodiments, the first attribute includes at least one of the following:

[0099] There is a left turn sign on the road section;

[0100] There is a right turn sign on the road section;

[0101] The road section has a U-turn mark;

[0102] The road section is a connecting section between a main road section and an auxiliary road section;

[0103] There are entrances and exits of buildings on both sides of the road section;

[0104] The section has at least two branch sections.

[0105] In some embodiments, the device 600 further includes a route recommendation module, which is used to:

[0106] Acquire at least one initial route from a starting point to a target point according to key road segments in the road network;

[0107] According to each road segment in the road network and the at least one initial route, at least one complete route corresponding to the at least one initial route is obtained;

[0108] From the at least one complete route, a recommended route is determined.

[0109] After determining the first key section in the road network according to the attribute information of each section in the road network, the second key section is determined according to the trajectory flow of the first key section and the trajectory flow of the section connected to the first key section. On the one hand, the process of determining the second key section combines the connection relationship between each section and the shunt relationship between the trajectory flow, and takes into account the topological structure of the road network, so that the key sections in the road network obtained do not exist independently of each other, but have corresponding topological relationships, which is conducive to path planning and route recommendation based on the obtained key sections. On the other hand, by extracting the key sections in the road network, the amount of data storage during path planning and route recommendation can be reduced, the computing pressure of the server can be reduced, and the computing efficiency can be improved.

[0110] It should be noted that the device provided in the above embodiment, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the content structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0111] Please refer to Figure 7 , which shows a structural block diagram of a server 700 provided in one embodiment of the present application. The server 700 can be any electronic device with data calculation, processing and storage functions. The server 700 can be used to implement the key section extraction method provided in the above embodiment.

[0112] Typically, the server 700 includes a processor 701 and a memory 702 .

[0113] The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 701 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). The processor 701 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 701 may also include an AI processor, which is used to process computing operations related to machine learning.

[0114] The memory 702 may include one or more computer-readable storage media, which may be non-transitory. The memory 702 may also include a high-speed random access memory and a non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 702 is used to store a computer program, which is configured to be executed by one or more processors to implement the above-mentioned key section extraction method.

[0115] Those skilled in the art will understand that Figure 7 The structure shown in the figure does not constitute a limitation on the server 700, and the server 700 may include more or less components than those shown in the figure, or combine some components, or adopt a different arrangement of components.

[0116] In an illustrative embodiment, a computer-readable storage medium is also provided, wherein a computer program is stored in the storage medium, and when the computer program is executed by a processor of a server, the above-mentioned method for extracting key sections is implemented. Optionally, the above-mentioned computer-readable storage medium may be a ROM (Read-Only Memory), a RAM (Random Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, etc.

[0117] In an exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program stored in a computer-readable storage medium. A processor of a server reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the server executes the above-mentioned method for extracting key sections.

[0118] It should be noted that the information and data involved in this application (including but not limited to the attribute information, trajectory traffic, characteristic information, etc. of each road section in the road network) are obtained with the authorization of the user or with the full authorization of all parties, and the collection, use and processing of relevant information and data must comply with the relevant laws, regulations and standards of relevant countries and regions.

[0119] It should be understood that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. In addition, the step numbers described in this article only illustrate a possible execution sequence between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to the diagram. The embodiments of the present application are not limited to this.

[0120] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for extracting key road sections, characterized in that: The method comprises: Determine at least one first key road section having a first attribute in the road network according to attribute information of each road section in the road network, wherein the attribute information is used to indicate at least one attribute of the road section; For each first key road section, determining at least one second key road section from the road sections having a connection relationship with the first key road section according to the trajectory flow of the first key road section and the trajectory flow of the road section having a connection relationship with the first key road section, wherein the trajectory flow refers to the number of vehicles passing through the road section in a historical time period; The key sections in the road network are determined according to each of the first key sections and each of the second key sections.

2. The method according to claim 1, characterized in that The determining at least one second key section from the sections having a connection relationship with the first key section according to the trajectory flow of the first key section and the trajectory flow of the sections having a connection relationship with the first key section comprises: When the number of the road segments connected to the first key road segment is equal to 1, the road segment connected to the first key road segment is determined as the second key road segment.

3. The method according to claim 1, characterized in that The determining at least one second key section from the sections having a connection relationship with the first key section according to the trajectory flow of the first key section and the trajectory flow of the sections having a connection relationship with the first key section comprises: When the number of road segments connected to the first key road segment is greater than 1, obtaining the trajectory flow corresponding to each road segment connected to the first key road segment; Determine the flow split ratios corresponding to the various sections connected to the first key section according to the trajectory flow of the first key section and the trajectory flow corresponding to the various sections connected to the first key section; wherein the flow split ratio corresponding to the sections refers to the ratio of the trajectory flow corresponding to the sections to the trajectory flow of the first key section; At least one section whose diversion ratio is greater than or equal to a first threshold is selected from each section connected to the first key section and determined as the second key section.

4. The method according to claim 1, characterized in that: The method further comprises: Dividing the road network to obtain at least two road network blocks, each road network block including at least one road section; For each road network block, obtaining the trajectory flow of each road section included in the road network block within a historical time period; Determine the trajectory density of the road network block according to the sum of the trajectory flow of each road section included in the road network block in the historical time period and the area of ​​the road network block; When the trajectory density of the road network block is greater than or equal to a second threshold, for each first key segment included in the road network block, the step of determining at least one second key segment from the segments having a connection relationship with the first key segment based on the trajectory flow of the first key segment and the trajectory flow of the segments having a connection relationship with the first key segment is performed.

5. The method according to claim 4, characterized in that The method further comprises: When the trajectory density of the road network block is less than the second threshold, the historical time period is extended to obtain an updated historical time period; and based on the updated historical time period, the step of determining the trajectory density of the road network block according to the sum of the trajectory flow rates of each road section included in the road network block within the historical time period and the area of ​​the road network block is started again.

6. The method according to claim 1, characterized in that The method further comprises: For at least one unidentified road section in the road network, obtaining characteristic information of each of the unidentified road sections, wherein the unidentified road section refers to a road section for which no track flow is obtained; Determining the similarity between the feature information of the unidentified road section and the feature information of the second key road section; Determine the unidentified road section with a similarity greater than a third threshold as a third key road section; Determining the key sections in the road network according to each of the first key sections and each of the second key sections includes: The key sections in the road network are determined according to each of the first key sections, each of the second key sections and each of the third key sections.

7. The method according to claim 1, characterized in that The first attribute includes at least one of the following: There is a left turn sign on the road section; There is a right turn sign on the road section; The road section has a U-turn mark; The road section is a connecting section between a main road section and an auxiliary road section; There are entrances and exits of buildings on both sides of the road section; The section has at least two branch sections.

8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: Acquire at least one initial route from a starting point to a target point according to key road segments in the road network; According to each road segment in the road network and the at least one initial route, at least one complete route corresponding to the at least one initial route is obtained; From the at least one complete route, a recommended route is determined.

9. A device for extracting key road sections, characterized in that: The device comprises: A first determination module, configured to determine at least one first key road section having a first attribute in the road network according to attribute information of each road section in the road network, wherein the attribute information is used to indicate at least one attribute of the road section; a second determining module, configured to determine, for each first key road section, at least one second key road section from the road sections having a connection relationship with the first key road section according to the trajectory flow of the first key road section and the trajectory flow of the road section having a connection relationship with the first key road section, wherein the trajectory flow refers to the number of vehicles passing through the road section in a historical time period; The third determining module is used to determine the key sections in the road network according to each of the first key sections and each of the second key sections.

10. A server, characterized in that: The server includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the method for extracting key sections as described in any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is loaded and executed by a processor to implement the method for extracting key road sections as described in any one of claims 1 to 8.

12. A computer program product, characterized in that The computer program product comprises a computer program, and the computer program is loaded and executed by a processor to implement the method for extracting key sections as claimed in any one of claims 1 to 8.