Data processing method and device based on road network, electronic equipment and storage medium

By fusing road test data with road network data and matching sampling points to road network nodes, the problem of low data utilization efficiency in the existing technology is solved, refined classification statistics and automatic analysis of data are realized, and data processing efficiency is improved.

CN118797545APending Publication Date: 2024-10-18CHINA MOBILE GROUP DESIGN INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310988268.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-07
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In the existing technology, road test data are presented in scattered points or rasterized forms, which makes it impossible to accurately compare historical data or present specified road types, resulting in low utilization efficiency.

Method used

By fusing the road test data of the target area with the road network data, matching the sampling points to the road network nodes, the road network road fusion data is obtained, and the corresponding target search data is obtained based on the search information to conduct refined classification statistics on the map.

Benefits of technology

It improves the processing efficiency of road test data, realizes refined classification statistics and automatic analysis of data, and enhances data retrieval and presentation capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118797545A_ABST
    Figure CN118797545A_ABST
Patent Text Reader

Abstract

The invention relates to a data processing method and device based on a road network, electronic equipment and a storage medium. The method comprises the steps of obtaining road test data in a target area; fusing the road test data with the road network data of the target area to obtain road network and road fusion data; wherein target nodes are obtained based on actual road nodes in the road network data, sampling points in the road test data are matched to the corresponding target nodes, communication paths among the target nodes are obtained based on an obtained matching sequence, and the sampling points in the road test data are matched to the corresponding paths. Obtaining road network road fusion data; and receiving search information for the road network road fusion data, and obtaining target search data corresponding to the search information. In this way, corresponding data can be conveniently obtained from the road network road fusion data according to the search information, refined classification statistics can be conveniently carried out on the road test data, and the processing efficiency of the road test data can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing technology, and in particular to a data processing method, device, electronic device and storage medium based on a road network. Background Art

[0002] As urbanization continues to increase, the corresponding road infrastructure is also constantly changing, causing the roads in many cities to change constantly. This requires continuous acquisition of road traffic conditions in order to guide users' travel. The road test data used to compare whether the roads in a specified area have been tested or to count the test mileage ratio is generally used as an auxiliary descriptive indicator to determine whether the test is detailed enough.

[0003] However, in related technologies, road test data are usually presented as discrete scattered points or rasterized results. Since the scattered point mode cannot accurately compare historical data or competitor data, and the rasterized summary is suitable for the presentation of complete surface data, and cannot present specified road types, the utilization efficiency of road test data in related technologies is low. Summary of the invention

[0004] The present invention provides a data processing method, device, electronic device and storage medium based on a road network.

[0005] According to a first aspect of the present disclosure, a data processing method based on a road network is provided, the method comprising:

[0006] Acquire road test data within the target area;

[0007] The road test data is merged with the road network data of the target area to obtain road network fusion data; wherein, the target node is obtained based on the actual road node in the road network data, the sampling points in the road test data are matched to the corresponding target nodes, and the paths connecting the target nodes are obtained based on the obtained matching order, and the road network fusion data is obtained by matching the sampling points in the road test data to the corresponding paths;

[0008] Receive search information for the road network road fusion data, and obtain target search data corresponding to the search information in the road network road fusion data.

[0009] According to a second aspect of the present disclosure, a data processing device based on a road network is provided, the device comprising:

[0010] A road test data module, used to obtain road test data in a target area;

[0011] A data fusion module, used for fusing the road test data with the road network data of the target area to obtain road network fusion data; wherein, the target node is obtained based on the actual road node in the road network data, the sampling points in the road test data are matched to the corresponding target nodes, and the paths connected between the target nodes are obtained based on the obtained matching order, and the road network fusion data is obtained by matching the sampling points in the road test data to the corresponding paths;

[0012] The data acquisition receiving module is used to receive search information for the road network road fusion data, and obtain target search data corresponding to the search information in the road network road fusion data.

[0013] According to a third aspect of the present disclosure, an electronic device is provided, which includes a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the program, the method described above is implemented.

[0014] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the above method of the present disclosure is implemented.

[0015] The data processing method, device, electronic device and storage medium based on the road network provided by the embodiment of the present disclosure obtain the road test data in the target area, fuse the road test data with the road network data in the target area, and obtain the road network road fusion data. Among them, the target node can be obtained based on the actual road node in the road network data, the sampling points in the road test data are matched to the corresponding target node, and the path connected between the target nodes is obtained based on the obtained matching order, and the road network road fusion data is obtained by matching the sampling points in the road test data to the corresponding path. And by receiving the search information of the road network road fusion data, the target search data corresponding to the search information is obtained in the road network road fusion data. In the embodiment, the road network road fusion data is obtained by fusing the road test data with the road network data in the target area. In this way, the corresponding target search data can be easily obtained in the road network road fusion data according to the search information, so that by rendering the target search data and displaying it on the map, it is convenient to perform refined classification statistics on the road test data, and the processing efficiency of the road test data can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Further details, features and advantages of the present disclosure are disclosed in the following description of exemplary embodiments in conjunction with the accompanying drawings, in which:

[0017] Figure 1 A schematic diagram of a road network data description provided for an exemplary embodiment of the present disclosure;

[0018] Figure 2 A schematic diagram of road network data display provided for another exemplary embodiment of the present disclosure;

[0019] Figure 3 A schematic diagram of a virtual node provided for an exemplary embodiment of the present disclosure;

[0020] Figure 4 A schematic diagram of the connectivity status between virtual nodes provided by an exemplary embodiment of the present disclosure;

[0021] Figure 5 A flow chart of a data processing method based on a road network provided for an exemplary embodiment of the present disclosure;

[0022] Figure 6 A schematic block diagram of functional modules of a road network-based data processing device provided for an exemplary embodiment of the present disclosure;

[0023] Figure 7 A structural block diagram of an electronic device provided for an exemplary embodiment of the present disclosure;

[0024] Figure 8 A structural block diagram of a computer system provided for an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0025] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0026] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0027] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc. mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0028] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0029] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0030] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0031] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0032] As an optional but non-limiting implementation, in response to receiving an active request from the user, the method of sending a prompt message to the user may be, for example, a pop-up window, in which the prompt message may be presented in text. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device. It is understandable that the above notification and the process of obtaining user authorization are only illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0033] In the embodiments provided in the present disclosure, in order to improve the utilization efficiency of road test data, by integrating the road test data with the road network data, relevant road test data is retrieved from the index of regular map roads, which facilitates the refined classification and statistics of the road test data and automatic analysis based on this.

[0034] In the embodiment, the road network data may include a road network topology file, which is the basis of navigation and can be represented by a data structure in the form of "arc-node". An arc is defined by two endpoints: a start node indicating the start position of the arc and an end node indicating the end position of the arc. Due to such a structure, as long as the road segments are connected from beginning to end, the connectivity of the road network can be guaranteed. On this basis, various applications such as navigation can be realized.

[0035] from Figure 1 As can be seen from the figure, there are adjacent edges in the intersection, and the edges share the same nodes. For example, the starting ID of segment 1 is 10 and the ending ID is 11; the starting ID of segment 2 is 11 and the ending ID is 12. Segments 1 and 2 are connected through node 11. Figure 1 The same is true for other road sections and nodes in the network. Therefore, the road section topology network with this kind of description is the road network topology file. For example, Figure 2 As shown, Figure 2 A road topology file for an area.

[0036] Therefore, the embodiment of the present disclosure can directly add the road test data to the road network file description according to the actual road network topology file through the control of each process link, so as to achieve the purpose of retrieving different data and presenting statistics through the attribute setting of the road network file itself, which can specifically include the following steps:

[0037] Step S1, road network topology file preparation.

[0038] By selecting the previously processed road network topology file, the road network topology file contains three aspects of description, describing points, lines, and relationships respectively. The description of points involves two categories: road intersections and points used on Ways (roads), which are distinguished by tags. The attribute information of lines mainly describes each paragraph, the set of sequential points involved, and the paragraph in the embodiment refers to a section of road or the path between two nodes. In the embodiment, the related Ways numbers under the same relationship body can be saved through the relationship table, and the tag attribute contains the road grade and name description information of this relationship.

[0039] Step S2, test file reading.

[0040] Since each processing may contain multiple test files, and a test file may be composed of multiple actual files. Therefore, in order to ensure the accuracy of subsequent processing, when reading the file, a flag is added to the data stream according to the time span of the file sampling point (for example, whether it is greater than 5 minutes) and the file switching flag. For example, for a spliced ​​file, it is necessary to add a flag at the time jump, for example, when the time span exceeds 5 minutes, no flag is added at the time jump to distinguish the road test data in different time periods.

[0041] Step S3, determining the virtual node.

[0042] Since the scope of the urban topology is much larger than the area where data is loaded, in order to improve the processing speed, the intersection set of the road network topology will be filtered according to the scope of the data area, and a virtual point set will be generated according to the distance aggregation threshold. Figure 3 This is an example of generating virtual nodes for a region. The black dots are virtual nodes generated by aggregating the actual road nodes according to the 50-meter convergence principle. For example, the actual road nodes within a 50-meter radius of an intersection can be aggregated into a virtual node. An intersection can include multiple actual road nodes, such as a 4-way intersection, which can include at least 4 actual road nodes.

[0043] In the embodiment, the connectivity between virtual points can be determined based on the connectivity of actual road nodes, so as to effectively reduce the total amount of node data and improve the calculation efficiency when the path planning link between two points is subsequently called. For example, if the connectivity of the road between two actual road nodes is connected, then the connectivity of the road between the two virtual nodes to which the two road nodes belong is also connected.

[0044] Step S4, testing the matching between the sampling point and the intersection point.

[0045] In the embodiment, since the road test data includes many sampling points, the sampling points represent the data collected by the relevant equipment during the actual road driving process, and each sampling point can carry location information such as longitude and latitude. The sampling points can be matched with the actual road nodes within the preset range, and the sampling points with a matching distance of, for example, 50 meters can be retained. The actual road node closest to the sampling point can be obtained, and all sampling points within 50 meters of the actual road node can be retained. The matching relationship between the sampling point and the actual road node closest to the matching distance, as well as the distance between the sampling point and the actual road node matched by it can be recorded through an intermediate processing table containing a time sequence.

[0046] Step S5, virtual node set arrangement. In the embodiment, for example, in the matching result of a path, the actual road nodes and the virtual nodes to which they belong can be arranged, and only the virtual node sequence set is retained, and then the direction jump information in the time dimension is obtained.

[0047] Step S6: pre-matching.

[0048] In the embodiment, the jump sequence of the virtual points obtained above can be used. If the virtual points have a direct relationship, the actual road node data contained in the two virtual points can be used to generate a dot matrix relationship table, and the planning path module can be called to obtain the corresponding path. The planning path module can use the relevant algorithm of the standard two-point path planning, pass the node matrix relationship table and the starting point and end point, and return the calculated path. The original sampling point is projected on the path to obtain the path relationship point.

[0049] In the embodiment, the roads and road indexes matched by the actual sampling points may be added. If there is no direct relationship between two sequential virtual points, matching is performed according to the following principles.

[0050] For example, A, B, C, and D are respectively the virtual nodes obtained by the above matching, and are sorted in time. Segment AB has been matched normally, and segment BC has no direct relationship, so C can be discarded and D can be used. If there is a direct relationship between BD, the planned route between BD is used. If there is no direct relationship between BD, B is discarded, and the direct relationship between AC is determined. If it exists, the planned route between AC is used. If there is no direct relationship between AC, the data of segment BC is not matched for the time being, and is left as continuous unmatched data to be processed in the next link, and the CD segment is continued to be processed. In this way, the direct road conditions between virtual nodes A, B, C, and D can be determined. It should be noted that the direct connection in the embodiment means connectivity, which indicates the traffic status of the road.

[0051] For example Figure 4 As shown, the four virtual nodes 29992, 22237, 22238 and 3047 can be matched sequentially. Since there is no direct relationship from 29992 to 22237, the next node 22238 is used directly. There is a direct relationship between 29992 and 22238, so the final matching sequence is 29992-22238-3047. Figure 4 The larger black dots represent virtual nodes, and the smaller black dots represent actual road nodes.

[0052] At the same time, after matching, the distance deviation between the original position of the sampling point and the projection point on the road will also be calculated. If it is greater than the set distance (for example, 50 meters), and if it is a continuous number of sampling points (for example, more than 4), they will be listed as continuous unmatched data.

[0053] Step S7, correcting the continuous unmatched data.

[0054] Continuous unmatched data may be generated, for example, in the following situations:

[0055] First, when testing a road, there may be a situation where the vehicle turns back before reaching an intersection, which will cause the data segment to be unable to match the corresponding road and lead to projection errors.

[0056] Secondly, due to the previous incorrect node matching, the wrong route may be retrieved, which may lead to incorrect matching of sampling points. For example, for sections such as viaducts, the sampling points on the bridge are easily matched to the nodes of the actual road under the bridge, resulting in incorrect matching. Once the matching in the previous step is wrong, it will cause continuous matching errors of subsequent sampling points, that is, projection errors. At this time, by calculating the deviation distance between the projection point and the actual point of this section, when the proportion of error data is greater than the set value, this section of data can also be regarded as continuous unmatched data.

[0057] Finally, since the road network topology file is missing roads, the sampling points cannot be matched to the correct roads.

[0058] The first two of the above three situations need to be corrected, and the start time, end time and direction of each problematic section can be obtained according to the test file and the problematic section.

[0059] In the embodiment, a convergence time window can be set, for example, the default convergence is 2 minutes, and it is determined whether there is the next problem point B within the range from the end time of problem point A to 2 minutes. If there is a problem point B, it is determined whether the directions of the two problem points are consistent. In the embodiment, the directions of the two problem points can be determined to be consistent when the deviation between the beginning and end direction of one problem point and the end direction of another problem point is within 30°. If consistent, the search is continued from the end time of problem point B to 2 minutes until no new problem road section appears, and a problem set is obtained, and the data in the range of the problem points (including the start time of problem point A to the end time of problem point B) in the converged problem set are re-matched to the assigned road section.

[0060] According to the longitude and latitude information carried by the original data in each problem set, the maximum and minimum values ​​of longitude and latitude can be obtained, so that a rectangular area can be determined according to the maximum and minimum values ​​of longitude and latitude, and the aspect ratio of this rectangular area is determined, and the short side is expanded by a preset length to obtain a new rectangular area, for example, the preset length can be 50 meters. In this way, the width of the rectangular area can be increased, so that the sampling points in the road test data can be better matched to the corresponding road.

[0061] In an embodiment, the data to be matched can be divided into multiple parts according to the corresponding time according to the virtual node affiliation of the previous match. The data of each paragraph is then generated in a small area. For example, the roads that are included or intersected are found in the road set A, and the average distances from the points in the paragraph to the found line segments are calculated respectively. The line with the lowest average value is the test road, and this section of data is projected onto this road. For example, for the sampling points in a certain paragraph, the two nearest roads can be selected from the existing roads, and the distances to these two line segments are calculated according to the positions of the original data points. The road with the smallest average distance is selected as the selected road, and the data of this section is projected onto the selected road to correct the sampling points with continuous matching errors.

[0062] For each problem set and the sampling points in each segment contained in each problem set, the above process is used to process. The matching result according to the existing route is obtained. If the sampling point of the road still cannot be matched or the distance after matching is greater than the set deviation, it can be recorded as an unmatched sampling point, and the original longitude and latitude information carried by the sampling point can be used. In this way, the road network fusion data can be obtained after the road test data and the road network data are fused.

[0063] Step S8, outputting the intermediate table of the composite loading.

[0064] After the above steps, the road test data has been modified according to the road network topology file so that the sampling points match the relevant roads. At this time, the processing results are saved as an intermediate table to respond to subsequent data retrieval. Among them, the roads correspond to logical numbers, and the sampling points can be associated with specific roads.

[0065] Step S9: filtering the data to be presented.

[0066] In the embodiment, the search condition can be determined by specifying the area range. For example, a region can be specified as the search condition, and relevant results can be searched within the region.

[0067] In the embodiment, the attribute information carried by the road comes from the information when the road network topology is made. If the data comes from OpenStreetMap, the data type fclass can be used to distinguish the road type. In addition, the road name of the original map information can also be used as search information. The fused data can be searched for information by one or a combination of the area range, the attribute information of the road and the road name.

[0068] Step S10, averaging the data according to the set distance dimension.

[0069] In the embodiment, the display accuracy can also be set, and different display accuracy can be set or not set, and the result of the previous step retrieval is averaged according to the set conditions to obtain the process point that needs to be rendered. Taking the sweep frequency data as an example, the data within the index range is averaged according to the frequency point of the signal according to the road number and the road index.

[0070] In the data matching process, each sampling point is marked with the road ID and road index ID. The road index ID represents the distance from the starting position of the road to the current position (unit: meter). For example, when the accuracy is 50 meters, the data in the original 0-50 index range will be aggregated and averaged, and the processing result will be placed at index 25.

[0071] Step S11, various types of rendering are performed, and data can be filtered according to road grade, name, and area affiliation to generate data to be rendered, and then various types of rendering can be performed on the data to be rendered, for example, the rendering result of a specified road filter is displayed on the map.

[0072] In the embodiment, during the network optimization planning process, the analysis and presentation of linear road data is different from the analysis and presentation of area data. The area index presentation statistics of the existing network generally adopts a rasterization method, and the data content that needs to be counted can be quickly obtained through indexing. However, the road test data in the related technology cannot be classified and retrieved because it is not attributed to the matching road. The disclosed embodiment calls the existing road network topology data when loading data, and adds road network data tags to the road test data. Therefore, the road test data that originally does not have the retrieval capability can be retrieved by region, road grade or road name, etc., which can improve the processing efficiency of road test data and provide a basis for automated process comparison.

[0073] Based on the above embodiments, the present disclosure also provides a data processing method based on a road network, such as Figure 5 As shown, the method may include the following steps:

[0074] In step S510, road test data within a target area is acquired.

[0075] In an embodiment, the number of road tests in a target area can be obtained. For example, the target area can be the road test data of a certain city, or it can be an area of ​​a specific area in a certain city, etc. The embodiment is not limited thereto. For example, it can be that a vehicle equipped with a laser radar is driving on the road, and point cloud data on the road is obtained in real time, or the positioning data of the vehicle in the driving process is obtained in real time through a positioning device on the vehicle. Therefore, the road test data can be positioning data or point cloud data, etc. The road test data contains the position information of the vehicle during driving. For example, the positioning data can also be sampled and processed to obtain positioning data or position information at each time point or position, etc.

[0076] In step S520, the road test data is merged with the road network data of the target area to obtain the road network fusion data. The target node is obtained based on the actual road node in the road network data, the sampling points in the road test data are matched to the corresponding target nodes, and the paths connected between the target nodes are obtained based on the obtained matching order, and the road network fusion data is obtained by matching the sampling points in the road test data to the corresponding paths.

[0077] In the embodiment, a sampling point in the road test data can be obtained, and the sampling point corresponds to the position information or positioning data of the vehicle during the driving process, such as Figure 4 As shown, the sampling points can be Figure 4 Each black point in the road test data, such as black points 3310, 3312, 3314 and 3317, etc. Therefore, the road test data may include multiple sampling points.

[0078] Road network data can contain multiple actual road nodes. For example, a road intersection can contain multiple actual road nodes, and actual road nodes can also form corresponding paths based on directness. The path refers to the road that can travel together. Therefore, the target node can be an actual road node, and the test node can be matched to the corresponding actual road node, so that other test nodes can be matched to the paths connected between the actual road nodes, realizing the fusion of road test data and road network data, and obtaining road network road fusion data.

[0079] In the embodiment, since one intersection generally corresponds to multiple actual road nodes, in order to improve the efficiency of data fusion, multiple actual road nodes within a preset range can be aggregated into a virtual node, and the virtual node can be used as the target node. In this way, the actual road node matched by the test node can be obtained, and the test node can be matched to the virtual node to which the actual road node belongs, so as to achieve the matching between the test node and the virtual node, and match other test nodes to the path between the virtual nodes. Among them, when the path between two actual road nodes is in a straight-through state, it can be determined that the paths respectively belonging to the two virtual nodes are also in a straight-through state. Specifically, the sampling points can be matched to the corresponding virtual nodes according to the order of the sampling points in the road test data, so that the path between the virtual nodes can be obtained according to the matching order of the matched virtual nodes.

[0080] In step S530, search information for the road network fusion data is received, and target search data corresponding to the search information is obtained from the road network fusion data.

[0081] In an embodiment, search information may be received, for example, the search information is search information input by a user, and is used to search for corresponding road test data. In an embodiment, the search information may include search conditions such as a search area or a road name, so that target search data corresponding to the search information may be obtained.

[0082] The data processing method based on the road network provided by the embodiment of the present disclosure obtains the road test data in the target area, and fuses the road test data with the road network data in the target area to obtain the road network road fusion data. And by receiving the search information of the road network road fusion data, the target search data corresponding to the search information is obtained in the road network road fusion data. In the embodiment, the road network road fusion data is obtained by fusing the road test data with the road network data in the target area, so that the corresponding content to be displayed can be easily obtained in the road network road fusion data according to the search information. So as to render the target search data and then display it on the map, it is convenient to carry out refined classification statistics of the road test data and improve the processing efficiency of the road test data.

[0083] Based on the above embodiment, in another embodiment provided by the present disclosure, the target node includes a virtual node, and the above step S520 may further include the following steps:

[0084] Step S521, obtaining actual road nodes in the road network data.

[0085] Step S522: aggregate actual road nodes into virtual nodes, and obtain paths between virtual nodes based on a matching order.

[0086] Step S523, matching the sampling points to the paths between the virtual nodes to obtain road network fusion data.

[0087] In the embodiment, Figure 2 As shown, Figure 2 is the road network file corresponding to the target area, which includes multiple actual road nodes. In many cases, one intersection includes multiple actual road nodes, and it becomes cumbersome to obtain the paths between the actual road nodes. Therefore, multiple actual road nodes within a certain range can be aggregated into a virtual node. For example, the location information of multiple actual road nodes can be obtained respectively, the distance between each actual road node can be obtained based on the location information of each actual road node, and the multiple actual road nodes can be aggregated into a virtual node based on the distance between each actual road node. Among them, the distance between the actual road nodes contained in the virtual node is less than the preset distance.

[0088] In the embodiment, the connectivity between virtual points can be determined based on the connectivity between actual road nodes. For example, if two actual road nodes are connected, then the road connectivity between two virtual nodes to which the two road nodes belong is also connected. In this way, by aggregating multiple actual road nodes into corresponding virtual nodes, the total amount of node data can be effectively reduced when the path planning link between the two points is subsequently called, thereby improving the calculation efficiency.

[0089] Based on the above embodiment, in another embodiment provided by the present disclosure, the method may further include the following steps:

[0090] Step S610: Obtain the matching order of sampling points and virtual nodes.

[0091] Step S620: When the virtual nodes are connected, obtain the paths between the virtual nodes and match the sampling points to the corresponding paths.

[0092] In an embodiment, the sampling points can be matched to the corresponding virtual nodes according to the order of the sampling points in the road test data, so that the path between the virtual nodes can be obtained according to the matching order of the matched virtual nodes. For example, the road test data is matched to virtual node A, virtual node B and virtual node C in sequence according to the time sequence of acquisition, so that the first path between virtual node A and virtual node B and the second path between virtual node B and virtual node C can be obtained. If the first path is connected, the corresponding sampling points in the road test data can be matched to the first path. Similarly, the sampling points in the road test data can also be matched to the second path. The first path and the second path belong to the actual roads in the road network data, so that the sampling points can be integrated into the corresponding actual roads, which is convenient for processing and displaying the road test data.

[0093] For example, when judging whether the above-mentioned first path is in a connected state, the connectivity between the actual road node corresponding to the virtual node A and the actual road node corresponding to the virtual node B can be judged. If the actual road nodes belonging to the two virtual nodes are in a connected state, then the path between the two virtual nodes is also in a connected state.

[0094] In the embodiment, when there is no connectivity between virtual nodes, the abnormal virtual nodes in the virtual nodes are excluded; the roads between the abnormal virtual nodes and the remaining virtual nodes are not connected. Therefore, if there is a virtual node that is not connected with other virtual nodes, the corresponding virtual node needs to be discarded. For example, the above Figure 4 In the corresponding embodiment, the data sequentially matches the four virtual nodes 29992, 22237, 22238 and 3047. Since there is no direct connection from virtual node 29992 to virtual node 22237, the next node 22238 is used directly. There is a direct connection between 29992 and 22238, so virtual node 22237 is discarded. The final matching link sequence is 29992-22238-3047.

[0095] Based on the above embodiment, in another embodiment provided by the present disclosure, the method may further include the following steps:

[0096] Step S630, obtaining continuous unmatched sampling points in the road test data.

[0097] The continuous unmatched sampling points include a plurality of sampling points that are not matched to virtual nodes continuously.

[0098] Step S640: correct the continuous unmatched sampling points so that the continuous unmatched sampling points are matched to corresponding virtual nodes or paths.

[0099] In the embodiment, the embodiment corresponding to S7 can be combined, and the continuous unmatched sampling points can include the above three situations. For the first two situations, they are caused by the matching process of the road test data and the road network data, which requires correction. The specific correction processing method can refer to the corresponding description in the above embodiment, which will not be repeated here. By correcting the continuous unmatched sampling points, the continuous unmatched sampling points can be matched to the corresponding virtual nodes or paths, so as to achieve better fusion of the road test data and the road network data.

[0100] Based on the above embodiment, in another embodiment provided by the present disclosure, the method may further include the following steps:

[0101] Step S650, obtaining the intermediate table.

[0102] The intermediate table includes the correspondence between the sampling points in the road test data and the paths in the road network data.

[0103] In the embodiment, the continuous unmatched sampling points are corrected as described above so that the sampling points are matched to the relevant roads, and the processing results are saved as an intermediate table to respond to subsequent data retrieval.

[0104] Step S660: Based on the search information, query the intermediate table for target search data that matches the search information.

[0105] In the embodiment, the area range can be specified by the search information, and the search condition can be determined by the area range. For example, a certain area or a certain road can be specified as the search condition, and relevant results can be searched in the area.

[0106] Step S670, rendering the target search data to obtain target rendering data, and displaying the target rendering data in the road network data.

[0107] In an embodiment, data filtering may be performed according to road grade, name, and region affiliation to generate data to be rendered, and then various types of rendering may be performed on the data to be rendered, such as displaying the rendering result of a specified road filter on a map.

[0108] In the case of dividing each functional module according to each function, an embodiment of the present disclosure provides a data processing device based on a road network, and the data processing device based on a road network can be a server or a chip applied to a server. Figure 6 A schematic block diagram of the functional modules of a data processing device based on a road network provided by an exemplary embodiment of the present disclosure. Figure 6 As shown, the data processing device based on the road network includes:

[0109] A road test data module 10, used to obtain road test data in a target area;

[0110] The data fusion module 20 is used to fuse the road test data with the road network data of the target area to obtain road network fusion data; wherein, the target node is obtained based on the actual road node in the road network data, the sampling points in the road test data are matched to the corresponding target nodes, and the paths connected between the target nodes are obtained based on the obtained matching order, and the road network fusion data is obtained by matching the sampling points in the road test data to the corresponding paths;

[0111] The data acquisition receiving module 30 is used to receive search information for the road network road fusion data, and obtain target search data corresponding to the search information in the road network road fusion data.

[0112] In another embodiment provided by the present disclosure, the target node includes a virtual node; the data fusion module includes:

[0113] Acquire actual road nodes in the road network data;

[0114] Aggregating the actual road nodes into virtual nodes, and obtaining paths between the virtual nodes based on the matching order;

[0115] The sampling points are matched to the paths to obtain the road network fusion data.

[0116] In another embodiment provided by the present disclosure, the device further includes:

[0117] A location information acquisition module, used to acquire location information of a plurality of actual road nodes;

[0118] An aggregation module is used to obtain distance information between each actual road node based on the position information, and aggregate the multiple actual road nodes into a virtual node based on the distance between each actual road node; wherein the distance between each actual road node contained in the virtual node is less than a preset distance.

[0119] In another embodiment provided by the present disclosure, the device further includes:

[0120] A matching order determination module, used to obtain a matching order between the sampling points and the virtual nodes;

[0121] The matching module is used to obtain the path between the virtual nodes when the virtual nodes are connected, and match the sampling point to the corresponding path.

[0122] In another embodiment provided by the present disclosure, the device further includes:

[0123] The abnormal node exclusion module is used to exclude abnormal virtual nodes among the virtual nodes when there is no connectivity between the virtual nodes; the roads between the abnormal virtual nodes and the remaining virtual nodes have no connectivity.

[0124] In another embodiment provided by the present disclosure, the device further includes:

[0125] A sampling point acquisition module, used to acquire continuous unmatched sampling points in the road test data; the continuous unmatched sampling points include a plurality of sampling points that are continuously unmatched to the virtual nodes;

[0126] The sampling point correction module is used to correct the continuous unmatched sampling points so that the continuous unmatched sampling points are matched to corresponding virtual nodes or paths.

[0127] In another embodiment provided by the present disclosure, the device further includes a display module, and the display module is specifically used to:

[0128] Acquire an intermediate table; the intermediate table includes a correspondence between sampling points in the road test data and paths in the road network data;

[0129] Based on the search information, searching the intermediate table for target search data that matches the search information;

[0130] The target search data is rendered to obtain target rendering data, and the target rendering data is displayed in the road network data.

[0131] The data processing method based on the road network provided by the embodiment of the present disclosure obtains the road test data in the target area, and fuses the road test data with the road network data in the target area to obtain the road network road fusion data. And by receiving the search information of the road network road fusion data, the target search data corresponding to the search information is obtained in the road network road fusion data. In the embodiment, the road network road fusion data is obtained by fusing the road test data with the road network data in the target area, so that the corresponding content to be displayed can be easily obtained in the road network road fusion data according to the search information. So that by rendering the target search data and then displaying it on the map, it is convenient to carry out refined classification statistics of the road test data and improve the processing efficiency of the road test data.

[0132] An embodiment of the present disclosure also provides an electronic device, comprising: at least one processor; and a memory for storing instructions executable by the at least one processor; wherein the at least one processor is configured to execute the instructions to implement the above method disclosed in the embodiment of the present disclosure.

[0133] Figure 7 The structure diagram of an electronic device provided by an exemplary embodiment of the present disclosure is shown in FIG. Figure 7 As shown, the electronic device 1800 includes at least one processor 1801 and a memory 1802 coupled to the processor 1801. The processor 1801 can execute corresponding steps in the above method disclosed in the embodiment of the present disclosure.

[0134] The processor 1801 may also be referred to as a central processing unit (CPU), which may be an integrated circuit chip having signal processing capabilities. Each step in the method disclosed in the embodiment of the present disclosure may be completed by an integrated logic circuit of hardware in the processor 1801 or by instructions in the form of software. The processor 1801 may be a general-purpose processor, a digital signal processor (DSP), an ASIC, a field-programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present disclosure may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in a decoding processor. The software module may be located in a memory 1802, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, or other mature storage media in the art. The processor 1801 reads the information in the memory 1802 and completes the steps of the method in combination with its hardware.

[0135] In addition, when various operations / processes according to the present disclosure are implemented by software and / or firmware, they can be transmitted from a storage medium or a network to a computer system having a dedicated hardware structure, such as Figure 8 The computer system 1900 shown is installed with the programs constituting the software. When the various programs are installed, the computer system can perform various functions, including the functions described above. Figure 8 A structural block diagram of a computer system provided for an exemplary embodiment of the present disclosure.

[0136] Computer system 1900 is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0137] like Figure 8As shown, the computer system 1900 includes a computing unit 1901, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1902 or a computer program loaded from a storage unit 1908 to a random access memory (RAM) 1903. In the RAM 1903, various programs and data required for the operation of the computer system 1900 can also be stored. The computing unit 1901, the ROM 1902, and the RAM 1903 are connected to each other via a bus 1904. An input / output (I / O) interface 1905 is also connected to the bus 1904.

[0138] A plurality of components in the computer system 1900 are connected to the I / O interface 1905, including: an input unit 1906, an output unit 1907, a storage unit 1908, and a communication unit 1909. The input unit 1906 may be any type of device capable of inputting information to the computer system 1900, and the input unit 1906 may receive input digital or character information, and generate key signal inputs related to user settings and / or function control of the electronic device. The output unit 1907 may be any type of device capable of presenting information, and may include, but is not limited to, a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 1908 may include, but is not limited to, a disk, an optical disk. The communication unit 1909 allows the computer system 1900 to exchange information / data with other devices over a network such as the Internet, and may include, but is not limited to, a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth™ device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.

[0139] The computing unit 1901 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1901 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1901 performs the various methods and processes described above. For example, in some embodiments, the above methods disclosed in the embodiments of the present disclosure may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 1908. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 1900 via the ROM 1902 and / or the communication unit 1909. In some embodiments, the computing unit 1901 may be configured to perform the above methods disclosed in the embodiments of the present disclosure in any other appropriate manner (e.g., by means of firmware).

[0140] The embodiment of the present disclosure further provides a computer-readable storage medium, wherein when instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the above method disclosed in the embodiment of the present disclosure.

[0141] The computer-readable storage medium in the disclosed embodiments may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. The computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. More specifically, the computer-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0142] The computer-readable medium may be included in the electronic device, or may exist independently without being installed in the electronic device.

[0143] The embodiments of the present disclosure further provide a computer program product, including a computer program, wherein when the computer program is executed by a processor, the above method disclosed in the embodiments of the present disclosure is implemented.

[0144] In embodiments of the present disclosure, computer program codes for performing the operations of the present disclosure may be written in one or more programming languages ​​or combinations thereof, including but not limited to object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer.

[0145] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0146] The modules, components or units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the names of the modules, components or units do not, in some cases, limit the modules, components or units themselves.

[0147] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

[0148] The above descriptions are only some embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, a technical solution formed by replacing the above features with the technical features with similar functions disclosed in the present disclosure (but not limited to).

[0149] Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims

1. A data processing method based on a road network, characterized in that: The method comprises: Acquire road test data within the target area; fusing the road test data with the road network data of the target area to obtain fused road network data; wherein, target nodes are obtained based on actual road nodes in the road network data, sampling points in the road test data are matched to corresponding target nodes, and paths connecting the target nodes are obtained based on the obtained matching order, and the fused road network data is obtained by matching the sampling points in the road test data to the corresponding paths; Search information for the road network fusion data is received, and target search data corresponding to the search information is acquired from the road network fusion data.

2. The method according to claim 1, characterized in that The target node includes a virtual node; and fusing the road test data with the road network data of the target area includes: Obtaining actual road nodes in the road network data; Aggregating the actual road nodes into virtual nodes, and obtaining the paths between the virtual nodes based on the matching order; The sampling points are matched to the paths to obtain the road network fusion data.

3. The method according to claim 2, characterized in that The method further comprises: Acquiring location information of a plurality of actual road nodes; The distances between the actual road nodes are acquired based on the position information, and the multiple actual road nodes are aggregated into a virtual node based on the distances between the actual road nodes; wherein the distances between the actual road nodes included in the virtual node are less than a preset distance.

4. The method according to claim 2, characterized in that The method further comprises: Obtaining a matching order between the sampling points and the virtual nodes; In the case that the virtual nodes are connected, the paths between the virtual nodes are obtained, and the sampling points are matched to the corresponding paths.

5. The method according to claim 4, characterized in that The method further comprises: In the case where there is no connectivity between the virtual nodes, an abnormal virtual node among the virtual nodes is excluded; and the roads between the abnormal virtual node and the remaining virtual nodes have no connectivity.

6. The method according to claim 2, characterized in that The method further comprises: Acquire continuous unmatched sampling points in the road test data; the continuous unmatched sampling points include a plurality of sampling points that are continuously unmatched to the virtual node; The continuous unmatched sampling points are corrected so that the continuous unmatched sampling points are matched to corresponding virtual nodes or paths.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: Obtaining an intermediate table; the intermediate table includes a correspondence between sampling points in the road test data and paths in the road network data; Based on the search information, searching the intermediate table for target search data that matches the search information; The target search data is rendered to obtain target rendering data, and the target rendering data is displayed in the road network data.

8. A data processing device based on a road network, characterized in that: The device comprises: Road test data module, used to obtain road test data in the target area; a data fusion module, configured to fuse the road test data with the road network data of the target area to obtain fused road network data; wherein the target nodes are obtained based on actual road nodes in the road network data, sampling points in the road test data are matched to the corresponding target nodes, and paths connecting the target nodes are obtained based on the obtained matching order, and the fused road network data is obtained by matching the sampling points in the road test data to the corresponding paths; The data acquisition and receiving module is used to receive search information for the road network road fusion data and obtain target search data corresponding to the search information in the road network road fusion data.

9. An electronic device, characterized in that: include: at least one processor; a memory for storing the at least one processor-executable instruction; The at least one processor is configured to execute the instructions to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the method according to any one of claims 1 to 7.