A method, device, storage medium and terminal for generating map layer data
By monitoring the changes in industry data versions and generating map layer data of incremental batch data, the problem of inefficient map layer data generation in the existing technology is solved, and more efficient layer construction and data fusion are achieved.
Patent Information
- Application Number
- CN202210359240.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-07
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2042-04-07
AI Technical Summary
When generating map layer data in the prior art, full preprocessing and manual inspection are required, resulting in inefficient efficiency and inability to meet the needs of high-frequency layer production.
By monitoring the changes in industry data version information, obtaining and preprocessing the current version industry data after the version information changes, and generating multiple batches of point data collections. Then, determine whether each target point data is equivalent to the previous historical version data, determine the incremental batch data, generate map layer data of the incremental batch data, and fuse it with the previous historical version data.
Reduces the scope and time of layer construction operations, improves the work efficiency of map layer production operations, and can respond more quickly to high-frequency layer production needs.
Smart Images

Figure CN114742920B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology and geographic information technology, and in particular to a method, device, storage medium and terminal for generating map layer data. Background Art
[0002] In the context of the digital transformation of industries, the importance of electronic maps as infrastructure has become increasingly prominent, especially in industries such as transportation, where core business data revolve around electronic maps. Different business data must first be aligned in time and space based on electronic maps before further processing and application. Therefore, the spatiotemporal governance of industry data based on electronic maps is a basic issue that needs to be urgently addressed in the digital transformation of industries such as transportation.
[0003] At present, the spatial and temporal management of industry data is generally carried out by making map layers, such as Figure 1 As shown in the figure, taking the transportation industry as an example, the transportation industry data includes mileage post points, toll gantry points, bridge and tunnel points and other data. The mapping of industry data and electronic map data is realized through the map layer production process, and the electronic map is used as a carrier in the mapping process to solve the common problems of low point accuracy, data missing and logical errors in industry data. After the above-mentioned spatiotemporal governance process, accurate industry data is output in the form of layers, and the location description of these industry data is associated with the electronic map (road network layer), thereby realizing the spatial alignment and connection between different layers, so that multi-dimensional industry data can be called by upper-level businesses in the form of "one map" to meet the upper-level business's integrated application of electronic maps and different industry data.
[0004] In the existing layer production process, such as Figure 2 As shown in the figure, due to the many problems existing in industry data (taking mileage pile data as an example), before mapping with electronic maps, it is necessary to perform a series of preprocessing operations such as logic check, data filling, and position correction on the industry data based on the general GIS platform to reduce the error of mapping with electronic maps; at the same time, since electronic map mapping cannot guarantee 100% accuracy, it is necessary to manually check the mapping results, and the problems checked need to be fed back to the preprocessing stage for iterative treatment. After multiple rounds of iterations, the above process outputs the mileage pile layer to describe the accurate location of the mileage pile point in the road network. In view of the frequent changes in the version of industry data, and the proportion of the data changes each time is very small in the total amount of data, but because the general GIS platform cannot effectively record the human operation process such as data preprocessing and result checking, the data preprocessing process can only be a "full" operation rather than an "incremental" operation, which leads to serious manual duplication of labor, thereby reducing the efficiency of map layer data generation and failing to meet the increasingly high-frequency layer production needs. Summary of the invention
[0005] The embodiments of the present application provide a method, device, storage medium and terminal for generating map layer data. In order to have a basic understanding of some aspects of the disclosed embodiments, a simple summary is given below. This summary is not a general review, nor is it intended to identify key / important components or describe the scope of protection of these embodiments. Its only purpose is to present some concepts in a simple form as a preface to the detailed description that follows.
[0006] In a first aspect, an embodiment of the present application provides a method for generating map layer data, the method comprising:
[0007] When the version information of the monitored industry data changes, the current version of the industry data after the version information changes is obtained and preprocessed to generate multiple batches of point data sets;
[0008] Obtain target point data; wherein the target point data is any point data in any batch of point data sets in multiple batches of point data sets;
[0009] Determine whether each of the target point data is equivalent to the point data corresponding to the previous historical version of the industry data, and determine the point data set of the batch to which the unequal target point data belongs as the incremental batch data;
[0010] The map layer data of the incremental batch data is generated according to the incremental batch data, and the map layer data of the incremental batch data is merged with the map layer data of the previous historical version to generate the map layer data of the current version of the industry data.
[0011] Optionally, obtain and preprocess the current version of industry data after the version information changes to generate multiple batches of point data sets, including:
[0012] Get the current version industry data after the version information changes;
[0013] According to the preset data escape rules, the current version of industry data is escaped to obtain the escaped point set;
[0014] According to the preset data batch division rules, the escaped point sets are merged and then batch divided to obtain multiple batches of point data sets containing batch marks.
[0015] Optionally, judging whether each of the target point data is equivalent to the point data corresponding to the previous historical version of the industry data includes:
[0016] Obtain the first attribute set of each target point data;
[0017] Obtain historical point data corresponding to each target point data from the point data set corresponding to the previous historical version of industry data;
[0018] Get the second attribute set of each historical point data;
[0019] Determine whether a first attribute set of each target point data and a second attribute set of each corresponding historical point data are consistent;
[0020] If they are consistent, then each target point data is equivalent to the point data corresponding to the previous historical version of industry data; or,
[0021] If they are inconsistent, the inconsistent target point data are determined, and the inconsistent target point data are used as unequal target point data.
[0022] Optionally, the method further includes:
[0023] If they are consistent, the preprocessing operation sequence corresponding to the point data of the previous historical version of the industry data is called;
[0024] Automatically preprocessing the equivalent point data set according to the preprocessing operation sequence to obtain a preprocessed point data set;
[0025] Call the map matching online service;
[0026] Based on the preprocessed point data set and combined with the map matching online service, the map layer data of the current version of the industry data is generated.
[0027] Optionally, map layer data of the incremental batch data is generated according to the incremental batch data, including:
[0028] Initialize the GIS interface for incremental batch data settings;
[0029] Perform at least one round of map layer production operation on the incremental batch data according to the GIS interface to generate map layer data of the incremental batch data;
[0030] Among them, map layer production operations include data preprocessing, electronic map mapping and result checking.
[0031] Optionally, the incremental batch data is subjected to at least one round of map layer production operation according to the GIS interface to generate map layer data of the incremental batch data, including:
[0032] Extract the point data with changes in the incremental batch data, and present the point data with changes in the incremental batch data on the GIS interface;
[0033] When an operation instruction for the GIS interface is received, data preprocessing is performed on the point data presented on the GIS interface according to the operation instruction to obtain processed incremental batch data;
[0034] Call the map matching online service;
[0035] Based on the processed incremental batch data and combined with the map matching online service, the map layer data of the incremental batch data is generated.
[0036] Optionally, based on the processed incremental batch data and in combination with the map matching online service, map layer data of the incremental data is generated, including:
[0037] Input the point sequence of the processed incremental batch data into the map matching online service, and output the road segment sequence after point mapping;
[0038] Display the road section sequence after point mapping on the GIS interface;
[0039] When receiving a result confirmation instruction inputted into the GIS interface, according to the road section sequence after the point mapping, determining and outputting the road section number associated with each point in the point sequence and the electronic map;
[0040] The point sequence and the road segment number associated with each point on the electronic map are determined as map layer data of incremental data.
[0041] In a second aspect, an embodiment of the present application provides a map layer data generating device, the device comprising:
[0042] A module for generating multiple batches of point data sets is used to obtain and preprocess the current version of the industry data after the version information has changed, and generate multiple batches of point data sets when the version information of the monitored industry data has changed;
[0043] A target point data acquisition module, used to acquire target point data, wherein the target point data is any one point data in any one batch of point data sets in the multiple batches of point data sets;
[0044] A point data equivalence judgment module is used to judge whether each of the target point data is equivalent to the point data corresponding to the previous historical version of the industry data, and determine the point data set of the batch to which the non-equivalent target point data belongs as the incremental batch data;
[0045] The map layer data generation module is used to generate map layer data of the incremental batch data according to the incremental batch data, and to fuse the map layer data of the incremental batch data with the map layer data of the previous historical version to generate map layer data of the current version of the industry data.
[0046] In a third aspect, an embodiment of the present application provides a computer storage medium, which stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above-mentioned method steps.
[0047] In a fourth aspect, an embodiment of the present application provides a terminal, which may include: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the above-mentioned method steps.
[0048] The technical solution provided by the embodiments of the present application may have the following beneficial effects:
[0049] In the embodiment of the present application, the industry layer data generating device first acquires and pre-processes the current version of the industry data after the version information has changed when the version information of the industry data is monitored to have changed, generates multiple batches of point data sets, and then acquires the target point data; the target point data is any point data in any batch of point data sets in the multiple batches of point data sets, and then determines whether each of the target point data is equivalent to the point data corresponding to the previous historical version of the industry data, and determines the point data set of the batch to which the unequal target point data belongs as the incremental batch data, and finally generates the map layer data of the incremental batch data according to the incremental batch data, and fuses the map layer data of the incremental batch data with the map layer data of the previous historical version to generate the map layer data of the current version of the industry data. Since the present application only constructs the map layer data for the incremental batch data after the equivalence judgment, the scope and time of the layer construction operation are greatly reduced, and the work efficiency of the map layer production operation is improved.
[0050] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0052] Figure 1 It is a schematic diagram of an industry data governance method based on map layer production provided in an embodiment of the present application;
[0053] Figure 2 It is a schematic diagram of a map layer production operation method based on a general GIS platform provided in an embodiment of the present application;
[0054] Figure 3 It is a flowchart of a method for generating map layer data provided in an embodiment of the present application;
[0055] Figure 4 This is a schematic diagram of a map layer production method based on a dedicated GIS platform provided in an embodiment of the present application;
[0056] Figure 5It is a schematic diagram of a batch of data and a related road network part provided in an embodiment of the present application;
[0057] Figure 6 It is a structural schematic diagram of a map layer data generating device provided in an embodiment of the present application;
[0058] Figure 7 It is a structural diagram of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0059] The following description and the drawings sufficiently illustrate specific embodiments of the invention to enable those skilled in the art to practice them.
[0060] It should be clear that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0061] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are only examples of devices and methods consistent with some aspects of the present invention as detailed in the attached claims.
[0062] In the description of the present invention, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances. In addition, in the description of the present invention, unless otherwise specified, "plurality" 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 previously associated objects are in an "or" relationship.
[0063] The present application provides a method, device, storage medium and terminal for generating map layer data to solve the problems existing in the above-mentioned related technical problems. In the technical solution provided by the present application, since the present application only constructs map layer data for incremental batch data after equivalent judgment, the layer construction scope and construction time are greatly reduced, and the work efficiency of map layer production operation is improved. The following is a detailed description using an exemplary embodiment.
[0064] The following will be combined with the attached Figure 3 -Attached Figure 5, a detailed introduction to the map layer data generation method provided in the embodiment of the present application is given. The method can be implemented by a computer program and can be run on a map layer data generation device based on the von Neumann system. The computer program can be integrated into an application or run as an independent tool application.
[0065] See also Figure 3 , which is a flowchart of a method for generating map layer data in an embodiment of the present application. Figure 3 As shown, the method of the embodiment of the present application may include the following steps:
[0066] S101, when it is monitored that the version information of the industry data has changed, the current version of the industry data after the version information has changed is acquired and preprocessed to generate multiple batches of point data sets;
[0067] Among them, the current industry data is generally collected and maintained by different channels, and then summarized at the national or industry level. There are many types of industry data. Taking traffic data as an example, industry data includes mileage pile data, toll data, bridge data, tunnel data, traffic violation recording device data, intelligent traffic roadside equipment data, etc.
[0068] Usually, for the transportation industry, the channel here generally refers to the provincial competent department, because important transportation industry data such as mileage piles are generally collected and maintained by the provincial competent department. Although industry data has a unified definition and format specification at the national or industry level, there are certain differences in the definition of data in different channels, which requires preprocessing of industry data uploaded by different channels. Preprocessing specifically includes data escape operations and batch division operations.
[0069] In the embodiment of the present application, the present invention defines the escape operation as Among them, k = 1, 2, ..., K uniquely identifies a channel of industry data; τ defines the type of industry data, The content of industry data of type τ uploaded by channel k.
[0070] In the process of industry data translation, the present invention abstractly defines the content of industry data as a point set. Taking the transportation industry as an example, the transportation industry data is generally provided in the form of points or lines. By extracting key points from the lines, the present invention uniformly abstracts the industry data into a set of points, such as mileage points, bridge and tunnel points, etc.
[0071] A point is defined as a five-tuple:
[0072] p= <k,τ,(x,y),Ω)
[0073] Among them, k defines the channel of the point; τ defines the type of data; (x, y) defines the coordinates of the point; Ω is a set of attributes of the point extracted based on the industry data content, such as the pile number of the mileage pile point, the name of the highway where it is located, uplink and downlink information; the name and type of the bridge and tunnel, etc., there is p.Ω∈C k .
[0074] Industry data based on channel k The point set formed by the escape is recorded as have The point set formed by the omnichannel escape summary is recorded as
[0075] Furthermore, when the version information of the monitored industry data changes, such as the industry data Get the current version industry data after version upgrade After that, according to the escape operation method recorded by the system, execute Get the escaped point set Perform omnichannel translation on the point to get P1 τ .
[0076] In the embodiment of the present application, in order to improve the efficiency of map layer data production, the present invention converts the point set data P τ Batch division is performed, and the divided batch data is the atomic unit of map layer production, which means as follows: one or more rounds of map layer production operations are performed on a batch of data. The map layer production operation includes three steps: data preprocessing, electronic map mapping and result checking; data production operations between different batches are independent of each other.
[0077] Batch data division is an efficient way of organizing data. Compared with point-based operations, it can effectively improve the efficiency of manual operations. Furthermore, as a highly cohesive and low-coupled point set, the high cohesiveness of batch data helps improve the accuracy of map layer production. For example, dividing the mileage points in the same up and down directions of the same highway into a batch for overall map mapping will have richer contextual semantic information than mapping a single mileage point during the map mapping process. The low coupling characteristics between batch data make the operations between different batches independent of each other, which is conducive to the realization of multi-person division of labor and collaboration in map layer operations.
[0078] The present invention defines the batch data partitioning operation as split(τ,P τ ), the divided points add batch information, which is defined as follows:
[0079]
[0080] Among them, (m,n) defines the batch of points, where m is the data batch number of the point, and n is the serial number of the point in the data batch number; still taking the mileage pile layer as an example, the split operation divides the mileage pile points with the same highway name and uplink and downlink information into the same batch number m, and determines the serial number n of the point in the batch after sorting according to the pile number information.
[0081] According to the preset data batch division rules, the data in the same batch after division is recorded as Where N is the batch data The number of midpoints, P τ The set of all batch data after partitioning is recorded as Where M is B τ The number of data batches in B τ = split(τ,P τ ).
[0082] Furthermore, when the version information of the monitored industry data changes, such as the industry data Get the current version industry data after version upgrade Then, according to the escape and batch division operation methods recorded by the system, execute Get the escaped point set and P1 τ , and then for P1 τ Execute split(τ,P1 τ ) to obtain a set of multiple batches of point data B1 including batch marks τ .
[0083] In one possible implementation, when it is monitored that the version information of industry data has changed, the current version of the industry data after the version information has changed is first obtained, and then the current version of the industry data is escaped according to the preset data escape rule to obtain the escaped point set, and finally the escaped point set is aggregated and batched according to the preset data batch division rule to obtain multiple batches of point data sets containing batch marks.
[0084] S102, obtaining target point data,
[0085] The target point data is any point data in any batch of point data sets in the multiple batches of point data sets;
[0086] In the embodiment of the present application, after obtaining multiple batches of point data sets B1 according to step S102, τ After that, for B1 τ Any batch of data in Any point in Determine whether it is consistent with the point data in the previous version Equivalence, the basis for judging equivalence is
[0087] In a possible implementation, from multiple batches of point data sets B1 τ Get any batch of data In the batch data Get any point data in and get the target point data.
[0088] S103, determining whether each of the target point data is equivalent to the point data corresponding to the previous historical version of the industry data, and determining the point data set of the batch to which the unequal target point data belongs as the incremental batch data;
[0089] In the embodiment of the present application, when making an equivalence judgment, first obtain the first attribute set of each target point data, then obtain the historical point data corresponding to each target point data in the point data set of the previous historical version of the industry data, and then obtain the second attribute set of each historical point data, and then determine whether the first attribute set of each target point data and the second attribute set of each corresponding historical point data are consistent. If they are inconsistent, determine the inconsistent target point data, and use the inconsistent target point data as unequal target point data. If they are consistent, each target point data is equivalent to the point data corresponding to the previous historical version of the industry data.
[0090] Furthermore, if they are consistent, call the point data in the previous historical version The sequence of preprocessing operations Acts on Thus we get Pre-processed points Produce layer data. That is, call the preprocessing operation sequence corresponding to the point data of the previous historical version of the industry data, and then call the corresponding preprocessing operation sequence of the previous version for each equivalent point data to preprocess, obtain the preprocessed point data, associate the preprocessed point data in batches, obtain the preprocessed point data set, obtain the preprocessed point data, and then call the map matching online service. Finally, based on the preprocessed point data and combined with the map matching online service, generate the map layer data of the current version of the industry data.
[0091] It should be noted that, for example Figure 4 As shown, this application is based on the GIS interface and integrates the three processes of layer production operation, data preprocessing, map mapping and result inspection into a complete closed loop, realizing the "what you see is what you get" human-computer interaction effect. By iteratively executing one or more rounds of map layer operation processes, layer data results for external output can be generated.
[0092] Specific, the previous historical version of industry data When preprocessing data, The corresponding batch partition data B τ Winning Perform the following steps until all All have been processed.
[0093] Pick Points in the collection The data is presented on the GIS interface. In addition to browsing the location of the point, you can also click to read The accompanying attribute information is analyzed according to the business logic of the industry data. Perform logic checks and preprocess the data with logical errors. The preprocessing operations include but are not limited to deleting points, modifying the location of points, modifying the attributes of points, etc. Figure 5 (A) is batch data The schematic diagram of the local road network and its related parts. It can be seen from the figure that The distance from the road section is far; and The relative orientation is inconsistent with the road direction (logical error) and needs to be corrected through preprocessing.
[0094] The present invention defines the data preprocessing operation primitive as OPE defines the preprocessing operation type. b ,i e ) defines The starting and ending subscripts of the points in the collection, and(i b ,i e ) jointly determine the operation object of preprocessing, Ψ θ Defines a set of parameters for preprocessing operations. The meaning of preprocessing operation primitives is From i in the point sequence b to e The execution parameter at the point is Ψ θ OPE preprocessing operation. The subscript is in the range from i b and i e Any point between Update based on preprocessing operations information, denoted as
[0095] from From the perspective of∈ The previous information state is Execute the εth round of preprocessing ω ∈ The information state after Then there is Invention Record The preprocessing operation execution sequence
[0096] Then The initial information state is taken as input, and the preprocessing operation primitive is iterated to obtain the preprocessed point position The information state is denoted as
[0097] Set batch data The results after series preprocessing are recorded as like Figure 5 (B) shows that Adjust the point coordinates. After the deletion operation is performed, the preprocessed point data is obtained as follows:
[0098] Further, in getting After that, The point sequence is taken as input, and the online MapMatching service is called to generate the point sequence to generate the road segment sequence after point mapping, which is recorded as like Figure 5 (C) The sequence of road segments mapped to the road network is e 1 →e 2 →e 3 →e 4 . Finally, the map layer data corresponding to the point data of the current version of industry data is obtained.
[0099] S104, generating map layer data of the incremental batch data according to the incremental batch data, and fusing the map layer data of the incremental batch data with the map layer data of the previous historical version to generate map layer data of the current version of the industry data.
[0100] In an embodiment of the present application, when generating map layer data of the incremental batch data based on the incremental batch data, the GIS interface set for the incremental batch data is first initialized, and then the incremental batch data is subjected to at least one round of map layer production operations according to the GIS interface to generate map layer data of the incremental batch data; wherein the map layer production operation includes data preprocessing, electronic map mapping and result checking.
[0101] It should be noted that data preprocessing is to present the point data on the GIS interface and process it according to the received instructions. Automated preprocessing is to call the corresponding previous version of the preprocessing operation sequence for each equivalent point data.
[0102] Specifically, when the incremental batch data is subjected to at least one round of map layer production operations according to the GIS interface to generate map layer data of the incremental batch data, the point data with changes in the incremental batch data are first extracted, and the point data with changes in the incremental batch data are presented on the GIS interface. Then, when an operation instruction for the GIS interface is received, the point data presented on the GIS interface is preprocessed according to the operation instruction to obtain the processed incremental batch data, and then the map matching online service is called. Finally, based on the processed incremental batch data and in combination with the map matching online service, the map layer data of the incremental batch data is generated.
[0103] Specifically, when generating map layer data of the incremental batch data based on the processed incremental batch data and in combination with the map matching online service, the point sequence of the processed incremental batch data is first input into the map matching online service, and the road section sequence after the point mapping is output. The road section sequence after the point mapping is then displayed on the GIS interface. When a result confirmation instruction input to the GIS interface is received, the road section number associated with each point in the point sequence and the electronic map is determined and output based on the road section sequence after the point mapping. Finally, the point sequence and the road section number associated with each point on the electronic map are determined as the map layer data of the incremental data.
[0104] Furthermore, when the electronic map data version is upgraded, the pre-processed point data is directly Call the map matching online service. Since the pre-processed point data is friendly to electronic map mapping operations, the map mapping results can be directly generated and output. When the mapping result of calling the map matching online service is ambiguous, you can refer to the mapping result of the previous version of the electronic map to make corrections. For example, the previous version of the map matching process obtained each point The road segment ID associated with the electronic map, such as Map to road segment e 1 On the new electronic map Can be mapped to e x and e y If it is difficult to distinguish, you can refer to e 1 For x and e y Further elimination is performed. Because relative to the point Section e 1The road network around it has richer map semantic information, which can be inherited into the mapping process of subsequent versions, thus improving the accuracy of map mapping.
[0105] In the embodiment of the present application, when the version information of the industry data is monitored to change, the map layer data generating device first obtains and preprocesses the current version of the industry data after the version information has changed, generates multiple batches of point data sets, and then obtains the target point data; the target point data is any point data in any batch of point data sets in the multiple batches of point data sets, and then determines whether each of the target point data is equivalent to the point data corresponding to the previous historical version of the industry data, and determines the point data set of the batch to which the unequal target point data belongs as the incremental batch data, and finally generates the map layer data of the incremental batch data according to the incremental batch data, and merges the map layer data of the incremental batch data with the map layer data of the previous historical version to generate the map layer data of the current version of the industry data. Since the present application only constructs the map layer data for the incremental batch data after the equivalence judgment, the operation scope and operation time of the layer construction are greatly reduced, and the work efficiency of the map layer production operation is improved.
[0106] The following are embodiments of the device of the present invention, which can be used to implement the method embodiments of the present invention. For details not disclosed in the device embodiments of the present invention, please refer to the method embodiments of the present invention.
[0107] See also Figure 6 , which shows a schematic diagram of the structure of a map layer data generating device provided by an exemplary embodiment of the present invention. The map layer data generating device can be implemented as all or part of a terminal through software, hardware or a combination of both. The device 1 includes a multiple batch point data set generating module 10, a target point data acquisition module 20, a point data equivalence judgment module 30, and a map layer data generating module 40.
[0108] The multiple batches of point data sets generating module 10 is used to obtain and pre-process the current version of the industry data after the version information has changed, and generate multiple batches of point data sets when the version information of the industry data has changed;
[0109] The target point data acquisition module 20 is used to acquire target point data; wherein the target point data is any point data in any batch of point data sets in the multiple batches of point data sets;
[0110] The point data equivalence judgment module 30 is used to judge whether each of the target point data is equivalent to the point data corresponding to the previous historical version of the industry data, and determine the point data set of the batch to which the non-equivalent target point data belongs as the incremental batch data;
[0111] The map layer data generation module 40 is used to generate map layer data of incremental batch data according to the incremental batch data, and to fuse the map layer data of the incremental data with the map layer data of the previous historical version to generate map layer data of the current version of industry data.
[0112] It should be noted that the map layer data generation device provided in the above embodiment only uses the division of the above functional modules as an example when executing the map layer data generation method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the map layer data generation device provided in the above embodiment and the map layer data generation method embodiment belong to the same concept, and the implementation process thereof is detailed in the method embodiment, which will not be repeated here.
[0113] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0114] In the embodiment of the present application, when the version information of the industry data is monitored to change, the map layer data generating device first obtains and pre-processes the current version of the industry data after the version information changes, generates multiple batches of point data sets, and then obtains the target point data; the target point data is any point data in any batch of point data sets in the multiple batches of point data sets, and then determines whether each of the target point data is equivalent to the point data corresponding to the previous historical version of the industry data, and determines the point data set of the batch to which the unequal target point data belongs as the incremental batch data, and finally generates the map layer data of the incremental batch data according to the incremental batch data, and merges the map layer data of the incremental batch data with the map layer data of the previous historical version to generate the map layer data of the current version of the industry data. Since the present application only constructs the map layer data for the incremental batch data after the equivalence judgment, the layer construction range and construction time are greatly reduced, and the work efficiency of the map layer production operation is improved.
[0115] The present invention also provides a computer-readable medium having program instructions stored thereon, and when the program instructions are executed by a processor, the map layer data generation method provided by the above-mentioned various method embodiments is implemented.
[0116] The present invention also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the map layer data generating methods of the above-mentioned various method embodiments.
[0117] See also Figure 7 , which is a schematic diagram of the structure of a terminal provided in an embodiment of the present application. Figure 7As shown, the terminal 1000 may include: at least one processor 1001 , at least one network interface 1004 , a user interface 1003 , a memory 1005 , and at least one communication bus 1002 .
[0118] The communication bus 1002 is used to realize the connection and communication between these components.
[0119] The user interface 1003 may include a display screen (Display) and a camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
[0120] The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0121] Among them, the processor 1001 may include one or more processing cores. The processor 1001 uses various interfaces and lines to connect various parts within the entire electronic device 1000, and executes various functions and processes data of the electronic device 1000 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1005, and calling data stored in the memory 1005. Optionally, the processor 1001 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 1001 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 1001, and it can be implemented separately through a chip.
[0122] Among them, the memory 1005 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable storage medium. The memory 1005 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 1005 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 1005 may optionally be at least one storage device located away from the aforementioned processor 1001. As Figure 7 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a map layer data generation application.
[0123] exist Figure 7 In the terminal 1000 shown, the user interface 1003 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 1001 can be used to call the map layer data generation application stored in the memory 1005, and specifically perform the following operations:
[0124] When the version information of the monitored industry data changes, the current version of the industry data after the version information changes is obtained and preprocessed to generate multiple batches of point data sets;
[0125] Acquire target point data, wherein the target point data is any point data in any batch of point data sets in multiple batches of point data sets;
[0126] Determine whether each of the target point data is equivalent to the point data corresponding to the previous historical version of the industry data, and determine the point data set of the batch to which the unequal target point data belongs as the incremental batch data;
[0127] The map layer data of the incremental batch data is generated according to the incremental batch data, and the map layer data of the incremental batch data is merged with the map layer data of the previous historical version to generate the map layer data of the current version of the industry data.
[0128] In one embodiment, when the processor 1001 acquires and preprocesses the current version of industry data after the version information has changed and generates multiple batches of point data sets, the processor 1001 specifically performs the following operations:
[0129] Get the current version industry data after the version information changes;
[0130] According to the preset data escape rules, the current version of industry data is escaped to obtain the escaped point set;
[0131] According to the preset data batch division rules, the escaped point sets are merged and then batch divided to obtain multiple batches of point data sets containing batch marks.
[0132] In one embodiment, when the processor 1001 determines whether each of the target point data is equivalent to the point data corresponding to the previous historical version of the industry data, the processor 1001 specifically performs the following operations:
[0133] Obtain the first attribute set of each target point data;
[0134] Obtain historical point data corresponding to each target point data in the point data set of the previous historical version of industry data;
[0135] Get the second attribute set of each historical point data;
[0136] Determine whether a first attribute set of each target point data and a second attribute set of each corresponding historical point data are consistent;
[0137] If they are consistent, then each target point data is equivalent to the point data corresponding to the previous historical version of industry data; or,
[0138] If they are inconsistent, the inconsistent target point data are determined, and the inconsistent target point data are used as unequal target point data.
[0139] In one embodiment, the processor 1001 further performs the following operations:
[0140] If they are consistent, the preprocessing operation sequence corresponding to the point data of the previous historical version of the industry data is called;
[0141] Automatically preprocessing multiple batches of point data sets according to a preprocessing operation sequence to obtain preprocessed point data;
[0142] Call the map matching online service;
[0143] Based on the preprocessed point data and combined with the map matching online service, the map layer data of the current version of the industry data is generated.
[0144] In one embodiment, when the processor 1001 generates map layer data of the incremental batch data according to the incremental batch data, the processor 1001 specifically performs the following operations:
[0145] Initialize the GIS interface for incremental batch data settings;
[0146] Perform at least one round of map layer production operation on the incremental batch data according to the GIS interface to generate map layer data of the incremental batch data;
[0147] Among them, map layer production operations include data preprocessing, electronic map mapping and result checking.
[0148] In one embodiment, when the processor 1001 performs at least one round of map layer creation operation on the incremental batch data according to the GIS interface to generate map layer data of the incremental batch data, the processor 1001 specifically performs the following operations:
[0149] Extract the point data with changes in the incremental batch data, and present the point data with changes in the incremental batch data on the GIS interface;
[0150] When an operation instruction for the GIS interface is received, data preprocessing is performed on the point data presented on the GIS interface according to the operation instruction to obtain processed incremental batch data;
[0151] Call the map matching online service;
[0152] Based on the processed incremental batch data and combined with the map matching online service, the map layer data of the incremental batch data is generated.
[0153] In one embodiment, when the processor 1001 generates map layer data of incremental data based on the processed incremental batch data and in combination with the map matching online service, the processor 1001 specifically performs the following operations:
[0154] Input the point sequence of the processed incremental batch data into the map matching online service, and output the road segment sequence after point mapping;
[0155] Display the road section sequence after point mapping on the GIS interface;
[0156] When receiving a result confirmation instruction inputted into the GIS interface, according to the road section sequence after the point mapping, determining and outputting the road section number associated with each point in the point sequence and the electronic map;
[0157] The point sequence and the road segment number associated with each point on the electronic map are determined as map layer data of incremental data.
[0158] In the embodiment of the present application, when the version information of the industry data is monitored to change, the map layer data generating device first obtains and pre-processes the current version of the industry data after the version information changes, generates multiple batches of point data sets, and then obtains the target point data; the target point data is any point data in any batch of point data sets in the multiple batches of point data sets, and then determines whether each of the target point data is equivalent to the point data corresponding to the previous historical version of the industry data, and determines the point data set of the batch to which the unequal target point data belongs as the incremental batch data, and finally generates the map layer data of the incremental batch data according to the incremental batch data, and merges the map layer data of the incremental batch data with the map layer data of the previous historical version to generate the map layer data of the current version of the industry data. Since the present application only constructs the map layer data for the incremental batch data after the equivalence judgment, the layer construction range and construction time are greatly reduced, and the work efficiency of the map layer production operation is improved.
[0159] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program for generating map layer data can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0160] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A method for generating map layer data, characterized in that: The method comprises: When it is monitored that the version information of the industry data has changed, the current version of the industry data after the version information has changed is acquired and preprocessed to generate multiple batches of point data sets, wherein the multiple batches of point data sets are multiple batches of point data sets containing batch marks; Acquire target point data, wherein the target point data is any one point data in any one batch of point data sets in the multiple batches of point data sets; Determine whether each of the target point data is equivalent to the point data corresponding to the previous historical version of the industry data, and determine the point data set of the batch to which the unequal target point data belongs as the incremental batch data; Generate map layer data of the incremental batch data according to the incremental batch data, and fuse the map layer data of the incremental batch data with the map layer data of the previous historical version to generate map layer data of the current version of the industry data; Wherein, judging whether each of the target point data is equivalent to the point data corresponding to the previous historical version of the industry data includes: If they are equivalent, the preprocessing operation sequence corresponding to the point data of the previous historical version of the industry data is called; Automatically preprocessing the equivalent point data set according to the preprocessing operation sequence to obtain a preprocessed point data set; Call the map matching online service; Based on the preprocessed point data set and in combination with the map matching online service, map layer data of the current version of the industry data is generated.
2. The method according to claim 1, characterized in that The obtaining and preprocessing of the current version of industry data after the version information has changed to generate multiple batches of point data sets includes: Get the current version industry data after the version information changes; The current version of the industry data is escaped according to a preset data escape rule to obtain an escaped point set; The escaped point set is batch-divided according to the preset data batch division rules to obtain multiple batches of point data sets containing batch marks.
3. The method according to claim 1, characterized in that The determining whether each of the target point data is equivalent to the point data corresponding to the previous historical version of the industry data includes: Acquire a first attribute set of each target point data; Acquire historical point data corresponding to each of the target point data from a point data set corresponding to the previous historical version of the industry data; Obtaining a second attribute set of each of the historical point data; Determine whether the first attribute set of each target point data and the second attribute set of each corresponding historical point data are consistent; If they are consistent, then each of the target point data is equivalent to the point data corresponding to the previous historical version of the industry data; or, If they are inconsistent, the inconsistent target point data are determined, and the inconsistent target point data are used as unequal target point data.
4. The method according to claim 1, characterized in that The step of generating map layer data of incremental batch data according to the incremental batch data comprises: Initialize the GIS interface set for the incremental batch data; Perform at least one round of map layer production operation on the incremental batch data according to the GIS interface to generate map layer data of the incremental batch data; The map layer production operation includes data preprocessing, electronic map mapping and result checking.
5. The method according to claim 4, characterized in that The step of performing at least one round of map layer production operation on the incremental batch data according to the GIS interface to generate map layer data of the incremental batch data includes: Extracting the point data with changes in the incremental batch data, and presenting the point data with changes in the incremental batch data on the GIS interface; When an operation instruction for the GIS interface is received, data preprocessing is performed on the point data presented on the GIS interface according to the operation instruction to obtain processed incremental batch data; Call the map matching online service; Based on the processed incremental batch data and in combination with the map matching online service, map layer data of the incremental batch data is generated.
6. The method according to claim 5, characterized in that The step of generating map layer data of incremental data based on the processed incremental batch data and in combination with the map matching online service includes: Inputting the processed point sequence of the incremental batch data into the map matching online service, and outputting the road segment sequence after point mapping; Displaying the road section sequence after the point mapping on the GIS interface; When receiving a result confirmation instruction inputted on the GIS interface, determining and outputting the road section number associated with each point in the point sequence and the electronic map according to the road section sequence after the point mapping; The point sequence and the road section number associated with each point on the electronic map are determined as map layer data of incremental data.
7. A map layer data generating device, characterized in that: The device comprises: A multi-batch point data set generation module is used to obtain and pre-process the current version of the industry data after the version information changes when the version information of the monitored industry data changes, and generate multiple batches of point data sets, wherein the multiple batches of point data sets are multiple batches of point data sets containing batch marks; A target point data acquisition module, used to acquire target point data, wherein the target point data is any one point data in any one batch of point data sets in the multiple batches of point data sets; A point data equivalence judgment module is used to judge whether each of the target point data is equivalent to the point data corresponding to the previous historical version of the industry data, and determine the point data set of the batch to which the non-equivalent target point data belongs as the incremental batch data; A map layer data generation module, used to generate map layer data of the incremental batch data according to the incremental batch data, and to fuse the map layer data of the incremental batch data with the map layer data of the previous historical version to generate map layer data of the current version of the industry data; The device is also used to determine whether each of the target point data is equivalent to the point data corresponding to the previous historical version of the industry data, including: If they are equivalent, the preprocessing operation sequence corresponding to the point data of the previous historical version of the industry data is called; Automatically preprocessing the equivalent point data set according to the preprocessing operation sequence to obtain a preprocessed point data set; Call the map matching online service; Based on the preprocessed point data set and in combination with the map matching online service, map layer data of the current version of the industry data is generated.
8. A computer storage medium, characterized in that: The computer storage medium stores a plurality of instructions, which are suitable for being loaded by a processor and executing the method steps according to any one of claims 1 to 6.
9. A terminal, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method steps as claimed in any one of claims 1 to 6.
Citation Information
Patent Citations
Mileage pile information making method and device, geographic information acquisition device and navigation chip
CN107783979A
Historical version backtracking method for vector layers and pattern spots
CN113486034A