A method, device and electronic device for matching multi-source heterogeneous data
By determining the unique key mapping relationship of the initial spatial vector database in multi-source heterogeneous data matching, combining polygon elements and semantic fuzzy matching algorithms, and using spatial knowledge graphs for data fusion, the accuracy of multi-source heterogeneous data matching in the existing technology is solved. The problem of low degree of flexibility and automation has achieved efficient data matching and fusion.
Patent Information
- Application Number
- CN202411268122.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2044-09-11
AI Technical Summary
Existing multi-source heterogeneous vector data requires a lot of manual intervention in the data matching and fusion process, resulting in poor accuracy and low degree of automation, often mismatch and mismatch, and manual intervention increases the difficulty and complexity of data matching. It cannot meet the needs of different application scenarios.
By determining the initial spatial vector database and its unique key mapping relationship under the target area, geometric matching is performed based on the preset polygon feature matching algorithm, attribute matching is performed based on the preset semantic fuzzy matching algorithm, and data fusion is performed using the preset spatial knowledge graph. Automatically complete the matching of multi-source heterogeneous data.
It improves the accuracy and accuracy of data matching, reduces mismatch and mismatch, reduces the difficulty and complexity of data matching, is suitable for the needs of different application scenarios, and realizes automated fusion and matching of multi-source heterogeneous data.
Smart Images

Figure CN118797088B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method, device and electronic device for matching multi-source heterogeneous data. Background Art
[0002] With the rapid development of the big data industry, more and more industries have begun to apply big data to realize business detection, query and management operations. Therefore, big data provides a framework and analysis basis for three-dimensional spatial positioning for the digital economy. In order to accelerate the construction of real-life three-dimensional scenes, many regions have begun to take the lead in building multi-source data fusion platforms to better serve the refined governance of cities. However, with the development of time, the most widely used spatial vector data in building multi-source data fusion platforms has changed from severe shortage in the early years to the current massive multi-source state. In addition, spatial vector data has problems such as multiple data sources, complex structure, different calibers and difficulty in fusion.
[0003] The existing multi-source heterogeneous vector data often require a lot of manual intervention in the process of data matching and fusion, which will lead to poor accuracy and low degree of automation in the fusion process of multi-source heterogeneous data, and often cause mismatches and omissions. Manual intervention will invisibly increase the difficulty and complexity of multi-source heterogeneous vector data matching, and the fusion accuracy of multi-source heterogeneous vector data with manual intervention is low. To some extent, it cannot meet the usage requirements of different application scenarios. Summary of the invention
[0004] In view of this, the purpose of the present application is to provide a matching method device and electronic device for multi-source heterogeneous data. The embodiments provided in the present application not only improve the accuracy and precision of fusion matching, but also reduce mismatches and missed matches, reduce the difficulty and complexity of spatial vector data matching, and can be suitable for the use requirements of different application scenarios.
[0005] The present application provides a method for matching multi-source heterogeneous data, and the method for matching multi-source heterogeneous data includes:
[0006] Determine an initial space vector database under the target area and a unique key mapping relationship corresponding to each initial space vector data in the initial space vector database;
[0007] Performing geometric matching on the initial spatial vector data based on a preset surface element matching algorithm to determine the standard size spatial vector data under the target area;
[0008] Performing attribute matching on the standard size space vector data based on a preset semantic fuzzy matching algorithm to determine the standard attribute space vector data under the target area;
[0009] Determine candidate spatial vector data corresponding to the target area based on the standard attribute spatial vector data, the standard size spatial vector data and a preset matching threshold;
[0010] Based on the preset spatial knowledge graph, the candidate spatial vector data and each of the unique key mapping relationships, a target spatial vector database under the target area is determined to complete the matching of multi-source heterogeneous data in the initial spatial vector database.
[0011] Furthermore, the preset surface element matching algorithm includes a preset surface element dimensionality reduction matching method and a preset surface element overlap matching algorithm. The method of geometrically matching the initial space vector data based on the preset surface element matching algorithm to determine the standard size space vector data under the target area includes:
[0012] According to the preset surface element dimensionality reduction matching method, the surface elements in each initial space vector data are matched with dimensionality reduction to determine the first-size space vector data under the target area;
[0013] According to a preset surface element overlap matching algorithm, overlap matching is performed on the surface elements in each of the initial spatial vector data to determine the second-size spatial vector data under the target area;
[0014] According to the first size space vector data, the second size space vector data and the first preset weight coefficient group, the standard size space vector data under the target area is determined. Further, the attribute matching of the standard size space vector data based on the preset semantic fuzzy matching algorithm to determine the standard attribute space vector data under the target area includes:
[0015] Determine the credible POI data under the target area according to the multi-source database corresponding to the target project and the preset feature data corresponding to the target project;
[0016] Based on the credible POI data, the standard size space vector data and a preset semantic fuzzy matching algorithm, the standard attribute space vector data under the target area is determined.
[0017] Furthermore, the determining of the target space vector database under the target area based on the preset space knowledge graph, the candidate space vector data and each unique key mapping relationship includes:
[0018] Based on the preset spatial knowledge graph, each geographic entity in the candidate spatial vector data is matched and verified;
[0019] The at least one geographic entity that has completed the matching verification is attribute-expanded according to the corresponding unique key mapping relationship, and the target spatial vector database corresponding to the target area is determined, so as to complete the matching of multi-source heterogeneous data in the initial spatial vector database.
[0020] Furthermore, the matching verification of each geographic entity in the candidate spatial vector data based on the preset spatial knowledge graph includes:
[0021] According to the preset spatial knowledge graph, data fusion is performed on all entity relationships corresponding to each geographic entity in the candidate spatial vector data to achieve matching verification of each geographic entity in the candidate spatial vector data.
[0022] Furthermore, the initial space vector database under the target area is determined by the following method:
[0023] Obtain different types of initial data under the target area;
[0024] Preprocessing the initial data according to a preset data format to determine an original space vector database under the target area;
[0025] The original spatial vector data in the original spatial vector database is cleaned according to usage attributes to determine an initial spatial vector database under the target area.
[0026] Furthermore, the obtaining of different types of initial data in the target area includes:
[0027] Obtain vector data, text data and image data in the target area;
[0028] Extracting coordinates and attribute information from the text data to generate formatted text data;
[0029] Vectorizing the image data and extracting attribute fields to generate formatted image data;
[0030] Initial data under a target area is determined according to the vector data, the formatted text data and the formatted image data.
[0031] The embodiment of the present application further provides a matching device for multi-source heterogeneous data, the matching device for multi-source heterogeneous data comprising:
[0032] An acquisition module, used to determine an initial space vector database under a target area and a unique key mapping relationship corresponding to each initial space vector data in the initial space vector database;
[0033] A geometric matching module, used for performing geometric matching on the initial spatial vector data based on a preset surface element matching algorithm to determine the standard size spatial vector data under the target area;
[0034] An attribute matching module, used to perform attribute matching on the standard size space vector data based on a preset semantic fuzzy matching algorithm to determine the standard attribute space vector data under the target area;
[0035] A determination module, configured to determine candidate spatial vector data corresponding to the target area based on the standard attribute spatial vector data, the standard size spatial vector data and a preset matching threshold;
[0036] The extended matching module is used to determine the target space vector database under the target area based on the preset spatial knowledge graph, the candidate space vector data and each unique key mapping relationship, so as to complete the matching of multi-source heterogeneous data in the initial space vector database.
[0037] An embodiment of the present application also provides an electronic device, including: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the steps of the multi-source heterogeneous data matching method.
[0038] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the multi-source heterogeneous data matching method as described above are executed.
[0039] The multi-source heterogeneous data matching method, device and electronic device provided in the embodiments of the present application, compared with the prior art, the embodiments provided by the present application determine the initial space vector database under the target area and the unique key mapping relationship corresponding to each initial space vector data in the initial space vector database, and geometrically match the initial space vector data based on a preset surface element matching algorithm to determine the standard size space vector data under the target area, and attribute match the standard size space vector data based on a preset semantic fuzzy matching algorithm to determine the standard attribute space vector data under the target area, and then determine the candidate space vector data corresponding to the target area based on the standard attribute space vector data, the standard size space vector data and the preset matching threshold, and determine the target space vector database under the target area based on the preset spatial knowledge graph, the candidate space vector data and each unique key mapping relationship, so as to complete the matching of multi-source heterogeneous data in the initial space vector database, realize the automatic fusion and matching of multi-source heterogeneous space vector data, improve the accuracy and precision of the fusion matching, reduce the mismatch and missed matching, reduce the difficulty and complexity of space vector data matching, and can be suitable for the use requirements of different application scenarios.
[0040] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0042] Figure 1 A flowchart of a method for matching multi-source heterogeneous data provided by an embodiment of the present application is shown;
[0043] Figure 2 A flowchart of a method for determining an initial space vector database in a multi-source heterogeneous data matching method provided in an embodiment of the present application is shown;
[0044] Figure 3 A schematic diagram showing the overlapping of surface element vector data in a multi-source heterogeneous data matching method provided in an embodiment of the present application is shown;
[0045] Figure 4 A schematic diagram showing the standardization processing of address information in a multi-source heterogeneous data matching method provided in an embodiment of the present application is shown;
[0046] Figure 5 A schematic diagram showing the application of a unique key mapping relationship in a multi-source heterogeneous data matching method provided in an embodiment of the present application is shown;
[0047] Figure 6 A flowchart of an embodiment of a method for matching multi-source heterogeneous data provided in an embodiment of the present application is shown;
[0048] Figure 7 A structural block diagram of a multi-source heterogeneous data matching device provided in an embodiment of the present application is shown;
[0049] Figure 8 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown.
[0050] icon:
[0051] 700 - a matching device for multi-source heterogeneous data; 710 - an acquisition module; 720 - a geometric matching module; 730 - an attribute matching module; 740 - a determination module; 750 - an extended matching module; 800 - an electronic device; 810 - a processor; 820 - a memory; 830 - a bus. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application. For example, the reservation method of the clothing processing equipment in the embodiments provided in the present application can be applied to different businesses and business fields corresponding to the real-life three-dimensional construction. This change does not deviate from the principle and scope of the present invention.
[0053] First, the application scenarios to which this application is applicable are introduced. Research has found that the existing multi-source heterogeneous vector data often requires a lot of manual intervention in the process of data matching and fusion, which will lead to poor accuracy and low automation in the fusion process of multi-source heterogeneous data, and often cause mismatches and omissions. In addition, manual intervention will invisibly increase the difficulty and complexity of multi-source heterogeneous vector data matching, and the fusion accuracy of multi-source heterogeneous vector data with manual intervention is low, which, to some extent, cannot meet the use requirements of different application scenarios.
[0054] For example, traditional housing data comes from different departments, and different departments have different coordinate bases, data formats, scales, attributes, statistical values, and element expressions. In order to use existing spatial data more efficiently and accurately, and provide targeted support data for natural resources, environmental protection, emergency relief, and urban management, it is necessary to build a fast, flexible, and accurate fusion method for multi-source heterogeneous spatial vector data.
[0055] Based on this, the embodiments of the present application provide a method, device and electronic device for matching multi-source heterogeneous data. The embodiments provided by the present application improve the accuracy and precision of fusion matching while reducing mismatches and missed matches, and reduce the difficulty and complexity of spatial vector data matching, which can be applied to the needs of different application scenarios. Figure 1 , Figure 1 This is a flowchart of a method for matching multi-source heterogeneous data provided in an embodiment of the present application. Figure 1 As shown in , the multi-source heterogeneous data matching method provided in the embodiment of the present application includes the following steps:
[0056] S101: Determine an initial space vector database under a target area and a unique key mapping relationship corresponding to each initial space vector data in the initial space vector database.
[0057] In this step, in the embodiment provided by the present application, different types of initial data in the target area are first obtained, and then pre-processed according to a preset data format for the different types of initial data to determine the original spatial vector database in the target area. Then, the original spatial vector data in the original spatial vector database is cleaned according to the usage attributes to determine the initial spatial vector database in the target area. After the initial spatial vector database in the target area is determined, it is necessary to continue to determine the unique key mapping relationship corresponding to each initial spatial vector data in the initial spatial vector database, so as to expand the attributes of the geographic entities in the target spatial vector database after the final matching and fusion.
[0058] In the above, after determining the different types of initial data in the target area, the embodiment provided in the present application can specifically convert the initial data into the preset data format of GDB, and then convert the GDB preset data format into the CGCS2000 national geodetic coordinate system. After the conversion, the outliers in the initial data are eliminated, and a unified field expression is formed after elimination, that is, the initial space vector database in the target area is determined.
[0059] In the above, the abnormal values in the embodiments provided by the present application include but are not limited to coordinate anomalies, name anomalies, numerical anomalies, date anomalies, and precision anomalies, and the embodiments provided by the present application can use standard image comparison to eliminate elements with serious XY coordinate value deviations; and the name anomalies in the embodiments provided by the present application can be to eliminate meaningless attribute values represented by special characters such as 999, NULL, and spaces; and the numerical anomaly elimination in the embodiments provided by the present application is specifically to eliminate values whose order of magnitude is obviously inconsistent with the normal attribute value range, for example, the number of floors of houses in a city is not greater than 100, and the attribute of the number of floors of houses in the data appears to be greater than 100 or negative numbers that are not in line with common sense; and the date anomalies and precision anomalies in the embodiments provided by the present application are all values that are obviously inconsistent with reality that need to be eliminated in the preprocessing stage, and the abnormal values that cannot be judged true or false are retained, and they need to be specially marked in the remarks.
[0060] Secondly, the unified field expression format in the embodiments provided by the present application can be specifically but not limited to the 1970 time system, that is, recording the number of seconds starting from 0:0:0 on January 1, 1970. In the above, the storage time is expressed in year / month / day format, the graphic accuracy is in meters, and the resolution is used for expression. The approximate accuracy after the scale conversion is calculated, and other important attributes can be customized by adding rules.
[0061] Among them, the target area in the embodiments provided in the present application can be specifically the geographical location area corresponding to different businesses of various industries under real-life three-dimensional construction, including but not limited to "residential areas, school areas, and housing areas, etc."
[0062] See also Figure 2 , Figure 2 A flowchart of a method for determining an initial space vector database in a method for matching multi-source heterogeneous data in an embodiment provided by the present application is shown. Figure 2 As shown, before the text data in the initial data in the embodiment provided by the present application is preprocessed according to the preset data format, it is necessary to first perform coordinate extraction and attribute information extraction to generate formatted text data. The format of the formatted text data here can be specific but not limited to csv formatted text data.
[0063] Before the image data in the initial data in the embodiment provided in the present application is pre-processed according to a preset data format, it is necessary to first perform vectorization processing and attribute field extraction to generate formatted image data.
[0064] Here, the vectorization processing method can be specific but not limited to extracting effective graphics in the image, and judging the main objects according to different application scenarios when the image content is too much, to ensure the accuracy of key nodes of the objects.
[0065] In this way, after the image data is vectorized, it is necessary to extract the valid attribute fields in the corresponding image data (valid attribute fields include but are not limited to unique identification code, name, type, X coordinate, Y coordinate, timestamp, storage time, graphic accuracy and remarks, etc., which are important attribute information that can be read on the image. Among them, the unique identification code can be compiled by yourself to ensure uniqueness; when attribute information such as name and type is missing, it can be customized according to certain scene requirements, or supplemented later according to POI data), and store the attribute field.
[0066] Then, the initial data under the target area is determined according to the vector data, the formatted text data and the formatted image data.
[0067] Here, the above data is specifically converted into the preset data format of GDB, and then the valid attribute fields are extracted from the data in the preset data format of GDB, and then converted into a unified coordinate system (CGCS2000 National Geodetic Coordinate System). After the conversion, the outliers in the initial data are removed, and a unified field expression is formed after the removal, that is, the original spatial vector database under the target area is determined.
[0068] Here, the vector data in the embodiments provided in this application can be specifically but not limited to formats such as Shape, DWG, GDB and MDB; the text data can be specifically but not limited to formats such as TXT, Word and Excel; the image data can be specifically but not limited to picture formats such as TIFF and JPG.
[0069] In the above, after the original spatial vector database is determined, the original spatial vector data in the original spatial vector database is cleaned according to the usage attributes to determine the initial spatial vector database under the target area.
[0070] Here, it is assumed that the original spatial vector data in the original spatial vector database is cleaned according to the housing purpose. For example, the housing data includes the housing data layer Layer1 of the Ministry of Housing and Urban-Rural Development standard and the housing data layer Layer2 of the natural resources standard. There are differences and similarities in the expression between the two. For the same housing purpose, Layer1 is expressed as residential and Layer2 is expressed as urban residential land. The two are equivalent. An equivalent relationship mapping table is established, and a data dictionary standard is established to store the purpose attributes in a unified standard, and at the same time, a unique key mapping relationship is added for each individual layer element.
[0071] S102: geometrically match the initial spatial vector data based on a preset surface element matching algorithm to determine the standard-size spatial vector data under the target area.
[0072] In this step, in the embodiment provided in the present application, it is first necessary to perform geometric matching on the initial spatial vector data of different size types in the initial spatial vector data, and then generate the standard size spatial vector data under the target area.
[0073] Optionally, the preset surface element matching algorithm used for geometrically matching the initial space vector data of different size types in the initial space vector data includes a preset surface element dimensionality reduction matching method and a preset surface element overlap matching algorithm. Therefore, step S102 includes the following sub-steps:
[0074] Sub-step 1021: According to a preset surface element dimensionality reduction matching method, the surface elements in each initial space vector data are matched with dimensionality reduction to determine the first-size space vector data under the target area.
[0075] In this step, in the large-scale initial spatial vector data, the morphology of the surface elements is relatively complex, often irregular polygons with convex and concave and many holes, and the data volume is large. The preset surface element dimensionality reduction matching method is to extract the feature points or feature lines of the building, and replace the complex high-dimensional surface element matching with relatively simple low-dimensional points and lines. The representative method is the centroid distance method. Here, the centroid distance method in the embodiment provided in the present application is mainly to obtain the centroid coordinates of the surface element contour point coordinates, and then calculate the Euclidean distance between the two centroid points, compare it with the set threshold, make a surface element similarity judgment, and determine the first size space vector data under the target area.
[0076] The calculation of the centroid in the embodiment provided in this application is expressed as:
[0077] In the formula, it is assumed that the polygon is decomposed into n simple small graphics, and the centroid coordinate set of the small graphics corresponding to the contour points of the polygon is , Represents the area of the small figure as the weight, Represents accumulation, where the centroid coordinates of a simple graph are the average of the coordinates of each node.
[0078] Sub-step 1022: performing overlap matching on the surface elements in each of the initial spatial vector data according to a preset surface element overlap matching algorithm to determine the second-size spatial vector data under the target area.
[0079] In this step, after preprocessing, the initial spatial vector data in the embodiments provided by the present application have similar spatial positions of the surface elements with the same name, and there are overlapping parts between the surface elements. Here, the larger the area of the overlapping part, the higher the matching degree between the two.
[0080] Here, the matching relationship is determined by calculating the ratio of the overlapping area of the reference surface element and the surface element to be matched to their respective areas. For specific overlapping conditions, please refer to Figure 3 , Figure 3 FIG. 4 is a schematic diagram showing the overlapping of face element vector data in a method for matching multi-source heterogeneous data in an embodiment provided by the present application. Figure 3 As shown in the figure, the overlapping area of area element A and area element B is area element C. The formula for the overlap similarity of area elements is as follows:
[0081] Among them, Area() is used to represent the area formula.
[0082] In the above, the overlap-based preset face element overlap matching algorithm more intuitively quantifies the shape and position differences between face elements, which is a response to the overall similarity between the two and is more in line with human visual cognition. However, the actual data is more complex, and missed matches and mismatches often occur. Therefore, this method is more commonly used for rough matching to determine the second-dimensional spatial vector data under the target area.
[0083] Sub-step 1023: determining the standard size space vector data under the target area according to the first size space vector data, the second size space vector data and a first preset weight coefficient group.
[0084] Here, the embodiment provided by the present application sets corresponding weight coefficients for the first-size space vector data and the second-size space vector data according to the first preset weight coefficient group. Here, it is assumed that the weight coefficient of the first-size space vector data obtained by the preset surface element dimensionality reduction matching method is set to 60%, and the weight coefficient of the second-size space vector data obtained by the preset surface element overlap matching algorithm is set to 40% (the specific values set by the first preset weight coefficient group here are only reflected as a supplementary embodiment).
[0085] Among them, the specific values set by the first preset weight coefficient group in the embodiment provided by the present application can be customized according to different business types and business contents in different application scenarios.
[0086] In this way, the geometric matching method in the prior art also includes a shape similarity matching algorithm, but the shape similarity matching algorithm is not sensitive to polygon shapes and is more difficult to handle non-one-to-one matching relationships. Since the buildings in large-scale urban basic geographic data are mostly polygons with complex shapes, the above algorithm is not used in the embodiments provided in this application.
[0087] S103: performing attribute matching on the standard size space vector data based on a preset semantic fuzzy matching algorithm to determine the standard attribute space vector data under the target area.
[0088] In this step, the embodiment provided by the present application first determines the trusted POI data under the target area based on the multi-source database corresponding to the target project and the preset feature data corresponding to the target project, and then can determine the standard attribute space vector data under the target area based on the trusted POI data, standard size space vector data and a preset semantic fuzzy matching algorithm.
[0089] Assume that the database where the trusted POI data in the embodiment provided by the present application is located is determined as a standard place name address database, and the database where the standard size space vector data is located is determined as a query address database. At this time, the query address database is queried one by one to see whether it can match the standard place name address. After matching, the matching results and confidence are returned to standardize the place name address. Below, a specific embodiment is listed to illustrate the process of standardizing the address:
[0090] First, the database where the standard size space vector data is located is determined to be the query address database and the standard place name address database where the trusted POI data is located, and the maximum length of the query address in the query address database is calculated, and then the matrix operator and step size are defined.
[0091] Secondly, the query address database is traversed, and then the trusted POI data and the standard size space vector data are compared through the fuzzy matching algorithm, and the number of repeated characters is calculated.
[0092] Next, it iterate and match each item in the standard place name address database, and calculate the maximum value of repeated characters.
[0093] Next, the corresponding matching result is obtained and the corresponding confidence reference value is determined, wherein the confidence reference value is used to characterize the ratio of the maximum value of repeated characters to the number of characters in the query address.
[0094] In the above, the maximum length of the query address in the query address library is defined as Dmax , and the maximum length of the address in the standard place name address database is determined as B max , assuming the step size is t, the matrix operator [D max -(t-1)]*[B max -(t-1)], where the rows of the matrix operator are used to represent the number of times a character appears; the columns of the matrix operator are used to represent the maximum matching length.
[0095] Taking house addresses as an example, the following table shows the return results of applying the preset semantic fuzzy matching algorithm to some house addresses. The application threshold is set based on the confidence level to determine whether to participate in subsequent data matching:
[0096] In the query address, the first item "No. 7-9, 1st Floor, Building 5, Phase 3, Yuetaifuli, No. 8, Beigang Street, Xigang District" is matched, and the maximum length is calculated to be 27. The step length is defined as 2, that is, "Xigang", "Gang District" and "Qubei" are traversed in the standard place name address database with the first "No. 4, Gaoerji Road, Xigang District, Dalian City" to obtain a 26*14 tag matrix, as shown below, the sum is 3, and the number of repeated characters is 3:
[0097] ;
[0098] Then, in the standard place name address database, the second "No. 123 Beigang Street, Yuetai Fuli Phase 3, No. 33" is used to obtain the 26*15 tag matrix as follows, with 12 repeated characters:
[0099] ;
[0100] The third, fourth, and so on, are iterated one by one. When it iterates to the fifth "No. 123 Beigang Street, No. 5, Phase 3, Yuetai Fuli", the resulting 26*14 tag matrix is as follows, with 13 repeated characters:
[0101] ;
[0102] When the first item of the query address is compared with the standard place name address one by one, the standard address with the largest number of repeated characters is obtained, which is 13 in the example. The returned standard address corresponds to "No. 5, Phase 3, Yuetai Fuli, No. 123 Beigang Street". The ratio of repeated characters to the total length of the query address is calculated as the confidence level, and a confidence level of 0.5 is obtained. Then, whether Building 5 and No. 5, Phase 3, Yuetai Fuli, No. 123 Beigang Street in the embodiment provided in this application are the same building needs to be verified by referring to other information or field investigation.
[0103] Here, since the geographic information contained in standard-sized spatial vector data from different sources is usually different, and the name and location in the standard-sized spatial vector data are widely used attributes, and since there are domain differences in the definitions of name and location in scenarios with different purpose orientations, the unified attribute fields of different standard-sized spatial vector data can be fuzzy matched using trusted keywords after extracting key information.
[0104] In the above, the embodiments provided by the present application can effectively obtain geographic information such as link data and web page text containing implicit geographic information through web crawler search engines and web page hyperlink analysis models, and identify and extract address and location information with the ability to express geographic spatial locations from unstructured text data, and determine the standard attribute space vector data under the target area.
[0105] Among them, it is assumed that the attribute feature word extracted from the educational geographic element scene in the embodiment provided by this application is "primary school", and a large amount of information crawled through the preset semantic fuzzy matching algorithm contains the keyword "XX primary school", and its element type is uniformly corresponding to primary school. At this time, when the feature word is set to "Dalian", the crawled "Dalian" related elements are retained and become spatial filtering conditions. Among them, the result obtained after the spatial filtering conditions in the embodiment provided by this application are determined is credible POI data containing spatial coordinate information and rich attribute information.
[0106] S104: Determine candidate spatial vector data corresponding to the target area based on the standard attribute spatial vector data, the standard size spatial vector data, and a preset matching threshold.
[0107] In this step, the embodiment provided in the present application determines the candidate space vector data corresponding to the target area according to the standard attribute space vector data, the standard size space vector data, the preset matching threshold and the second preset weight coefficient group.
[0108] Here, please see Figure 4 , Figure 4 A schematic diagram of address information standardization processing in a multi-source heterogeneous data matching method provided in an embodiment of the present application is shown. Figure 4 It can be seen that the larger the amount of standard attribute space vector data and standard size space vector data in the target area, the higher the matching accuracy, reaching more than 80%, which can effectively support the rapid matching of the project.
[0109] Among them, after determining the standard attribute space vector data and standard size space vector data under the target area, the corresponding weights of the standard attribute space vector data and the standard size space vector data are set again according to the second weight coefficient group. It is assumed that in the embodiment provided in the present application, the second weight coefficients corresponding to the standard attribute space vector data and the standard size space vector data are both 50%, and then the matching data value corresponding to the transition space vector data is compared with the preset matching threshold, and the data whose matching data value corresponding to the transition space vector data is greater than or equal to the preset matching threshold is determined as the standard space vector data corresponding to the final target area.
[0110] In this way, in the embodiments provided in the present application, since different requirements for accuracy can be made according to different application scenarios, the second weight coefficient group and the preset matching threshold can be customized according to the accuracy requirements of different application scenarios, wherein it is assumed that the preset matching threshold can be specific but not limited to 60%.
[0111] Here, assuming that full coverage is required in a land survey scenario, the preset matching threshold can be set to the threshold that meets the coverage range. At this time, the requirement for the preset matching threshold is relatively low; in a terrain database survey scenario, since the survey scenario has extremely high requirements for data accuracy, the setting of the preset matching threshold should be increased, and the standard attribute space vector data and / or standard size space vector data that do not meet the preset matching threshold should be deleted. In short, in any scenario, when the existing geographic elements meet the project requirements and do not need to be updated, only the special data is used to match the parts that need to be updated.
[0112] S105. Based on the preset spatial knowledge graph, the candidate spatial vector data and each of the unique key mapping relationships, determine the target spatial vector database under the target area, so as to complete the matching of multi-source heterogeneous data in the initial spatial vector database.
[0113] In this step, after determining the candidate spatial vector data whose matching data value is greater than or equal to the preset matching threshold, the embodiment provided in the present application uses a preset spatial knowledge graph to perform data fusion on all entity relationships corresponding to each geographic entity in the candidate spatial vector data, so as to achieve matching verification of each geographic entity in the candidate spatial vector data, and then perform attribute expansion on at least one geographic entity that has completed the matching verification according to the corresponding unique key mapping relationship, and determine the target spatial vector database corresponding to the target area, so as to complete the matching of multi-source heterogeneous data in the initial spatial vector database.
[0114] Here, the preset spatial knowledge graph is used to unify the patterns and semantics of the scattered heterogeneous information and connect it to the various geographic entities in the candidate spatial vector data, so as to establish the association between the geographical location, spatial form, name expression, address description and attribute characteristics of each geographic entity and merge them.
[0115] Among them, the preset spatial knowledge graph mostly adopts a top-down approach to construct geographic entities. On the one hand, compared with the open domain knowledge graph, the concepts and scope involved in the domain knowledge graph represented by the preset spatial knowledge graph are fixed or controllable; on the other hand, the domain knowledge graph represented by the preset spatial knowledge graph is required to meet higher precision. OWL (web ontology language) is used as the ontology description language, and the d2rq tool is used to convert the data of the relational database into the resource description framework RDF (resource description framework) to describe knowledge. Using the ontology modeling tool Protégé as the platform, the geographic spatial concepts are added to the Classes module, the object properties are added to the ObjectProperties module, the data properties are added to the DataProperties module, and the instances are added to the Individuals module.
[0116] In this way, the spatial operation operators of the Geos open source library are used to analyze and extract the spatial relationships of geographic entities, thereby realizing the representation of topological relationships, orientation relationships, and distance relationships at the data layer. The extraction of semantic relationships at the data layer includes attribute labels in the form of "key-value" for nodes, paths, and sets of geographic data. The attribute labels of the knowledge graph ontology are consistent with those of the original data, which can speed up the reasoning speed based on the ontology and facilitate later data updates.
[0117] In the above, data fusion identifies the same geographic entities of vector data, label data and text data, and then constructs RDF triples. First, the vector file is traversed, and the geographic features collected in segments are merged according to the "Data_id" attribute field to construct geographic entities. At the same time, WKT (well known text) is used to describe the coordinate information of points, lines, and surfaces; then, the "Data_id" label of the data label file is matched with the "Data_id" attribute field of the vector file to realize the construction of geographic entities; finally, according to the text description of the vector data, the same As relationship of the geographic entity is established, and the qualitative description of natural language is combined with the precise geometric coordinates of the geographic spatial data to realize data fusion.
[0118] Assume that the project team of the embodiment provided in this application takes the surrounding areas of two communities in a pilot city as an example. The name of community 1 is: Nancheng Duhui Yiyuan, the name of school 3 is: Chengdu Vocational and Technical College, and the type is a secondary vocational school. These extended attributes are based on the preset spatial knowledge graph to associate various types of data (such as POI, etc.) with matched geographic elements. It realizes the accuracy of verifying the matched geographic elements and generating new attribute-rich geographic elements. At the same time, it defines the relationship between each geographic element and geographic entity (topological relationship, orientation relationship, distance relationship and attribute relationship).
[0119] In the above, the preset spatial knowledge graph can modify the geographic entities that have not passed the verification. The modification method of the preset spatial knowledge graph reduces the amount of data that needs to be manually modified. Suppose: when the name of a geographic element is "Liaoning Normal University" and the type is "University", the candidate spatial vector data obtained by attribute matching contains two Liaoning Normal Universities, one is Huanghe Road, Shahekou District, and the other is Liushu South Street, Ganjingzi District, which are two campuses. At this time, it is necessary to manually modify the name to add the campus suffix.
[0120] In the above step S105, after the preset spatial knowledge graph completes the matching verification, since the data results after the matching verification only retain the optimal accuracy layer and the optimal attribute field of the data in the matching, which leads to the neglect of multiple other attributes in each initial spatial vector data, at this time, it is necessary to expand the attributes of the successfully matched and verified geographic entities according to the corresponding unique key mapping relationship, and determine the target spatial vector database corresponding to the target area, so as to complete the matching of multi-source heterogeneous data in the initial spatial vector database.
[0121] Here, the unique key association method is to establish a mapping relationship between the unique keys of the initial spatial vector data. Some of the attributes discarded in one-to-many situations may contain important information. By using the mapping relationship to expand the attributes of the results, the integrity of the target spatial vector database can be guaranteed.
[0122] Assume that the embodiment provided in this application takes a housing project as an example, and assume that the initial spatial vector database contains the housing data of the basic terrain and the housing data of the property survey, in which the name, address and type of the house are all fused and matched, but the property management unit attributes contained in the property survey data are lost. The attributes of the property management unit can be integrated into the results through the unique key mapping relationship between the housing data of the basic terrain and the property survey data. For details, please refer to Figure 5 , Figure 5 A schematic diagram of the application of a unique key mapping relationship in a multi-source heterogeneous data matching method provided in an embodiment of the present application is shown. Figure 5As shown, the unique key RBSM of the matching result is 111, the matching graph is inherited from the terrain data, and is associated with the unique key BSMF5124863 of the terrain data. The terrain data is associated with the property BSM1254832 of the property data, thereby passing the property management unit field to the matching result.
[0123] The method for determining the target space vector database provided by the present application is now summarized through a specific embodiment:
[0124] Assuming that the initial space vector data A and the target space vector data Z are of the same type but have different scales; the initial space vector data B, C, D...N and the target space vector data Z are of the same scale but have different types, necessary thematic information can be provided.
[0125] Taking the target spatial vector data Z (1:2000 basic geographic information data) as an example, the reference data includes initial spatial vector data A (1:1000 basic geographic information data), initial spatial vector data B (1:2000 traffic data), initial spatial vector data C (1:2000 construction land data), initial spatial vector data D (1:2000 forest cover data), etc. 1:1000 basic geographic information data can provide elements consistent with the target data, and other reference data can provide updated references for various thematic elements such as traffic, construction land, and forest cover. At this time, the spatial data fusion mode can be described as the formula:
[0126] In the formula, The XOR symbol is used to indicate that the consistent parts of the data set are discarded and the inconsistent parts are retained; Used to represent the fused target space vector data, which comes from the initial space vector data The goal in Used to represent the result of fusion of multiple data; Indicating The number of geographic entities.
[0127] See also Figure 6 , Figure 6 This is a flowchart of an embodiment of a method for matching multi-source heterogeneous data provided in an embodiment of the present application. Figure 6 As shown in:
[0128] First, determine the original space vector database.
[0129] Next, data cleaning is performed.
[0130] Then, an initial space vector database is generated.
[0131] Next, geometric matching and attribute matching are performed respectively.
[0132] Then, weighted scoring is performed.
[0133] Next, determine whether a match is possible.
[0134] If yes, access the preset spatial knowledge graph for verification; if no, make modifications.
[0135] Next, determine whether the preset spatial knowledge graph needs to be modified after verification.
[0136] If yes, modify it; if no, generate candidate space vector data.
[0137] Next, attribute expansion is performed on the candidate spatial vector data.
[0138] Finally, the target space vector database is generated.
[0139] The multi-source heterogeneous data matching method provided in the embodiment of the present application, compared with the prior art, the embodiment provided by the present application determines the initial space vector database under the target area and the unique key mapping relationship corresponding to each initial space vector data in the initial space vector database, and geometrically matches the initial space vector data based on the preset surface element matching algorithm to determine the standard size space vector data under the target area, and attribute matches the standard size space vector data based on the preset semantic fuzzy matching algorithm to determine the standard attribute space vector data under the target area, and then determines the candidate space vector data corresponding to the target area based on the standard attribute space vector data, the standard size space vector data and the preset matching threshold, and determines the target space vector database under the target area based on the preset spatial knowledge graph, the candidate space vector data and each unique key mapping relationship, so as to complete the matching of multi-source heterogeneous data in the initial space vector database, realize the automatic fusion and matching of multi-source heterogeneous space vector data, improve the accuracy and precision of the fusion matching, reduce the mismatch and missed matching, reduce the difficulty and complexity of space vector data matching, and can be suitable for the use requirements of different application scenarios.
[0140] The multi-source heterogeneous data matching method provided in the embodiment of the present application, compared with the prior art, can perform unified and efficient data matching, and the embodiment provided by the present application provides a visual verification method based on a preset spatial knowledge graph, which saves manpower, improves the flexibility, accuracy, completeness and matching efficiency of multi-source heterogeneous data matching in a real three-dimensional environment, and reveals the matching results more intuitively and accurately; and the preset semantic fuzzy matching algorithm in the embodiment provided by the present application improves the timeliness and reliability of traditional data matching.
[0141] See also Figure 7 , Figure 7 A structural block diagram of a multi-source heterogeneous data matching device provided in an embodiment of the present application, such as Figure 7 As shown, the multi-source heterogeneous data matching device 700 includes:
[0142] The acquisition module 710 is used to determine an initial space vector database under the target area and a unique key mapping relationship corresponding to each initial space vector data in the initial space vector database.
[0143] Optionally, the acquisition module 710 determines an initial space vector database under the target area in the following manner.
[0144] Obtain different types of initial data under the target area.
[0145] Optionally, the acquiring of different types of initial data in the target area includes:
[0146] Get the vector data, text data and image data under the target area.
[0147] Coordinate extraction and attribute information extraction are performed on the text data to generate formatted text data.
[0148] The image data is vectorized and attribute fields are extracted to generate formatted image data.
[0149] Initial data under a target area is determined according to the vector data, the formatted text data and the formatted image data.
[0150] The initial data is preprocessed according to a preset data format to determine an original space vector database under the target area.
[0151] The original spatial vector data in the original spatial vector database is cleaned according to usage attributes to determine an initial spatial vector database under the target area.
[0152] The geometric matching module 720 is used to perform geometric matching on the initial spatial vector data based on a preset surface element matching algorithm to determine the standard size spatial vector data under the target area.
[0153] Optionally, the geometric matching module 720 is specifically used to:
[0154] According to the preset surface element dimensionality reduction matching method, the surface elements in each initial space vector data are matched with dimensionality reduction to determine the first-size space vector data under the target area.
[0155] According to a preset surface element overlap matching algorithm, overlap matching is performed on the surface elements in each of the initial spatial vector data to determine the second-size spatial vector data under the target area.
[0156] The standard size space vector data under the target area is determined according to the first size space vector data, the second size space vector data and a first preset weight coefficient group.
[0157] The attribute matching module 730 is used to perform attribute matching on the standard size space vector data based on a preset semantic fuzzy matching algorithm to determine the standard attribute space vector data under the target area.
[0158] Optionally, the attribute matching module 730 is specifically used for:
[0159] The credible POI data under the target area is determined according to the multi-source database corresponding to the target project and the preset feature data corresponding to the target project.
[0160] Based on the credible POI data, the standard size space vector data and a preset semantic fuzzy matching algorithm, the standard attribute space vector data under the target area is determined.
[0161] The at least one geographic entity that has completed the matching verification is attribute-expanded according to the corresponding unique key mapping relationship, and the target spatial vector database corresponding to the target area is determined, so as to complete the matching of multi-source heterogeneous data in the initial spatial vector database.
[0162] The multi-source difference determination module 740 provided in the embodiment of the present application is used to determine the candidate space vector data corresponding to the target area based on the standard attribute space vector data, the standard size space vector data and a preset matching threshold.
[0163] The extended matching module 750 is used to determine the target space vector database under the target area based on the preset spatial knowledge graph, the candidate space vector data and each unique key mapping relationship, so as to complete the matching of multi-source heterogeneous data in the initial space vector database.
[0164] Optionally, the extended matching module 750 is specifically configured to:
[0165] Based on the preset spatial knowledge graph, each geographic entity in the candidate spatial vector data is matched and verified.
[0166] Optionally, the matching verification of each geographic entity in the candidate spatial vector data based on a preset spatial knowledge graph includes:
[0167] According to the preset spatial knowledge graph, data fusion is performed on all entity relationships corresponding to each geographic entity in the candidate spatial vector data to achieve matching verification of each geographic entity in the candidate spatial vector data.
[0168] The multi-source heterogeneous data matching device 700 provided in the embodiment of the present application, compared with the prior art, determines an initial spatial vector database under the target area and a unique key mapping relationship corresponding to each initial spatial vector data in the initial spatial vector database, and geometrically matches the initial spatial vector data based on a preset face element matching algorithm to determine the standard size spatial vector data under the target area, and attribute matches the standard size spatial vector data based on a preset semantic fuzzy matching algorithm to determine the standard attribute spatial vector data under the target area, and then determines the candidate spatial vector data corresponding to the target area based on the standard attribute spatial vector data, the standard size spatial vector data and a preset matching threshold, and determines the target spatial vector database under the target area based on a preset spatial knowledge graph, the candidate spatial vector data and each unique key mapping relationship, so as to complete the matching of multi-source heterogeneous data in the initial spatial vector database, realize the automatic fusion and matching of multi-source heterogeneous spatial vector data, improve the accuracy and precision of the fusion matching, reduce the mismatch and missed matching, reduce the difficulty and complexity of spatial vector data matching, and can be suitable for the use requirements of different application scenarios.
[0169] The multi-source heterogeneous data matching device 700 provided in the embodiment of the present application, compared with the prior art, can perform unified and efficient data matching, and the embodiment provided by the present application provides a visual verification method based on a preset spatial knowledge graph, which saves manpower, improves the flexibility, accuracy, completeness and matching efficiency of multi-source heterogeneous data matching in a real three-dimensional environment, and reveals the matching results more intuitively and accurately; and the preset semantic fuzzy matching algorithm in the embodiment provided by the present application improves the timeliness and reliability of traditional data matching.
[0170] See also Figure 8 , Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 8 As shown in , the electronic device 800 includes a processor 810 , a memory 820 , and a bus 830 .
[0171] The memory 820 stores machine-readable instructions executable by the processor 810. When the electronic device 800 is running, the processor 810 communicates with the memory 820 via the bus 830. When the machine-readable instructions are executed by the processor 810, the above-mentioned Figures 1 to 6The steps of the method for matching multi-source heterogeneous data in the method embodiment shown are specifically implemented in the method embodiment and will not be described in detail here.
[0172] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can execute the above-mentioned Figures 1 to 6 The steps of the method for matching multi-source heterogeneous data in the method embodiment shown are specifically implemented in the method embodiment and will not be described in detail here.
[0173] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0174] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0175] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0176] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0177] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially or partly contribute to the prior art or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.
[0178] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A matching method for multi-source heterogeneous data. It is characterized in that The multi-source heterogeneous data matching method includes: Determine an initial space vector database under the target area and a unique key mapping relationship corresponding to each initial space vector data in the initial space vector database; Performing geometric matching on the initial spatial vector data based on a preset surface element matching algorithm to determine the standard size spatial vector data under the target area; Performing attribute matching on the standard size space vector data based on a preset semantic fuzzy matching algorithm to determine the standard attribute space vector data under the target area; Determine candidate spatial vector data corresponding to the target area based on the standard attribute spatial vector data, the standard size spatial vector data and a preset matching threshold; Based on the preset spatial knowledge graph, the candidate spatial vector data and each of the unique key mapping relationships, determine the target spatial vector database under the target area, so as to complete the matching of multi-source heterogeneous data in the initial spatial vector database; The determining of the target space vector database under the target area based on the preset space knowledge graph, the candidate space vector data and each of the unique key mapping relationships includes: Based on the preset spatial knowledge graph, each geographic entity in the candidate spatial vector data is matched and verified; The at least one geographic entity that has completed the matching verification is attribute-expanded according to the corresponding unique key mapping relationship, and the target spatial vector database corresponding to the target area is determined, so as to complete the matching of multi-source heterogeneous data in the initial spatial vector database.
2. The method for matching multi-source heterogeneous data according to claim 1, It is characterized in that The preset surface element matching algorithm includes a preset surface element dimensionality reduction matching method and a preset surface element overlap matching algorithm. The preset surface element matching algorithm is used to geometrically match the initial space vector data to determine the standard size space vector data under the target area, including: According to the preset surface element dimensionality reduction matching method, the surface elements in each initial space vector data are matched with dimensionality reduction to determine the first-size space vector data under the target area; According to a preset surface element overlap matching algorithm, overlap matching is performed on the surface elements in each of the initial spatial vector data to determine the second-size spatial vector data under the target area; The standard size space vector data under the target area is determined according to the first size space vector data, the second size space vector data and a first preset weight coefficient group.
3. The method for matching multi-source heterogeneous data according to claim 1, It is characterized in that The performing attribute matching on the standard size space vector data based on a preset semantic fuzzy matching algorithm to determine the standard attribute space vector data under the target area includes: Determine the credible POI data under the target area according to the multi-source database corresponding to the target project and the preset feature data corresponding to the target project; Based on the credible POI data, the standard size space vector data and a preset semantic fuzzy matching algorithm, the standard attribute space vector data under the target area is determined.
4. The method for matching multi-source heterogeneous data according to claim 1, It is characterized in that The matching verification of each geographic entity in the candidate spatial vector data based on the preset spatial knowledge graph includes: According to the preset spatial knowledge graph, data fusion is performed on all entity relationships corresponding to each geographic entity in the candidate spatial vector data to achieve matching verification of each geographic entity in the candidate spatial vector data.
5. The method for matching multi-source heterogeneous data according to claim 1, It is characterized in that The initial space vector database under the target area is determined by: Obtain different types of initial data under the target area; Preprocessing the initial data according to a preset data format to determine an original space vector database under the target area; The original spatial vector data in the original spatial vector database is cleaned according to usage attributes to determine an initial spatial vector database under the target area.
6. The method for matching multi-source heterogeneous data according to claim 5, It is characterized in that The obtaining of different types of initial data in the target area includes: Obtain vector data, text data and image data in the target area; Extracting coordinates and attribute information from the text data to generate formatted text data; Vectorizing the image data and extracting attribute fields to generate formatted image data; Initial data under a target area is determined according to the vector data, the formatted text data and the formatted image data.
7. A matching device for multi-source heterogeneous data, It is characterized in that The multi-source heterogeneous data matching device comprises: An acquisition module, used to determine an initial space vector database under a target area and a unique key mapping relationship corresponding to each initial space vector data in the initial space vector database; A geometric matching module, used for performing geometric matching on the initial spatial vector data based on a preset surface element matching algorithm to determine the standard size spatial vector data under the target area; An attribute matching module, used to perform attribute matching on the standard size space vector data based on a preset semantic fuzzy matching algorithm to determine the standard attribute space vector data under the target area; A determination module, configured to determine candidate spatial vector data corresponding to the target area based on the standard attribute spatial vector data, the standard size spatial vector data and a preset matching threshold; An extended matching module is used to determine the target space vector database under the target area based on the preset space knowledge graph, the candidate space vector data and each unique key mapping relationship, so as to complete the matching of multi-source heterogeneous data in the initial space vector database; The extended matching module is specifically used for: Based on the preset spatial knowledge graph, each geographic entity in the candidate spatial vector data is matched and verified; The at least one geographic entity that has completed the matching verification is attribute-expanded according to the corresponding unique key mapping relationship, and the target spatial vector database corresponding to the target area is determined, so as to complete the matching of multi-source heterogeneous data in the initial spatial vector database.
8. An electronic device, It is characterized in that include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and the machine-readable instructions are executed by the processor to perform the steps of the multi-source heterogeneous data matching method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the multi-source heterogeneous data matching method as described in any one of claims 1 to 6 are executed.
