CN101996249A - Grid environment-based geospatial data service issuing method - Google Patents

Grid environment-based geospatial data service issuing method Download PDF

Info

Publication number
CN101996249A
CN101996249A CN 201010546024 CN201010546024A CN101996249A CN 101996249 A CN101996249 A CN 101996249A CN 201010546024 CN201010546024 CN 201010546024 CN 201010546024 A CN201010546024 A CN 201010546024A CN 101996249 A CN101996249 A CN 101996249A
Authority
CN
China
Prior art keywords
data
grid
service
dai
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.)
Granted
Application number
CN 201010546024
Other languages
Chinese (zh)
Other versions
CN101996249B (en
Inventor
陈晓斌
成毅
葛文
黄启雷
汪燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SUZHOU DIGITAL CITY ENGINEERING RESEARCH CENTER Co Ltd
Original Assignee
SUZHOU DIGITAL CITY ENGINEERING RESEARCH CENTER Co Ltd
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 SUZHOU DIGITAL CITY ENGINEERING RESEARCH CENTER Co Ltd filed Critical SUZHOU DIGITAL CITY ENGINEERING RESEARCH CENTER Co Ltd
Priority to CN2010105460249A priority Critical patent/CN101996249B/en
Publication of CN101996249A publication Critical patent/CN101996249A/en
Application granted granted Critical
Publication of CN101996249B publication Critical patent/CN101996249B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a grid environment-based geospatial data service issuing method, which comprises the following steps of: (1) arranging a grid container Globus and a grid middleware open grid services architecture-data access and integration (OGSA-DAI) in a grid server; (2) configuring parameters of spatial data on the grid server, and expanding the spatial data on a data server into a data resource of OGSA-DAI; and (3) generating the expanded geospatial data services based on the OGSA-DAI, deploying the services into a web service container after the service development is finished and issuing the geospatial data services to the outside. The invention overcomes the defects of the prior art, and provides the convenient, quick and efficient grid environment-based geospatial data service issuing method.

Description

A kind of geographical spatial data service dissemination method based on grid environment
Technical field
The present invention relates to a kind of geographical spatial data service dissemination method, particularly relate to a kind of geographical spatial data service dissemination method based on grid environment.
Background technology
Web service is meant the online application service of finishing its special business needs of enterprise's issue, and other companies, affiliate's application software can be come dynamic access and use these online services by network.
The introducing of Grid service notion originates from Development of Grid Technology.Grid notion and technology are that eighties of last century nineties is from the Globus project development.It combines high speed internet, high-performance computer, large database, sensor, remote equipment etc. together, for scientific and technical personnel and ordinary people provide more resources, function and interactivity.The essence of grid is uniting of computational resource to add the virtual of these resources, and whole cores of grid are exactly Distributed Calculation and resource management.Globus project team and IBM have proposed a brand-new mesh standard OGSA (open grid service system).OGSA-DAI (Open Grid Services Architecture-Data Access and Integration, being open grid service system-data access and integrated) project is that of the grid database service standard draft formulated of DAIS working group is with reference to realizing, its objective is a kind of middleware of exploitation, for carrying out data access by grid and integratedly provide unified service interface, it can visit various relational databases, XML database and file system by WebService.
Along with the development of gridding technique research, the GIS field is also inquired into gradually and introduced gridding technique is its service, with resource sharing and the collaborative work problem between the solution generalized information system.Because OGSA-DAI itself does not support geographical spatial data, therefore need expand its function.
Summary of the invention
In order to overcome the deficiency that prior art exists, the object of the present invention is to provide a kind of easily and fast, efficiently based on the geographical spatial data service dissemination method of grid environment.
For reaching above purpose, the invention provides a kind of geographical spatial data service dissemination method based on grid environment,
(1) arranges grid container Globus and grid middleware OGSA-DAI at grid service server;
(2) parameter of configuration space data on grid service server expands to the spatial data of spatial data server the data resource of OGSA-DAI;
(3) write the geographical spatial data service of expansion based on OGSA-DAI, after service development is finished, be deployed to outwards issue geographical spatial data service in the web service container.
Further improvement of the present invention is, in data transmission procedure, uses json and base64 coding techniques that data are changed.
Further improvement of the present invention is that described spatial data is one or more in spatial database and the spatial data files.
Further improvement of the present invention is that the parameter of described configuration space data comprises configuration space database steps and/or configuration space data file step.
Further improvement of the present invention is that Web Service running environment is Tomcat or Globus Toolkit.
The invention has the beneficial effects as follows: allow the user can visit the geographical various spatial datas of going up distribution, isomery easily, the height of implementation space data resource is shared.This service extension the function of grid middleware OGSA-DAI, it is the Web service of a standard, can visit different regions, separate sources, dissimilar geographical spatial data resource by it, concrete physical details such as the storage medium of hiding geographical spatial data, storage mode, memory location, provide unified logic map to the user, allow them visit geographical spatial data easily and fast, efficiently.Be exactly specifically, the user only need know that the data resource title just can visit data, and does not need to know the information such as username and password of database, and these work are all done by OGSA-DAI.On the other hand, because the data that obtain by OGSA-DAI visit need not to resolve as this machine data of visit, compare with other data, services such as WFS (Web Feature Service) again, reduced the time of data parsing, processing speed is faster.
Description of drawings
Accompanying drawing 1 is a kind of structural representation of serving dissemination method embodiment based on the geographical spatial data of grid environment of the present invention.
Embodiment
Below preferred embodiment of the present invention is described in detail, thereby protection scope of the present invention is made more explicit defining so that advantages and features of the invention can be easier to be it will be appreciated by those skilled in the art that.
Referring to accompanying drawing 1, a kind of geographical spatial data service dissemination method based on grid environment comprises
(1) arranges grid container Globus and grid middleware OGSA-DAI at grid service server;
(2) parameter of configuration space data on grid service server expands to the spatial data on the spatial data server data resource of OGSA-DAI;
(3) write the geographical spatial data service of expansion based on OGSA-DAI, after service development is finished, be deployed to outwards issue geographical spatial data service in the webservice container.
The OGSA version that embodiments of the invention use is OGSA-DAI 3.0, and database is an Oracle 10g database.Based on the geographical spatial data service of OGSA-DAI expansion, this service is developed in Eclipse and is finished, and provides WebService container by XFire, utilizes the kit of grid middleware OGSA-DAI to carry out the visit of data.For the ease of the transmission of data, used json and BASE64 coding techniques that data are changed.After service development is finished, be deployed to externally issue on the Tomcat server.
The concrete implementation step of the embodiment of the invention below is described in detail in detail:
(1) configuration-system environment on grid service server;
1, jdk-1_5_0_06-windows-i586-p.exe is installed, installation path be " C: ProgramFiles Java jdk1.5.0_06 ", the configuration surroundings variable:
JAVA_HOME=C: Program Files Java the path of jdk1.5.0_06//definition JAVA_HOME
2, a newly-built file D: grid ant, apache-ant-1.6.5-binzip is unziped to this document folder, configuration surroundings variable:
ANT_HOME=D: grid the path of ant // definition ANT_HOME
3, a newly-built file D: grid tomcat, apache-tomcat-5.5.16.zip is unziped to this document folder, configuration surroundings variable:
CATALINA_HOME=D: grid the path of tomcat // definition CATALINA_HOME
4, newly-built catalogue D: grid gt4, ws-core-4.0.5-bin.zip is unziped to this document folder, newly-built environmental variance:
GLOBUS_LOCATION=D:\grid\gt4
5, system path and the class.path in the configuration surroundings variable
PATH=%GLOBUS_LOCATION% bin; %JAVA_HOME% bin; %JAVA_HOME% lib; %ANT_HOME% bin; %CATALINA_HOME% bin // define system path
CLASSPATH=.; %JAVA_HOME% lib; %JAVA_HOME% lib dt.jar; %JAVA_HOME% lib tools.jar // definition class.path
6, OGSA-DAI3.0 is deployed in the tomcat container, moves following order line:
Ant-Dtomcat.dir=d: grid tomcat buildAndDeployGARTomcat // deployment OGSA-DAI3.0
Illustrate: OGSA-DAI3.0 can be deployed in the tomcat container, also can be deployed in the Globus Toolkit container.So far, the GAR file of an OGSA-DAI will be created, and the OGSA-DAI that standard set includes six services serves deployment success thereupon.
7, start tomcat, will see above-mentioned six services in browser page http://HOST:PORT/wsrf/services/, the HOST here is the main frame of Tomcat operation, and PORT is the connectivity port of Tomcat.
Two, on grid service server, each data source is expanded to the data resource of OGSA-DAI.
1, the concrete steps of configuration space database are as follows:
(1) creates a resource file.
Before disposing a resource, need to create a resource file, the name of file is identical with the resource name of disposing.
At first create the data resource file of an OracleDataResource by name:
Ant-Ddai.db.product=Oracle // definition database is Oracle
-Ddai.db.vendor=Oracle // definition database manufacturer is Oracle
-Ddai.db.version=10//definition database version is 10
-Ddai.db.url=jdbc:oracle:thin:@25.20.212.68:1521:orcl // definition server address
It is Oracle that-Ddai.db.driver=oracle.jdbc.driver.OracleDriver // definition drives file
-Ddai.resource.id=OracleDataResource createRelationalConfig // definition resource name
(2) a newly-built sql temporary folder by name copies the driving ojdbc14.jar of Oracle and the resource file OracleDataResource of establishment in this document folder to.
(3) a newly-built resource distribution file my.resource.config, file content is as follows:
Dai.resource.id=OracleDataResource // use resource name
Dai.db.product=Oracle // use database-name
Dai.db.vendor=Oracle // use database development merchant title
Dai.db.version=10//use database version
Dai.db.uri=jdbc:oracle:thin:@25.20.212.68:1521:orcl // use server address
The title that dai.db.driver=oracle.jdbc.driver.OracleDriver // use drives
Dai.dn= " * "// specific user's unique identification
The title of dai.resource.jar.dir=sql // use database resource file
User name is used in dai.user=ABCdata // definition
Dai.password=ABC001//definition user cipher
(4) carry out the deployRelationalResource order, this order will be disposed data resource by the resource distribution file, add database login information.Tomcat is arrived in resource deployment, fill order:
ant-Dtomcat.dir=D:\grid\tomcat-propertyfilemy.resource.config?deployRelationalResource
2, the concrete steps of configuration space data file are as follows:
(1) create a file system resource configuration file, carry out to issue orders:
ant-Ddai.db.file.path=/path/to/my/files-Ddai.resource.id=MyFileResourcecreateFileSyst
EmConfig // establishment file system resource configuration file
(2) space for its deployment data file resource, carry out to issue orders:
ant-Dtomcat.dir=$CATALINA_HOME
-Ddai.resource.file=/home/user/MyFiieResource?deployResource
Three, issue is based on the geographical spatial data service of OGSA-DAI expansion
Based on the geographical spatial data service of OGSA-DAI expansion, this service is developed in Eclipse and is finished, and provides Web Service container by XFire, utilizes the kit of grid middleware OGSA-DAI to carry out data access.For the ease of the transmission of data, used json and BASE64 coding techniques that data are changed.After service development is finished, be deployed to externally issue on the Tomcat server.
This service has three data read methods, is respectively:
First method: use statement execute (String url, String resource, String sql);
This method is used for reading the relational database property data fields, and the result is converted to json form output commonly used.
Input parameter:
Url: data server address
Resource: data resource name
Sql: query statement
Output: the data set of json form.
Second method: use statement executeBlob (String mURL, String mDataResourceID, String mSQLQuery, String mFieldName);
This method is used for reading the big field of relational database scale-of-two, and the user can obtain spatial data by the big field of scale-of-two is resolved just.
Input parameter:
MURL: data server address
MDataResourceID: data resource name
MSQLQuery: query statement
MFieldName: the big field name of scale-of-two
Output: binary data is pressed the output of BASE64 coding.
The 3rd method: executeFile (String url, String resource, String filename);
This method is used for the data file on the reading of data server, and the result is converted to String form output commonly used.
Input parameter:
Url: data server address
Resource: data resource name
Filename: Data Filename
Output: with String type output data file content.
What need mention especially is; after service development is finished; both can be deployed to externally issue on the Tomcat server; also can be deployed to externally issue on the Globus Toolkit server; Tomcat and Globus Toolkit are Web Service container; the difference of web service container does not limit protection scope of the present invention.
The user can submit query requests to the geographical spatial data service in the network optional position, the geographical spatial data service passes to the user by OGSA-DAI from the geographical spatial data that each data server obtains spatial database or the spatial data files, the data that the user obtains are the raw data on the data server, and the user can handle voluntarily according to the raw data of obtaining.
The geographical spatial data service can corresponding a plurality of OGSA-DAI servers (grid environment), and the connection configuration of the database/data file of disposing of can carrying out again distributing on a plurality of servers of OGSA-DAI server highlights the distributed access feature of its wide area.
By above-mentioned embodiment, be not difficult to find out the present invention be a kind of easily and fast, efficiently based on the geographical spatial data of grid environment service dissemination method and scheme.
Above embodiment only is explanation technical conceive of the present invention and characteristics; its purpose is to allow the people that is familiar with this technology understand content of the present invention and is implemented; can not limit protection scope of the present invention with this, all equivalences that spirit is done according to the present invention change or modification all is encompassed in protection scope of the present invention.

Claims (5)

1. the geographical spatial data based on grid environment is served dissemination method, it is characterized in that:
(1) arranges grid container Globus and grid middleware OGSA-DAI at grid service server;
(2) parameter of configuration space data on grid service server, spatial data expands to the data resource of OGSA-DAI;
(3) write the geographical spatial data service of expansion based on OGSA-DAI, after service development is finished, be deployed to outwards issue geographical spatial data service in the web service container.
2. the geographical spatial data service dissemination method based on grid environment according to claim 1 is characterized in that: in data transmission procedure, use json and base64 coding techniques that data are changed.
3. the geographical spatial data service dissemination method based on grid environment according to claim 1, it is characterized in that: described spatial data is one or more in spatial database and the spatial data files.
4. the geographical spatial data service dissemination method based on grid environment according to claim 1, it is characterized in that: the parameter of described configuration space data comprises configuration space database steps and/or configuration space data file step.
5. the geographical spatial data service dissemination method based on grid environment according to claim 2, it is characterized in that: Web Service container is Tomcat or Globus Toolkit.
CN2010105460249A 2010-11-16 2010-11-16 Grid environment-based geospatial data service issuing method Active CN101996249B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105460249A CN101996249B (en) 2010-11-16 2010-11-16 Grid environment-based geospatial data service issuing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105460249A CN101996249B (en) 2010-11-16 2010-11-16 Grid environment-based geospatial data service issuing method

Publications (2)

Publication Number Publication Date
CN101996249A true CN101996249A (en) 2011-03-30
CN101996249B CN101996249B (en) 2013-11-27

Family

ID=43786403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105460249A Active CN101996249B (en) 2010-11-16 2010-11-16 Grid environment-based geospatial data service issuing method

Country Status (1)

Country Link
CN (1) CN101996249B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102253974A (en) * 2011-06-17 2011-11-23 中国矿业大学 Dynamic combination method for geographic model network services
CN102609437A (en) * 2011-12-23 2012-07-25 重庆长安汽车股份有限公司 Method for transferring local vehicle geographic data based on web server
CN103259872A (en) * 2013-05-31 2013-08-21 江苏物联网研究发展中心 Multi-source heterogeneous geographic information service platform based on open-type grid system
CN105959138A (en) * 2016-04-29 2016-09-21 深圳前海大数点科技有限公司 Micro-service dynamic disposition system and method based on cloud calculation
CN114090714A (en) * 2021-11-22 2022-02-25 中国矿业大学(北京) Multi-scale large data query method based on ecological evolution of geographic grid model mining area

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《国土资源信息化》 20091231 彭涛 肖娟 仇菊香 网格GIS研究 8-10页 1-5 , 第1期 2 *
《电脑知识与技术学术交流》 20071231 金世双 刘锋 基于网格技术的WebGIS的研究 126-128 1-5 , 第19期 2 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102253974A (en) * 2011-06-17 2011-11-23 中国矿业大学 Dynamic combination method for geographic model network services
CN102253974B (en) * 2011-06-17 2013-03-06 中国矿业大学 Dynamic combination method for geographic model network services
CN102609437A (en) * 2011-12-23 2012-07-25 重庆长安汽车股份有限公司 Method for transferring local vehicle geographic data based on web server
CN102609437B (en) * 2011-12-23 2014-10-08 重庆长安汽车股份有限公司 Method for transferring local vehicle geographic data based on web server
CN103259872A (en) * 2013-05-31 2013-08-21 江苏物联网研究发展中心 Multi-source heterogeneous geographic information service platform based on open-type grid system
CN105959138A (en) * 2016-04-29 2016-09-21 深圳前海大数点科技有限公司 Micro-service dynamic disposition system and method based on cloud calculation
CN105959138B (en) * 2016-04-29 2019-05-17 深圳大数点科技有限公司 The system and method for micro services Dynamical Deployment based on cloud computing
CN114090714A (en) * 2021-11-22 2022-02-25 中国矿业大学(北京) Multi-scale large data query method based on ecological evolution of geographic grid model mining area
CN114090714B (en) * 2021-11-22 2022-04-29 中国矿业大学(北京) Multi-scale large data query method based on ecological evolution of geographic grid model mining area

Also Published As

Publication number Publication date
CN101996249B (en) 2013-11-27

Similar Documents

Publication Publication Date Title
US11704331B2 (en) Dynamic generation of data catalogs for accessing data
CN102822820B (en) Indexing and searching employing virtual documents
EP3173951B1 (en) Integrated framework for secured data provisioning and management
CN102378975A (en) Extending collaboration capabilities to external data
US20150066977A1 (en) Method and system for managing digital resources
CN101996249B (en) Grid environment-based geospatial data service issuing method
US20140280334A1 (en) Reporting and analytics tool integrated with cloud service applications
US20140012988A1 (en) Provisioning computer resources on a network
US20130275623A1 (en) Deployment of web application archives as a preprocessing step for provisioning
WO2010127552A1 (en) Service-oriented application system and communicating method, creator and creating method thereof
US10313421B2 (en) Providing Odata service based on service operation execution flow
CN101667191B (en) Information sharing method based on P2P
KR101331854B1 (en) Apparatus and method for search Open API and generation mashup block skeleton code
US8666951B2 (en) Managing multiple versions of enterprise meta-models using semantic based indexing
AlBar et al. A journey towards building real-time big data analytics environment for drilling operations: Challenges and lessons learned
Chen et al. Grid computing enhances standards-compatible geospatial catalogue service
US10963479B1 (en) Hosting version controlled extract, transform, load (ETL) code
Kim et al. Real-time processing of spatial attribute information for mobile web based on standard web framework and HTML5
Zhu et al. Research on earth system scientific data sharing platform based on SOA
US20160070728A1 (en) Cell-based database management system
Huang et al. Building the distributed geographic SQL workflow in the Grid environment
Diasse et al. Proposed of a GIS Cloud (GIS-C) System Architecture in Private Used
Yang Application of SOA and web service in implementing heterogeneous system integration
Feinleib et al. The Intersection of Big Data, Mobile, and Cloud Computing: Boon to App Development
Law ArcGIS for Server 101

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
DD01 Delivery of document by public notice
DD01 Delivery of document by public notice

Addressee: Wang Yan

Document name: Notification of eligibility