CN114896255A - Block data generation and display method and device based on space-time grid - Google Patents
Block data generation and display method and device based on space-time grid Download PDFInfo
- Publication number
- CN114896255A CN114896255A CN202210664105.1A CN202210664105A CN114896255A CN 114896255 A CN114896255 A CN 114896255A CN 202210664105 A CN202210664105 A CN 202210664105A CN 114896255 A CN114896255 A CN 114896255A
- Authority
- CN
- China
- Prior art keywords
- grid
- data
- codes
- space
- time
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2282—Tablespace storage structures; Management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9537—Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9538—Presentation of query results
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Remote Sensing (AREA)
- Software Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention relates to a block data generating and displaying method and device based on a space-time grid, and belongs to the technical field of data processing. The scheme acquires strip data and spatial position information thereof in a preset spatial range; based on the spatial position information, correlating and indexing the Beidou grid codes, the time codes and the strip data to generate a space-time grid correlation index table with the grid codes as main keys; generating a data set of each grid through discretization processing to serve as block data of a basic grid unit, and forming a space-time grid block database; when a data display request of a certain area in the space range is received, the data of the block data of each basic grid unit in the area is obtained by using the space-time grid block database, the data is combined, and a service grid data set corresponding to the area is generated to be used as the data of the block data of the service grid unit for displaying and outputting. The invention can correlate and index the multidimensional information from the space-time dimension, and provides more efficient and accurate data service for users.
Description
Technical Field
The invention relates to a block data generating and displaying method and device based on a space-time grid, and belongs to the technical field of data processing.
Background
For the big data era, the data discussed by people are almost all pieces of data, the pieces of data refer to data in a chain form and in a string form in a certain industry or field, and the data are split and do not mutually melt, so that the big data is limited to play a role in the economy and the society.
The block data is the synthesis of various data related to people, affairs, objects and the like formed in a physical space or an administrative region, and is equivalent to deconstructing, intersecting and fusing various 'data'. In the process of data block aggregation, the filling of data space, the reconstruction of space data, the organization of the aggregation process, the aggregation in the organization process, and the aggregation of new data and the derivative data after the original data are combined are included. By applying the block data, the data can be mined to have higher and more values.
The unstructured characteristics of the current block data are stronger than those of the strip data, and the difficulty of block data development, application and management is higher. Since only structured data can be contrasted, traditional database technology is no longer applicable to unstructured data. The existing data association coupling is weak, and the comprehensiveness of data service cannot be guaranteed. The existing data is difficult to construct an efficient index structure, the data volume is huge, and the efficiency of data query and retrieval is low. The existing data are various in types, and services such as sharing, exchanging and distributing of the data cannot be guaranteed.
The existing block data generation method generally establishes association through a main key or content analysis, and aims at the problem that the space-time association of data is difficult to fully embody and the block data cannot be dynamically aggregated in any area. In addition, the existing block data generation method needs to be implanted in advance to establish keyword association, the data construction workload is large, and the system working efficiency is low.
Disclosure of Invention
In view of this, the invention provides a method and a device for generating and displaying block data based on a spatio-temporal grid, which correlate and index multidimensional information from spatio-temporal dimensions and provide more efficient and accurate data service for users.
The embodiment of the invention provides a method and a device for generating and displaying block data based on a space-time grid.
In a first aspect, an embodiment of the present invention provides a method for generating and displaying block data based on a spatio-temporal grid, where the method includes:
acquiring strip data in a preset space range and space position information of the strip data;
by utilizing the Beidou grid coding technology, the grid codes, the time codes and the strip data are correlated and indexed based on the spatial position information of the strip data, a space-time grid correlation index table with the grid codes as main keys is generated, and the time codes are acquired in the following mode: dividing the time period of the bar data into a plurality of subsections, and then coding each subsection to obtain a time code;
discretizing the grids according to the spatio-temporal grid association index table and the bar data to generate a data set of each grid as block data of a basic grid unit to form a spatio-temporal grid block database in a spatial range;
when a data display request of a certain area in a space range is received, determining each basic grid unit contained in the area according to the space position information of the area;
acquiring block data of each basic grid unit contained in the region by using a space-time grid block data base, combining the block data of each basic grid unit contained in the region, and generating a service grid data set corresponding to the region as the block data of the service grid unit;
and displaying and outputting the block data of the service grid unit.
Preferably, the Beidou grid coding technology is a gridding code identification technology aiming at the position of a geospatial area and output by a Beidou terminal based on a geospatial subdivision model GeoSOT;
by utilizing the Beidou grid coding technology, the grid codes, the time codes and the strip data are correlated and indexed based on the spatial position information of the strip data, and a space-time grid correlation index table with the grid codes as main keys is generated, and the method comprises the following steps:
utilizing a geospatial subdivision model GeoSOT to subdivide a spatial range into multi-level grids, and generating grid codes of the grids under each level, wherein the grid codes are used for expressing spatial position information of the grids under each level and spatial and level relations among the grids;
and associating and indexing the grid codes, the time codes and the strip data according to the space position information of the strip data, the grid space position information represented by the grid codes and the space and hierarchy relationship among grids represented by the grid codes to generate a spatio-temporal grid association index table taking the grid codes as main keys.
Preferably, the generating a spatiotemporal grid association index table using the trellis codes as the main key by associating and indexing the trellis codes, the time codes and the bar data according to the spatial position information of the bar data, the spatial position information of the trellis represented by the trellis codes and the spatial and hierarchical relationship between the respective grids represented by the trellis codes includes:
associating the grid codes with the strip data according to the spatial position information of the strip data, the grid spatial position information represented by the grid codes and the spatial and hierarchical relationship among grids represented by the grid codes to generate strip data with the grid codes;
and correlating and indexing the grid codes, the time codes and the strip data with the grid codes to generate a space-time grid correlation index table with the grid codes as main keys.
Preferably, the generating a spatiotemporal grid association index table using the trellis codes as the main key by associating and indexing the trellis codes, the time codes and the bar data according to the spatial position information of the bar data, the spatial position information of the trellis represented by the trellis codes and the spatial and hierarchical relationship between the respective grids represented by the trellis codes includes:
screening the strip data to obtain first type strip data with spatial position information and second type strip data without the spatial position information, wherein the strip data in the second type strip data has a business logic relationship with at least one strip data in the first type strip data;
according to the spatial position information of the first-class bar data, the grid spatial position information represented by the grid codes and the spatial and hierarchical relations among grids represented by the grid codes, the time codes and the first-class bar data are associated and indexed to generate a first time-space grid association index sub-table;
according to the business logic relationship between the first type strip data and the second type strip data, the first type strip data and the second type strip data are correlated and indexed to generate a second spatio-temporal grid correlation index sub-table;
and determining the space-time grid association index table with the grid code as the main key according to the first space-time grid association index sub-table and the second space-time grid association index sub-table.
Preferably, the method further comprises: dynamically maintaining the time-space grid block database by using the automatic data updating service; and/or storing the block data of the service grid unit in a space-time grid block database.
Preferably, the pieces of data include various pieces of data related to persons, events, objects, and the pieces of data are derived from planning data, approval data, and presence data of different systems or platforms.
In a second aspect, an embodiment of the present invention provides a device for generating and displaying block data based on a spatio-temporal grid, the device including a bar data acquisition module, an association and index module, a discretization module, a basic grid unit determination module, a combination module, and a display output module;
the bar data acquisition module is used for acquiring bar data in a preset spatial range and spatial position information of the bar data;
the association and index module is used for associating and indexing the grid codes, the time codes and the strip data based on the space position information of the strip data by utilizing the Beidou grid coding technology to generate a space-time grid association index table with the grid codes as main keys, and the time codes are acquired in the following mode: dividing the time period of the bar data into a plurality of subsections, and then coding each subsection to obtain a time code;
the discretization module is used for performing discretization processing on the grids according to the space-time grid association index table and the strip data to generate a data set of each grid as block data of a basic grid unit to form a space-time grid block database in a space range;
the basic grid unit determining module is used for determining each basic grid unit contained in a region according to the spatial position information of the region when receiving a data display request of a certain region in a spatial range;
the combination module is used for acquiring the block data of each basic grid unit contained in the region by using the space-time grid block database, combining the block data of each basic grid unit contained in the region and generating a service grid data set corresponding to the region as the block data of the service grid unit;
and the display output module is used for displaying and outputting the block data of the service grid unit.
Preferably, the Beidou grid coding technology is a gridding code identification technology aiming at the position of a geospatial area and output by a Beidou terminal based on a geospatial subdivision model GeoSOT;
the association and index module comprises a grid code generation submodule and an association index submodule;
the grid code generation submodule is used for dividing a space range into multi-level grids by utilizing a geospatial subdivision model GeoSOT and generating grid codes of the grids under each level, and the grid codes are used for expressing space position information of the grids under each level and space and level relations among the grids;
and the association index submodule is used for associating and indexing the grid codes, the time codes and the strip data according to the space position information of the strip data, the grid space position information represented by the grid codes and the space and hierarchy relations among grids represented by the grid codes, and generating a space-time grid association index table taking the grid codes as main keys.
Preferably, the association index sub-module comprises an association unit and a generation unit;
the association unit is used for associating the grid codes with the strip data according to the spatial position information of the strip data, the grid spatial position information represented by the grid codes and the spatial and hierarchical relationship among grids represented by the grid codes, and generating the strip data with the grid codes;
the generating unit is used for associating and indexing the trellis codes, the time codes and the strip data with the trellis codes to generate a space-time grid association index table with the trellis codes as main keys.
Preferably, the association index sub-module comprises a screening unit, a first association index unit, a second association index unit and a determining unit;
the screening unit is used for screening the strip data to obtain first type strip data with spatial position information and second type strip data without the spatial position information, wherein the strip data in the second type strip data has a business logic relationship with at least one strip data in the first type strip data;
the first association index unit is used for associating and indexing the grid codes, the time codes and the first-class strip data according to the spatial position information of the first-class strip data, the grid spatial position information represented by the grid codes and the spatial and hierarchical relations among grids represented by the grid codes, so as to generate a first time-space grid association index sub-table;
the second association index unit is used for associating and indexing the first type strip data and the second type strip data according to the business logic relationship between the first type strip data and the second type strip data to generate a second spatiotemporal grid association index sub-table;
the determining unit is used for determining the space-time grid association index table with grid codes as main keys according to the first space-time grid association index sub-table and the second space-time grid association index sub-table.
The Beidou grid coding technology refers to a gridding code identification technology which is used for gridding a space range and outputting by utilizing a Beidou terminal. The time code can also be a time identifier corresponding to the associated data; the data is derived from planning data, approval data and current situation data, and comprises a volume map, a tile map, a grid map, remote sensing images, a business database, mobile positioning information, video monitoring information, urban facility parts, POI (point of interest), monitoring videos and targets, aircrafts and ground moving targets, field data, building models (BIM), underground pipelines and geologic bodies, wherein the field data comprise electromagnetic fields, clouds, temperatures, haze and radar detection fields.
The strip data unified coding is to endow grids covered by the strip data with grid block codes, directly increase database fields for the expandable condition of a service database, carry out grid block coding, establish a code index database for the non-expandable condition of the service database, match the grid block codes, and carry out real-time coding by utilizing the grid block codes API or SDK for newly added data.
The data set of the lattice block includes at least: the method comprises the steps of grid block coding, time codes and index identification of bar data corresponding to the grid block coding; the time code is the time identification of the corresponding piece of data.
The specific process of association and indexing may include grid association integration and strip data association integration.
The grid association integration supports automatic matching and association display of the data grid block code index and other data in the same grid or multiple grid ranges, the spatial position of the data is the main axis of the data association, the data association integration is to reversely search various spatial data according to the data such as case numbers, batch numbers and the like, and the main axis of the data association integration is the business logic relationship among the data.
The strip data association integration is a method for realizing grid business logic association of geographic information data and non-geographic information data, the non-geographic information data is effectively associated through grid block coding as attribute data of the geographic information data, the data association is specifically to match corresponding other application information data according to the mapping relation of the grid block coding, and the geographic information data based on grid association and other application information data are indexed and associated.
The space-time grid block database also comprises an automatic data updating service, wherein the automatic data updating service refers to coding and establishing indexes of newly generated data and updated data in a service application process, and the specific contents comprise: (1) starting service, starting data automatic updating service, automatically processing data updating information of a management system by the system, automatically generating codes for the updated data and storing the codes into a blank grid block database, and simultaneously seeing a service log in a window to know service operation dynamic in real time; (2) and (5) stopping the automatic data updating service when the service is suspended, and suspending the automatic processing of various data updating data by the system.
The grid discretization processing is served for data packaging output, after the required data is retrieved, the data is segmented according to grid blocks to form grid block data and output, grid preprocessing is carried out on various vector data so as to carry out grid block aggregation output according to requirements, and discretization grid block vector map data are output according to a set area range (for example, an area range corresponding to each grid).
Advantageous effects
(1) The invention realizes a method and a device for generating and displaying block data based on a space-time grid, and overcomes the problems that the existing data correlation coupling is weak, the comprehensiveness of data service is not ensured, the existing data is difficult to construct an efficient index structure, the data query and retrieval efficiency is low, the existing data is various, and services such as data sharing, exchange and distribution cannot be guaranteed. By the block data generation method based on the space-time grid, the space-time grid block database is dynamically generated, and more efficient data grid management is realized.
(2) The value of the generation of the space-time grid block data is that the data which are mutually split and are not mutually fused are crossed and fused from the space-time dimension, more and more valuable information based on the space-time grid is mined, the accurate positioning of the space rule of the object is realized, and the difficulty of the development and the application of the block data is reduced. The invention uses the block data of the existing basic grid unit to generate the block data of the service grid unit required by the user, realizes the quick and accurate association and positioning of the spatial data, and provides more efficient and accurate data service for the user.
(3) The big data space-time unified index big table is established on the basis of the grid block coding technology, so that grid block coding association of massive big data of multiple sources, multiple formats, multiple time phases, multiple departments and a whole area is realized, integration and gridding organization management of the multiple departments, the multiple systems and the multiple types of data are realized, the space association and comprehensive analysis basis of the urban big data are established, and a data driving mechanism is formed. The problem that the existing block data generation method generally establishes association through a main key or content analysis, the data space-time association is difficult to fully embody, and block data cannot be dynamically gathered in any area is solved, and the intelligent association capability, the intelligent communication capability and the intelligent interaction capability based on space-time data are realized and improved. For example, the improvement of the association capability means that the intelligent association capability is urgently required to be improved among the existing databases, including population, objects, components, basic geographic information and the like; the improvement of the communication capacity means that the community living committee, the owner committee and the property do not form intelligent interaction, and the intelligent linking capacity among the community living committee, the owner committee and the property is urgently required to be improved among the community living committee, the owner committee and the property; the interactive capability improvement means that the systems such as the grid member system, the volunteer system and the like are in urgent need of improving the intelligent interactive capability.
(4) The invention adopts unified coding to carry out data association, and the data automatic updating service enables the data of the system to be automatically associated and updated, thereby ensuring the timeliness and accuracy of the data and solving the problem that the prior art is difficult to update in time when the administrative management area changes.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the invention.
FIG. 1 is a flow chart of a spatio-temporal grid-based block data generation and presentation method according to an embodiment of the present invention.
FIG. 2 is a schematic diagram of a block data generating and displaying device based on spatio-temporal grids in an embodiment of the present invention.
FIG. 3 is a block diagram of an association and indexing module according to an embodiment of the present invention.
FIG. 4 is a schematic diagram of the association and indexing module according to another embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present invention. It will be further understood that the terms "comprises" and/or "comprising," when used herein, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be noted that, in some alternative implementations, the functions/acts noted may occur out of the order noted in the figures. For example, two figures shown in succession may, in fact, be executed substantially concurrently, or the figures may sometimes be executed in the reverse order, depending upon the functionality/acts involved.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
The invention provides a block data generation and display method based on a space-time grid, which is applied to a community service platform, the flow of which is shown in figure 1, and the method comprises the following steps:
s1: and acquiring the strip data in the preset space range and the space position information of the strip data.
In this embodiment, an executing agent (server or terminal) acquires each piece of data in a spatial range covered by a community service platform in beijing city and acquires corresponding spatial location information according to the piece of data. The spatial position information of the bar data may be latitude and longitude information, or may be other various information representing the spatial position.
S2: and associating and indexing the grid codes, the time codes and the strip data by utilizing the Beidou grid coding technology based on the spatial position information of the strip data to generate a space-time grid association index table taking the grid codes as main keys.
In this embodiment, the execution subject may associate and index the trellis code, the time code, and the piece of data based on the spatial position information of the piece of data acquired at S1 by using the beidou trellis coding technique, and generate the spatio-temporal trellis association index table with the trellis code as the main key. The Beidou grid coding technology is characterized in that grids are drawn on the basis of the existing map system according to the national standard Beidou grid position code (GB/T39409-. When the external data changes, the grid properties also change. The grid here may be a three-dimensional grid in the spatial sense, or may be a two-dimensional grid. The time code may be obtained by: the time period of the data is divided into a plurality of subsections, and then each subsection is coded to obtain a time code. The pieces of data comprise various pieces of data related to people, events and objects, and the pieces of data are derived from planning data, approval data and current situation data of different systems or platforms.
In some optional implementation manners of this embodiment, the Beidou grid coding technology is a gridding code identification technology for a geospatial area position, which is output by a Beidou terminal and based on a geospatial subdivision model GeoSOT; by utilizing the Beidou grid coding technology, the grid codes, the time codes and the strip data are correlated and indexed based on the spatial position information of the strip data, and a space-time grid correlation index table with the grid codes as main keys is generated, and the method comprises the following steps: utilizing a geospatial subdivision model GeoSOT to subdivide a spatial range into multi-level grids, and generating grid codes of the grids under each level, wherein the grid codes are used for expressing spatial position information of the grids under each level and spatial and level relations among the grids; and associating and indexing the grid codes, the time codes and the strip data according to the spatial position information of the strip data, the grid spatial position information represented by the grid codes and the spatial and hierarchical relation among grids represented by the grid codes to generate a spatio-temporal grid association index table taking the grid codes as main keys. The spatio-temporal grid data association index based on GeoSOT is realized.
In some optional implementations of this embodiment, associating and indexing the trellis code, the time code, and the strip data according to the spatial position information of the strip data, the spatial position information of the trellis represented by the trellis code, and the spatial and hierarchical relationship between the grids represented by the trellis code, and generating the spatiotemporal grid association index table with the trellis code as the primary key includes: associating the grid codes with the strip data according to the spatial position information of the strip data, the grid spatial position information represented by the grid codes and the spatial and hierarchical relationship among grids represented by the grid codes to generate strip data with the grid codes; and correlating and indexing the trellis codes, the time codes and the strip data with the trellis codes to generate a spatio-temporal trellis correlation index table with the trellis codes as main keys.
In some optional implementations of this embodiment, associating and indexing the trellis code, the time code, and the strip data according to the spatial position information of the strip data, the spatial position information of the trellis represented by the trellis code, and the spatial and hierarchical relationship between the grids represented by the trellis code, and generating the spatiotemporal grid association index table with the trellis code as the primary key includes: screening the strip data to obtain first type strip data with spatial position information and second type strip data without the spatial position information, wherein the strip data in the second type strip data has a business logic relationship with at least one strip data in the first type strip data; according to the spatial position information of the first-class bar data, the grid spatial position information represented by the grid codes and the spatial and hierarchical relations among grids represented by the grid codes, the time codes and the first-class bar data are associated and indexed to generate a first time-space grid association index sub-table; according to the business logic relation between the first type of strip data and the second type of strip data, correlating and indexing the first type of strip data and the second type of strip data to generate a second spatio-temporal grid correlation index sub-table; and determining the space-time grid association index table with grid codes as main keys according to the first space-time grid association index sub-table and the second space-time grid association index sub-table. And classifying the strip data according to whether the spatial position information exists or not, and performing data association according to the spatial position information and the service logic to realize simple and quick data association index.
S3: and carrying out discretization processing on the grids according to the spatio-temporal grid association index table and the bar data to generate a data set of each grid as block data of a basic grid unit so as to form a spatio-temporal grid block database in a spatial range.
In the present embodiment, the execution subject discretizes the grids based on the spatio-temporal grid-related index table and the bar data generated in S2, generates a data set of each grid as block data of the basic grid cell, and forms a spatio-temporal grid block database for the spatial range of beijing city. The grid discretization processing of the data is to integrate and output vector map strip data corresponding to the same grid code (i.e., the same spatial region range) for each grid to obtain a data set of each grid, and obtain block data of each basic grid unit by using each grid as a basic grid unit.
In some optional implementations of this embodiment, the method further includes: the data is used for automatically updating service to dynamically maintain the time-space grid block database; and/or storing the block data of the service grid unit in a space-time grid block database.
S4: when a data display request of a certain area in the spatial range is received, determining each basic grid unit contained in the area according to the spatial position information of the area.
In this embodiment, when a data query request of a user for a village community in the hai lake district of beijing city on a two-dimensional or three-dimensional map is received, each basic grid unit contained in the area, that is, a grid code of each basic grid unit contained in the area, is determined according to the spatial position information of the area corresponding to the community.
S5: and acquiring block data of each basic grid unit contained in the area by using a space-time grid block data base, combining the block data of each basic grid unit contained in the area, and generating a service grid data set corresponding to the area as the block data of the service grid unit.
In this embodiment, the execution subject acquires block data of each basic grid cell using the spatio-temporal grid block database generated in S3 according to the grid coding of each basic grid cell determined in S4, and combines the block data of each basic grid cell included in the area, to generate a first service grid data set corresponding to the intergate community as the block data of the first service grid cell.
S6: and displaying and outputting the block data of the service grid unit.
In this embodiment, the executive body displays the block data of the first service grid unit of the guanu community in the hai lake area of beijing city on the user according to the query request of the user and outputs the block data of the first service grid unit of the guanu community in the hai lake area of beijing city to a required system or platform, so as to complete the services of data analysis, problem pre-warning and the like. When community data need to be checked in community services, a needed grid block is clicked on a grid base map, namely a data request is sent to a big data center, the big data center is connected with and gathers corresponding basic grid cell block data to form a corresponding data set of service grid cells, the data set is rapidly distributed and displayed to users, and 'handling on the code' service of the data set is realized.
The embodiment of the invention realizes a block data generating and displaying method based on a space-time grid, and overcomes the problems that the existing data correlation coupling is weak, the comprehensiveness of data service is not ensured, the existing data is difficult to construct an efficient index structure, the data query and retrieval efficiency is low, the existing data is various, and services such as data sharing, exchange and distribution cannot be guaranteed. By dynamically generating the space-time grid block database, more efficient data grid management is realized. The value of the generation of the space-time grid block data lies in that the data which are mutually split and are not mutually fused are crossed and fused from the space-time dimension, more and more valuable information based on the space-time grid is mined, the accurate positioning of the space law of the object is realized, and the difficulty of the development and the application of the block data is reduced. The block data of the service grid unit required by the user is generated by using the block data of the existing basic grid unit, so that the association and the positioning of the spatial data are realized quickly and accurately, and more efficient and accurate data service is provided for the user. By establishing a large table of large data space-time unified index based on a grid block coding technology, the grid block coding association of mass large data of multiple sources, multiple formats, multiple time phases, multiple departments and a whole region is realized, the integration and grid organization management of the data of multiple departments, multiple systems and multiple types are realized, the space association and the comprehensive analysis basis of the large data of cities are established, and a data driving mechanism is formed. The unified coding is adopted for data association, and the data automatic updating service enables the data of the system to be automatically associated and updated, so that the timeliness and the accuracy of the data are ensured, and the problem that the data are difficult to update in time when the administrative management area changes in the prior art is solved.
Referring to fig. 2, as an implementation of the method shown in fig. 1, the present disclosure provides an embodiment of a block data generating and displaying apparatus based on a space-time grid, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and besides the features described below, the embodiment of the apparatus may further include the same or corresponding features as the embodiment of the method shown in fig. 1, and produce the same or corresponding effects as the embodiment of the method shown in fig. 1, and the apparatus may be applied to various electronic devices.
As shown in fig. 2, the device for generating and displaying block data based on spatio-temporal grids of this embodiment includes a data acquisition module, an association and index module, a discretization module, a basic grid unit determination module, a combination module, and a display output module; the strip data acquisition module is used for acquiring strip data in a preset space range and space position information of the strip data; the association and index module is used for associating and indexing the grid codes, the time codes and the strip data based on the space position information of the strip data by utilizing the Beidou grid coding technology to generate a space-time grid association index table with the grid codes as main keys, and the time codes are acquired in the following mode: dividing the time period of the bar data into a plurality of subsections, and then coding each subsection to obtain a time code; the discretization module is used for performing discretization processing on the grids according to the time-space grid association index table and the bar data to generate a data set of each grid as block data of a basic grid unit so as to form a time-space grid block database in a spatial range, and the discretization processing of the grids refers to integrating the bar data corresponding to the same grid code for each grid; the basic grid unit determining module is used for determining each basic grid unit contained in a region according to spatial position information of the region when receiving a data display request of a certain region in a spatial range; the combination module is used for acquiring the block data of each basic grid unit contained in the region by using the space-time grid block database, combining the block data of each basic grid unit contained in the region and generating a service grid data set corresponding to the region as the block data of the service grid unit; and the display output module is used for displaying and outputting the block data of the service grid unit.
In some optional implementation manners of this embodiment, the Beidou grid coding technology is a gridding code identification technology for a geospatial area position, which is output by a Beidou terminal and based on a geospatial subdivision model GeoSOT; the association and index module comprises a grid code generation submodule and an association index submodule; the grid code generation submodule is used for dividing a space range into multi-level grids by utilizing a geospatial subdivision model GeoSOT and generating grid codes of the grids under each level, and the grid codes are used for expressing space position information of the grids under each level and space and level relations among the grids; the association indexing submodule is used for associating and indexing the grid codes, the time codes and the strip data according to the spatial position information of the strip data, the grid spatial position information represented by the grid codes and the spatial and hierarchical relations among grids represented by the grid codes, and generating a space-time grid association index table taking the grid codes as main keys.
In some optional implementations of this embodiment, as shown in fig. 3, the association index sub-module includes an association unit and a generation unit; the association unit is used for associating the grid codes with the strip data according to the spatial position information of the strip data, the grid spatial position information represented by the grid codes and the spatial and hierarchical relationship among grids represented by the grid codes, and generating the strip data with the grid codes; the generating unit is used for correlating and indexing the trellis codes, the time codes and the strip data with the trellis codes to generate a space-time trellis correlation index table with the trellis codes as main keys.
In some optional implementations of this embodiment, as shown in fig. 4, the association index sub-module includes a filtering unit, a first association index unit, a second association index unit, and a determining unit; the screening unit is used for screening the strip data to obtain first type strip data with spatial position information and second type strip data without the spatial position information, wherein the strip data in the second type strip data has a business logic relationship with at least one strip data in the first type strip data; the first association index unit is used for associating and indexing the grid codes, the time codes and the first type of strip data according to the spatial position information of the first type of strip data, the grid spatial position information represented by the grid codes and the spatial and hierarchical relations among grids represented by the grid codes, and generating a first time-space grid association index sub-table; the second association index unit is used for associating and indexing the first type strip data and the second type strip data according to the business logic relationship between the first type strip data and the second type strip data to generate a second spatiotemporal grid association index sub-table; the determining unit is used for determining the space-time grid association index table taking grid codes as main keys according to the first space-time grid association index sub-table and the second space-time grid association index sub-table.
Claims (10)
1. A block data generation and display method based on spatio-temporal grids is characterized by comprising the following steps:
acquiring strip data in a preset space range and space position information of the strip data;
by utilizing the Beidou grid coding technology, correlating and indexing grid codes, time codes and the strip data based on the spatial position information of the strip data to generate a space-time grid correlation index table with the grid codes as main keys, wherein the time codes are acquired in the following mode: dividing the time period of the data into a plurality of subsections, and then coding each subsection to obtain a time code;
discretizing the grids according to the spatio-temporal grid association index table and the data to generate a data set of each grid as block data of a basic grid unit to form a spatio-temporal grid block database of the spatial range;
when a data display request of a certain area in the space range is received, determining each basic grid unit contained in the area according to the space position information of the area;
acquiring block data of each basic grid unit contained in the area by using the space-time grid block data base, combining the block data of each basic grid unit contained in the area, and generating a service grid data set corresponding to the area as the block data of the service grid unit;
and displaying and outputting the block data of the service grid unit.
2. The method according to claim 1, wherein the Beidou gridding coding technology is a gridding code identification technology aiming at the position of a geospatial area and output by a Beidou terminal based on a geospatial subdivision model GeoSOT;
the method for generating the spatio-temporal grid association index table with the grid code as the main key by associating and indexing the grid code, the time code and the strip data based on the spatial position information of the strip data by utilizing the Beidou grid coding technology comprises the following steps of:
utilizing a geospatial subdivision model GeoSOT to subdivide the spatial range into multi-level grids, and generating grid codes of the grids under each level, wherein the grid codes are used for expressing spatial position information of the grids under each level and spatial and level relations among the grids;
and associating and indexing the grid codes, the time codes and the strip data according to the spatial position information of the strip data, the grid spatial position information represented by the grid codes and the spatial and hierarchical relationship among the grids represented by the grid codes to generate a spatio-temporal grid association index table taking the grid codes as main keys.
3. The method according to claim 2, wherein said associating and indexing the trellis code, the time code and the strip data according to the spatial position information of the strip data, the spatial position information of the trellis represented by the trellis code and the spatial and hierarchical relationship between the respective grids represented by the trellis code, and generating the spatio-temporal grid association index table with the trellis code as the primary key comprises:
associating the grid codes with the strip data according to the spatial position information of the strip data, the grid spatial position information represented by the grid codes and the spatial and hierarchical relationship among the grids represented by the grid codes to generate strip data with the grid codes;
and correlating and indexing the grid codes, the time codes and the strip data with the grid codes to generate a space-time grid correlation index table with the grid codes as main keys.
4. The method according to claim 2, wherein said associating and indexing the trellis code, the time code and the strip data according to the spatial position information of the strip data, the spatial position information of the trellis represented by the trellis code and the spatial and hierarchical relationship between the respective grids represented by the trellis code, and generating the spatio-temporal grid association index table with the trellis code as the primary key comprises:
screening the data to obtain first type data with spatial position information and second type data without spatial position information, wherein the data in the second type data has a business logic relationship with at least one piece of data in the first type data;
associating and indexing the grid codes, the time codes and the first type of strip data according to the spatial position information of the first type of strip data, the grid spatial position information represented by the grid codes and the spatial and hierarchical relationship among grids represented by the grid codes to generate a first time-space grid association index sub-table;
according to the business logic relationship between the first type of strip data and the second type of strip data, associating and indexing the first type of strip data and the second type of strip data to generate a second spatio-temporal grid association index sub-table;
and determining a space-time grid association index table with grid codes as main keys according to the first space-time grid association index sub-table and the second space-time grid association index sub-table.
5. The method of any of claims 1-4, further comprising:
dynamically maintaining the space-time grid block database by using a data automatic updating service; and/or the presence of a gas in the gas,
and storing the block data of the service grid unit in the space-time grid block database.
6. The method according to any one of claims 1 to 4, wherein the pieces of data include various pieces of data relating to persons, events, objects, the pieces of data originating from planning data, approval data and presence data of different systems or platforms.
7. A block data generation and display device based on space-time grids is characterized in that:
the device comprises a data acquisition module, an association and index module, a discretization module, a basic grid unit determining module, a combination module and a display output module;
the bar data acquisition module is used for acquiring bar data in a preset space range and space position information of the bar data;
the association and index module is used for associating and indexing the grid codes, the time codes and the strip data based on the spatial position information of the strip data by utilizing the Beidou grid coding technology to generate a space-time grid association index table with the grid codes as main keys, and the time codes are acquired in the following mode: dividing the time period of the data into a plurality of subsections, and then coding each subsection to obtain a time code;
the discretization module is used for discretizing the grids according to the spatio-temporal grid association index table and the data, generating a data set of each grid as block data of a basic grid unit, and forming a spatio-temporal grid block database of the spatial range;
the basic grid unit determining module is used for determining each basic grid unit contained in a certain area in the space range according to the space position information of the area when receiving a data display request of the area;
the combination module is used for acquiring the block data of each basic grid unit contained in the area by using the space-time grid block database, combining the block data of each basic grid unit contained in the area and generating a service grid data set corresponding to the area as the block data of the service grid unit;
and the display output module is used for displaying and outputting the block data of the service grid unit.
8. The apparatus of claim 7, wherein:
the Beidou grid coding technology is a gridding code identification technology aiming at the position of a geospatial area and output by a Beidou terminal based on a geospatial subdivision model GeoSOT;
the association and index module comprises a grid code generation submodule and an association index submodule;
the grid code generation submodule is used for dividing the space range into multi-level grids by utilizing a geospatial subdivision model GeoSOT and generating grid codes of the grids under each level, and the grid codes are used for expressing space position information of the grids under each level and space and level relations among the grids;
and the association index submodule is used for associating and indexing the grid codes, the time codes and the strip data according to the spatial position information of the strip data, the grid spatial position information represented by the grid codes and the spatial and hierarchical relation among the grids represented by the grid codes, and generating a spatiotemporal grid association index table taking the grid codes as main keys.
9. The apparatus of claim 8, wherein:
the associated index sub-module comprises an associated unit and a generating unit;
the association unit is used for associating the grid codes with the strip data according to the spatial position information of the strip data, the grid spatial position information represented by the grid codes and the spatial and hierarchical relationship among the grids represented by the grid codes, so as to generate the strip data with the grid codes;
the generating unit is used for correlating and indexing the grid codes, the time codes and the strip data with the grid codes to generate a space-time grid correlation index table with the grid codes as main keys.
10. The apparatus of claim 8, wherein:
the associated index sub-module comprises a screening unit, a first associated index unit, a second associated index unit and a determining unit;
the screening unit is used for screening the data to obtain first type data with spatial position information and second type data without spatial position information, and the data in the second type data has a business logic relationship with at least one piece of data in the first type data;
the first association index unit is used for associating and indexing the grid codes, the time codes and the first type of strip data according to the spatial position information of the first type of strip data, the grid spatial position information represented by the grid codes and the spatial and hierarchical relations among grids represented by the grid codes, and generating a first time-space grid association index sub-table;
the second association index unit is used for associating and indexing the first type strip data and the second type strip data according to the business logic relationship between the first type strip data and the second type strip data to generate a second spatio-temporal grid association index sub-table;
the determining unit is used for determining the space-time grid association index table with grid codes as main keys according to the first space-time grid association index sub-table and the second space-time grid association index sub-table.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210664105.1A CN114896255A (en) | 2022-06-13 | 2022-06-13 | Block data generation and display method and device based on space-time grid |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210664105.1A CN114896255A (en) | 2022-06-13 | 2022-06-13 | Block data generation and display method and device based on space-time grid |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114896255A true CN114896255A (en) | 2022-08-12 |
Family
ID=82728116
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210664105.1A Pending CN114896255A (en) | 2022-06-13 | 2022-06-13 | Block data generation and display method and device based on space-time grid |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114896255A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117435823A (en) * | 2023-12-19 | 2024-01-23 | 北京智网易联科技有限公司 | Space-time data service method based on grid coding and industrial Internet platform |
-
2022
- 2022-06-13 CN CN202210664105.1A patent/CN114896255A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117435823A (en) * | 2023-12-19 | 2024-01-23 | 北京智网易联科技有限公司 | Space-time data service method based on grid coding and industrial Internet platform |
CN117435823B (en) * | 2023-12-19 | 2024-03-29 | 北京智网易联科技有限公司 | Space-time data service method based on grid coding and industrial Internet platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112860689B (en) | Platform system based on space-time grid data | |
CN113065000B (en) | Multisource heterogeneous data fusion method based on geographic entity | |
CN108446293A (en) | A method of based on urban multi-source isomeric data structure city portrait | |
CN112115198A (en) | Urban remote sensing intelligent service platform | |
CN116089555A (en) | CIM platform-based three-dimensional space data acquisition and light weight system and method | |
CN111708778B (en) | Big data management method and system | |
CN114925043B (en) | Application method and device based on space-time grid block data and electronic equipment | |
CN113570275A (en) | Water resource real-time monitoring system based on BIM and digital elevation model | |
CN112988946A (en) | Geographic entity database user customization method | |
CN115758522A (en) | Digital twin city management system and method | |
CN113626437A (en) | Method and system for rapidly inquiring mass vector data | |
CN117435823B (en) | Space-time data service method based on grid coding and industrial Internet platform | |
CN114896255A (en) | Block data generation and display method and device based on space-time grid | |
Chen et al. | quantitative analysis of urban spatial morphology Based on GIS regionalization and spatial syntax | |
CN112214483A (en) | Method and device for analyzing, associating, storing and accessing data in urban information model | |
CN113961662A (en) | Place name address data fusion method based on multi-source data | |
CN111897820A (en) | Multi-source heterogeneous data storage method applied to smart city | |
CN111382165A (en) | Mobile homeland management system | |
CN116958465A (en) | Space-time big data cloud service platform based on geological three-dimensional modeling visualization | |
Kyung et al. | Spatial data warehouse design and spatial OLAP implementation for decision making of geospatial data update | |
Mao | Urban Planning Management Information Integration Platform System Based on Big Data Analysis | |
Wang et al. | Design and application of digital twin platform based smart Weihe River Basin | |
Das et al. | Recent trends in GIS applications | |
Duan et al. | Educational geographic information system based on WebGIS | |
Li et al. | Application and Platform Design of Geospatial Big Data |
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 |