Automatic retrieval and display method for geographic information engineering file and related equipment

By automatically retrieving and extracting project file information using Python modules and regular expressions, and generating a visual map based on latitude and longitude matching of geographical locations, the problem of low efficiency in project document management in existing technologies is solved, and efficient automated processing and visualization of project information are achieved.

CN121880476APending Publication Date: 2026-04-17NORTHWEST ELECTRIC POWER DESIGN INST OF CHINA POWER ENG CONSULTING GRP
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
NORTHWEST ELECTRIC POWER DESIGN INST OF CHINA POWER ENG CONSULTING GRP
Filing Date
2025-11-27
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

Current engineering document management relies on manual operation, resulting in low efficiency, easy loss of information, and inability to quickly link with geographic information, which affects the efficient management of engineering design.

Method used

The project files are automatically retrieved using Python modules, core information is extracted using regular expressions, latitude and longitude are matched based on geographical location, a visualization interface is generated using a map API, and the file is saved as an HTML file.

Benefits of technology

It has enabled automated processing of engineering information, improved the efficiency and accuracy of information extraction, supported intuitive visualization and convenient sharing of engineering information, and enhanced the efficiency and standardization of engineering management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121880476A_ABST
    Figure CN121880476A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of engineering document management, in particular to a geographic information engineering document automatic retrieval and display method and related equipment, which have the following core functions: extracting three elements of engineering codes, names and geographic positions by a regular expression; calling a geocoding service to obtain accurate longitude and latitude; an interactive map is generated, engineering codes and names are matched according to longitude and latitude, and detail checking through clicking is supported; and finally outputting a visual map file containing project distribution, and storing the visual map file in an HTML format. The whole process realizes full-automatic processing, and the engineering information management efficiency is effectively improved. The scheme is suitable for engineering file management, regional planning analysis and other scenes, supports self-definition of map styles and marking styles, and meets diversified visualization requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of engineering document management technology, specifically to a method and related equipment for automatic retrieval and display of geographic information engineering documents. Background Technology

[0002] In engineering design and related fields, engineering documents serve as crucial carriers of key information such as project codes, project names, and project locations. Their standardized management is a vital prerequisite for ensuring efficient project progress and providing effective support for subsequent design. Currently, the industry predominantly employs a manual-driven engineering document management model. This involves manually collecting engineering files stored in formats such as doc and docx, manually organizing and archiving key information such as project numbers, names, and locations, and saving the files using basic storage tools. The association between project locations and geographic coordinates requires manual querying of geographic data and manual matching. Mainstream solutions still revolve around manual operations for collecting, organizing, and associating engineering documents, and a systematic, automated processing flow has not yet been established.

[0003] However, the aforementioned existing technical solutions have significant limitations in practical applications: On the one hand, engineering documents are often numerous and diverse in type, and the process of manually collecting, organizing, and extracting key information requires a large amount of manpower. Moreover, due to differences in human operation and negligence, problems such as omission of key information, input errors, or document loss are prone to occur, affecting the accuracy and completeness of engineering document management; on the other hand, the method of manually matching engineering geographical location and latitude and longitude information is inefficient and cannot achieve rapid association and visualization of core engineering information with geographical maps, resulting in inconvenience for subsequent engineering retrieval and making it difficult to meet the actual needs of the engineering design field for efficient management and rapid retrieval of documents throughout the entire process. Summary of the Invention

[0004] The technical problem to be solved by the present invention is to provide an automatic retrieval and display method and related equipment for geographic information engineering documents, which addresses the shortcomings of the prior art and solves the technical problems of low efficiency, easy loss and inability to link with geographic information in engineering document management that rely on manual labor.

[0005] The objective of this invention is achieved through the following technical solutions: In a first aspect, the present invention provides a method for automatically retrieving and displaying geographic information engineering documents, comprising: Collect basic project files in a specified format, which include at least the project code, project name, and project geographical location; The Python module is used to automatically retrieve the basic project files, extract the core project information of the basic project files using regular expressions, and save the core project information. Based on the geographical location of the project, the latitude and longitude information corresponding to the core information of the project is matched. The parameters of the geographic information display interface are set, the project code and project name are matched to the map according to latitude and longitude, and the visualization results are saved as an HTML file.

[0006] As a further improvement of the present invention, the format of the basic engineering file includes doc file and docx file.

[0007] As a further improvement of the present invention, the basic project files are automatically retrieved using the Python module, including: retrieving the basic project files using the os submodule in the Python module, and reading doc and docx format files using the docx submodule in the Python module.

[0008] As a further improvement of the present invention, when extracting the core information of the basic project file through regular expressions, the project code adopts a predefined format, the project name ends with "project", and the minimum matching administrative unit for the project's geographical location is county level.

[0009] As a further improvement of the present invention, when extracting project code, project name, and project geographical location using regular expressions, the re submodule and jionlp submodule in Python are imported to perform regular expression matching and text parsing respectively.

[0010] As a further improvement of the present invention, based on the latitude and longitude information corresponding to the core information of the project, the parameters of the geographic information display interface are set to match the project code and project name to the map according to latitude and longitude, including: By calling the map API interface, the project's geographical location in text form is converted into latitude and longitude coordinates, and an interactive map is generated using the folium submodule in Python.

[0011] As a further improvement of the present invention, when saving project code, project name, and project geographical location information, the data is stored by importing the pandas submodule in the Python module, and the geographical information project file is written by importing the xlsxwriter submodule in the Python module.

[0012] Secondly, this invention provides an automatic retrieval and display system for geographic information engineering documents, comprising: The basic data collection module collects basic project files in a set format. The basic files include at least the project code, project name, and project geographical location. The basic data collection module collects basic engineering files in a set format. The basic engineering files include at least the project code, project name, and project geographical location. The data extraction module uses a Python module to automatically retrieve the basic project files, extracts the core information of the basic project files through regular expressions, and saves the core project information. The data matching module matches the latitude and longitude information corresponding to the core information of the project based on the project's geographical location, sets the parameters of the geographic information display interface, and matches the project code and project name to the map according to latitude and longitude. The data display and saving module is used to visualize the matched engineering project geographic information and save it as an HTML file.

[0013] Thirdly, the present invention provides a computer-readable storage medium for storing one or more programs, the one or more programs including instructions that, when executed by a computing device, cause the computing device to perform the above-described method for automatically retrieving and displaying geographic information engineering documents.

[0014] Fourthly, the present invention provides a computing device, comprising: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including steps for performing the above-described method for automatically retrieving and displaying geographic information engineering documents.

[0015] The beneficial effects of this invention are as follows: This invention provides an automatic retrieval and display method for geographic information engineering files. By pre-collecting basic engineering files in a predetermined format containing engineering codes, engineering names, and engineering geographical locations, a structured data foundation is provided for subsequent processing, avoiding processing interruptions caused by missing information. The method utilizes a Python module to automatically retrieve basic engineering files and extracts and saves core engineering information using regular expressions, replacing manual extraction and improving the efficiency and accuracy of core information extraction. Based on matching the corresponding latitude and longitude information of the engineering geographical location, the method associates engineering information with geographic spatial coordinates, providing a spatial positioning foundation for map visualization. The method also sets parameters for the geographic information display interface, including engineering codes... The system matches codes and project names to maps based on latitude and longitude, enabling intuitive and visual display of project information. This is easier to understand spatially compared to text-based displays in existing technologies. Saving the visualization results as HTML files provides a universal output format, which is easier to share and view than formats requiring specialized software in existing technologies. These features work together to automate the entire process from structured data collection, automated extraction, spatial coordinate matching, visualization, to universal format saving. Compared to existing technologies where multiple steps are independent or require manual intervention, this significantly improves the efficiency, accuracy, and usability of project information processing, facilitating efficient management and sharing of project information. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is a schematic diagram of the automatic retrieval and display method for geographic information engineering documents in an embodiment of the present invention; Figure 2 This is a schematic diagram of the internal structure of a computer device in an embodiment of the present invention. Detailed Implementation

[0018] To make the objectives and technical solutions of this invention clearer and easier to understand, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. The specific embodiments described herein are for illustrative purposes only and are not intended to limit the invention.

[0019] The technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings and specific embodiments. The described embodiments are only some embodiments of the present invention, and not all embodiments.

[0020] Example 1 Engineering document management suffers from problems such as a large volume of data, cumbersome management processes, and reliance on manual operation, resulting in low retrieval efficiency, easy information loss, and an inability to intuitively display the geographical distribution of engineering projects, causing inconvenience for subsequent engineering design and management. Therefore, this embodiment provides, for example... Figure 1 The method shown is an automatic retrieval and display method for geographic information engineering documents, which realizes automatic retrieval, information extraction, geographic matching and visualization display of engineering documents.

[0021] An automatic retrieval and display method for geographic information engineering documents includes the following steps: collecting basic engineering documents in a defined format, which at least include project code, project name, and project geographic location; automatically retrieving the engineering documents using a Python module, extracting the core project information using regular expressions, and saving the core project information; matching the latitude and longitude information corresponding to the core project information based on the project geographic location, setting geographic information display interface parameters, matching the project code and project name to the map by latitude and longitude, and saving the visualization result as an HTML file. The working principle of this embodiment is as follows: collecting engineering documents conforming to a defined format to ensure that the documents contain complete core project information; then automatically traversing and retrieving target documents using a Python module, extracting the project code, project name, and project geographic location from the documents using regular expressions; saving the extracted core information for traceability; matching the corresponding latitude and longitude coordinates based on the project geographic location using a geocoding service; constructing a geographic information interface according to preset display parameters, binding the project code and name to latitude and longitude coordinates, and achieving accurate marking on the map; finally, saving the complete visualization map as an HTML file, completing the automated processing of the entire process. It automates the entire process of engineering document retrieval, information extraction, geographic matching, visualization, and result saving without manual intervention, greatly reducing labor management costs. It accurately extracts core engineering information, provides precise geographic positioning, and delivers intuitive and clear visualization results, facilitating a quick understanding of the distribution of engineering projects. The saved HTML files are highly compatible and easy to share, providing strong support for subsequent engineering design and project management, and significantly improving work efficiency and management standardization.

[0022] Among them, basic engineering documents refer to documents that record key project information generated during the construction process, and their format must meet the requirements for subsequent retrieval and reading. The project code is a unique identifier for the project, the project name is used to distinguish different projects, and the project geographical location clearly indicates the construction location of the project.

[0023] In this embodiment, the basic engineering files are configured in both .doc and .docx formats. These two formats cover the document storage needs of most scenarios in the engineering field, including both historical engineering documents retained from earlier periods and newly added project documents, all of which can be included in the processing scope of this method.

[0024] Furthermore, the project files are automatically retrieved using Python modules, including: using the os submodule in Python to retrieve basic project files, and using the docx submodule in Python to read doc and docx format files.

[0025] In this embodiment, the Python module includes modules for system operations, document processing, regular expression matching, data storage, map interaction, and more. The specific sub-modules selected are based on the functional requirements of subsequent steps; all are mature tools within the Python ecosystem. The `os` sub-module is a built-in Python system operations module, requiring no additional installation and compatible with the Python environment. Its core functions include directory traversal, file path retrieval, and file type determination. Specifically, during retrieval, the `os.walk()` function takes the target folder path as input. This function recursively traverses all subdirectories and files within the folder, then filters out matching project files based on their file extensions (.doc and .docx), while simultaneously recording the complete file path information. The `docx` sub-module is a third-party Python module for processing Word documents. It supports reading text content, paragraph structure, and table data from `.doc` and `.docx` format files. This module opens the file at the specified path using the `Document` class and then retrieves all paragraph text from the document by iterating through the `paragraphs` attribute, providing raw data for subsequent information extraction. By leveraging the os submodule and the docx module, automated retrieval and reading of project files are achieved, replacing the tedious process of manually searching for and opening files, thus significantly improving file processing efficiency.

[0026] In addition, the Python module includes the `re` and `jionlp` submodules. When extracting project code, project name, and project location using regular expressions, the `re` and `jionlp` submodules are imported into the Python module to perform regular expression matching and text parsing, respectively.

[0027] The `re` submodule is a built-in Python module for regular expression manipulation, supporting core functions such as compiling, matching, searching, and replacing regular expressions. This submodule uses the `re.compile()` function to compile matching patterns for project codes and project names, generating regular expression objects; then, it uses the `re.findall()` function to iterate through the document text, searching for all information matching the patterns, thus extracting the project codes and project names.

[0028] The jionlp submodule supports Chinese word segmentation, entity recognition, and geographic information parsing. It can be installed using the pip tool by executing the command `pip install jionlp`. This submodule uses the `jionlp.parse_location()` function to parse the extracted geographic location-related text, automatically identifying provincial, municipal, and county (district) level administrative units to ensure that the final output geographic location information contains at least a county-level administrative unit, meeting the minimum matching requirement.

[0029] In practical applications, regular expressions are syntax rules used to match string patterns. Matching patterns are pre-written based on the characteristics of the core project information to accurately filter target information from document text. When extracting the core project information using regular expressions, the project code adopts a predefined format, with the project name ending with "project," and the minimum matching administrative unit for the project's geographical location being the county level. For example, the project code uses the structure "province abbreviation-project type abbreviation-year-serial number." The project name is a brief description of the project content, and the limitation to "project" at the end clearly distinguishes project-related documents from other non-project-related documents. The minimum matching administrative unit for the project's geographical location is the county level, which is the core geographical division basis for project initiation, site selection, and approval, meeting the accuracy requirements of latitude and longitude matching and avoiding inaccurate positioning due to overly vague geographical locations (such as only indicating the province or prefecture-level city).

[0030] Based on the project's geographical location, the latitude and longitude information corresponding to the project's core information is matched. The parameters of the geographic information display interface are set, and the project code and project name are matched to the map according to latitude and longitude. Further, the project's geographical location in text form is converted into latitude and longitude coordinates by calling the map API interface, and an interactive map is generated using the folium submodule in the Python module.

[0031] In this embodiment, the map used is Amap (Gaode Maps), therefore the geocoding API of the Amap Open Platform is selected. This API supports converting Chinese address text into latitude and longitude coordinates and features fast response speed, high positioning accuracy, and strong stability. Before use, an Amap developer account must be registered, real-name authentication completed, and an application created to obtain a unique developer key. This key is used for authentication when calling the API. The calling method is to send an HTTP GET request through Python's requests module. The request parameters include the developer key, address text (i.e., the project's geographical location), and output format (set to JSON). The API return result contains the longitude and latitude data of the target address. The Folium submodule is based on the Leaflet.js third-party Python visualization library and supports the generation of interactive geographic information maps. It is installed by executing the pip install folium command using the pip tool. The core functions of this module include: setting initial map parameters (initial center point is set to the national geographic center, i.e., 103.8268°E, 36.5694°N; initial zoom level is set to 5 levels, which can be adjusted according to the display range); creating map markers using the Marker class, binding latitude and longitude coordinates with project codes and project names, and displaying a pop-up window containing core information when a marker is clicked; and saving the generated map as an HTML file using the save() method. The module takes the extracted project geographic location text as input, sends a request to the Amap geocoding API via the requests module, carrying parameters such as the developer key. After API processing, it returns the corresponding latitude and longitude coordinates. The folium module creates a basic map based on the preset initial parameters, associating the latitude and longitude coordinates, project code, and project name of each project, generating markers with information pop-ups, and adding them to the map. After marking all projects, a complete interactive map is generated and output as a savable object, preparing for subsequent saving as an HTML file. Furthermore, the geographic information display interface parameters, including the initial map zoom level, center point coordinates, marker style, and information pop-up format, can be set according to actual display needs to ensure clear and easy-to-understand visualization. HTML files are Hypertext Markup Language files, supporting the embedding of maps, text, images, and other content. They can be opened in any mainstream browser, and saving the visualization results facilitates subsequent viewing and distribution.

[0032] In addition, when saving project codes, project names, and project geographic location information, the `pandas` submodule from the Python module is imported to store the data, and the `xlsxwriter` submodule from the Python module is imported to write the geographic information project file. Specifically, the extracted project codes, project names, and project geographic locations are passed as a list or dictionary to the `pandas` DataFrame constructor to generate structured tabular data; an `xlsxwriter` file writing object is created, specifying the save path and filename; and the data in the DataFrame is written to an Excel file using the `pandas to_excel()` method, while also setting table column widths, header styles, and other formatting to complete the persistent saving of the data.

[0033] The pandas module is a mainstream data processing library in the Python ecosystem, used for structured data storage and management. It is installed by executing the command `pip install pandas` using the pip tool. This submodule's DataFrame data structure organizes core project information into a table format, with columns for project code, project name, and project location. Each row of data corresponds to the core information of a project, supporting data filtering, sorting, deduplication, and other operations, facilitating subsequent data organization and querying.

[0034] The xlsxwriter module is a third-party Python module for creating and writing Excel files. It supports setting table formatting, borders, column widths, etc. It is installed by executing the command "pip install xlsxwriter" using the pip utility. As the writing engine for pandas modules, this module uses pandas' to_excel() method to write structured data from a DataFrame to an .xlsx file. The save path can be specified by the user, and the files can be opened and edited using office software such as Microsoft Excel and WPS.

[0035] Example 2 Based on the automatic retrieval and display method for geographic information engineering documents in Embodiment 1, this embodiment provides an automatic retrieval and display system for geographic information engineering documents, including: a basic data collection module, which collects basic engineering documents in a set format, the basic engineering documents including at least project code, project name, and project geographical location; a data extraction module, which uses a Python module to automatically retrieve engineering documents, extracts the core project information of the above-mentioned basic engineering documents through regular expressions, and saves the core project information; a data matching module, which matches the latitude and longitude information corresponding to the core project information based on the project geographical location, sets the geographic information display interface parameters, and matches the project code and project name to the map according to latitude and longitude; and a data display and saving module, which is used to visualize the matched geographic information of the project and save it as an HTML file.

[0036] The basic data collection module is deployed on a local terminal or server and features directory monitoring and file filtering capabilities. Users can specify the storage directory for project files through the module configuration interface. The module uses a built-in file scanning program to monitor file changes in that directory in real time, automatically filtering out files with the .doc and .docx extensions. It also verifies whether the files contain core information such as project code, project name, and project geographical location, marking and prompting for files with missing information to ensure that the collected files meet the requirements for subsequent processing.

[0037] The data extraction module integrates the os, docx, re, jionlp, pandas, and xlsxwriter submodules. First, the os submodule retrieves the target file in the specified directory and obtains the file path; then, the docx submodule reads the file's text content; subsequently, the re and jionlp submodules extract the core project information; finally, the pandas submodule stores the structured data, and the xlsxwriter submodule writes it to an Excel file for saving. Each functional unit automatically connects according to the workflow.

[0038] The data matching module integrates the map API call unit and the folium submodule. The map API call unit has built-in request logic for the Amap geocoding API, receives the project's geographical location information from the data extraction module, sends a request with the developer key, obtains latitude and longitude coordinates, and returns them. The folium submodule receives the latitude and longitude coordinates and core project information, creates a map according to preset display parameters (initial zoom level, center point, marker style, etc.), binds the project code and name to latitude and longitude, and generates markers with pop-up windows on the map.

[0039] The data display and saving module has a browser display interface and file saving functionality. This module converts the map objects generated by the data matching module into pages that can be rendered in a browser, allowing users to directly view the visualized map through their local browser. It also provides a save path configuration function, allowing users to customize the save location of the HTML file. The module automatically writes the map data into the HTML file and saves it; the generated file supports offline opening and network sharing.

[0040] Example 3 In another embodiment of the present invention, a computer-readable storage medium is provided as a storage component within a terminal device, the function of which is to store programs and data. It should be noted that the computer-readable storage medium here encompasses not only the built-in storage components of the terminal device but also extended storage components supported by the device. Essentially, it is a tangible medium capable of containing or storing programs that can be invoked by or in conjunction with an instruction execution system, device, or apparatus. This storage medium provides storage areas for the terminal's operating system and stores one or more instructions suitable for processor loading and execution, which can constitute one or more computer programs containing program code.

[0041] Specifically, examples of computer-readable storage media (a non-exclusive list) include: electrical connections with one or more wires, portable disks, hard disks, random access memory, read-only memory, erasable programmable read-only memory, optical fibers, portable optical disc read-only memory, optical storage devices, magnetic storage devices, or any reasonable combination of the above types.

[0042] The storage medium may also include data signals propagated as part of a baseband portion or a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any reasonable combination of both. Furthermore, computer-readable storage medium may also refer to other readable media besides conventional readable storage media, capable of sending, propagating, or transmitting programs for use or operation by an instruction execution system, apparatus, or device. Program code on the storage medium can be transmitted via any suitable medium, including but not limited to wireless, wired, optical fiber, or any reasonable combination thereof.

[0043] The program code used to implement the operations of this invention can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java and C++, as well as conventional procedural programming languages ​​such as C. The execution modes of the program code include: running entirely on the user's computing device, running partially on the user's device as a standalone software package, running partially in a distributed manner on both the user's device and a remote computing device, or running entirely on a remote computing device or server. When a remote computing device is involved, the device can be connected to the user's computing device via any type of network such as a local area network (LAN) or a wide area network (WAN), or connected to an external computing device via the Internet through an Internet service provider.

[0044] The processor is capable of loading and executing one or more instructions stored in a computer-readable storage medium to implement the corresponding steps of the automatic retrieval and display method for geographic information engineering documents described in Embodiment 1.

[0045] Example 4 Figure 2 This is a schematic diagram of a computer device provided according to an embodiment of the present invention.

[0046] Please see Figure 2 The terminal device is a computer device. In this embodiment, the computer device 60 includes a processor 61, a memory 62, and a computer program 63 stored in the memory 62 and executable on the processor 61. When executed by the processor 61, the computer program 63 implements the automatic retrieval and display method for geographic information engineering documents in this embodiment. To avoid repetition, these details are not elaborated here. Alternatively, when executed by the processor 61, the computer program 63 implements the functions of each model / unit in the computing system constituting the automatic retrieval and display method for geographic information engineering documents in this embodiment. To avoid repetition, these details are not elaborated here.

[0047] Computer device 60 can be a desktop computer, laptop, handheld computer, cloud server, or other computing device. Computer device 60 may include, but is not limited to, a processor 61 and a memory 62. Those skilled in the art will understand that... Figure 2 This is merely an example of computer device 60 and does not constitute a limitation on computer device 60. It may include more or fewer components than shown, or combine certain components, or different components. For example, computer device may also include input / output devices, network access devices, buses, etc.

[0048] The processor 61 may be a central processing unit (CPU), or other general-purpose processors, CPUs, graphics processing units (GPUs), digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, quantum computing-based data processing logic units, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0049] The memory 62 can be an internal storage unit of the computer device 60, such as a hard disk or RAM of the computer device 60. The memory 62 can also be an external storage device of the computer device 60, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, etc., equipped on the computer device 60.

[0050] Furthermore, the memory 62 may include both internal storage units and external storage devices of the computer device 60. The memory 62 is used to store computer programs and other programs and data required by the computer device. The memory 62 can also be used to temporarily store data that has been output or will be output.

[0051] Any references to memory, databases, or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (Read-Only Memory). Memory includes ROM, magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0052] The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchain. The processors involved in the embodiments provided in this application may be, but are not limited to, general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc.

Claims

1. A method for automatic retrieval and display of geographic information engineering files, characterized in that, include: Collect basic project files in a specified format, which include at least the project code, project name, and project geographical location. The Python module is used to automatically retrieve the basic project files, extract the core project information of the basic project files using regular expressions, and save the core project information. Based on the geographical location of the project, the latitude and longitude information corresponding to the core information of the project is matched. The parameters of the geographic information display interface are set, the project code and project name are matched to the map according to latitude and longitude, and the visualization results are saved as an HTML file.

2. The method of claim 1, wherein, The basic engineering files are configured in both doc and docx formats.

3. The method of claim 2, wherein, The basic project files are automatically retrieved using Python modules, including: using the os submodule in Python to retrieve the basic project files, and using the docx submodule in Python to read doc and docx format files.

4. The method of claim 1, wherein, When extracting the core information of the basic project file using regular expressions, the project code adopts a predefined format, the project name ends with "project", and the minimum matching administrative unit for the project's geographical location is county level.

5. The method of claim 4, wherein, When extracting project code, project name, and project location using regular expressions, the `re` and `jionlp` submodules in Python are imported to perform regular expression matching and text parsing, respectively.

6. The method of claim 1, wherein, Based on the project's geographical location, the system matches the latitude and longitude information corresponding to the project's core information. It then sets the parameters for the geographic information display interface, matching the project code and name to the map according to latitude and longitude, including: By calling the map API interface, the project's geographical location in text form is converted into latitude and longitude coordinates, and an interactive map is generated using the folium submodule in Python.

7. The method of claim 1, wherein, When saving project code, project name, and project geographic location information, the pandas submodule in the Python module is imported to store the data, and the xlsxwriter submodule in the Python module is imported to write the geographic information project file.

8. A geographic information engineering file automatic retrieval and display system, characterized by, include: The basic data collection module collects basic engineering files in a set format. The basic engineering files include at least the project code, project name, and project geographical location. The data extraction module uses a Python module to automatically retrieve the basic project files, extracts the core information of the basic project files through regular expressions, and saves the core project information. The data matching module matches the latitude and longitude information corresponding to the core information of the project based on the project's geographical location, sets the parameters of the geographic information display interface, and matches the project code and project name to the map according to latitude and longitude. The data display and saving module is used to visualize the matched engineering project geographic information and save it as an HTML file.

9. A computer-readable storage medium storing one or more programs, the one or more programs comprising instructions that when executed by a computer cause the computer to perform a method of any of claims 1-8. The one or more programs include instructions that, when executed by a computing device, cause the computing device to perform the automatic retrieval and display method for geographic information engineering documents as described in any one of claims 1 to 7.

10. A computing device, comprising: include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including steps for performing the automatic retrieval and display method for geographic information engineering documents according to any one of claims 1 to 7.