CN101710337A - Vector data release system - Google Patents

Vector data release system Download PDF

Info

Publication number
CN101710337A
CN101710337A CN200910238230A CN200910238230A CN101710337A CN 101710337 A CN101710337 A CN 101710337A CN 200910238230 A CN200910238230 A CN 200910238230A CN 200910238230 A CN200910238230 A CN 200910238230A CN 101710337 A CN101710337 A CN 101710337A
Authority
CN
China
Prior art keywords
vector data
engine modules
layer
request
modules
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
CN200910238230A
Other languages
Chinese (zh)
Other versions
CN101710337B (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.)
BEIJING INFORMATION RESOURCES MANAGEMENT CENTER
Original Assignee
BEIJING INFORMATION RESOURCES MANAGEMENT CENTER
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 BEIJING INFORMATION RESOURCES MANAGEMENT CENTER filed Critical BEIJING INFORMATION RESOURCES MANAGEMENT CENTER
Priority to CN200910238230A priority Critical patent/CN101710337B/en
Publication of CN101710337A publication Critical patent/CN101710337A/en
Application granted granted Critical
Publication of CN101710337B publication Critical patent/CN101710337B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention provides a vector data release system which comprises a database module, an engine module and an exhibiting module, wherein the exhibiting module is used for receiving the request command from the client and displaying the response of the engine module to the request command, the database module is used for obtaining vector data from the client and storing the corresponding vector picture layer in one table of the database, the engine module is used for searching for the special entity or in the corresponding picture layer or describing the picture layer in the database module according to the type of the request command.

Description

Vector data release system
Technical field
The present invention relates to the Geographic Information System field, in particular to a kind of vector data release system.
Background technology
Geographic Information System (Geographic Information System, GIS) be under computing machine hardware and software system supports, to the relevant geographic distribution data in whole or part epigeosphere (the comprising atmospheric envelope) space gather, store, the technological system of management, computing, analysis, demonstration and description.Geographic Information System is handled, management to as if multiple geospatial entity data and relation thereof, comprise space orientation data, graph data, remote sensing image data, attribute data etc., be used to analyze and handle various phenomenons and the process that in certain geographic area, distributes, solve complicated planning, decision-making and problem of management.
Vector data is to use a little, line, and face and X thereof, the Y coordinate makes up a little, line, the data model of concrete space such as face key element.
1) vector data (Vector Data) is in rectangular coordinate system, with the position of X, Y coordinate representation map graph or geographical entity and the data of shape.Vector data generally comes as far as possible accurate with the locus performance of geographical entity by the mode of record coordinate.
The point entity: in two-dimensional space, the some entity can be with a pair of coordinate X, and Y determines the position;
The line entity: the line entity can be thought the curve be made up of continuous straight-line segment, with the set of coordinate string (X1, Y1, X2, Y2......Xn Yn) comes record;
The face entity: when the record surface entity, the border by the record area feature shows usually, thereby is also referred to as polygon data sometimes.
2) vector data is the internal data of storing with the vector structure in the computing machine, is the direct product of tracking mode digitizer.In vector data structure, point data can directly be described with coordinate figure; The line data can be described with even or unevenly spaced order Coordinate Chain; The available boundary line of planar data (or polygon data) is described.The organizational form of vector data is comparatively complicated, be basic logic unit with the segmental arc, and each segmental arc is limited with two or more crossing nodes, and is described by two adjacent polygon attributes.In computing machine, it is little to use vector data to have memory space, and topological relation can extract some feature and the advantage that obtains between the data item from the point coordinate chain.Major defect is that data edition, renewal and process software are complicated.
At present, the vector space data adopt Relational DBMS (DatabaseManagement System usually, DBMS) manage, as Oracle, SQL Server etc., the commercial relations type data base management system (DBMS) of these main flows all has special assembly to support the storage and the visit of geospatial information, and some main Geographic Information System developers also provide corresponding middleware, support warehouse-in, retrieval and the visit of geographical spatial data.In recent years, geographical spatial data tissue, a Study on Management difficult problem are how rapidly and efficiently to issue big data quantity polar plot layer data, support that front end shows fast.
Current, more outstanding both at home and abroad GIS platform has four families: Supermap, MapGIS, ArcGIS, Mapinfo.Four tame GIS platform vendor have oneself vector data publish engine IMS alone respectively, such as the ArcIMS of ArcGIS.Below just ArcIMS be example, emphasis is told about their current polar plot layer data issue principle and function thereof, functional limitation's property.
Fig. 1 shows the ArcIMS system synoptic diagram according to correlation technique, as shown in Figure 1, comprising: presentation layer, Business Logic and data storage layer, and wherein, presentation layer can be the desktop programs of browser, JAVA application program or C/S; Business Logic comprises: the WEB server, the ArcIMS connector, the application server of ArcIMS and ArcIMS space server, wherein the application server of ArcIMS and ArcIMS space server are that ArcIMS carries, ArcIMS supports the servlet connector that carries or uses javaconnector, the former must with web server (Apache, IIS or Tomcat etc.) binding, and javaconnector supports http, various protocols such as tcp-ip, selectively bind with the web server, ArcIMS returns to a picture URL of connector address (existing file to write), needs Web server that service (existing file to read) externally is provided; The ArcIMS application server comprises management virtual rack, Map Services (the admin configuration), connector request thread management etc., and connector calls it, and it calls the space server again.An application server can connect a plurality of spaces server; ArcIMS space server: the vector tree is generated picture, or do spatial analysis, inquiry etc. are the core of ArcIMS.
Data storage layer among Fig. 1 comprises the file that ArcIMS supports, or arcsde etc.
Communications protocol is a http protocol between presentation layer and the Business Logic.The inner ArcXML form that adopts of Business Logic is as communication language.Communications protocol between Business Logic and the data Layer is an ArcInfo intra-company agreement.ArcSDE adopts sql like language to exchange with database.
Owing to behind picture of ArcIMS space server maps, image content is saved in the file, and forms a URL and pass to presentation layer, presentation layer needs obtain this picture by http protocol once more.In order to reduce the time that communication consumes, also can allow connector directly obtain image content, and image content is directly returned to presentation layer according to URL.
Below the response time of ArcIMS is analyzed, a WMS request from browser sends needs through WEB server (containing connector), ArcIMS application server, these 5 independent processes of ArcIMS space server, ArcSDE and database.The time that consumes in the request roughly is divided into: 1) the presentation layer transmission time (comprise and obtain the picture time and send request time); 2) message passing time in the operation layer opposition process; 3) render time; 4) the data base querying time; 5) the request analysis time.
In realizing process of the present invention, the inventor finds that there are the following problems at least in the prior art: pilot process is too much, cause time waste, process is many in the middle of mainly showing as, data quantity transmitted is big, rendering speed is slow, resolution speed is slow and inquiry velocity is slow; The warehouse-in issue work of data can't be carried out automatically, needs a large amount of manually-operateds, takes time and effort; Inquiry velocity is slow, each polar plot layer, under the ArcIMS management, at least be divided into 3 figure layers: the S table, F table and traffic table, these three tables all have the major key index, in the one query process, ArcIMS need send these 3 conjunctive queries that table is complicated to database, and this has prolonged query time, has increased professional complexity; Simultaneously, ArcIMS adopts original grid index, and performance can not adapt to the business datum of continuous variation on the one hand, needs regulation figure layer scope in advance in addition on the one hand.
Summary of the invention
The present invention aims to provide a kind of vector data release system, can solve the more long problem of required time that causes of pilot process in the prior art.
In an embodiment of the present invention, provide a kind of vector data release system, having comprised: database module, engine modules and functional modules, wherein
Functional modules is used to accept the request command of client, and represents the response of engine modules to request command;
Database module is used for obtaining vector data from client, and the polar plot layer of correspondence is kept in the table of database;
Engine modules after being used to receive the startup command of functional modules, is searched special entity or description figure layer in the corresponding diagram layer according to the type of request command in database module.
In the above-described embodiments, pass through functional modules, engine modules and database module have been finished the Web server in the ArcIMS architecture, connector, application server, the function of space server, the function of then directly utilizing database itself of obtaining to spatial data, replaced this middleware of ArcSDE, owing to adopt the most succinct mode of obtaining vector data from client, many intermediate steps have promptly been saved, functional modules is directly by the engine modules accessing database, the storage mode that adds vector data in addition is simple, a polar plot layer only leaves in the table of database, saved the processing time of database again to the data organizing search, thereby improved the efficient of vector engine, it is too much to have overcome in the prior art pilot process, cause time waste, process is many in the middle of mainly showing as, data quantity transmitted is big, rendering speed is slow, the problem that resolution speed is slow and inquiry velocity is slow.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 shows the ArcIMS system synoptic diagram according to correlation technique;
Fig. 2 shows vector data release system module map according to an embodiment of the invention;
Fig. 3 shows engine modules overall construction drawing according to an embodiment of the invention;
Fig. 4 shows engine modules main structure chart according to an embodiment of the invention.
Embodiment
Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.
Fig. 2 shows vector data release system module map according to an embodiment of the invention, comprising: functional modules 10, engine modules 20 and database module 30, wherein
Functional modules 10 is used to accept the request command of client, and represents the response of 20 pairs of request commands of engine modules;
Database module 30 is used for obtaining vector data from client, and the polar plot layer of correspondence is kept in the table of database;
Engine modules 20 after being used to receive the startup command of functional modules 10, is searched special entity or description figure layer in the corresponding diagram layer according to the type of request command in database module 30.
In the present embodiment, pass through functional modules, engine modules and database module have been finished the Web server in the ArcIMS architecture, connector, application server, the function of space server, the function of then directly utilizing database itself of obtaining to spatial data, replaced this middleware of ArcSDE, owing to adopt the most succinct mode of obtaining vector data from client, many intermediate steps have promptly been saved, functional modules is directly by the engine modules accessing database, the storage mode that adds vector data in addition is simple, a polar plot layer only leaves in the table of database, saved the processing time of database again to the data organizing search, thereby improved the efficient of vector engine, it is too much to have overcome in the prior art pilot process, cause time waste, process is many in the middle of mainly showing as, data quantity transmitted is big, rendering speed is slow, the problem that resolution speed is slow and inquiry velocity is slow.
Preferably, in above-mentioned vector data release system, engine modules comprises: start unit is used for setting up initial environment after receiving the startup command of functional modules beginning interception request, and response startup command; Withdraw from the unit, be used for after receiving the ceasing and desisting order of functional modules, stopping current connection, close monitoring, discharge resource, withdraw from after response is ceased and desisted order.Engine modules exists as a Windows service of system in the present embodiment, and response is to two kinds of orders of " stopping ", " startup " of service.
Preferably, in above-mentioned vector data release system, engine modules also comprises: query analysis unit, be used for according to the query analysis request, and in database module, search special entity or description figure layer in the corresponding diagram layer.Query analysis function in the present embodiment comprises that Getcapabilities, GetFeature, Describefeaturetype, accurately inquiry, fuzzy query, Buffer inquire about this six subfunctions.
Preferably, in above-mentioned vector data release system, engine modules also comprises: the processing unit of publishing picture, be used for according to publishing picture request, and in database module, search the special entity in the figure layer and draw or obtain service describing or carry out the special topic drafting.Present embodiment comprises Getcapabilities and two subfunctions of GetFeature.
Preferably, in above-mentioned vector data release system, engine modules also comprises: the service configuration processing unit, be used for before engine modules is carried out the order of publishing picture, the configuration of buffer memory service, and when certain or when all the configurations shown of Map Services changes, to engine modules transmission update service configuring request, upgrade the configuration of buffer memory, and create new service configuration.In the present embodiment, by the configuration of buffer memory service, accelerated display speed.
In the present embodiment, also carry out and create new service function, safeguard the tabulation of a plurality of GIMS services, and a broadcasting command interface is provided, by calling the service configuration processing unit, can operate all machines in the current magnanimity vector data publish engine service cluster.The figure layer data can repeat to call TestServiceOk, to refresh all magnanimity vector data publish engine services after upgrading.
Preferably, in above-mentioned vector data release system, engine modules also comprises: the server configures module, be used to read configuration file, and the parameter that the engine modules service needs is set, parameter comprises that database connects configuration, number of threads and internal memory and uses restriction.
In the above embodiment of the present invention, a kind of figure layer configuration of carrying out under the BS pattern is provided, parameter is provided with, color matching, send out the method for patterned layers: will be to the configuration of polar plot layer, parameter is provided with, color matching, the operation of series such as issue all issues single one by one backstage service (JAVA, JSP), service interface of the packaged standard in middle layer (WebService interface) and corresponding JavaScript API, representing layer (client only need call by browser) only needs script by reference to call respective services can to realize operation to the polar plot layer having realized the polar plot layer operation under the BS pattern.And operations such as traditional configuration to the polar plot layer, issue are all finished under the CS pattern, and client need be done a lot of configurations like this, have limited the operation of layman to figure layer configure publication, and embodiments of the invention have solved this problem.
Fig. 3 shows engine modules overall construction drawing according to an embodiment of the invention; Fig. 4 shows engine modules main structure chart according to an embodiment of the invention.
In addition, in an embodiment of the present invention, a kind of method of supporting the automatic publishing vector figure layer data under the multiserver cluster mode also is provided, present application mostly is the mode of " multiserver cluster ", to realize load balancing, and existing software can only be each server one by one the arrangement plan layer, issue again, had a strong impact on efficient.Support in the present embodiment under the multiserver cluster mode, the disposable issue of the unification of polar plot layer, concrete grammar is as follows:
The first step realizes the configuration of figure layer and issue of separate unit server (being called " testing server ");
Second step, selftest, simulation secondary development user calls the figure layer of new issue, if no problem, then continues next step;
In the 3rd step, because many application server correspondences same database server, after by an application server distributing data, other application servers are the same vector data of accessing database directly;
On every station server, all can be deployed with " trigger " and " information acquisition device ".After " second step ", test was out of question, first station server (being called " testing server ") was then carried out same operation, distributing data separately by other application servers of message mechanism " triggering ";
The 4th step by information acquisition device, was aggregated into unified " Service Management " module of program, and unified refreshing can be realized.
Embodiments of the invention are supported polar plot layer data warehouse-in, are issued unmanned method of operating, implementation method is basic identical with the method for automatic publishing vector figure layer data, specific implementation is: the configuration (such as all with " green point " issue) of giving an acquiescence of every layer data in advance, " testing server " is deployed with scrutiny program, this program checks every five minutes (configurable) whether a file (depositing the file of vector data) has new data to enter, if have, then carry out each operation of the method for automatic publishing vector figure layer data.At last by unified trace routine simulation secondary development customer inspection issue result.
From above description, as can be seen, the above embodiments of the present invention have realized following technique effect: embodiments of the invention use an one process, multithreaded architecture, do not have the time loss between process, and request has good response speed to the polar plot layer during multi-user concurrent; In the service process of publishing picture is provided, pilot process and volume of transmitted data have been reduced to greatest extent; There is not file read-write from the front end request to the return data process; Directly the request of publishing picture is resolved to client, does not have the time loss of resolving complicated XML; Low cost need not the Web platform, need not database platform when adopting the PostgreSQL database, need not any GIS platform and middleware; Built-in simple queuing mechanism, allowing can concurrent efficiently Query Database and also can not dragged cross-server by unexpected a large amount of responses when playing up; It is simple that configuration is installed; Adopt the built-in spatial index of database itself, simplified list structure, reduced the data base querying time, database structure is simple.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the memory storage and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. a vector data release system is characterized in that, comprising: database module, engine modules and functional modules, wherein
Described functional modules is used to accept the request command of client, and represents the response of described engine modules to the described request order;
Described database module is used for obtaining vector data from client, and the polar plot layer of correspondence is kept in the table of database;
Described engine modules after being used to receive the startup command of described functional modules, is searched special entity or description figure layer in the corresponding diagram layer according to the type of described request order in described database module.
2. vector data release system according to claim 1 is characterized in that, described engine modules comprises:
Start unit is used for setting up initial environment after receiving the startup command of described functional modules, the beginning interception request, and respond described startup command;
Withdraw from the unit, be used for after receiving the ceasing and desisting order of described functional modules, stopping current connection, close monitoring, discharge resource, withdraw from after responding described ceasing and desisting order.
3. vector data release system according to claim 2 is characterized in that, described engine modules also comprises:
Query analysis unit is used for according to the query analysis request, searches special entity or description figure layer in the corresponding diagram layer in described database module.
4. vector data release system according to claim 2 is characterized in that, described engine modules also comprises:
The processing unit of publishing picture is used for according to publishing picture request, searches the special entity in the figure layer and draw or obtain service describing or carry out the special topic drafting in described database module.
5. vector data release system according to claim 2 is characterized in that, described engine modules also comprises:
The service configuration processing unit, be used for before described engine modules is carried out the order of publishing picture, the configuration of buffer memory service, and when certain or when all the configurations shown of Map Services changes, described engine modules is sent the update service configuring request, upgrade the configuration of buffer memory, and create new service configuration.
6. vector data release system according to claim 2 is characterized in that, described engine modules also comprises:
The server configures module is used to read configuration file, and the parameter that described engine modules service needs is set, and described parameter comprises that database connects configuration, number of threads and internal memory and uses restriction.
CN200910238230A 2009-11-23 2009-11-23 Vector data release system Expired - Fee Related CN101710337B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910238230A CN101710337B (en) 2009-11-23 2009-11-23 Vector data release system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910238230A CN101710337B (en) 2009-11-23 2009-11-23 Vector data release system

Publications (2)

Publication Number Publication Date
CN101710337A true CN101710337A (en) 2010-05-19
CN101710337B CN101710337B (en) 2012-09-26

Family

ID=42403127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910238230A Expired - Fee Related CN101710337B (en) 2009-11-23 2009-11-23 Vector data release system

Country Status (1)

Country Link
CN (1) CN101710337B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103885780A (en) * 2014-03-28 2014-06-25 深圳创维-Rgb电子有限公司 Website development method and server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103885780A (en) * 2014-03-28 2014-06-25 深圳创维-Rgb电子有限公司 Website development method and server

Also Published As

Publication number Publication date
CN101710337B (en) 2012-09-26

Similar Documents

Publication Publication Date Title
CN106980669B (en) A kind of storage of data, acquisition methods and device
CN102254022B (en) Method for sharing metadata of information resources of various data types
US8838578B2 (en) Interactive query plan visualization and optimization
CN103036954A (en) Mobile information aggregation system based on geographic information system (GIS) and mobile information aggregation method based on GIS
CN111640040A (en) Power supply customer value evaluation method based on customer portrait technology and big data platform
CN106462582A (en) Batch-optimized render and fetch architecture
CN104102710A (en) Massive data query method
CN108073710B (en) Github open source code library recommendation system based on dynamic network graph mining
CN108664516A (en) Enquiring and optimizing method and relevant apparatus
CN103164525B (en) WEB application dissemination method and device
CN102253936A (en) Method for recording access of user to merchandise information, search method and server
US10942774B1 (en) Dynamic reassignment of search processes into workload pools in a search and indexing system
CN101510209A (en) Method, system and server for implementing real time search
US9275165B2 (en) Method and apparatus for defining an application to allow polymorphic serialization
CN104935660B (en) A kind of cloud program development operating system, method and device
CN103559194B (en) A kind of searching method, server, system
CN102073455B (en) Database-based multi-screen data switching display method
CN102867282A (en) Implementation method for mobile Internet-based customer service quality analysis system
CN102968428A (en) Efficient data extraction by a remote application
CN107784103A (en) A kind of standard interface of access HDFS distributed memory systems
CN103455335A (en) Multilevel classification Web implementation method
CN115934855A (en) Full-link field level blood margin analysis method, system, equipment and storage medium
CN109783754A (en) A kind of log methods of exhibiting and system based on the realization of WEB technology
CN108733701A (en) A kind of query page buffer control method applied to online education
CN111382182A (en) Data processing method and device, electronic equipment and storage medium

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120926

Termination date: 20131123