CN116720480A - Method and device for establishing unified identifier of city management element - Google Patents

Method and device for establishing unified identifier of city management element Download PDF

Info

Publication number
CN116720480A
CN116720480A CN202310739109.6A CN202310739109A CN116720480A CN 116720480 A CN116720480 A CN 116720480A CN 202310739109 A CN202310739109 A CN 202310739109A CN 116720480 A CN116720480 A CN 116720480A
Authority
CN
China
Prior art keywords
management element
coordinate
intermediate code
elevation
code
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.)
Pending
Application number
CN202310739109.6A
Other languages
Chinese (zh)
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.)
SHANGHAI SURVEYING AND MAPPING INSTITUTE
Original Assignee
SHANGHAI SURVEYING AND MAPPING 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 SHANGHAI SURVEYING AND MAPPING INSTITUTE filed Critical SHANGHAI SURVEYING AND MAPPING INSTITUTE
Priority to CN202310739109.6A priority Critical patent/CN116720480A/en
Publication of CN116720480A publication Critical patent/CN116720480A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/126Character encoding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A30/00Adapting or protecting infrastructure or their operation
    • Y02A30/60Planning or developing urban green infrastructure

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a method and a device for establishing a unified identifier of a city management element, wherein the unified identifier of the city management element comprises a space code of the management element in a space environment, and the method comprises the following steps: acquiring plane coordinate information and elevation coordinate information of the management element; space coding conversion is carried out on the plane coordinate information and the elevation coordinate information respectively, and a converted plane coordinate intermediate code and an elevation coordinate intermediate code are obtained; and carrying out format conversion on the plane coordinate intermediate code and the elevation coordinate intermediate code to obtain space code information of the management elements in the space environment, and obtaining the unified identification of the city management elements based on the space code information. Through establishing a city management element unified identifier containing space codes, various management attribute elements are associated with the space elements, and the requirements of integrated organization, attribute fusion, quick search and efficient associated calculation of various management objects are met.

Description

Method and device for establishing unified identifier of city management element
Technical Field
The application relates to the technical field of city management, in particular to a method and a device for establishing a unified identifier of city management elements.
Background
In recent years, digital twin city technology has rapidly developed, and has become one of the hot spots for digital transformation. The core foundation of the digital twin city is a full-element three-dimensional scene, all management elements such as all buildings, structures, facilities, roads, city components, sensing equipment and the like are mapped in a digital space in full quantity, the real scene of each corner is re-carved, and a visual analysis foundation is provided for the fine management of the city. The "precision mapping" is one of the important features of a digital twin city, and is based on the formation of a unique, stable object identification code for all digital twin objects.
At present, the mainstream coding modes comprise longitude and latitude coordinate coding and geospatial grid coding, and the coding modes have certain defects, so that the association relation among all management elements is ignored. The efficiency of inquiring and calculating by means of longitude and latitude coordinates is low and is limited by data quantity; the identification of city management elements by geospatial trellis coding has certain limitations in terms of uniqueness and associated integration of data, etc. At present, how to efficiently, orderly and informatively manage urban data and establish a method for uniformly identifying urban management elements becomes a difficult problem to be solved in the current digital twin urban construction.
Disclosure of Invention
The embodiment of the application aims to provide a method and a device for establishing a unified identifier of a city management element, which are used for realizing the association of various management attribute elements and space elements by establishing the unified identifier of the city management element containing space codes, meeting the requirements of integrated organization, attribute fusion, quick search and efficient association calculation of various management objects, improving the efficiency of organizing, processing, analyzing and operating a digital twin management object unit, realizing the standardization and standardized management of basic geographic entities, and really providing better, more convenient and faster information service for various digital twin application scenes.
In order to solve the above technical problems, a first aspect of the embodiments of the present application provides a method for establishing a unified identifier of a city management element, where the unified identifier of the city management element includes a space code of the management element in a space environment, and the method includes the following steps:
acquiring plane coordinate information and elevation coordinate information of the management element;
performing space coding conversion on the plane coordinate information and the elevation coordinate information respectively to obtain a converted plane coordinate intermediate code and an elevation coordinate intermediate code;
and carrying out format conversion on the plane coordinate intermediate code and the elevation coordinate intermediate code to obtain space code information of the management elements in the space environment, and obtaining the city management elements to be uniformly identified based on the space code information.
Further, the spatial coding conversion is performed on the plane coordinate information and the elevation coordinate information to obtain a converted plane coordinate intermediate code and an elevation coordinate intermediate code, which include the following steps:
according to the layering progression of the space environment plane coordinates, combining plane coordinate information of the management elements to obtain plane coordinate intermediate codes corresponding to the management elements;
according to the layering progression of the space environment elevation coordinate, acquiring an elevation coordinate intermediate code corresponding to the management element by combining the elevation coordinate information of the management element;
the plane coordinate of the space environment comprises a first preset number of series ranges, and the elevation coordinate range of the space environment comprises a second preset number of series ranges.
Further, the obtaining, according to the hierarchical level of the plane coordinates of the spatial environment, the plane coordinate intermediate code corresponding to the management element in combination with the plane coordinate information of the management element includes:
acquiring an abscissa numerical value range and an ordinate numerical value range of each layer in a plane coordinate in the space environment, and judging areas of the abscissa and the ordinate of the management element falling into the abscissa numerical value range and the ordinate numerical value range respectively layer by layer;
when the abscissa and the ordinate of the management element respectively fall into the first half area of the abscissa numerical range and the ordinate numerical range, respectively assigning the corresponding positions of the abscissa intermediate code and the ordinate intermediate code of the management element as a third preset value;
when the abscissa and the ordinate of the management element respectively fall into the latter half areas of the abscissa numerical range and the ordinate numerical range, respectively assigning the corresponding positions of the abscissa intermediate code and the ordinate intermediate code of the management element as fourth preset values;
wherein the number of bits of the abscissa intermediate code and the ordinate intermediate code of the management element corresponds to the number of bits of the hierarchical level of the spatial environment plane coordinate.
Further, the method further comprises the following steps:
the horizontal coordinate intermediate code and the vertical coordinate intermediate code of the management element are subjected to same-precision odd-even combination to obtain a plane coordinate intermediate code of the management element;
wherein, the odd number bit of the plane coordinate intermediate code of the management element is the abscissa intermediate code of the management element, and the even number bit is the ordinate intermediate code of the management element.
Further, the step of obtaining the intermediate code of the elevation coordinate corresponding to the management element by combining the elevation coordinate information of the management element according to the hierarchical level of the elevation coordinate of the space environment comprises the following steps:
acquiring a numerical range of each layer in the elevation coordinate in the space environment, and judging the area of the elevation coordinate of the management element falling into the numerical range of each layer in the elevation coordinate;
when the elevation coordinate of the management element falls into the first half area of the numerical range of each layer in the elevation coordinate, assigning a third preset numerical value to the corresponding position of the elevation coordinate intermediate code of the management element;
when the elevation coordinate of the management element falls into the latter half region of the numerical range of each layer in the elevation coordinate, assigning a fourth preset numerical value to the corresponding position of the elevation coordinate intermediate code of the management element;
the number of bits of the intermediate code of the elevation coordinate of the management element corresponds to the number of bits of the hierarchical level of the elevation coordinate of the management element.
Further, the method further comprises the following steps:
and determining a first preset number of values of a plane coordinate level range and a second preset number of values of an elevation coordinate level range of the space environment according to the space environment.
Further, the performing format conversion on the plane coordinate intermediate code and the elevation coordinate intermediate code includes:
and carrying out format conversion on the plane coordinate intermediate code and the elevation coordinate intermediate code based on a Base32 coding rule to obtain space code information of the management element in the space environment.
Accordingly, a second aspect of the embodiment of the present application provides a device for establishing a unified city management element identifier, where the unified city management element identifier includes a space code of a management element in a space environment, and the device includes:
the coordinate acquisition module is used for acquiring plane coordinate information and elevation coordinate information of the management element;
the coordinate conversion module is used for carrying out space coding conversion on the plane coordinate information and the elevation coordinate information respectively to obtain a converted plane coordinate intermediate code and an elevation coordinate intermediate code;
and the format conversion module is used for carrying out format conversion on the plane coordinate intermediate code and the elevation coordinate intermediate code to obtain space code information of the management element in the space environment, and obtaining the city management element unified identification based on the space code information.
Further, the coordinate conversion module includes:
the plane coordinate conversion unit is used for acquiring a plane coordinate intermediate code corresponding to the management element according to the layering progression of the plane coordinate of the space environment and combining the plane coordinate information of the management element;
the elevation coordinate conversion unit is used for acquiring an elevation coordinate intermediate code corresponding to the management element according to the layering progression of the elevation coordinate of the space environment and combining the elevation coordinate information of the management element;
the plane coordinate of the space environment comprises a first preset number of series ranges, and the elevation coordinate range of the space environment comprises a second preset number of series ranges.
Further, the plane coordinate conversion unit includes:
the plane coordinate information judging subunit is used for acquiring an abscissa numerical value range and an ordinate numerical value range of each layer in the plane coordinates in the space environment, and judging areas of which the abscissas and the ordinates of the management elements fall into the abscissa numerical value range and the ordinate numerical value range respectively layer by layer;
a first intermediate code assignment subunit, configured to assign, when an abscissa and an ordinate of the management element respectively fall into a first half area of the abscissa numerical range and the ordinate numerical range, a third preset value to positions corresponding to the abscissa intermediate code and the ordinate intermediate code of the management element respectively;
the first intermediate code assignment subunit is further configured to assign, when the abscissa and the ordinate of the management element respectively fall into the second half areas of the abscissa numerical range and the ordinate numerical range, the positions corresponding to the abscissa intermediate code and the ordinate intermediate code of the management element to a fourth preset value;
wherein the number of bits of the abscissa intermediate code and the ordinate intermediate code of the management element corresponds to the number of bits of the hierarchical level of the spatial environment plane coordinate.
Further, the plane coordinate conversion unit further includes:
the plane coordinate information merging subunit is used for carrying out same-precision odd-even merging on the abscissa intermediate code and the ordinate intermediate code of the management element to obtain the plane coordinate intermediate code of the management element;
wherein, the odd number bit of the plane coordinate intermediate code of the management element is the abscissa intermediate code of the management element, and the even number bit is the ordinate intermediate code of the management element.
Further, the elevation coordinate converting unit includes:
an elevation coordinate information judging subunit, configured to obtain a numerical range of each layer in an elevation coordinate in the spatial environment, and judge that an elevation coordinate of the management element falls into a region of the numerical range of each layer in the elevation coordinate;
a second intermediate code assignment subunit, configured to assign a third preset value to a position corresponding to the intermediate code of the elevation coordinate of the management element when the elevation coordinate of the management element falls into a first half region of the numerical range of each layer in the elevation coordinate;
the second intermediate code assignment subunit is further configured to assign a fourth preset value to a position corresponding to the intermediate code of the elevation coordinate of the management element when the elevation coordinate of the management element falls into a second half region of the numerical range of each layer in the elevation coordinate;
the number of bits of the intermediate code of the elevation coordinate of the management element corresponds to the number of bits of the hierarchical level of the elevation coordinate of the management element.
Further, the coordinate conversion module further includes:
and the precision determining unit is used for determining a first preset number of values of the plane coordinate level range and a second preset number of values of the elevation coordinate level range of the space environment according to the space environment.
Further, the format conversion module performs format conversion on the plane coordinate intermediate code and the elevation coordinate intermediate code based on a Base32 coding rule to obtain space code information of the management element in the space environment.
Accordingly, a third aspect of the embodiment of the present application provides an electronic device, including: at least one processor; and a memory coupled to the at least one processor; the memory stores instructions executable by the one processor, and the instructions are executed by the one processor, so that the at least one processor executes the city management element unified identification building method.
Accordingly, a fourth aspect of the embodiments of the present application provides a computer-readable storage medium having stored thereon computer instructions that, when executed by a processor, implement the above-described method for building a uniform identity of urban management elements.
The technical scheme provided by the embodiment of the application has the following beneficial technical effects:
through establishing a unified identifier of the city management element containing the space code, various management attribute elements are associated with the space element, the requirements of integrated organization, attribute fusion, quick search and efficient associated calculation of various management objects are met, the efficiency of organizing, processing, analyzing and operating the digital twin management object units is improved, standardized and standardized management of basic geographic entities is realized, and better, more convenient and faster information service is practically provided for various digital twin application scenes.
Drawings
FIG. 1 is a flowchart of a method for establishing a unified identity of urban management elements provided by an embodiment of the application;
FIG. 2 is a schematic diagram of a preset administrative division provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of a city management element unified identity composition provided by an embodiment of the present application;
fig. 4 is a block diagram of a city management element unified identity building device according to an embodiment of the present application;
FIG. 5 is a block diagram of a coordinate conversion module according to an embodiment of the present application;
FIG. 6 is a block diagram of a planar coordinate conversion unit according to an embodiment of the present application;
fig. 7 is a block diagram of an elevation coordinate converting unit according to an embodiment of the present application.
Reference numerals:
1. a coordinate acquisition module 2, a coordinate conversion module 21, a plane coordinate conversion unit 211, a plane coordinate information judgment subunit 212, a first intermediate code assignment subunit 213, a plane coordinate information merging subunit, 22, an elevation coordinate conversion unit 221, an elevation coordinate information judgment subunit 222, a second intermediate code assignment subunit 23, an accuracy determination unit 3 and a format conversion module.
Detailed Description
The objects, technical solutions and advantages of the present application will become more apparent by the following detailed description of the present application with reference to the accompanying drawings. It should be understood that the description is only illustrative and is not intended to limit the scope of the application. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the present application.
The city management element object identifier is an identity identifier of an element, is a unique identifier for data extraction, association, analysis, sharing and other purposes, reflects geographic position and category attribute to a certain extent, and consists of a division code, a space code, a classification code, a geometric code and a sequential code, wherein the division code, the classification code and the geometric code can be executed according to related standard specifications.
The space position subdivision grid is a discrete grid, and space region information is expressed through subdivision patches, so that the space position subdivision grid has the advantages of multiple scales, uniqueness, calculability and the like. Each mesh grid has a unique identification code that can be used as a "container" to store all information about the identified spatial region. By means of the hierarchical nesting principle of the identification codes, the spatial relation calculation of any two spatial objects in the same spatial environment can be realized by calculating based on the coding bits.
The application aims at a space code coding method, provides a unified identification building method of a subdivision grid based on plane coordinates, and solves the problems of area location identification, information sharing and efficient calculation of urban management elements.
Referring to fig. 1, a first aspect of the embodiment of the present application provides a method for establishing a unified identifier of a city management element, where the unified identifier of the city management element includes a space code of the management element in a space environment, and the method includes the following steps:
step S100, plane coordinate information and elevation coordinate information of the management element are acquired.
And step 200, performing space coding conversion on the plane coordinate information and the elevation coordinate information respectively to obtain a converted plane coordinate intermediate code and an elevation coordinate intermediate code.
And step S300, performing format conversion on the plane coordinate intermediate code and the elevation coordinate intermediate code to obtain space code information of the management elements in the space environment, and obtaining the unified identification of the city management elements based on the space code information.
Specifically, step S300, performing format conversion on the plane coordinate intermediate code and the elevation coordinate intermediate code, includes:
and carrying out format conversion on the plane coordinate intermediate code and the elevation coordinate intermediate code based on a Base32 coding rule to obtain space code information of the management element in a space environment.
Specifically, in step S200, space coding conversion is performed on the plane coordinate information and the elevation coordinate information to obtain a converted plane coordinate intermediate code and an elevation coordinate intermediate code, which include the following steps:
step S220, according to the layering progression of the plane coordinates of the space environment, the plane coordinate intermediate codes corresponding to the management elements are obtained by combining the plane coordinate information of the management elements.
Step S230, according to the hierarchical level of the space environment elevation coordinate, the elevation coordinate intermediate codes corresponding to the management elements are obtained by combining the elevation coordinate information of the management elements.
The plane coordinates of the space environment comprise a first preset number of series ranges, and the elevation coordinate ranges of the space environment comprise a second preset number of series ranges.
In addition, in step S200, further includes:
step S210, determining a first preset number of values of a plane coordinate level range and a second preset number of values of an elevation coordinate level range of the space environment according to the space environment.
Further, in step S220, according to the hierarchical level of the plane coordinates of the space environment, the plane coordinate intermediate code corresponding to the management element is obtained by combining the plane coordinate information of the management element, and the method includes:
in step S221, the abscissa value range and the ordinate value range of each layer in the plane coordinates in the space environment are obtained, and the areas where the abscissa and the ordinate of the management element fall into the abscissa value range and the ordinate value range respectively are determined layer by layer.
In step S222, when the abscissa and the ordinate of the management element respectively fall into the first half regions of the abscissa numerical range and the ordinate numerical range, the corresponding positions of the abscissa intermediate code and the ordinate intermediate code of the management element are respectively assigned to the third preset values.
In step S223, when the abscissa and the ordinate of the management element respectively fall into the second half areas of the abscissa value range and the ordinate value range, the positions corresponding to the abscissa intermediate code and the ordinate intermediate code of the management element are respectively assigned as the fourth preset values.
Wherein the number of bits of the abscissa intermediate code and the ordinate intermediate code of the management element corresponds to the number of bits of the hierarchical level of the space environment plane coordinate.
Further, in step S220, the method further includes:
in step S224, the abscissa intermediate code and the ordinate intermediate code of the management element are combined with the same precision and parity to obtain the plane coordinate intermediate code of the management element. Wherein, the odd number bit of the plane coordinate intermediate code of the management element is the abscissa intermediate code of the management element, and the even number bit is the ordinate intermediate code of the management element.
Specifically, in one embodiment, the planar code encoding scheme: at + -2 n For the coordinate range of the largest hierarchy, the most of the hierarchiesThe large level is determined according to the code coverage, for example, taking Shanghai city area range as an example, in order to ensure full coverage of the main area range, n is 17, as shown in fig. 2.
The minimum grading is determined according to the expected coding precision, and when n is minus 7, the minimum coding range is 0.03m, and the coding precision is higher than the decimeter grade. The range of the grading values is [ -7,17], 25 bits total, and the comparison of the space code coordinate ranges is shown in table 1.
TABLE 1 space code coordinate Range reference Table (plane, unit m)
With the increasing number of subdivision levels, the longer the code, the smaller the identifiable spatial range, and the higher the accuracy. Conversely, the smaller the subdivision level, the shorter the encoding length, the larger the spatial extent it identifies, and the lower the accuracy.
b) Starting from the left range of the maximum level, segmenting the coordinate range according to the middle point, if the coordinate falls into the first half area, coding into 0, otherwise, coding into 1, setting the area range in which the coordinate falls into as the next level of judgment range, and pushing the area range until the precision requirement is met, wherein the coding result is a group of binary codes;
c) And combining the abscissa and the ordinate after coding according to the same precision, and coding the abscissa by odd bits and the ordinate by even bits, and coding by Base32 after forming a new binary code. The abscissa and the ordinate are 50 bits in total, every 5 bits are a group according to the Base32 coding rule, and the coded bits are 10 bits.
Further, in step S230, according to the hierarchical level of the space environment elevation coordinate, the elevation coordinate intermediate code corresponding to the management element is obtained by combining the elevation coordinate information of the management element, and the method comprises the following steps:
in step S231, the numerical range of each layer in the elevation coordinate in the space environment is obtained, and the area of the numerical range of each layer in the elevation coordinate in which the elevation coordinate of the management element falls is determined.
In step S232, when the elevation coordinate of the management element falls into the first half region of the numerical range of each layer in the elevation coordinate, the corresponding position of the elevation coordinate intermediate code of the management element is assigned as a third preset numerical value.
In step S233, when the elevation coordinate of the management element falls into the second half region of the numerical range of each layer in the elevation coordinate, the corresponding position of the elevation coordinate intermediate code of the management element is assigned as the fourth preset numerical value.
Wherein the number of bits of the intermediate code of the elevation coordinate of the management element corresponds to the number of bits of the hierarchical level of the elevation coordinate of the management element.
In a specific embodiment, the elevation code coding mode is similar to the plane code, the elevation value range is comprehensively considered, the coordinate unit is meter, the highest precision is higher than decimeter level, and the grading value range is [ -4,10], and the total 15 bits are taken into account. According to the Base32 coding rule, every 5 bits are a group, and the coded bits are 3 bits. When the elevation information is empty, the default value is 000. The space code elevation coordinate ranges are specifically shown in table 2.
TABLE 2 space code coordinate Range control Table (elevation, unit m)
n is a value 10 9 4 3 2 1 0 -1 -2 -3 -4
2 n Value taking 1024 512 16 8 4 2 1 0.5 0.25 0.125 0.0625
Range 2048 1024 32 16 8 4 2 1 0.5 0.25 0.125
Taking the address "the god of longevity 99 is No. 15" as an example, the plane coordinates (-1158.431, 6951.307) where the god of longevity 99 is located are encoded according to the above-mentioned encoding method (the calculation process is shown in table 3), and the abscissa is converted and encoded as: 0111111011011110011001000, also in terms of ordinate-code calculated according to the method: 1000011011001001110100111 the abscissa and the ordinate are coded according to the same precision and then combined, the odd-numbered abscissa and the even-numbered ordinate are coded, the combined code is 0110101010 11110 01111 00101 11010 01011 11001 00100 10101, and the combined code is converted into NK6PF2LZEV by using Base32 code. Elevation 4.30 was encoded (calculation process see table 4), and the elevation was encoded after conversion as: 100000001000100, base32 is used to encode the EBA.
TABLE 3 abscissa calculation
Table 4 elevation coding
Progression of the Elevation range Front half area range Second half area range Encoding
1 (-1024,1024) (-1024,0) [0,1024) 1
2 [0,1024) (0,512) [512,1024) 0
3 (0,512) (0,256) [256,512) 0
4 (0,256) (0,128) [128,256) 0
5 (0,128) (0,64) [64,128) 0
6 (0,64) (0,32) [32,64) 0
7 (0,32) (0,16) [16,32) 0
8 (0,16) (0,8) [8,16) 0
9 (0,8) (0,4) [4,8) 1
10 [4,8) [4,6) [6,8) 0
11 (4,6) (4,5) [5,6) 0
12 (4,5) (4,4.5) [4.5,5) 0
13 (4,4.5) (4,4.25) [4.25,4.5) 1
14 (4.25,4.5) (4.25,4.375) [4.375,4.5) 0
15 (4.25,4.375) (4.25,4.3125) [4.3125,4.5) 0
In the above method for establishing the city management element unified identifier including the space code, as shown in fig. 3, the city management element unified identifier is composed of a region code, a classification code, a geometric code, a space code and a sequential code, 36 bits are total, wherein the region code is 12 bits, the classification code is 6 bits, the geometric code is 1 bit, the space code is 13 bits, and the sequential code is 4 bits.
(1) Area code
As shown in Table 5, the area code is composed of four levels of administrative codes of city, district, street town, village, etc., and the two levels of administrative codes of city, district, two levels of administrative codes refer to local related specifications and scripts by referring to the regulations of GB/T2260 "administrative code of the people's republic of China".
TABLE 5 zonal code encoding rules
Taking the address "the god of longevity 99 is No. 15" as an example, the coordinate of the space point is the abscissa: -1158.431, the ordinate: 6951.307, elevation 4.30, zoning code comparison is shown in Table 6.
TABLE 6 zonal code control
Shanghai city Still district Daning street Yue Xiu Lu Ju Command
310 106 019 012
(2) Classification code
The city management element classification code refers to GB/T13923-2022 basic geographic element classification and code, the 1 st bit from the left is a large class code, the 2 nd bit is a medium class code, the 3 rd bit and the 4 th bit are small class codes, the 5 th bit and the 6 th bit are sub class codes, and the default is 000000 when classification cannot be performed. The classifier group structure is shown in table 7.
TABLE 7 Classification code coding composition
Taking the address "the goddess of longevity 99 gets the number 15" as an example, its classification corresponds to the manual place name, and its classification code is 910000.
(3) Geometric code:
geometric codes represent the geometric types of urban management elements and are divided into four categories of points, lines, planes and volumes. Typical city management element geometry type classifications and codes are shown in table 8.
TABLE 8 exemplary City management element geometry type Classification and codes
Taking the address "the goddess of longevity 99 is No. 15" as an example, the geometric type is a point, and the geometric code is 1.
(4) Space code
Generating a space code by using plane and elevation information of the city management elements; the dot-like element uses its own position information, and the linear element, the plane, and the body element use position information of the element center point (centroid).
(5) Sequential code
The sequence code is 4 bits, and from 1, the city management elements with the same division code, space code and classification code are sequentially encoded in sequence, and default is 0001.
In summary, the code for address "sushi 99 No. 15" is 3101060190129100001NK6PF2LZEVEBA0001, and the codes of the parts are shown in table 9.
TABLE 9 integral code
Compared with the traditional coded mark, the city management element unified mark method based on the plane coordinate system subdivision grid has the following technical effects:
(1) Calculating: the identification is concise, the dimension is reduced, the storage space is small, the calculation efficiency is high, and the computer is convenient to identify, generate codes, convert different systems and calculate the spatial relationship;
(2) Positioning: according to the management requirement, dynamically adjusting the spatial precision of the mark, and realizing the accurate mapping of the object information and the spatial position;
(3) Uniqueness: under a unified space coordinate system, the space characteristics (plane and elevation) of the elements are used as coding marks, and the uniqueness is ensured according to the realization of 'one object one code', 'one event one code';
(4) Two three dimensions: combining elevation elements and three-dimensional expression, and supporting the identification and calculation of multi-granularity city management elements in a two-dimensional or three-dimensional grid;
(5) Expansibility: the general structure of the city management elements is regulated by the prior related standard, and the identification such as region, classification and the like is linked with the prior standard.
Accordingly, referring to fig. 4, a second aspect of the embodiment of the present application provides a device for establishing a unified city management element identifier, where the unified city management element identifier includes a space code of a management element in a space environment, and the device includes:
a coordinate acquisition module 1 for acquiring plane coordinate information and elevation coordinate information of the management element;
the coordinate conversion module 2 is used for performing space coding conversion on the plane coordinate information and the elevation coordinate information respectively to obtain a converted plane coordinate intermediate code and an elevation coordinate intermediate code;
and the format conversion module 3 is used for carrying out format conversion on the plane coordinate intermediate code and the elevation coordinate intermediate code to obtain space code information of the management elements in the space environment, and obtaining the unified identification of the city management elements based on the space code information.
Further, referring to fig. 5, the coordinate conversion module 2 includes:
a plane coordinate conversion unit 21, configured to obtain a plane coordinate intermediate code corresponding to the management element in combination with plane coordinate information of the management element according to a hierarchical level of the plane coordinates of the spatial environment;
an elevation coordinate conversion unit 22, configured to obtain an elevation coordinate intermediate code corresponding to the management element according to the hierarchical level of the elevation coordinate of the space environment in combination with the elevation coordinate information of the management element;
the plane coordinates of the space environment comprise a first preset number of series ranges, and the elevation coordinate ranges of the space environment comprise a second preset number of series ranges.
Further, referring to fig. 6, the plane coordinate conversion unit 21 includes:
a plane coordinate information judging subunit 211, configured to acquire an abscissa value range and an ordinate value range of each layer in the plane coordinates in the spatial environment, and judge, layer by layer, areas where the abscissa and the ordinate of the management element fall into the abscissa value range and the ordinate value range, respectively;
a first intermediate code assignment subunit 212, configured to assign, when the abscissa and the ordinate of the management element respectively fall into the first half areas of the abscissa value range and the ordinate value range, the positions corresponding to the abscissa intermediate code and the ordinate intermediate code of the management element respectively to a third preset value;
the first intermediate code assignment subunit 212 is further configured to assign, when the abscissa and the ordinate of the management element respectively fall into the second half of the abscissa value range and the ordinate value range, the positions corresponding to the abscissa intermediate code and the ordinate intermediate code of the management element respectively to a fourth preset value;
wherein the number of bits of the abscissa intermediate code and the ordinate intermediate code of the management element corresponds to the number of bits of the hierarchical level of the space environment plane coordinate.
Further, the plane coordinate conversion unit 21 further includes:
a plane coordinate information merging subunit 213, configured to perform same-precision parity merging on the abscissa intermediate code and the ordinate intermediate code of the management element, so as to obtain a plane coordinate intermediate code of the management element;
wherein, the odd number bit of the plane coordinate intermediate code of the management element is the abscissa intermediate code of the management element, and the even number bit is the ordinate intermediate code of the management element.
Further, referring to fig. 7, the elevation coordinate converting unit 22 includes:
an elevation coordinate information judging subunit 221, configured to obtain a numerical range of each layer in the elevation coordinates in the spatial environment, and judge that the elevation coordinates of the management element fall into a region of the numerical range of each layer in the elevation coordinates;
a second intermediate code assignment subunit 222, configured to assign a third preset value to a position corresponding to the intermediate code of the elevation coordinate of the management element when the elevation coordinate of the management element falls into the first half region of the numerical range of each layer in the elevation coordinate;
the second intermediate code assignment subunit 222 is further configured to assign a fourth preset value to a position corresponding to the intermediate code of the elevation coordinate of the management element when the elevation coordinate of the management element falls into the second half of the numerical range of each layer in the elevation coordinate;
wherein the number of bits of the intermediate code of the elevation coordinate of the management element corresponds to the number of bits of the hierarchical level of the elevation coordinate of the management element.
Further, the coordinate conversion module 2 further includes:
an accuracy determining unit 23 for determining a first preset number of values of the planar coordinate level range and a second preset number of values of the elevation coordinate level range of the spatial environment according to the spatial environment.
Further, the format conversion module 3 performs format conversion on the plane coordinate intermediate code and the elevation coordinate intermediate code based on a Base32 coding rule to obtain space code information of the management element in a space environment.
Accordingly, a third aspect of the embodiment of the present application provides an electronic device, including: at least one processor; and a memory coupled to the at least one processor; the memory stores instructions executable by a processor, and the instructions are executed by the processor, so that at least one processor executes the city management element unified identification building method.
Accordingly, a fourth aspect of the embodiments of the present application provides a computer-readable storage medium having stored thereon computer instructions that, when executed by a processor, implement the above-described method for building a uniform identity of urban management elements.
The embodiment of the application aims to protect a method and a device for establishing a unified identifier of a city management element, wherein the unified identifier of the city management element comprises a space code of the management element in a space environment, and the method comprises the following steps: acquiring plane coordinate information and elevation coordinate information of the management element; space coding conversion is carried out on the plane coordinate information and the elevation coordinate information respectively, and a converted plane coordinate intermediate code and an elevation coordinate intermediate code are obtained; and carrying out format conversion on the plane coordinate intermediate code and the elevation coordinate intermediate code to obtain space code information of the management elements in the space environment, and obtaining the unified identification of the city management elements based on the space code information. The technical scheme has the following effects:
through establishing a unified identifier of the city management element containing the space code, various management attribute elements are associated with the space element, the requirements of integrated organization, attribute fusion, quick search and efficient associated calculation of various management objects are met, the efficiency of organizing, processing, analyzing and operating the digital twin management object units is improved, standardized and standardized management of basic geographic entities is realized, and better, more convenient and faster information service is practically provided for various digital twin application scenes.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical aspects of the present application and not for limiting the same, and although the present application has been described in detail with reference to the above embodiments, it should be understood by those of ordinary skill in the art that: modifications and equivalents may be made to the specific embodiments of the application without departing from the spirit and scope of the application, which is intended to be covered by the claims.

Claims (10)

1. A method for establishing a unified identifier of a city management element is characterized in that the unified identifier of the city management element comprises a space code of the management element in a space environment, and comprises the following steps:
acquiring plane coordinate information and elevation coordinate information of the management element;
performing space coding conversion on the plane coordinate information and the elevation coordinate information respectively to obtain a converted plane coordinate intermediate code and an elevation coordinate intermediate code;
and carrying out format conversion on the plane coordinate intermediate code and the elevation coordinate intermediate code to obtain space code information of the management elements in the space environment, and obtaining the city management elements to be uniformly identified based on the space code information.
2. The method for establishing the unified identity of the urban management element according to claim 1, wherein the spatial code conversion is performed on the plane coordinate information and the elevation coordinate information to obtain a converted plane coordinate intermediate code and an elevation coordinate intermediate code, respectively, and the method comprises the following steps:
according to the layering progression of the space environment plane coordinates, combining plane coordinate information of the management elements to obtain plane coordinate intermediate codes corresponding to the management elements;
according to the layering progression of the space environment elevation coordinate, acquiring an elevation coordinate intermediate code corresponding to the management element by combining the elevation coordinate information of the management element;
the plane coordinate of the space environment comprises a first preset number of series ranges, and the elevation coordinate range of the space environment comprises a second preset number of series ranges.
3. The method for establishing the unified identity of the urban management element according to claim 2, wherein the obtaining the plane coordinate intermediate code corresponding to the management element according to the hierarchical level of the plane coordinate of the space environment and combining the plane coordinate information of the management element comprises the following steps:
acquiring an abscissa numerical value range and an ordinate numerical value range of each layer in a plane coordinate in the space environment, and judging areas of the abscissa and the ordinate of the management element falling into the abscissa numerical value range and the ordinate numerical value range respectively layer by layer;
when the abscissa and the ordinate of the management element respectively fall into the first half area of the abscissa numerical range and the ordinate numerical range, respectively assigning the corresponding positions of the abscissa intermediate code and the ordinate intermediate code of the management element as a third preset value;
when the abscissa and the ordinate of the management element respectively fall into the latter half areas of the abscissa numerical range and the ordinate numerical range, respectively assigning the corresponding positions of the abscissa intermediate code and the ordinate intermediate code of the management element as fourth preset values;
wherein the number of bits of the abscissa intermediate code and the ordinate intermediate code of the management element corresponds to the number of bits of the hierarchical level of the spatial environment plane coordinate.
4. The method for establishing a unified identity of urban management elements according to claim 3, further comprising:
the horizontal coordinate intermediate code and the vertical coordinate intermediate code of the management element are subjected to same-precision odd-even combination to obtain a plane coordinate intermediate code of the management element;
wherein, the odd number bit of the plane coordinate intermediate code of the management element is the abscissa intermediate code of the management element, and the even number bit is the ordinate intermediate code of the management element.
5. The method for establishing the unified identity of the urban management element according to claim 2, wherein the step of obtaining the elevation coordinate intermediate code corresponding to the management element according to the hierarchical level of the elevation coordinate of the space environment in combination with the elevation coordinate information of the management element comprises the following steps:
acquiring a numerical range of each layer in the elevation coordinate in the space environment, and judging the area of the elevation coordinate of the management element falling into the numerical range of each layer in the elevation coordinate;
when the elevation coordinate of the management element falls into the first half area of the numerical range of each layer in the elevation coordinate, assigning a third preset numerical value to the corresponding position of the elevation coordinate intermediate code of the management element;
when the elevation coordinate of the management element falls into the latter half region of the numerical range of each layer in the elevation coordinate, assigning a fourth preset numerical value to the corresponding position of the elevation coordinate intermediate code of the management element;
the number of bits of the intermediate code of the elevation coordinate of the management element corresponds to the number of bits of the hierarchical level of the elevation coordinate of the management element.
6. The method for establishing a unified identity of urban management elements according to claim 2, further comprising:
and determining a first preset number of values of a plane coordinate level range and a second preset number of values of an elevation coordinate level range of the space environment according to the space environment.
7. The method for establishing a unified identity of a city management element according to any one of claims 1 to 6, wherein the performing format conversion on the plane coordinate intermediate code and the elevation coordinate intermediate code includes:
and carrying out format conversion on the plane coordinate intermediate code and the elevation coordinate intermediate code based on a Base32 coding rule to obtain space code information of the management element in the space environment.
8. A city management element uniform identification establishing device, characterized in that the city management element uniform identification includes a space code of the management element in a space environment, the device includes:
the coordinate acquisition module is used for acquiring plane coordinate information and elevation coordinate information of the management element;
the coordinate conversion module is used for carrying out space coding conversion on the plane coordinate information and the elevation coordinate information respectively to obtain a converted plane coordinate intermediate code and an elevation coordinate intermediate code;
and the format conversion module is used for carrying out format conversion on the plane coordinate intermediate code and the elevation coordinate intermediate code to obtain space code information of the management element in the space environment, and obtaining the city management element unified identification based on the space code information.
9. An electronic device, comprising: at least one processor; and a memory coupled to the at least one processor; wherein the memory stores instructions executable by the one processor to cause the at least one processor to perform the method for building a city management element uniform identification according to any one of claims 1-7.
10. A computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the method of building a uniform identity of urban management elements according to any of claims 1-7.
CN202310739109.6A 2023-06-20 2023-06-20 Method and device for establishing unified identifier of city management element Pending CN116720480A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310739109.6A CN116720480A (en) 2023-06-20 2023-06-20 Method and device for establishing unified identifier of city management element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310739109.6A CN116720480A (en) 2023-06-20 2023-06-20 Method and device for establishing unified identifier of city management element

Publications (1)

Publication Number Publication Date
CN116720480A true CN116720480A (en) 2023-09-08

Family

ID=87867638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310739109.6A Pending CN116720480A (en) 2023-06-20 2023-06-20 Method and device for establishing unified identifier of city management element

Country Status (1)

Country Link
CN (1) CN116720480A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117520471A (en) * 2024-01-06 2024-02-06 深圳市城市规划设计研究院股份有限公司 Space element information query method, system, storage medium and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117520471A (en) * 2024-01-06 2024-02-06 深圳市城市规划设计研究院股份有限公司 Space element information query method, system, storage medium and electronic equipment
CN117520471B (en) * 2024-01-06 2024-05-03 深圳市城市规划设计研究院股份有限公司 Space element information query method, system, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN110321443B (en) Three-dimensional live-action model database construction method and device and data service system
CN103383682B (en) A kind of Geocoding, position enquiring system and method
CN105677804A (en) Determination of authority stations and building method and device of authority station database
CN103810194A (en) Geographic coding method, position inquiring system and position inquiring method
CN113139227B (en) BIM component construction code creation method based on Revit
CN105786822A (en) Method and device for inquiring spatial object and establishing spatial index in electronic map
CN116720480A (en) Method and device for establishing unified identifier of city management element
CN110825831B (en) Digital twin city multi-scale space grid coding method and device
CN114049462B (en) Three-dimensional model monomer method and device
CN116860905B (en) Space unit coding generation method of city information model
CN112685616A (en) Precise power component management method based on space grid and building information model
CN114048204A (en) Beidou grid space indexing method and device based on database inverted index
CN112100308B (en) Similarity query method for Beidou space-time trajectory
CN110989886B (en) Three-dimensional space grid selection method and device based on space map
CN112184900B (en) Method, device and storage medium for determining elevation data
CN109241216B (en) Method for realizing gridding management by using power grid level storage database architecture
CN110825830A (en) Data retrieval method for grid space
CN111506576B (en) Land block coding method and device based on regional quadtree
CN113840017B (en) IP address automatic allocation method, device, electronic equipment and computer readable medium
CN116450958A (en) Detection point address selection method and device, electronic equipment and readable storage medium
CN113032405A (en) Spatio-temporal data management method, system, host and computer readable storage medium
CN111414445A (en) Address inverse analysis method applying geographic information
CN112687006B (en) Rapid building three-dimensional grid data graph generation method
CN113157843B (en) Geographic spatial data management method based on spatial gridding index
CN117218299B (en) Data-driven three-dimensional area iceberg thermodynamic diagram processing method and system

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