CN114676368B - Geographic entity information display method, device, equipment and medium based on identification code - Google Patents

Geographic entity information display method, device, equipment and medium based on identification code Download PDF

Info

Publication number
CN114676368B
CN114676368B CN202210221844.3A CN202210221844A CN114676368B CN 114676368 B CN114676368 B CN 114676368B CN 202210221844 A CN202210221844 A CN 202210221844A CN 114676368 B CN114676368 B CN 114676368B
Authority
CN
China
Prior art keywords
code
geographic entity
geographic
grid
sub
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210221844.3A
Other languages
Chinese (zh)
Other versions
CN114676368A (en
Inventor
胡耀锋
林鸿
张鹏程
丘广新
王叙泉
胡爽
李少智
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Urban Planning Survey and Design Institute
Original Assignee
Guangzhou Urban Planning Survey and Design Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Urban Planning Survey and Design Institute filed Critical Guangzhou Urban Planning Survey and Design Institute
Priority to CN202210221844.3A priority Critical patent/CN114676368B/en
Publication of CN114676368A publication Critical patent/CN114676368A/en
Application granted granted Critical
Publication of CN114676368B publication Critical patent/CN114676368B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention relates to the technical field of geographic entities, and discloses a geographic entity information display method and device based on identification codes, terminal equipment and a storage medium, wherein the method comprises the following steps: calculating a position code of the geographic entity according to the geographic coordinate and the spatial range of the geographic entity; obtaining a type code of the geographic entity according to the geometric type and the spatial position of the geographic entity; acquiring a classification code, a time code and a sequence code of a geographic entity; generating an identity identification number of the geographic entity according to the classification code, the time code, the sequence code, the position code and the type code; acquiring name information and website information of a geographic entity; and generating an identification code of the geographic entity according to the identity identification number, the name information and the website information, and displaying the information of the geographic entity according to the identification code. The method is beneficial to convenient transmission and quick display of the geographic entity attribute information.

Description

Geographic entity information display method, device, equipment and medium based on identification code
Technical Field
The invention relates to the technical field of geographic entities, in particular to a geographic entity information display method and device based on identification codes, terminal equipment and a storage medium.
Background
The geographic entity (geo-entity) is the core content of the novel basic mapping and is the key for promoting the transformation and upgrading of the basic mapping work. In the new basic mapping, the geographic entity is an independent entity which can be encoded and has associated position and attribute information, and is used as a bridge and a link to connect a basic geographic information database, a population database, a legal person database and a real estate database together.
Common identification codes, such as two-dimensional codes, record data symbol information by using black and white patterns with certain specific geometric patterns regularly distributed on a plane (in two-dimensional directions). The '0' and '1' bit stream concepts forming the internal logic basis of the computer are skillfully utilized in code compilation, a plurality of geometric shapes corresponding to binary systems are used for representing character numerical value information, and the information can be automatically read through an image input device or an optoelectronic scanning device so as to realize automatic information processing. The two-dimensional code has the characteristics of large information amount, high reliability, strong confidentiality and anti-counterfeiting performance, high traceability, low cost and the like.
At present, the attributes of the geographic entities are stored by using a database, and the attributes can be displayed by means of related professional software, so that the organizing, processing, analyzing, transmitting and operating efficiency of the data of the geographic entities is low. In addition, although the application range of the identification code is very wide, no mature identification code expression method exists in the aspects of the expressions of codes, attributes, pictures and the like of the geographic entities, and the method is not beneficial to the convenient propagation and the quick display of the attribute information of the geographic entities.
Disclosure of Invention
The invention provides a geographic entity information display method and device based on an identification code, terminal equipment and a storage medium, which are beneficial to convenient propagation and rapid display of geographic entity attribute information.
In a first aspect, to solve the above technical problem, the present invention provides an identifier-based method for displaying geographic entity information, including:
calculating a position code of the geographic entity according to the geographic coordinate and the spatial range of the geographic entity;
obtaining a type code of the geographic entity according to the geometric type and the spatial position of the geographic entity;
acquiring a classification code, a time code and a sequence code of a geographic entity;
generating an identity identification number of the geographic entity according to the classification code, the time code, the sequence code, the position code and the type code;
acquiring name information and website information of a geographic entity;
and generating an identification code of the geographic entity according to the identity identification number, the name information and the website information, and displaying the information of the geographic entity according to the identification code.
Preferably, the method further comprises:
and when the classification codes, the time codes, the position codes and the type codes of any two geographic entities are judged to be completely consistent, determining the sequence codes of the geographic entities according to the acquisition sequence of the geographic entities.
Preferably, the calculating the location code of the geographic entity according to the geographic coordinates and the spatial range of the geographic entity includes:
establishing a plane grid model and a height grid model which comprise different levels;
respectively calculating a plane sub-grid and a height sub-grid of the geographic entity in the plane grid model and the height grid model according to the geographic coordinate and the spatial range of the geographic entity;
acquiring a plane sub-grid code and a height sub-grid code corresponding to the plane sub-grid and the height sub-grid;
and determining the position code of the geographic entity according to the plane sub-grid code, the height sub-grid code and a preset grid model level.
Preferably, the establishing of the plane mesh model and the height mesh model including different levels includes:
carrying out plane projection on the earth surface, and expanding the longitude and latitude to obtain a plane basic grid model;
performing quad-dissection on the plane basic grid model according to a preset grid model level to obtain a plane sub-grid;
obtaining a plane grid model comprising different levels according to the plane sub-grids;
establishing a height basic grid model according to the space range from the geocenter to the earth surface;
according to a preset grid model level, performing binary subdivision on the height basic grid model to obtain a height sub-grid;
and obtaining a height grid model comprising different levels according to the height sub-grids.
Preferably, the method further comprises:
coding the planar sub-grids according to a preset first sequence and a first identifier to obtain planar sub-grid codes;
and coding the height sub-grids according to a preset second sequence and a second identifier to obtain height sub-grid codes.
Preferably, the method comprises:
and generating the identification number of the geographic entity according to the sequence of the position code, the classification code, the type code, the time code and the sequence code.
Preferably, the method further comprises:
acquiring attribute information of the geographic entity according to the identification code;
and dynamically displaying the information of the geographic entity according to a preset display model and the attribute information.
In a second aspect, the present invention provides an identifier-based geographic entity information display apparatus, including:
the position code calculation module is used for calculating the position code of the geographic entity according to the geographic coordinate and the spatial range of the geographic entity;
the type code calculation module is used for obtaining the type code of the geographic entity according to the geometric type and the spatial position of the geographic entity;
the characteristic code acquisition module is used for acquiring a classification code, a time code and a sequence code of the geographic entity;
the identity identification number module is used for generating the identity identification number of the geographic entity according to the classification code, the time code, the sequence code, the position code and the type code;
the information acquisition module is used for acquiring name information and website information of the geographic entity;
and the information display module is used for generating an identification code of the geographic entity according to the identity identification number, the name information and the website information and displaying the information of the geographic entity according to the identification code.
In a third aspect, the present invention further provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor implements the method for displaying geographic entity information based on an identification code according to any one of the above items when executing the computer program.
In a fourth aspect, the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, and when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute any one of the above methods for displaying geographic entity information based on an identification code.
Compared with the prior art, the invention has the following beneficial effects:
the method comprises the steps of calculating a position code of a geographic entity according to a geographic coordinate and a spatial range of the geographic entity, obtaining a type code of the geographic entity according to a geometric type and a spatial position of the geographic entity, then obtaining a classification code, a time code and a sequence code of the geographic entity, then generating an identity identification number of the geographic entity according to the classification code, the time code, the sequence code, the position code and the type code, then obtaining name information and website information of the geographic entity, finally generating an identification code of the geographic entity according to the identity identification number, the name information and the website information, and displaying the information of the geographic entity according to the identification code. The invention can uniquely identify the geographic entity, one identification code corresponds to the unique geographic entity, and the same identification code can not be endowed to other geographic entities for use again. Meanwhile, the geographic entity attribute information can be conveniently and rapidly spread at the mobile terminal based on the identification code, the management of multi-granularity and multi-level geographic entities can be adapted, and the structured, semi-structured and unstructured diversified attribute information of the geographic entities can be displayed.
Drawings
Fig. 1 is a schematic flow chart of a geographic entity information displaying method based on identification codes according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of a geo-entity location-coding rule provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of an information presentation interface of a geographic entity according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an identification code-based geographic entity information display device according to a second embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a first embodiment of the present invention provides an identification code-based geographic entity information display method, including the following steps:
s11, calculating a position code of the geographic entity according to the geographic coordinate and the spatial range of the geographic entity;
s12, obtaining a type code of the geographic entity according to the geometric type and the spatial position of the geographic entity;
s13, acquiring a classification code, a time code and a sequence code of the geographic entity;
s14, generating an identity identification number of the geographic entity according to the classification code, the time code, the sequence code, the position code and the type code;
s15, acquiring name information and website information of the geographic entity;
and S16, generating an identification code of the geographic entity according to the identity identification number, the name information and the website information, and displaying the information of the geographic entity according to the identification code.
In step S11, a location code of the geographic entity is calculated according to the geographic coordinates and the spatial range of the geographic entity. In this embodiment, based on the multidimensional space subdivision of the earth plane four-fork recursion and the height two-fork recursion, the embodiment refers to a set of 0-32-level hierarchical grid systems with the height of 50000km above the earth surface, the integrity of the order of centimeter, the integrity of the order of second and the whole second, and stores geographic entities with different sizes.
In step S12, a type code of the geographic entity is obtained according to the geometric type and the spatial position of the geographic entity. The type code represents the geometric type and spatial location of the geographic entity. The geographic solid geometry types are divided into points, lines, surfaces and bodies which are respectively represented by P, L, Y and B. The geographic ground space position mainly comprises the ground, the underground and the mixed four types which are respectively represented by G, A, U and C.
In step S13, the classification code, time code, sequence code, name information and website information of the geographic entity need to be acquired.
And classifying the geographic entities according to the types of the geographic entities to obtain classification codes. In this embodiment, the classification code is composed of an eight-digit sequence, and the appended table 4 is a geo-entity classification code table, which specifically includes the following: class 1, represented by the numbers 1-9; subgeneric 1-position, represented by the numbers 1-9; class 2 bits, indicated by the numbers 10-99; class 2 bits, represented by the numbers 00-99; subclass 2 bits, represented by numerals 00-99. On the basis of reference to "basic geographic information for urban and rural planning (1. Illustratively, the classification code is 11023105, for example, guangzhou tower.
In this embodiment, the time code is a first-time collection, survey, or database establishment of the geographic entity, and may have different lengths according to the data accuracy requirement. Illustratively, the time code is 20090928.
Further, when the classification codes, the time codes, the position codes and the type codes of any two geographic entities are judged to be completely consistent, the sequence codes of the geographic entities are determined according to the acquisition sequence of the geographic entities.
The sequence code adopts 6-bit fixed-length numeric or alphabetic coding, and when different geographic entity classification codes, type codes, position codes and time codes are completely consistent, the entity sequence code is determined according to the entity acquisition sequence. Illustratively, the sequential code has 6 bits, each bit of the sequential code has a value ranging from 0 to 9 and a to z, and the sequential code is sequentially encoded from right to left, and if the sequential code is less than 6 bits, the high order is complemented by "0", for example, the cantonese tower sequential code is 000001.
In step S14, a geo-entity identity document (GID) of the geographic entity is generated according to the classification code, the time code, the sequence code, the location code, and the type code. Specifically, the identification number of the geographic entity may be generated according to the sequence of the location code, the classification code, the type code, the time code, and the sequence code.
In step S15, name information and website information of the geographic entity are acquired. Note that the name information indicates a geographic entity name, such as a cantonese tower. The website information includes an identification number of the geographic entity, and an example of the website information is shown in table 3. The website information is a geographical entity information website, and the display content of the corresponding geographical entity can be checked through the website. The geographic entity display content mainly comprises geographic entity name, code, basic attribute, professional attribute, picture, real-scene three-dimensional model and other contents.
In step S16, an identification code of the geographic entity is generated according to the identification number, the name information, and the website information, and the information of the geographic entity is displayed according to the identification code. The identification code can be a two-dimensional plane identification such as a two-dimensional code and a bar code.
Further, the method further comprises: and acquiring attribute information of the geographic entity according to the identification code, and dynamically displaying the information of the geographic entity according to a preset display model and the attribute information. The preset display model comprises a webpage template, after the content displayed by the geographic entity is determined, the webpage displays the contents of the name, the code, the basic attribute, the professional attribute, the picture, the live-action three-dimensional model and the like of the geographic entity according to the preset dynamic webpage template, and the geographic entity webpage can be automatically generated and updated based on the template and the non-confidential information of the geographic entity in the GID query database.
In this embodiment, a two-dimensional code is taken as an example for explanation. And automatically generating the two-dimensional code of the geographic entity by the root node and the child node server established by the MA identification system issuing organization according to the GID, the name information and the website information (url) of the geographic entity. The MA identification system is the first international standard identification system which is independently controllable in China and has global root node management right and code resource allocation right, and can be used for carrying out global unique identity identification on objects of any type. After the geographic entity is created, a globally unique ID (GID) is automatically generated, and a globally unique two-dimensional code is also generated by synchronization. The ID and the two-dimensional code are unique identity codes of the geographic entity, do not change along with the updating of the geographic entity until the geographic entity disappears, and embody the purpose of 'measuring one entity once' in novel basic mapping.
In specific application, the spatial identity two-dimensional code of the geographic entity is preferably generated by using national or international standards such as a QR code (ISO/IEC 18004), a quick response matrix code (GB/T18284) or a Hanxin code (GB/T21049).
The geographic entity has various types such as points, lines, surfaces, bodies and the like, and has the distinct characteristics of multiple granularities, multiple modes, multiple layers and the carrying of structured, semi-structured and unstructured diversified information. The invention manages the position data of different types of geographic entities by establishing a multi-level spatial grid; through basic attribute and extended data, the geographic entity attribute data is stored, the organization, processing, analysis, transmission and application efficiency of the geographic entity data is effectively improved, the one-code polymorphic characteristic of novel basic mapping is embodied, the normalized and standardized management of the geographic entity is realized, and more convenient mapping geographic information service is practically provided for various applications.
In order to facilitate an understanding of the invention, some preferred embodiments of the invention will now be described.
In one implementation, calculating a location code of a geographic entity according to a geographic coordinate and a spatial range of the geographic entity specifically includes:
s21, establishing a plane grid model and a height grid model which comprise different levels;
s22, respectively calculating a plane sub-grid and a height sub-grid of the geographic entity in the plane grid model and the height grid model according to the geographic coordinate and the spatial range of the geographic entity;
s23, acquiring a plane sub-grid code and a height sub-grid code corresponding to the plane sub-grid and the height sub-grid;
and S24, determining the position code of the geographic entity according to the plane sub-grid code, the height sub-grid code and a preset grid model level.
In step S21, establishing a planar mesh model and a height mesh model including different levels includes:
carrying out plane projection on the earth surface, and expanding the longitude and latitude to obtain a plane basic grid model;
performing quad-dissection on the plane basic grid model according to a preset grid model level to obtain a plane sub-grid;
obtaining a plane grid model comprising different levels according to the plane sub-grids;
establishing a height basic grid model according to the space range from the geocenter to the earth surface;
according to a preset grid model level, performing binary subdivision on the height basic grid model to obtain a height sub-grid;
and obtaining a height grid model comprising different levels according to the height sub-grid.
When the sub-grids are coded, coding the plane sub-grids according to a preset first sequence and a first identifier to obtain plane sub-grid codes; and coding the height sub-grids according to a preset second sequence and a second identifier to obtain height sub-grid codes.
Specifically, the surface of the earth is subjected to planar projection from the equator and the meridian of the beginning, the longitude is extended from-180 degrees to-256 degrees, the latitude is extended from-90 degrees to-256 degrees to form a square of 512 degrees multiplied by 512 degrees, and the square is used as a planar basic grid model. And performing four-fork subdivision on the plane basic grid model to form 4 plane sub-grids. The two-dimensional plane grid codes respectively represent a southwest hemisphere, a southeast hemisphere, a northwest hemisphere and a northeast hemisphere by G0, G1, G2 and G3, and each level of plane grid is divided according to a quadtree on the basis of an upper level of plane grid to form 4 plane sub-grids.
And further, coding the plane sub-grids according to a preset first sequence and a first identifier to obtain the plane sub-grid codes. In this embodiment, 0, 1, 2, and 3 are used as the first identifier, and the 4 plane sub-grids are encoded in the first order in the zigzag manner. And according to the preset mesh model level, iterating in the above way, continuously subdividing the mesh, establishing plane sub-meshes with different levels, and finally obtaining the plane mesh model comprising different levels according to all the plane sub-meshes. Of course, in other embodiments, other numbers, letters, and the like may also be used as the first identifier, and other coding sequences may also be used as the first sequence, which is not described herein again.
Specifically, a height basic grid model is established from the geocenter to about 56996km of space on the earth surface, and the height basic grid model is 0-512 degrees, wherein 1 degree is about 111.32km. And performing binary subdivision on the height basic grid model to form 2 height sub-grids, and coding the 2 height sub-grids by using 4 and 5 as second identifiers according to a second sequence from low to high. And according to the preset mesh model level, iterating in the above way, continuously subdividing the mesh, establishing sub-meshes with different levels of heights, and finally obtaining the height mesh model comprising different levels according to the height sub-meshes.
In steps S22 to S24, a planar sub-grid and a height sub-grid to which the geographic entity belongs in the planar grid model and the height grid model are respectively calculated according to the geographic coordinate and the spatial range of the geographic entity, a planar sub-grid code and a height sub-grid code corresponding to the planar sub-grid and the height sub-grid are obtained, and then a position code of the geographic entity is determined according to the planar sub-grid code, the height sub-grid code and a preset grid model level.
Further, in the present embodiment, the mesh model hierarchy is set to 18 levels, and the mesh size is 250mx 250m. According to the geographic coordinates and the spatial range of the geographic entity, the position of the geographic entity in the grid is determined, and a grid position coding rule of the geographic entity is established, as shown in the following figure 2. Wherein, X and H respectively represent the position codes of the geographic entities in each plane and height level grid. Illustratively, the generated geo-entity location code is G340414153505242434041534040404050515.
In this embodiment, a database is built and put in storage for the geographic entity data, and information such as GID of each geographic entity is recorded. When the database is established, firstly, the geographic entity range is drawn, the geographic entity is established, and then basic attributes such as the name of the geographic entity, the identification number (GID) of the geographic entity, the classification code, the position code, the time code, the type code, the sequence code, the process node, the extinction time, the address and the like are input. Wherein, the GID is formed by combining a position code, a classification code, a type code, a time code and a sequence code. And in the process of inputting the professional attributes of the geographic entities, inputting the professional attributes of the geographic entities according to the requirements of each professional for using and managing the geographic entities. Taking a building entity as an example, the surveying and mapping profession needs to input attributes such as building floors, structures, units where the building exists, measuring dates and measuring staff, and the literary and travel profession needs to input attributes such as traffic, scenery characteristics and photos. And in the process of warehousing the geographic entity data, storing the geographic entity and the attribute information into a database, and automatically establishing a globally unique GID (group identity) code according to the position code, the classification code, the type code, the time code and the sequence code.
In the using process, a user scans the two-dimensional code, the root node and the child node server established by the MA identification system issuing organization analyze the GID and the url, then the database is called, and the basic attribute and the professional attribute of the geographic entity are searched at the back end according to the geographic entity GID obtained by scanning. And displaying the related attributes of the geographic entity returned by the back end in the webpage according to the webpage template, and dynamically displaying the attribute information of the geographic entity.
The invention designs a method for displaying geographic entity information by using a dynamic webpage, which comprises the steps of storing GID, name and url of a geographic entity in a two-dimensional code, scanning the two-dimensional code to obtain the GID, inquiring non-confidential information such as geographic entity attributes, pictures, videos and live-action three-dimensional models in the background by means of the GID, generating a webpage in a designed webpage template through the geographic entity information returned by the background, and dynamically displaying the related information of the geographic entity, wherein the webpage display is shown in figure 3. The length of the webpage is not limited, the information such as numbers, characters, chinese characters and the like stored in the traditional two-dimensional code can be displayed, the unstructured information such as pictures, real-scene three-dimensional models, panoramic images and the like can also be displayed, and all attributes of geographic entities can be comprehensively displayed. After the geographical field attribute is updated, the web page content can be automatically updated by scanning the two-dimensional code again, and the requirements of different departments on management and display of geographical entities are met. Compared with the traditional bar code, the two-dimensional code can store more information and express more data types, has the advantages of low cost, easy manufacture, strong fault-tolerant capability, error correction function and the like, and has the characteristics of simple and convenient use, easy propagation and the like. The invention utilizes the advantages of the two-dimension code and improves the efficiency of inquiring, transmitting and displaying the geographic entity attribute.
Referring to fig. 4, a second embodiment of the present invention provides an identification code-based geographic entity information displaying apparatus, including:
the position code calculation module is used for calculating the position code of the geographic entity according to the geographic coordinate and the spatial range of the geographic entity;
the type code calculation module is used for obtaining the type code of the geographic entity according to the geometric type and the spatial position of the geographic entity;
the characteristic code acquisition module is used for acquiring a classification code, a time code and a sequence code of the geographic entity;
the identity identification number module is used for generating the identity identification number of the geographic entity according to the classification code, the time code, the sequence code, the position code and the type code;
the information acquisition module is used for acquiring name information and website information of the geographic entity;
and the information display module is used for generating the identification code of the geographic entity according to the identity identification number, the name information and the website information.
Preferably, the position code calculation module includes:
the model establishing unit is used for establishing a plane grid model and a height grid model which comprise different levels;
the sub-grid computing unit is used for respectively computing the plane sub-grid and the height sub-grid of the geographic entity in the plane grid model and the height grid model according to the geographic coordinate and the spatial range of the geographic entity;
the code acquisition unit is used for acquiring the plane sub-grid codes and the height sub-grid codes corresponding to the plane sub-grids and the height sub-grids;
and the position code calculation unit is used for determining the position code of the geographic entity according to the plane sub-grid code, the height sub-grid code and a preset grid model level.
Preferably, the model building unit includes:
the plane basic model unit is used for performing plane projection on the earth surface and expanding longitude and latitude to obtain a plane basic grid model;
the plane sub-grid unit is used for carrying out four-way subdivision on the plane basic grid model according to a preset grid model level to obtain a plane sub-grid;
the plane mesh model unit is used for obtaining plane mesh models comprising different levels according to the plane sub-meshes;
the height basic model unit is used for establishing a height basic grid model according to the space range from the geocenter to the earth surface;
the height sub-grid unit is used for performing binary subdivision on the height basic grid model according to a preset grid model level to obtain a height sub-grid;
and the height grid model unit is used for obtaining height grid models comprising different levels according to the height sub-grids.
Preferably, the apparatus further comprises:
the plane coding module is used for coding the plane sub-grids according to a preset first sequence and a first identifier to obtain plane sub-grid codes;
and the height coding module is used for coding the height sub-grids according to a preset second sequence and a second identifier to obtain height sub-grid codes.
Preferably, the apparatus further comprises:
and the sequence code generation module is used for determining the sequence code of the geographic entity according to the acquisition sequence of the geographic entity when the classification code, the time code, the position code and the type code of any two geographic entities are judged to be completely consistent.
It should be noted that the geographic entity information display device based on the identification code according to the embodiment of the present invention is used for executing all the process steps of the geographic entity information display method based on the identification code according to the embodiment, and the working principles and beneficial effects of the two are in one-to-one correspondence, so that the description is omitted.
Along with the construction of smart cities, the requirements on the spatial characteristics, the attribute characteristics and the organization management system of various geographic information resources are gradually improved, in order to meet various management requirements, unified coding, storage, management, modeling, expression, analysis and visualization are urgently needed to the whole geospatial information related to the earth surface, underground, above water and under water, and indoors and outdoors, a unified attribute management and display method needs to be established, and the scheme has the advantages that:
(1) Uniqueness: according to the scheme, based on GID, global unique identification can be carried out on the basic geographic entity, one mark code corresponds to the unique basic geographic entity, and the same mark code cannot be endowed to other geographic entities for use again;
(2) Standardization: in the scheme, the mark code uses a standard two-dimensional code format specified by the state and comprises necessary geographic entity attributes;
(3) Rapidness: the scheme is based on the mark code, and the geographic entity attribute information can be conveniently and rapidly transmitted at the mobile terminal;
(4) Applicability is as follows: the scheme can adapt to the management of multi-granularity and multi-level geographic entities, and show the structured, semi-structured and unstructured diversified attribute information of the geographic entities;
(5) Compatibility: the scheme stores geographic entity position information based on a multi-level spatial grid, has a good containment relationship with the existing longitude and latitude grid codes and can be compatible with the existing mapping geographic information data;
(6) Expansibility: according to the scheme, the attribute information of geographical entities concerned by other industries is stored by expanding the attributes, and the basic geographical database is linked with the social economic database, so that the use requirements of related services such as natural resources, social economy and the like are met;
(7) Resolvability: the scheme is based on a mark code technology, and realizes the special identification of the geographic entity;
(8) Safety is as follows: the geographical entity data is stored in a database and the signpost attributes do not cover information related to national secrets.
To facilitate an understanding of the invention, examples of the invention are illustrated with reference to tables 1-4.
TABLE 1 example geographic entity basic Properties
Figure BDA0003533883920000131
TABLE 2 example geographic entity professional Attribute
Figure BDA0003533883920000141
Figure BDA0003533883920000151
/>
Table 3 two-dimensional code attribute examples
Figure BDA0003533883920000152
TABLE 4 geocoded tables for geo-entity classification
Figure BDA0003533883920000153
/>
Figure BDA0003533883920000161
/>
Figure BDA0003533883920000171
The embodiment of the invention also provides the terminal equipment. The terminal device includes: a processor, a memory, and a computer program, such as an identification code based geo-entity information presentation program, stored in the memory and executable on the processor. The processor implements the steps in each of the above embodiments of the method for displaying geographic entity information based on the identification code, such as step S11 shown in fig. 1, when executing the computer program. Alternatively, the processor implements the functions of the modules/units in the above device embodiments when executing the computer program, for example, the position code calculating module.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory and executed by the processor to implement the invention. The one or more modules/units may be a series of computer program instruction segments capable of performing certain functions, which are used to describe the execution of the computer program in the terminal device.
The terminal device can be a desktop computer, a notebook, a palm computer, an intelligent tablet and other computing devices. The terminal device may include, but is not limited to, a processor, a memory. It will be appreciated by those skilled in the art that the above components are merely examples of a terminal device and do not constitute a limitation of a terminal device, and that more or fewer components than those described above may be included, or certain components may be combined, or different components may be included, for example, the terminal device may also include input output devices, network access devices, buses, etc.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like, said processor being the control center of said terminal device, and various interfaces and lines are used to connect the various parts of the whole terminal device.
The memory may be used to store the computer programs and/or modules, and the processor may implement various functions of the terminal device by executing or executing the computer programs and/or modules stored in the memory and calling data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein, the terminal device integrated module/unit can be stored in a computer readable storage medium if it is implemented in the form of software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
The above-mentioned embodiments are provided to further explain the objects, technical solutions and advantages of the present invention in detail, and it should be understood that the above-mentioned embodiments are only examples of the present invention and are not intended to limit the scope of the present invention. It should be understood that any modifications, equivalents, improvements and the like, which come within the spirit and principle of the invention, may occur to those skilled in the art and are intended to be included within the scope of the invention.

Claims (9)

1. A geographic entity information display method based on identification codes is characterized by comprising the following steps:
calculating the position code of the geographic entity according to the geographic coordinate and the spatial range of the geographic entity;
obtaining a type code of the geographic entity according to the geometric type and the spatial position of the geographic entity;
acquiring a classification code, a time code and a sequence code of a geographic entity;
generating an identity identification number of the geographic entity according to the classification code, the time code, the sequence code, the position code and the type code;
acquiring name information and website information of a geographic entity;
generating an identification code of the geographic entity according to the identity identification number, the name information and the website information, and displaying the information of the geographic entity according to the identification code;
wherein, calculating the position code of the geographic entity according to the geographic coordinate and the spatial range of the geographic entity comprises:
establishing a plane grid model and a height grid model which comprise different levels;
respectively calculating a plane sub-grid and a height sub-grid of the geographic entity in the plane grid model and the height grid model according to the geographic coordinate and the spatial range of the geographic entity;
acquiring a plane sub-grid code and a height sub-grid code corresponding to the plane sub-grid and the height sub-grid;
determining a position code of a geographic entity according to the plane sub-grid code, the height sub-grid code and a preset grid model level;
the type code is used for representing the geometric type and the spatial position of the geographic entity; the geometric types include points, lines, faces, and volumes; the spatial locations include above ground, below ground and mixed.
2. The identification code based geographic entity information presentation method of claim 1, further comprising:
and when the classification codes, the time codes, the position codes and the type codes of any two geographic entities are judged to be completely consistent, determining the sequence codes of the geographic entities according to the acquisition sequence of the geographic entities.
3. The method for displaying geographic entity information based on identification codes according to claim 1, wherein the establishing of the plane grid model and the height grid model comprising different levels comprises:
performing plane projection on the earth surface, and expanding longitude and latitude to obtain a plane basic grid model;
performing quad-dissection on the plane basic grid model according to a preset grid model level to obtain a plane sub-grid;
obtaining a plane mesh model comprising different levels according to the plane sub-meshes;
establishing a height basic grid model according to the space range from the geocenter to the earth surface;
according to a preset grid model level, performing binary subdivision on the height basic grid model to obtain a height sub-grid;
and obtaining a height grid model comprising different levels according to the height sub-grids.
4. The identification code based geographic entity information presentation method of claim 3, further comprising:
coding the planar sub-grids according to a preset first sequence and a first identifier to obtain planar sub-grid codes;
and coding the height sub-grids according to a preset second sequence and a second identifier to obtain height sub-grid codes.
5. The identification code based geographic entity information presentation method of claim 2, wherein the method comprises:
and generating the identification number of the geographic entity according to the sequence of the position code, the classification code, the type code, the time code and the sequence code.
6. The identification code based geographic entity information presentation method of claim 1, further comprising:
acquiring attribute information of the geographic entity according to the identification code;
and dynamically displaying the information of the geographic entity according to a preset display model and the attribute information.
7. A geographic entity information display device based on identification codes is characterized by comprising:
the position code calculation module is used for calculating the position code of the geographic entity according to the geographic coordinate and the spatial range of the geographic entity;
the type code calculation module is used for obtaining the type code of the geographic entity according to the geometric type and the spatial position of the geographic entity;
the characteristic code acquisition module is used for acquiring a classification code, a time code and a sequence code of the geographic entity;
the identity identification number module is used for generating an identity identification number of the geographic entity according to the classification code, the time code, the sequence code, the position code and the type code;
the information acquisition module is used for acquiring name information and website information of the geographic entity;
the information display module is used for generating an identification code of the geographic entity according to the identity identification number, the name information and the website information and displaying the information of the geographic entity according to the identification code;
wherein the position code calculation module includes:
the model establishing unit is used for establishing a plane grid model and a height grid model which comprise different levels;
the sub-grid computing unit is used for respectively computing the plane sub-grid and the height sub-grid of the geographic entity in the plane grid model and the height grid model according to the geographic coordinate and the spatial range of the geographic entity;
the code acquisition unit is used for acquiring the plane sub-grid codes and the height sub-grid codes corresponding to the plane sub-grids and the height sub-grids;
the position code calculation unit is used for determining the position code of the geographic entity according to the plane sub-grid code, the height sub-grid code and a preset grid model level;
the type code is used for representing the geometric type and the spatial position of the geographic entity; the geometric types include points, lines, faces, and volumes; the spatial locations include above ground, below ground and mixed.
8. A terminal device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the identification code-based geographic entity information presentation method according to any one of claims 1 to 6.
9. A computer-readable storage medium, comprising a stored computer program, wherein when the computer program runs, the computer-readable storage medium controls a device to execute the method for displaying geographic entity information based on identification codes according to any one of claims 1 to 6.
CN202210221844.3A 2022-03-07 2022-03-07 Geographic entity information display method, device, equipment and medium based on identification code Active CN114676368B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210221844.3A CN114676368B (en) 2022-03-07 2022-03-07 Geographic entity information display method, device, equipment and medium based on identification code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210221844.3A CN114676368B (en) 2022-03-07 2022-03-07 Geographic entity information display method, device, equipment and medium based on identification code

Publications (2)

Publication Number Publication Date
CN114676368A CN114676368A (en) 2022-06-28
CN114676368B true CN114676368B (en) 2023-04-07

Family

ID=82071930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210221844.3A Active CN114676368B (en) 2022-03-07 2022-03-07 Geographic entity information display method, device, equipment and medium based on identification code

Country Status (1)

Country Link
CN (1) CN114676368B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115834530A (en) * 2022-09-22 2023-03-21 北京超图骏科数字技术有限公司 Battlefield environment entity data binary coding method and related device
CN115468568A (en) * 2022-11-15 2022-12-13 ***数字城市科技有限公司 Indoor navigation method, device and system, server equipment and storage medium
CN116521805A (en) * 2023-03-27 2023-08-01 山东省国土空间数据和遥感技术研究院(山东省海域动态监视监测中心) Space track storage, query and generation method based on subdivision grid
CN116775676B (en) * 2023-08-16 2023-10-31 山东省国土测绘院 Updating-oriented basic geographic entity coding consistency maintaining method and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609525B (en) * 2012-02-10 2014-04-16 北京大学 Method for dissecting and unifying geographic grid based on longitude and latitude
US9377312B2 (en) * 2014-09-25 2016-06-28 United States Postal Service Methods and systems for creating and using a location identification grid
CN106951453A (en) * 2017-02-23 2017-07-14 浙江工业大学 A kind of geographical entity coding method of quick renewal and data sharing
CN108334579B (en) * 2018-01-25 2021-10-22 孙如江 Geographical name ID number coding device based on space-time service
CN108304559A (en) * 2018-02-08 2018-07-20 广州地理研究所 A kind of regional geography spatial data fusion method
CN114140599A (en) * 2021-12-03 2022-03-04 正元地理信息集团股份有限公司 Method and system for subdividing three-dimensional mesh of earth space

Also Published As

Publication number Publication date
CN114676368A (en) 2022-06-28

Similar Documents

Publication Publication Date Title
CN114676368B (en) Geographic entity information display method, device, equipment and medium based on identification code
CN107545046B (en) Fusion method and device for multi-source heterogeneous data
CN112860689B (en) Platform system based on space-time grid data
CN105701104B (en) Three-dimensional data engine system based on geographic information
CN116680648B (en) Service fusion data generation method and system for digital twin city
CN106933833A (en) A kind of positional information method for quickly querying based on Spatial Data Index Technology
CN111221867A (en) Protective building information management system
CN110209748B (en) Method and apparatus for indexing geofences
CN114048204A (en) Beidou grid space indexing method and device based on database inverted index
CN112685616A (en) Precise power component management method based on space grid and building information model
CN113157988B (en) Method and device for representing geographic information by OFD format file
CN113641776A (en) Method, system and storage medium for displaying space coding of service based on block chain
CN117435823A (en) Space-time data service method based on grid coding and industrial Internet platform
CN109241217A (en) A kind of the condition of a disaster data space statistics, inquiry and methods of exhibiting based on geographic grid
CN115952252B (en) Semantic tile data processing method and device based on dynamic rendering and electronic equipment
CN110209749A (en) A kind of geographical information query method and device based on HBase
CN102103600A (en) Map building method and map system
CN111858613A (en) Service data retrieval method
CN117056581A (en) Data processing method and device
CN111949706B (en) Storage method for land big data distributed mining analysis
CN115309747A (en) Fire fighting management method and platform based on spatial grid data and electronic equipment
KR102276659B1 (en) Method for displaying facility through augmented reality using geospatial information
CN115374198A (en) Urban global data processing method and device
CN115048473A (en) Artificial intelligence service method and system for city information model
CN113360586A (en) Address aggregation degree query method, device and equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant