CN103064876A - Method for obtaining spatial data servitization facing geographic information application - Google Patents

Method for obtaining spatial data servitization facing geographic information application Download PDF

Info

Publication number
CN103064876A
CN103064876A CN2012104235505A CN201210423550A CN103064876A CN 103064876 A CN103064876 A CN 103064876A CN 2012104235505 A CN2012104235505 A CN 2012104235505A CN 201210423550 A CN201210423550 A CN 201210423550A CN 103064876 A CN103064876 A CN 103064876A
Authority
CN
China
Prior art keywords
query
data
spatial
geographic information
spatial data
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
CN2012104235505A
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.)
China National Institute of Standardization
Original Assignee
China National Institute of Standardization
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 China National Institute of Standardization filed Critical China National Institute of Standardization
Priority to CN2012104235505A priority Critical patent/CN103064876A/en
Publication of CN103064876A publication Critical patent/CN103064876A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method for obtaining spatial data servitization facing geographic information application. The method includes: the spatial data servitization is inquired; a query execution plan is obtained; a spatial processing object query language enables a spatial query function conforming to a structured query language multimedia (SQL/MM) extensions framework rule to be nested in an object query, a query statement is analyzed through a distributed query execution engine, the spatial query function is transferred to a relational database with spatial expansion at the rear end to be executed, the query statement submits query retrieval to the database through data service, and distributed query results are collected to be returned to a data service requester. The method for obtaining the spatial data servitization facing the geographic information application can successfully response to continuously updated heterogeneous mass data resource access queries and enhances query retrieval efficiency of geographic information data through the query statement packaged in object query mode.

Description

The spatial data service acquisition methods that geographic information is used
Technical field
The present invention relates to the geographical information technology in the message area, relate in particular to geographic information the spatial data service inquiry of using and the method for obtaining.
Background technology
Geographic information data obtains under the web services environment, under the direct-connected pattern of carrying out data query of conventional client and geospatial database, carry out technological innovation, mode with data, services is conducted interviews and query and search to spatial data resource by the middleware of being responsible for query processing specially, integrates to realize the Share and interoperability of geographical spatial data resource by data, services.The spatial data service acquisition methods that geographic information is used is by the service issue to the data resource, for access and the inquiry of spatial data provides interface, in the complicated isomeric data source interface in shielding rear end, by the data access and processing request of the Object Query statement process user after improving, realize the Share and interoperability of all kinds of geography information Vector Grid data resources in the back-end data base.
In traditional geography information spatial data accessing and querying method, do not provide effective support for storage and inquiry towards heterogeneous data source.And with the spatial data resource of Cyber-service Patterns issue, process for the obtaining of geographic information data, data processing, information retrieval service issue and use have brought many-sided facility.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of spatial data service acquisition methods of geographic information application, by prior art is improved, promote adapting to traditional approach and process under the basis of single data storage, can tackle smoothly the large-scale data resource access inquiry of continuous updating isomery, with the query statement of Object Query form encapsulation, strengthen the query and search efficient of geographic information data.It is mainly by the query manipulation of network service implementation space database, and in the process of inquiry embedded space analysis operation function, by network service return the spatial data inquiry and analyze after the result, obtain the operating result after the query analysis.
For achieving the above object, technical scheme of the present invention is achieved in that
The spatial data service acquisition methods that a kind of geographic information is used, the method comprises:
The query steps of A, spatial data service;
After B, the resolution rules definition to the spatial manipulation OQL, by recognizer, compiler and the converter of ANTLR compiler constructor realization for specific syntax; The Token character stream that query statement carries out Correctness checking and obtains exporting identifier and searching keyword through the lexical analysis process, character stream is as the input element of grammatical analysis process, carry out the analysis of context free grammar content according to custom rule, the logical specification accordance that check is semantic; The spatial object query statement is realized the syntax parsing device by the compiler constructor, and the parsing method that uses recurrence to descend possesses more widely syntax parsing regular expression scope; In query grammar resolving, generate abstract syntax tree AST, check and the optimization link through inquiry, obtain query execution plan;
C, spatial manipulation OQL be the nested space querying function that meets Structured Query Language (SQL) multimedia extension framework SQL/MM standard in Object Query, query statement is after distributed query is carried out the engine parsing, the space querying function passes possesses the relational database of Space Expanding and carries out to the rear end, query statement is retrieved the database submit Query by data, services, and will return to data service request person after the as a result polymerization of distributed query.
Wherein, described steps A specifically comprises lexical analysis, and abstract syntax tree generates, syntactic type inspection, query logic optimization and physics optimization, the link that inquiry plan generates.
The spatial data service acquisition methods that geographic information provided by the present invention is used has the following advantages:
The access of spatial data service and the acquisition methods spatial data in the mode of data, services as distributed storage provides the access approach, provides the access method of spatial data service issue and spatial data service assembly.The access of spatial data service and acquisition methods are expanded on the basis of spatial data service, by increasing spatial function and Space Operators, spatial analysis and query manipulation in the support space service data acquisition.The access of spatial data service and acquisition methods are conducive to distributed spatial data resource is integrated, and on data resource integrated basis, customize further spatial data and process the analysis process of operation, process service institute for the spatial analysis on upper strata.
Description of drawings
Fig. 1 is spatial data accessing and the hierarchical model synoptic diagram that obtains;
Fig. 2 is spatial data accessing and the integrated model synoptic diagram that the present invention is based on the SQL/MM inquiry;
Fig. 3 is spatial data service acquisition methods schematic flow sheet of the present invention.
Embodiment
Below in conjunction with accompanying drawing and embodiments of the invention method of the present invention is described in further detail.
Fig. 1 is spatial data accessing and the hierarchical model synoptic diagram that obtains; As shown in Figure 1, the Grid-oriented computing environment is built the model framework of the service-centric of customization, utilize the service characteristics such as versatility of multi-protocols binding, this locality and far-end, calculating on the different levels and storage resources is virtual, carry out the integration and cooperation of resource to cross over a plurality of distributed nodes.
Spatial data accessing with obtain middleware distributed isomeric data file resource and relational database be integrated in the grid environment, follow the standard message format of network service, set up the exchange channels of request of data and response in service end and client.Outside data access and update functions, the middleware support is expanded by self-defined executed activity document, expands service-oriented data query and upgrades operation thereby add how self-defined activity in the data, services.The hierarchical model of bottom data source and access and integration middleware and upper layer data service embodies in the drawings.
The bottom data resource is supported the conventional data storage medium, comprises relevant database, XML database and general data file.The data, services that is based upon on the Data Access and Integration middleware basis provides data resource to obtain interface to the upper strata, and mutual with client by the data, services description of WSRF or WSI form, the inquiry of customer in response end data and request of access.
The Data Access and Integration middleware can be expanded programming framework for structural data Resource Supplies such as relevant database, files, and under data grid environment, realize external service access interface for the structuring resource, by the workflow engine that service mode provides data-oriented to process, realize data access, renewal, the conversion operations of serviceization.
Fig. 2 is spatial data accessing and the integrated model synoptic diagram that the present invention is based on the SQL/MM inquiry; Spatial data accessing comprises the Data service registering device of log-on data request service, the grid data serviced factory that is responsible for the data, services generation and the data, services example of corresponding data resource with the key component that obtains in the middleware implementation.In data, services generation, registration and process of consumption, grid data serviced factory (GDSF) is the persistence service that operates in the service container, creates grid data serviced example (GDS) according to the request that receives, and links with particular source foundation.Data Access and Integration service logger (GDSR) is used for registration and searches the required grid data serviced of user, can search equally the GDSF that creates grid data serviced.The Query Result that data processing execution document definition user obtains returns form.Response document is client's return data resource query result by GDS document executable operations.Grid data serviced GDS then sets up with data resource entities such as rear end relational database, XML database, data files and links and inquire about alternately.
In spatial data service access process, back-end data source is regarded as single resource in logic, and the Data Access and Integration middleware has shielded the details such as database-driven, data layout and transmission mechanism of distributed space data resource and service interaction.The Data Access and Integration middleware is being carried out query manipulation for general data source, realizes the service issue of distributed heterogeneous geographical spatial data under the grid environment.
The access queries of space-oriented data, services, need in the Data Access and Integration middleware, the configuration space data source link and corresponding spatial data accessing rule of conduct, to support to meet the spatial data Object Query operation of SQL/MM standard and the spatial analysis processing function call in the query script.
In spatial data accessing and integrated processing procedure, the Activity(behavior) be the groundwork module of service middleware, every class behavior is responsible for finishing a specific data query, conversion, transmission or relevant treatment task.Its spatial data interface behavior is used for obtaining the access interface of rear end spatial data source; Spatial data accessing and the organizational behavior spatial data object that visits in the registration resource; Spatial data writes behavior and is responsible for to integrated data source data writing; The conversion between the data transmission format is responsible in the Conversion of Spatial Data behavior; The behavior of output data transmission is responsible for data are sent to the teledata receiving trap; The access and integration middleware also possesses management control behavior in addition.In spatial data accessing and integration middleware, data, services is carried out interactive operation by space querying and the back-end data base that meets the SQL/MM standard.
Be deployed in the Data Access and Integration middleware under the service container, the access behavior that the Driven Heterogeneous Geographic Data Set source is corresponding is issued in the data grid services container with the data, services form.After the spatial data service-seeking request that receives client, in the Data service registering device, data request service is registered, and call the GDSF of grid data serviced factory and create new data, services GDS example, the SQL/MM space querying is after data, services is resolved, transmission is carried out query manipulation to the database that the rear end possesses Space Expanding, and by database service interface the spatial data retrieval result is returned to the query requests client.
Under the access and integration middleware is assisted, Organization of Data form and the User behavior implementation of rear end spatial data source are transparent to the service call client, the data source index information leaves in the access and integration middleware Hash mapping table, middleware obtains resource using information by retrieve data resource registering table, and request is returned specific phase and answered data, services according to client call.
Fig. 3 is the schematic flow sheet of spatial data service acquisition methods of the present invention, and as shown in Figure 3, the method comprises the steps:
Step 1: the query script of spatial data service comprises lexical analysis, and abstract syntax tree generates, syntactic type inspection, query logic optimization and physics optimization, the links such as inquiry plan generation.In the parsing to spatial data service query statement, design according to the query statement grammer, be syntax parsing definition resolution rules and query processing script, resolver is according to the syntax parsing rule that had both defined, query statement comprised after record split mark, operational character and searching keyword.On query statement syntax parsing rule description, with reference to the metagrammar symbolic representation method of the context-free grammar of expanding Backus normal form (BNF) (EBNF), syntax rule is described by one group of glossary of symbols sequence that comprises the constraint contents such as character set, core rule, sequence grouping method, action parameter, span, operational character priority.
Step 2: after the resolution rules definition of spatial manipulation OQL, by recognizer (Recognizers), compiler (Compiler) and the converter (Translators) of ANTLR compiler constructor realization for specific syntax.The Token character stream that query statement carries out Correctness checking and obtains exporting identifier and searching keyword through the lexical analysis process, character stream is as the input element of grammatical analysis process, carry out the analysis of context free grammar content according to custom rule, the logical specification accordance that check is semantic.The spatial object query statement is realized the syntax parsing device by the compiler constructor, and the parsing method that uses recurrence to descend possesses more widely syntax parsing regular expression scope.In query grammar resolving, generate abstract syntax tree (AST), check and the optimization link through inquiry, obtain query execution plan.
Step 3: the spatial manipulation OQL is the nested space querying function that meets Structured Query Language (SQL) multimedia extension framework (SQL/MM) standard in Object Query, query statement is after distributed query is carried out the engine parsing, the space querying function passes possesses the relational database of Space Expanding and carries out to the rear end, query statement is retrieved the database submit Query by data, services, and will return to data service request person after the as a result polymerization of distributed query.
The access of spatial data service and acquisition methods are in the mode of data, services, and for the spatial data distributed query provides the access approach, the method is convenient to provide approach for the multiple database integrated access of the Legacy System that comprises spatial data.
The above is preferred embodiment of the present invention only, is not for limiting protection scope of the present invention.

Claims (2)

1. the spatial data service acquisition methods used of a geographic information is characterized in that the method comprises:
The query steps of A, spatial data service;
After B, the resolution rules definition to the spatial manipulation OQL, by recognizer, compiler and the converter of ANTLR compiler constructor realization for specific syntax; The Token character stream that query statement carries out Correctness checking and obtains exporting identifier and searching keyword through the lexical analysis process, character stream is as the input element of grammatical analysis process, carry out the analysis of context free grammar content according to custom rule, the logical specification accordance that check is semantic; The spatial object query statement is realized the syntax parsing device by the compiler constructor, and the parsing method that uses recurrence to descend possesses more widely syntax parsing regular expression scope; In query grammar resolving, generate abstract syntax tree AST, check and the optimization link through inquiry, obtain query execution plan;
C, spatial manipulation OQL be the nested space querying function that meets Structured Query Language (SQL) multimedia extension framework SQL/MM standard in Object Query, query statement is after distributed query is carried out the engine parsing, the space querying function passes possesses the relational database of Space Expanding and carries out to the rear end, query statement is retrieved the database submit Query by data, services, and will return to data service request person after the as a result polymerization of distributed query.
2. the spatial data service acquisition methods of geographic information application according to claim 1 is characterized in that described steps A specifically comprises lexical analysis, abstract syntax tree generates, syntactic type checks, query logic optimization and physics optimization, the link that inquiry plan generates.
CN2012104235505A 2012-10-30 2012-10-30 Method for obtaining spatial data servitization facing geographic information application Pending CN103064876A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012104235505A CN103064876A (en) 2012-10-30 2012-10-30 Method for obtaining spatial data servitization facing geographic information application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012104235505A CN103064876A (en) 2012-10-30 2012-10-30 Method for obtaining spatial data servitization facing geographic information application

Publications (1)

Publication Number Publication Date
CN103064876A true CN103064876A (en) 2013-04-24

Family

ID=48107506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012104235505A Pending CN103064876A (en) 2012-10-30 2012-10-30 Method for obtaining spatial data servitization facing geographic information application

Country Status (1)

Country Link
CN (1) CN103064876A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484472A (en) * 2014-12-31 2015-04-01 天津南大通用数据技术股份有限公司 Database cluster for mixing various heterogeneous data sources and implementation method
CN105426504A (en) * 2015-11-27 2016-03-23 陕西艾特信息化工程咨询有限责任公司 Distributed data analysis processing method based on memory computation
CN105718593A (en) * 2016-01-28 2016-06-29 长春师范大学 Database query optimization method and system
CN105786928A (en) * 2014-12-26 2016-07-20 北大医疗信息技术有限公司 Medical system data query method and medical system data query system
WO2017156916A1 (en) * 2016-03-16 2017-09-21 百度在线网络技术(北京)有限公司 Data access method and device
CN107798017A (en) * 2016-09-07 2018-03-13 南京中兴新软件有限责任公司 Executive plan information generating method and system in distributed data base
CN110083625A (en) * 2019-03-18 2019-08-02 北京奇艺世纪科技有限公司 Realtime stream processing method, equipment, data processing equipment and medium
CN110781211A (en) * 2018-07-31 2020-02-11 网宿科技股份有限公司 Data analysis method and device
CN111199386A (en) * 2019-12-27 2020-05-26 天阳宏业科技股份有限公司 Workflow engine and implementation method thereof
CN111221888A (en) * 2018-11-27 2020-06-02 北京奇虎科技有限公司 Big data analysis system and method
CN116662373A (en) * 2023-07-27 2023-08-29 天津神舟通用数据技术有限公司 Data access control method, device, equipment and medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090063453A1 (en) * 2007-08-29 2009-03-05 International Business Machines Corporation Apparatus, system, and method for executing a distributed spatial data query

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090063453A1 (en) * 2007-08-29 2009-03-05 International Business Machines Corporation Apparatus, system, and method for executing a distributed spatial data query

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高昂等: "空间数据访问集成与分布式空间数据源对象查询", 《地球信息科学学报》 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786928A (en) * 2014-12-26 2016-07-20 北大医疗信息技术有限公司 Medical system data query method and medical system data query system
CN104484472B (en) * 2014-12-31 2018-10-16 天津南大通用数据技术股份有限公司 A kind of data-base cluster and implementation method of a variety of heterogeneous data sources of mixing
CN104484472A (en) * 2014-12-31 2015-04-01 天津南大通用数据技术股份有限公司 Database cluster for mixing various heterogeneous data sources and implementation method
CN105426504A (en) * 2015-11-27 2016-03-23 陕西艾特信息化工程咨询有限责任公司 Distributed data analysis processing method based on memory computation
CN105718593A (en) * 2016-01-28 2016-06-29 长春师范大学 Database query optimization method and system
CN105718593B (en) * 2016-01-28 2019-04-16 长春师范大学 A kind of database inquiry optimization method and system
WO2017156916A1 (en) * 2016-03-16 2017-09-21 百度在线网络技术(北京)有限公司 Data access method and device
CN107798017A (en) * 2016-09-07 2018-03-13 南京中兴新软件有限责任公司 Executive plan information generating method and system in distributed data base
CN107798017B (en) * 2016-09-07 2023-06-09 金篆信科有限责任公司 Method and system for generating execution plan information in distributed database
CN110781211A (en) * 2018-07-31 2020-02-11 网宿科技股份有限公司 Data analysis method and device
CN110781211B (en) * 2018-07-31 2022-04-05 网宿科技股份有限公司 Data analysis method and device
CN111221888A (en) * 2018-11-27 2020-06-02 北京奇虎科技有限公司 Big data analysis system and method
CN110083625A (en) * 2019-03-18 2019-08-02 北京奇艺世纪科技有限公司 Realtime stream processing method, equipment, data processing equipment and medium
CN111199386A (en) * 2019-12-27 2020-05-26 天阳宏业科技股份有限公司 Workflow engine and implementation method thereof
CN116662373A (en) * 2023-07-27 2023-08-29 天津神舟通用数据技术有限公司 Data access control method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN103064876A (en) Method for obtaining spatial data servitization facing geographic information application
Sevilla Ruiz et al. Inferring versioned schemas from NoSQL databases and its applications
US10860653B2 (en) System for accessing a relational database using semantic queries
CN103064875B (en) A kind of spatial service data distributed enquiring method
CN100498768C (en) Common query runtime system and application programming interface
US8719252B2 (en) Accessing relational databases as resource description framework databases
CN101546325B (en) Grid heterogeneous data integrating method based on SOA
CN110837492B (en) Method for providing data service by multi-source data unified SQL
CN102609451A (en) SQL (structured query language) query plan generation method oriented to streaming data processing
CN101105814A (en) Method and device for converting Script language to SQL language
CN105718593A (en) Database query optimization method and system
CN107515887A (en) A kind of interactive query method suitable for a variety of big data management systems
US8209340B2 (en) Efficient functional representation of result shaping
CN103049251A (en) Database persistent layer device and database operation method
CN101526898A (en) Representing and processing method for semantic data of semantic-oriented web service program design
CN108009270A (en) A kind of text searching method calculated based on distributed memory
CN114297224A (en) RDF-based heterogeneous data integration and query system and method
Nam et al. A metadata integration assistant generator for heterogeneous distributed databases
CN107239483A (en) A kind of cross-domain elevator data assembled view automatic generation method based on data, services
Xiao et al. Integration of heterogeneous agriculture information system based on interoperation of domain ontology
Alaoui et al. Semantic oriented data modeling based on RDF, RDFS and OWL
KR100491725B1 (en) A data integration system and method using XQuery for defining the integrated schema
Barish et al. The TheaterLoc virtual application
Chen et al. A hybrid strategy to construct scientific instrument ontology from relational database model
Li et al. RDFAdaptor: efficient ETL plugins for RDF data process

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130424