Real-time Synchronous Quality Inspection Method, Device and Computer Equipment for Geographical Information Data Production Process
The real-time synchronous quality control method for GIS data addresses data quality issues by classifying, customizing inspections, and correcting errors in real-time, improving data quality and efficiency in GIS data production.
Patent Information
- Application Number
- CN202211697841.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-28
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2042-12-28
AI Technical Summary
In the prior art, in the production process of geographic information data, data quality control consumes manpower and has a long inspection cycle, and the accumulation of data errors makes it difficult to effectively solve quality problems.
The real-time synchronous quality inspection method of the geographic information data production process is adopted. By classifying the data and customizing the quality inspection plan, changing factors are obtained in real time and quality inspection are carried out, and errors are automatically or semi-automatically fixed until the quality inspection is passed.
It improves the data quality and efficiency in the production process of geographic information data, reduces the accumulation of human errors, and shortens the quality inspection cycle.
Smart Images

Figure CN116483811B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a method for quality control of geographic information data, and more specifically to a real-time synchronous quality inspection method, device and computer equipment for the production process of geographic information data. Background Art
[0002] The quality problems of GIS (Geographic Information System) spatial vector data are manifested along with the processes of data collection, processing and application. Its magnitude and uncertainty degree are also an accumulative quantity. The quality of the data directly affects the application scope of its data products. We must attach importance to quality control and implement quality control throughout the entire process of data production. We must strictly check the mathematical accuracy, logical consistency, attribute accuracy, integrity and correctness of its vector data.
[0003] The collection of spatial vector data is an extremely important task. Due to the diverse data types and collection methods, involving numerous personnel, software and hardware, and the complex data processing process, the sources and compositions of errors in the collection process are extremely complex. Therefore, the errors in the data collection and entry process are the main sources of vector data errors. In the conventional production and update process of GIS vector data, due to human or non-human reasons, the produced data inevitably deviates from the source data, resulting in quality problems. To ensure the quality of the results, usually 3 to 4 data collection and editing personnel are required to be equipped with 1 data inspector. Although there are a large number of inspection software available for use after data collection and before transferring to the database, when the project time is tight, even if the inspection is completed, the operator does not have enough time to correct the problems, and the role of quality inspection cannot be reflected. With the continuous improvement of the quality requirements of geographic data, the problems of traditional quality inspection such as consuming a lot of manpower and having a long inspection cycle will have an increasingly greater impact on the effectiveness of quality inspection work.
[0004] Therefore, it is necessary to design a new method to improve the quality of geographic information data and the efficiency of data storage during the production process. Summary of the Invention
[0005] The purpose of the present invention is to overcome the defects of the prior art and provide a real-time synchronous quality inspection method, device and computer equipment for the production process of geographic information data.
[0006] To achieve the above purpose, the present invention adopts the following technical solutions: A real-time synchronous quality inspection method for the production process of geographic information data, including:
[0007] Classify geographic information data;
[0008] Customize a quality inspection plan;
[0009] Obtain the data whose attributes or geometries are updated during the production process of geographic information data to obtain the changed elements;
[0010] Perform real-time data quality inspection on the changed elements in combination with the quality inspection plan to obtain the quality inspection result;
[0011] Judge whether there is an error in the changed elements in the quality inspection result;
[0012] If there is an error in the changed elements in the quality inspection result, perform data preprocessing on the changed elements to obtain the preprocessing result;
[0013] Use the preprocessing result to update the changed elements, and perform the real-time data quality inspection on the changed elements in combination with the quality inspection plan to obtain the quality inspection result;
[0014] If there is no error in the changed elements in the quality inspection result, submit the changed elements to the database.
[0015] Its further technical solution is: the classification of geographic information data includes:
[0016] Classify the geographic information data according to specific geographic information database construction standards, and construct a data dictionary.
[0017] Its further technical solution is: the custom quality inspection plan includes:
[0018] Formulate a quality inspection plan according to the attribute and geometric position requirements of the elements.
[0019] Its further technical solution is: the real-time data quality inspection on the changed elements in combination with the quality inspection plan to obtain the quality inspection result includes:
[0020] Determine the change type of the changed elements;
[0021] Determine the quality inspection plan according to the change type;
[0022] Use the quality inspection plan to perform real-time quality inspection on the changed elements to obtain the quality inspection result.
[0023] Its further technical solution is: the data preprocessing on the changed elements to obtain the preprocessing result includes:
[0024] Determine the error type of the changed elements;
[0025] Perform topological repair and attribute repair on the changed elements according to the error type to obtain the preprocessing result.
[0026] Its further technical solution is that the topology repair includes face overlap repair, face gap repair, line suspension repair, and multi-component element repair.
[0027] Its further technical solution is that the attribute repair includes its own attribute value and the constraint attribute value between graphics.
[0028] The present invention also provides a real-time synchronous quality inspection device for the production process of geographic information data, including:
[0029] A classification unit for classifying geographic information data;
[0030] A scheme customization unit for customizing a quality inspection scheme;
[0031] An element acquisition unit for acquiring data whose attributes or geometries are updated during the production process of geographic information data to obtain changed elements;
[0032] A quality inspection unit for performing real-time data quality inspection on the changed elements in combination with the quality inspection scheme to obtain a quality inspection result;
[0033] A judgment unit for judging whether there is a situation where an error occurs in the changed elements in the quality inspection result;
[0034] A preprocessing unit for, if there is a situation where an error occurs in the changed elements in the quality inspection result, performing data preprocessing on the changed elements to obtain a preprocessing result;
[0035] An update unit for using the preprocessing result to update the changed elements and performing the real-time data quality inspection on the changed elements in combination with the quality inspection scheme to obtain a quality inspection result;
[0036] A storage unit for, if there is no situation where an error occurs in the changed elements in the quality inspection result, submitting the changed elements to the database.
[0037] The present invention also provides a computer device, which includes a memory and a processor. A computer program is stored on the memory, and when the processor executes the computer program, the above method is implemented.
[0038] The present invention also provides a storage medium, which stores a computer program, and when the computer program is executed by a processor, the above method is implemented.
[0039] The beneficial effects of the present invention compared with the prior art are as follows: By classifying geographic information data, different quality inspection schemes are set according to the classification. For the changed elements, real-time data quality inspection is carried out in combination with the quality inspection scheme. The changed elements that pass the quality inspection are directly stored, and the changed elements that fail the quality inspection are repaired and then inspected again. The above steps are repeated until the quality inspection is qualified, so as to improve the quality of geographic information data and the efficiency of data storage in the production process.
[0040] The following further describes the present invention with reference to the accompanying drawings and specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0042] Figure 1 It is a schematic diagram of the application scenario of the real-time synchronous quality inspection method for the production process of geographic information data provided by the embodiment of the present invention;
[0043] Figure 2 It is a schematic flowchart of the real-time synchronous quality inspection method for the production process of geographic information data provided by the embodiment of the present invention;
[0044] Figure 3 It is a schematic sub-flowchart of the real-time synchronous quality inspection method for the production process of geographic information data provided by the embodiment of the present invention;
[0045] Figure 4 It is a schematic diagram of the production process of geographic information data provided by the embodiment of the present invention;
[0046] Figure 5 It is a schematic diagram of the quality inspection scheme provided by the embodiment of the present invention;
[0047] Figure 6 It is a schematic diagram of the real-time quality inspection system for geographic information data provided by the embodiment of the present invention;
[0048] Figure 7 It is a schematic block diagram of the real-time synchronous quality inspection device for the production process of geographic information data provided by the embodiment of the present invention;
[0049] Figure 8 It is a schematic block diagram of the quality inspection unit of the real-time synchronous quality inspection device for the production process of geographic information data provided by the embodiment of the present invention;
[0050] Figure 9 It is a schematic block diagram of the preprocessing unit of the real-time synchronous quality inspection device for the production process of geographic information data provided by the embodiment of the present invention;
[0051] Figure 10 Schematic block diagram of the computer device provided by an embodiment of the present invention;
[0052] Figure 11 Schematic diagram of constructing a data dictionary provided by an embodiment of the invention. Detailed implementation manners
[0053] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0054] It should be understood that when used in this specification and the appended claims, the terms "comprises" and "comprising" indicate the presence of the described features, wholes, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their combinations.
[0055] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in this specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to include the plural forms.
[0056] It should be further understood that the term " / and / " used in this specification of the present invention and the appended claims refers to any combination and all possible combinations of one or more of the related listed items, and includes these combinations.
[0057] Please refer to Figure 1 and Figure 2 , Figure 1 Schematic diagram of the application scenario of the real-time synchronization quality inspection method for the production process of geographic information data provided by an embodiment of the present invention. Figure 2It is a schematic flowchart of the real-time synchronous quality inspection method for the geographic information data production process provided by the embodiments of the present invention. The real-time synchronous quality inspection method for the geographic information data production process is applied to a server. The server conducts data interaction with a terminal to realize the customization of quality inspection schemes and related parameters according to different geographic information data. Then, during the update process of the geographic information data, the quality inspection scheme is automatically matched, and the quality inspection results are obtained in real time and synchronously. When the quality inspection results show that there are errors in the data editing and update, the inspection information is prompted and the error location is highlighted. After the error modification is completed, it is checked whether the modification is correct. If it is correct, the relevant records are deleted; otherwise, the modification needs to continue until no error is displayed. A semi-automatic / automatic combined error repair method is also provided, which effectively reduces the accumulation of errors in the data production process and improves the quality and efficiency of data production.
[0058] Figure 2 is a schematic flowchart of the real-time synchronous quality inspection method for the geographic information data production process provided by the embodiments of the present invention. As Figure 2 shown, the method includes the following steps S110 to S180.
[0059] S110. Classify the geographic information data.
[0060] In this embodiment, according to the specific geographic information database construction standard, the geographic information data is classified to construct a data dictionary.
[0061] The data dictionary consists of five parts: element name, element description, element classification code, geometric feature, and related element relationship.
[0062] Specifically, when inspecting the geographic information data, a quality inspection scheme needs to be formulated. The quality inspection scheme consists of three parts: a database template, inspection item parameters, and quality inspection rules. Among them, the database template includes the correct format of the data, the hierarchical organization of the data, the correct name of the data, and the attribute item information of the element layer; the inspection item parameters include the debris line and surface threshold, the small-angle fold and thorn threshold, the topology threshold, and the field attribute threshold; the quality inspection rules include attribute rules, graphic rules, attribute-graphic constraint rules, and topology rules.
[0063] Specifically, classify the elements, understand the characteristics of the elements and the relationships with other elements, and construct a data dictionary, such as Figure 11 . First, establish the basic information of the geographic information data, including element characteristics, element field structure, and constraint conditions (required, optional), and then establish the relationships of related elements (adjacent, intersecting, etc.); in step S130, obtain the data whose attributes or geometries are updated during the production process of the geographic information data. When obtaining the changed elements, the changed element information can be quickly retrieved according to the established data dictionary above.
[0064] S120. Customize the quality inspection scheme.
[0065] In this embodiment, the quality inspection plan is a set of quality inspection items formulated according to specific geographical information database construction standards, and consists of quality inspection rules and quality inspection parameters.
[0066] Specifically, the above quality inspection plan includes quality inspection rules, and the quality inspection rules include attribute rules, graphic rules, attribute-graphic constraint rules, and topological rules.
[0067] The graphic rules include: duplicate check: checking for duplicate cases of vector data; edge connection check: checking for problems where vector data should be connected but is not properly connected; debris line / surface check: checking for graphics with a length or area smaller than the threshold; small-angle fold and thorn check: checking for the existence of sharp angles.
[0068] The attribute rules include: attribute non-empty check: checking whether the attribute values of the mandatory fields of vector data are empty; classification code check: checking whether the classification code of vector data is correct and whether there are cases of wrong levels or unreasonableness.
[0069] The logical consistency rules include: consistency check of descriptive elements: checking whether the data structure and fields are consistent with the definitions in the design document; consistency check of annotation attributes: checking whether the annotations are consistent with the attributes of related elements.
[0070] The topological rules include: the in-layer topological problems consist of two parts: topological check of planar elements and topological check of linear elements; the inter-layer topological problems consist of four parts: topology between points and lines, topology between lines and lines, topology between lines and planes, and topology between planes.
[0071] In this embodiment, the quality inspection parameters include debris line / surface threshold, small-angle fold and thorn threshold, topological threshold, and field attribute threshold, which are as follows:
[0072] Debris line / surface threshold, the debris line threshold is set to 0.1 m, and the debris surface threshold is set to 0.01 m².
[0073] The small-angle fold and thorn threshold angle threshold is set to 15°.
[0074] The topological threshold is set to 0.001 m.
[0075] The field attribute threshold sets the mandatory / optional items and value ranges according to the requirements of the design document.
[0076] Specifically, according to the attributes of the elements and the geometric position requirements, a quality inspection plan is formulated.
[0077] Considering the complexity and diversity of vector data, the data quality inspection scheme can be expanded and customized as the basic principle. The quality inspection parameters support the flexible configuration of the quality inspection reference standard template. Through the interactive panel, the quality inspection scheme can be customized and the quality inspection parameters can be set. The quality inspection process of database template-quality inspection scheme-real-time quality inspection realizes easy configuration and intelligent quality inspection.
[0078] Please refer to Figure 5 , first, before data update, the database template is formulated by technicians according to the design book or standard specifications; then, the threshold parameters are adjusted according to the quality inspection requirements; finally, a logical combination of a set of quality inspection rules is created and saved in an Mdb file independent of the original data to be inspected. The quality inspection scheme includes not only the specific data structure and data organization but also various rules for data quality inspection.
[0079] S130. Obtain the data whose attributes or geometries are updated during the production process of geographic information data to obtain the changed elements.
[0080] In this embodiment, the changed elements refer to the data whose attributes or geometries are updated during the production process of geographic information data.
[0081] Specifically, please refer to Figure 1 , in the data editing platform, each layer of data is collected and updated according to the production technical requirements. Based on the DOM result image and combined with professional materials, in-house data vector collection and attribute entry are carried out. The system obtains the changed elements during the production process of geographic information data in real time according to the modification situation.
[0082] S140. Perform real-time data quality inspection on the changed elements in combination with the quality inspection scheme to obtain the quality inspection result.
[0083] In this embodiment, the quality inspection result refers to the result obtained by judging the change type, automatically matching the quality inspection scheme, adopting a multi-threaded mode, and performing background real-time quality inspection while the elements are changed.
[0084] In one embodiment, please refer to Figure 3 , the above step S140 may include steps S141 to S143.
[0085] S141. Determine the change type of the changed elements;
[0086] S142. Determine the quality inspection scheme according to the change type;
[0087] S143. Use the quality inspection scheme to perform real-time quality inspection on the changed elements to obtain the quality inspection result.
[0088] In this embodiment, the element change types are divided into three categories: attribute change, graphic change, and attribute and graphic change; an element editing monitoring mechanism is provided in this embodiment, which is specifically divided into element creation, modification, and deletion events. When an element editing update triggers a corresponding event, the changed element is obtained, and the operator's operation is judged, whether only the graphic or attribute of the element is modified, or both the graphic and attribute are modified at the same time.
[0089] According to the obtained changed element, judge the change type, automatically match the quality inspection plan, adopt a multi-threaded mode, and perform real-time background quality inspection while the element changes to obtain the quality inspection result.
[0090] According to the above-mentioned change types, when only the attribute changes, only the attribute is checked. Similarly, when only the graphic changes, only the graphic is checked. When both change, all are checked. Doing so can improve the inspection efficiency on the one hand and reduce unnecessary inspections on the other hand.
[0091] S150. Judge whether there is an error in the changed element in the quality inspection result;
[0092] Taking the case where the graphic and attribute of the administrative division elements of townships and towns change at the same time as an example, show the element quality inspection plan and the element quality inspection result. According to the element quality inspection result, when there is no error in the inspection item, it is shown in green. When there is an error in the inspection item, it is marked in red for prompt.
[0093] S160. If there is an error in the changed element in the quality inspection result, perform data preprocessing on the changed element to obtain a preprocessing result.
[0094] In this embodiment, the preprocessing result refers to the data after topological repair and attribute repair of the changed element with errors.
[0095] In one embodiment, the above step S160 may include steps S161 to S162.
[0096] S161. Determine the error type of the changed element;
[0097] Specifically, an element is composed of geometry and related attributes. Each type of element formulates different inspection rules according to its own element characteristics, such as Figure 5 . Therefore, according to the above-mentioned change types, quality inspection is carried out, and finally it is judged whether there is an error in the element attribute or geometry, or both the attribute and geometry have errors. For attribute errors, attribute repair is performed. For example, when a required field is not empty, the default value is automatically filled. When there is an error in the geometry, topological repair is performed, such as repairing overlap, capping, etc. Among them, the quality inspection plan for the 4503020313 double-layer bridge (structural line), and the quality inspection plan for the 7201001102 elevation point.
[0098] Table 1 Element Quality Inspection Plan
[0099]
[0100]
[0101] Description of Some Check Items in Table 2
[0102]
[0103]
[0104] S162. Perform topological repair and attribute repair on the changed elements according to the error type to obtain a preprocessing result.
[0105] Obtain the real-time quality inspection result. When there is an error in the element, perform real-time data preprocessing, obtain the result of the data preprocessing through feedback, and finally re-enter the result into the real-time quality inspection system to enter the closed loop again.
[0106] The implementation solution includes data automated processing and data manual processing; for the data automated processing, errors are automatically repaired without manual intervention according to the error type, which mainly consists of topological repair and attribute correction parts. In this embodiment, the topological repair includes face overlap repair, face gap repair, line hanging repair, and multi-component element repair. The attribute repair includes the self-attribute value and the constraint attribute value between the graphics.
[0107] The topological error repair includes face overlap repair, face gap repair, line hanging repair, and multi-component element repair;
[0108] For face overlap repair, the overlapping part is automatically merged into one of the intersecting faces; for face gap repair, a new element is automatically generated for the gap part and merged into the adjacent face; for line hanging repair, the hanging line is automatically extended and trimmed according to the set threshold distance; for multi-component elements, the multi-component elements are automatically broken up.
[0109] Attribute correction includes the self-attribute value and the constraint attribute value between the graphics, specifically as follows: for self-attribute value repair, when the attribute value is empty, a relevant default value is assigned; for the constraint attribute value between the graphics, it is automatically matched with the relevant graphic attributes to obtain the relevant attribute value and assign it; for the data manual processing, when there are still errors in the data after the data automated processing, manual repair is required.
[0110] S170. Update the changed elements using the preprocessing result and execute step S140.
[0111] In this embodiment, when there is an error in the element, perform real-time data preprocessing, obtain the result of the data preprocessing through feedback, and finally re-enter the result into the real-time quality inspection system to execute step S140 and enter the closed loop again.
[0112] When an error is detected, it gives full play to the advantages of 64-bit multi-threaded applications, makes full use of the computer's memory resources, provides more stable and efficient computing power, and has nearly 20 built-in methods to perform real-time and efficient processing and analysis on the updated vector data, and feeds the processed data back to the data quality inspection link for re-inspection.
[0113] S180. If there is no error in the change elements in the quality inspection result, submit the change elements to the database.
[0114] Submit the changed data that has passed the quality inspection back to the database for import, automatically maintain the topological relationship between the data and related elements, and finally form a new version of updated data.
[0115] The method of this embodiment can first customize the quality inspection plan and related parameters according to different geographic information data; then, during the update process of the geographic information data, automatically match the quality inspection plan and obtain the inspection results in real time; when the inspection results show that there are errors in the data editing and update, prompt the inspection information and highlight the location of the error; after the error is modified, check whether the modification is correct. If it is correct, delete the relevant records, otherwise, continue to modify until no error is displayed. It also provides a semi-automatic / automatic combined error repair method, effectively reducing the accumulation of errors in the data production process and improving the quality and efficiency of data production.
[0116] Please refer to Figure 6 , a real-time synchronous quality inspection method for the production process of geographic information data. First, formulate a quality inspection plan according to the requirements of vector data, perform real-time quality inspection when the vector data is produced and updated, and when an error appears in the inspection results, provide an automatic / semi-automatic error repair tool to repair the error. Classify different geographic information data and design different quality inspection plans. The quality inspection plans are targeted and flexible, enabling easy configuration and intelligent quality inspection. It can realize real-time monitoring of the editing status of elements in the production process of geographic information data, synchronously quality inspect the changed elements according to the formulated quality inspection plan, accurately locate the error location, and the data quality control runs through the entire vector data production process, reducing the quality problems caused by human errors and the workload of subsequent inspections, and improving the quality of data results.
[0117] The above real-time synchronous quality inspection method for the production process of geographic information data classifies the geographic information data, sets different quality inspection plans according to the classification, performs real-time data quality inspection on the changed elements in combination with the quality inspection plan, directly stores the changed elements that pass the quality inspection, repairs the changed elements that do not pass the quality inspection and then performs quality inspection again, and repeats the above steps until the quality inspection is qualified, so as to improve the quality of geographic information data and the efficiency of data storage in the production process.
[0118] Figure 7 It is a schematic block diagram of a real-time synchronous quality inspection device 300 for the production process of geographic information data provided by an embodiment of the present invention. As Figure 7 shown, corresponding to the above real-time synchronous quality inspection method for the production process of geographic information data, the present invention also provides a real-time synchronous quality inspection device 300 for the production process of geographic information data. The real-time synchronous quality inspection device 300 for the production process of geographic information data includes units for executing the above real-time synchronous quality inspection method for the production process of geographic information data, and this device can be configured in a server. Specifically, please refer to Figure 7 , the real-time synchronous quality inspection device 300 for the production process of geographic information data includes a classification unit 301, a scheme customization unit 302, a feature acquisition unit 303, a quality inspection unit 304, a judgment unit 305, a preprocessing unit 306, an update unit 307, and a storage unit 308.
[0119] The classification unit 301 is used to classify geographic information data; the scheme customization unit 302 is used to customize a quality inspection scheme; the feature acquisition unit 303 is used to acquire data whose attributes or geometries are updated during the production process of geographic information data to obtain changed features; the quality inspection unit 304 is used to perform real-time data quality inspection on the changed features in combination with the quality inspection scheme to obtain a quality inspection result; the judgment unit 305 is used to judge whether there is a situation where an error occurs in the changed features in the quality inspection result; the preprocessing unit 306 is used to perform data preprocessing on the changed features if there is a situation where an error occurs in the changed features in the quality inspection result to obtain a preprocessing result; the update unit 307 is used to update the changed features with the preprocessing result and execute the real-time data quality inspection on the changed features in combination with the quality inspection scheme to obtain a quality inspection result; the storage unit 308 is used to submit the changed features to the database if there is no situation where an error occurs in the changed features in the quality inspection result.
[0120] In one embodiment, the classification unit 301 is used to classify geographic information data according to specific geographic information database construction standards and construct a data dictionary.
[0121] In one embodiment, the scheme customization unit 302 is used to formulate a quality inspection scheme according to the attribute and geometric position requirements of features.
[0122] In one embodiment, as Figure 8 shown, the quality inspection unit 304 includes a type determination subunit 3041, a scheme determination subunit 3042, and a real-time quality inspection subunit 3043.
[0123] A type determination subunit 3041, configured to determine the change type of the change element; a solution determination subunit 3042, configured to determine a quality inspection solution according to the change type; a real-time quality inspection subunit 3043, configured to perform real-time quality inspection on the change element by using the quality inspection solution to obtain a quality inspection result.
[0124] In one embodiment, as Figure 9 shown, the preprocessing unit 306 includes an error determination subunit 3061 and a repair subunit 3062.
[0125] The error determination subunit 3061 is configured to determine the error type of the change element; the repair subunit 3062 is configured to perform topology repair and attribute repair on the change element according to the error type to obtain a preprocessing result.
[0126] It should be noted that those skilled in the art can clearly understand the specific implementation processes of the above real-time synchronous quality inspection device 300 for the production process of geographic information data and each unit, and can refer to the corresponding descriptions in the foregoing method embodiments. For the sake of convenience and brevity of description, they will not be elaborated here.
[0127] The above real-time synchronous quality inspection device 300 for the production process of geographic information data can be implemented in the form of a computer program, and this computer program can run on a computer device as Figure 10 shown.
[0128] Please refer to Figure 10 , Figure 10 , which is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 500 may be a server. Among them, the server may be an independent server or a server cluster composed of multiple servers.
[0129] Refer to Figure 10 , this computer device 500 includes a processor 502, a memory, and a network interface 505 connected through a system bus 501. Among them, the memory may include a non-volatile storage medium 503 and an internal memory 504.
[0130] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions, and when the program instructions are executed, the processor 502 can be caused to execute a real-time synchronous quality inspection method for the production process of geographic information data.
[0131] The processor 502 is configured to provide computing and control capabilities to support the operation of the entire computer device 500.
[0132] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can be caused to execute a real-time synchronization quality inspection method for the geographical information data production process.
[0133] The network interface 505 is used for network communication with other devices. Those skilled in the art can understand that Figure 10 the structure shown in is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device 500 to which the solution of this application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0134] Among them, the processor 502 is used to run the computer program 5032 stored in the memory to implement the following steps:
[0135] Classify the geographical information data; customize the quality inspection plan; obtain the data whose attributes or geometries are updated during the geographical information data production process to obtain the changed elements; perform real-time data quality inspection on the changed elements in combination with the quality inspection plan to obtain the quality inspection result; determine whether there is a situation where the changed elements in the quality inspection result are in error; if there is a situation where the changed elements in the quality inspection result are in error, perform data preprocessing on the changed elements to obtain the preprocessing result; use the preprocessing result to update the changed elements, and perform the real-time data quality inspection on the changed elements in combination with the quality inspection plan to obtain the quality inspection result; if there is no situation where the changed elements in the quality inspection result are in error, submit the changed elements to the database.
[0136] In one embodiment, when the processor 502 implements the step of classifying the geographical information data, the following steps are specifically implemented:
[0137] Classify the geographical information data according to specific geographical information database construction standards and construct a data dictionary.
[0138] In one embodiment, when the processor 502 implements the step of customizing the quality inspection plan, the following steps are specifically implemented:
[0139] Formulate a quality inspection plan according to the attributes of the elements and the geometric position requirements.
[0140] In one embodiment, when the processor 502 implements the step of performing real-time data quality inspection on the changed elements in combination with the quality inspection plan to obtain the quality inspection result, the following steps are specifically implemented:
[0141] Determine the change type of the change element; determine the quality inspection plan according to the change type; use the quality inspection plan to perform real-time quality inspection on the change element to obtain a quality inspection result.
[0142] In one embodiment, when the processor 502 implements the step of performing data preprocessing on the change element to obtain a preprocessing result, the following steps are specifically implemented:
[0143] Determine the error type of the change element; perform topology repair and attribute repair on the change element according to the error type to obtain a preprocessing result.
[0144] Among them, the topology repair includes surface overlap repair, surface gap repair, line suspension repair, and multi-component element repair.
[0145] The attribute repair includes its own attribute value and the constraint attribute value between graphics.
[0146] It should be understood that in the embodiment of the present application, the processor 502 may be a central processing unit (CPU), and this processor 502 may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), off-the-shelf programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or this processor may also be any conventional processor, etc.
[0147] Those of ordinary skill in the art can understand that all or part of the processes in the methods of implementing the above embodiments can be completed by instructing relevant hardware through a computer program. This computer program includes program instructions, and the computer program can be stored in a storage medium, and this storage medium is a computer-readable storage medium. These program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the above methods.
[0148] Therefore, the present invention also provides a storage medium. This storage medium may be a computer-readable storage medium. The storage medium stores a computer program, and when the computer program is executed by a processor, the processor is caused to execute the following steps:
[0149] Classify geographic information data; customize a quality inspection plan; obtain data with updated attributes or geometries during the production process of geographic information data to obtain changed elements; perform real-time data quality inspection on the changed elements in combination with the quality inspection plan to obtain a quality inspection result; determine whether there is a situation where the changed elements in the quality inspection result are incorrect; if there is a situation where the changed elements in the quality inspection result are incorrect, perform data preprocessing on the changed elements to obtain a preprocessing result; use the preprocessing result to update the changed elements, and execute the real-time data quality inspection on the changed elements in combination with the quality inspection plan to obtain a quality inspection result; if there is no situation where the changed elements in the quality inspection result are incorrect, submit the changed elements to the database.
[0150] In one embodiment, when the processor executes the computer program to implement the step of classifying geographic information data, the following steps are specifically implemented:
[0151] Classify geographic information data according to specific geographic information database construction standards and construct a data dictionary.
[0152] In one embodiment, when the processor executes the computer program to implement the step of customizing a quality inspection plan, the following steps are specifically implemented:
[0153] Formulate a quality inspection plan according to the attributes of the elements and the geometric position requirements.
[0154] In one embodiment, when the processor executes the computer program to implement the step of performing real-time data quality inspection on the changed elements in combination with the quality inspection plan to obtain a quality inspection result, the following steps are specifically implemented:
[0155] Determine the change type of the changed elements; determine the quality inspection plan according to the change type; use the quality inspection plan to perform real-time quality inspection on the changed elements to obtain a quality inspection result.
[0156] In one embodiment, when the processor executes the computer program to implement the step of performing data preprocessing on the changed elements to obtain a preprocessing result, the following steps are specifically implemented:
[0157] Determine the error type of the changed elements; perform topological repair and attribute repair on the changed elements according to the error type to obtain a preprocessing result.
[0158] Among them, the topological repair includes face overlap repair, face gap repair, line suspension repair, and multi-component element repair.
[0159] The attribute repair includes the self-attribute value and the constraint attribute value between the graphics.
[0160] The storage medium may be a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk, an optical disk, or other various computer-readable storage media that can store program codes.
[0161] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0162] In several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of each unit is only a logical function division, and 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.
[0163] The steps in the method of the embodiments of the present invention can be adjusted, combined, and deleted according to actual needs. The units in the device embodiments of the present invention can be combined, divided, and deleted according to actual needs. In addition, the functional units in each embodiment of the present invention can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.
[0164] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present invention.
[0165] As described above, the above is only the specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should all be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims
1. A real-time synchronous quality inspection method for the production process of geographic information data, characterized in that, Including: Classify the geographic information data and construct a data dictionary; The data dictionary includes element name, element description, element classification code, geometric feature, and related element relationship; Customize the quality inspection plan, which includes quality inspection rules and quality inspection parameters; The quality inspection plan includes a database template, inspection item parameters, and quality inspection rules. The quality inspection rules include attribute rules, graphic rules, attribute-graphic constraint rules, and topology rules; The quality inspection parameters include debris line and surface threshold, small-angle fold and thorn threshold, topology threshold, and field attribute threshold; Obtain the data with updated attributes or geometries during the production process of geographic information data to obtain changed elements; Perform real-time data quality inspection on the changed elements in combination with the quality inspection plan to obtain a quality inspection result; Judge whether there are any errors in the changed elements in the quality inspection result; If there are errors in the changed elements in the quality inspection result, perform data preprocessing on the changed elements to obtain a preprocessing result; Use the preprocessing result to update the changed elements, and perform the real-time data quality inspection on the changed elements in combination with the quality inspection plan to obtain a quality inspection result; If there are no errors in the changed elements in the quality inspection result, submit the changed elements to the database; The performing data preprocessing on the changed elements to obtain a preprocessing result includes: Determine the error type of the changed elements; Perform topology repair and attribute repair on the changed elements according to the error type to obtain a preprocessing result; Obtain the real-time quality inspection result. When there are errors in the elements, perform data preprocessing, obtain the results of the data preprocessing through feedback, and finally re-enter the closed loop by inputting the results into the real-time quality inspection system again; The implementation solution includes data automated processing and data manual processing; For the data automated processing, errors are automatically repaired without manual intervention according to the error type, which mainly consists of topology repair and attribute correction parts. The topology repair includes surface overlap repair, surface gap repair, line suspension repair, and multi-component element repair; The attribute repair includes the self-attribute value and the constraint attribute value between the graphics; The topology error repair includes surface overlap repair, surface gap repair, line suspension repair, and multi-component element repair; The surface overlap repair automatically merges the overlapping part into one of the intersecting surfaces; The surface gap repair automatically generates a new element for the gap part and merges it into the adjacent surface; The line suspension repair automatically extends and trims the suspended line according to the set threshold distance; The multi-component element automatically disassembles the multi-component element; The attribute correction includes the self-attribute value and the constraint attribute value between the graphics, specifically as follows: For the self-attribute value repair, when the attribute value is empty, assign the relevant default value; For the constraint attribute value between the graphics, automatically match it with the relevant graphic attribute, obtain the relevant attribute value and assign it; For the data manual processing, when there are still errors in the data after the data automated processing, manual repair is required; The performing real-time data quality inspection on the changed elements in combination with the quality inspection plan to obtain a quality inspection result includes: Determine the change type of the changed elements; Determine the quality inspection plan according to the type of change; Use the quality inspection plan to perform real-time quality inspection on the changed elements to obtain a quality inspection result.
2. The real-time synchronous quality inspection method for the geographical information data production process according to claim 1, characterized in that, The classification of the geographic information data includes: Classify the geographic information data according to specific geographic information database construction standards and construct a data dictionary.
3. The real-time synchronous quality inspection method for the production process of geographic information data according to claim 1, characterized in that The customized quality inspection plan includes: Formulate a quality inspection plan according to the attributes of the elements and the geometric position requirements.
4. A real-time synchronous quality inspection device for the production process of geographic information data, characterized in that, It includes: A classification unit for classifying geographic information data; constructing a data dictionary; The data dictionary includes element names, element descriptions, element classification codes, geometric features, and related element relationships; A plan customization unit for customizing the quality inspection plan, and the quality inspection plan includes quality inspection rules and quality inspection parameters; the quality inspection plan includes a database template, inspection item parameters, and quality inspection rules, and the quality inspection rules include attribute rules, graphic rules, attribute-graphic constraint rules, and topology rules; the quality inspection parameters include debris line and surface thresholds, small-angle fold and thorn thresholds, topology thresholds, and field attribute thresholds; An element acquisition unit for acquiring data with updated attributes or geometries during the production process of geographic information data to obtain changed elements; A quality inspection unit for performing real-time data quality inspection on the changed elements in combination with the quality inspection plan to obtain a quality inspection result; A judgment unit for judging whether there is an error in the changed elements in the quality inspection result; A preprocessing unit for preprocessing the changed elements to obtain a preprocessing result if there is an error in the changed elements in the quality inspection result; An update unit for using the preprocessing result to update the changed elements and performing real-time data quality inspection on the changed elements in combination with the quality inspection plan to obtain a quality inspection result; A storage unit for submitting the changed elements to the database if there is no error in the changed elements in the quality inspection result; The preprocessing unit includes an error determination subunit and a repair subunit; An error determination subunit for determining the error type of the changed elements; A repair subunit for performing topology repair and attribute repair on the changed elements according to the error type to obtain a preprocessing result; Obtain the real-time quality inspection result. When there is an error in the element, perform real-time data preprocessing, obtain the results of the data preprocessing through feedback, and finally re-enter the changed elements into the real-time quality inspection system again to enter a closed loop; The implementation solution includes data automated processing and data manual processing; For the data automated processing, errors are automatically repaired without manual intervention according to the error type, and it mainly consists of topology repair and attribute correction parts. The topology repair includes surface overlap repair, surface gap repair, line suspension repair, and multi-component element repair; the attribute repair includes self-attribute values and constraint attribute values between graphics; The topology error repair includes surface overlap repair, surface gap repair, line suspension repair, and multi-component element repair; The surface overlap repair automatically merges the overlapping part into one of the intersecting surfaces; the surface gap repair automatically generates a new element for the gap part and merges it into the adjacent surface; Wire suspension repair automatically extends and trims the suspension wire according to the set threshold distance; multi-part features automatically break up multi-part features; Attribute correction includes the self-attribute value and the constraint attribute value between graphics, specifically as follows: self-attribute value repair, when the attribute value is empty, assign relevant default values; the constraint attribute value between graphics automatically matches with the relevant graphic attributes, obtains the relevant attribute values and assigns them; for the manual processing of the data, when errors still exist in the data after automatic processing, manual repair is required; The quality inspection unit includes a type determination subunit, a scheme determination subunit, and a real-time quality inspection subunit; The type determination subunit is used to determine the change type of the change element; The scheme determination subunit is used to determine the quality inspection scheme according to the change type; The real-time quality inspection subunit is used to perform real-time quality inspection on the change element by using the quality inspection scheme to obtain a quality inspection result.
5. A computer device, characterized in that, The computer device includes a memory and a processor, and a computer program is stored on the memory. When the processor executes the computer program, the method described in any one of claims 1 to 3 is implemented.
6. A storage medium, characterized in that, The storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Quality inspection method and device for map data and electronic equipment
CN114416906A
Basic geographic information data quality inspection method
CN114443624A
Geographic information database generation method and device
CN115422315A