CN107070978A - A kind of inter-network acts on behalf of the method, system and proxy server of web map service - Google Patents
A kind of inter-network acts on behalf of the method, system and proxy server of web map service Download PDFInfo
- Publication number
- CN107070978A CN107070978A CN201710032462.5A CN201710032462A CN107070978A CN 107070978 A CN107070978 A CN 107070978A CN 201710032462 A CN201710032462 A CN 201710032462A CN 107070978 A CN107070978 A CN 107070978A
- Authority
- CN
- China
- Prior art keywords
- wms
- requests
- server
- proxy server
- getmap
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/565—Conversion or adaptation of application format or content
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Remote Sensing (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Disclose method, system and proxy server that a kind of inter-network acts on behalf of web map service.Methods described includes:The GetCapabilities requests that proxy server sends client are forwarded to WMS server ends, and describe document from WMS received server-side metadata;The URL address fields that metadata describes the WMS server ends that document is included are revised as the first URL address fields of proxy server by proxy server, and amended metadata is described into document sent to client;The GetMap requests that proxy server sends client are forwarded to WMS server ends, and obtain map from WMS server ends;Wherein, the GetMap requests are clients according to obtained by amended metadata describes document calculations.The present invention can realize that inter-network acts on behalf of web map service by above step, and this method is simple and easy to apply, high practicability.
Description
Technical field
Web maps clothes are acted on behalf of the present invention relates to WMS (web map service) access techniques field, more particularly to a kind of inter-network
Method, system and the proxy server of business.
Background technology
In Spatial Data Interoperability field, the mutual operation method based on common interface access module is a kind of basic operation
Method.The interface of Spatial Data Interoperability is formulated by International Organization for standardization (such as ISO/TC211) or Technology-based Alliance (such as OGC)
Specification, GIS (GIS-Geographic Information System) software business man exploitation follows the read/write function of the spatial data of this interface specification, it is possible to achieve
The interoperability of Heterogeneous Spatial Databases.OGC (open geospatial information alliance) defines three kinds of geographical reference information models:
WMS (web map service), WFS (Web Feature Services), WCS (Web geography coverings service).
WMS can return to the map of corresponding format according to the request of user, such as the grid such as PNG, GIF, JPEG or
Person's SVG, WEB CGM isovector forms.WMS supports procotol HTTP, and the operation supported is defined by URL.WMS has three
Individual important operation, is GetCapabilities, GetMap, GetFeatureinfo respectively.Wherein, GetCapabilities and
GetMap be have to realize operation, and GetFeaturelnfo be can selection operation.GetCapabilities, which is used to return, to be taken
Business level metadata, GetMap is used to return to a map image, and GetFeatureinfo is used to return to certain being shown on map
The information of a little special key elements.In addition, WMS also include some other operate, such as DescribeLayer, GetLegendGraphic,
GetStyles, SetSytles etc..
In recent years, with the development of geography information, the application of electronic map is more and more extensive, the Web based on OGC standards
Figure service is also widely used.Under many circumstances, it is necessary to by web map service from A net agencies to B nets, so as in B
Net accesses the web map service in A nets.However, not carrying out the side of inter-network agency for web map service in the prior art
Method or system.In addition, existing proxy server instrument such as Apache, Wingate etc. can not realize that inter-network acts on behalf of Web maps
Service.
In consideration of it, need badly it is a kind of can realize that inter-network acts on behalf of the method for web map service, system, with meet inter-network agency
The demand of web map service.In addition, need badly it is a kind of can realize the proxy server that inter-network acts on behalf of web map service, to overcome
Existing instrument of acting on behalf of can not carry out the defect of inter-network agency to web map service.
The content of the invention
It is an object of the invention to propose it is a kind of can realize that inter-network acts on behalf of the method for WMS Map Services, system, with meet
Inter-network acts on behalf of the demand of web map service.In addition, the present invention also aims to propose a kind of proxy server, it is existing to overcome
Some proxy server instruments can not realize that inter-network acts on behalf of the defect of web map service.
The invention provides a kind of method that inter-network acts on behalf of web map service, methods described includes:
The GetCapabilities requests that S1, proxy server send client are forwarded to WMS server ends, and from
WMS received server-side metadata describes document;
The URL address fields that the metadata describes the WMS server ends that document is included are revised as by S2, proxy server
First URL address fields of proxy server, and amended metadata is described into document sent to client;
The GetMap requests that S3, proxy server send client are forwarded to WMS server ends, and are taken from the WMS
Business device end obtains map;
Wherein, the GetMap requests are clients according to obtained by the amended metadata describes document calculations.
It is preferred that, the first URL address fields include:The first IP, the first end slogan of proxy server of proxy server;
The URL address fields of WMS server ends include:The port numbers of IP, WMS server end of WMS server ends.
It is preferred that, in step sl, the GetCapabilities that the proxy server sends client asks to forward
To WMS server ends, including:
S11, proxy server receive the GetCapabilities requests that client is sent;
S12, proxy server ask GetCapabilities the first URL address fields of the proxy server of carrying
It is revised as the URL address fields of WMS server ends;
S13, proxy server send amended GetCapabilities requests to WMS server ends.
It is preferred that, it is in step s3, described that GetMap requests are forwarded to by WMS servers by proxy server
End, including:
S31, proxy server receive the GetMap requests that client is sent;
First URL address fields of the GetMap proxy servers for asking to carry are revised as WMS by S32, proxy server
The URL address fields of server end;
S33, proxy server send amended GetMap requests to WMS server ends.
It is preferred that, methods described is further comprising the steps of:The connection request that proxy server is sent to the client enters
Row is monitored;The connection request includes:GetCapabilities requests, GetMap requests.
Present invention also offers the system that a kind of inter-network acts on behalf of web map service, the system includes:
Client, for sending GetCapabilities requests to proxy server, is additionally operable to after the modification according to reception
Metadata document calculations GetMap requests to be sent are described, and GetMap requests are sent to proxy server;
Proxy server, for GetCapabilities requests to be forwarded into WMS server ends, is additionally operable to service from WMS
Device end receives metadata and describes document, and the URL address fields that the metadata is described into the WMS server ends that document is included are repaiied
The first URL address fields of proxy server are changed to, and amended metadata is described into document send to client, be additionally operable to
GetMap requests are forwarded to WMS server ends;
WMS server ends, are retouched for sending metadata to proxy server after GetCapabilities requests are received
Document is stated, is additionally operable to after GetMap requests are received send map to proxy server.
It is preferred that, the first URL address fields include:The first IP, the first end slogan of proxy server of proxy server;
The URL address fields of WMS server ends include:The port numbers of IP, WMS server end of WMS server ends.
It is preferred that, GetCapabilities requests are forwarded to WMS server ends by proxy server, are specially:Agency's clothes
The GetCapabilities requests that device reception client of being engaged in is sent, the proxy server that GetCapabilities is asked to carry
The first URL address fields be revised as the URL address fields of WMS server ends, and please by amended GetCapabilities
Transmission is asked to WMS server ends;
GetMap requests are forwarded to WMS server ends by proxy server, are specially:Proxy server receives client
The GetMap requests that end is sent, WMS services are revised as by the first URL address fields of the GetMap proxy servers for asking to carry
The URL address fields at device end, and amended GetMap requests are sent to WMS server ends.
It is preferred that, the proxy server is additionally operable to monitor the connection request that the client is sent;The company
Connecing request includes:GetCapabilities requests, GetMap requests.
Present invention also offers a kind of proxy server, including:
Module is monitored, the connection request sent for the client is monitored;The connection request includes:
GetCapabilities requests, GetMap requests;
First transceiver module, the GetCapabilities requests for receiving client transmission, and by amended first number
Sent according to description document to client;It is additionally operable to receive the GetMap requests that client is sent, and will receives from WMS servers
Map is sent to client;
Connection request parsing module, for asking GetCapabilities to ask the agency service of carrying with GetMap
First URL address fields of device are revised as the URL address fields of WMS server ends;
Second transceiver module, for amended GetCapabilities requests to be sent to WMS server ends, and connects
The metadata for receiving the transmission of WMS server ends describes document;It is additionally operable to send amended GetMap requests to WMS servers
End, and receive the map of WMS server ends transmission;
Metadata parsing module, the URL address words for the metadata of reception to be described to the WMS server ends that document is included
Section is revised as the first URL address fields of proxy server.
As can be known from the above technical solutions, the invention provides the method, system and generation that a kind of inter-network acts on behalf of web map service
Manage server.Wherein, methods described mainly includes:The GetCapabilities requests that proxy server sends client turn
WMS server ends are sent to, and document is described from WMS received server-side metadata;Metadata is described document by proxy server
Comprising the URL address fields of WMS server ends be revised as the first URL address fields of proxy server, and will be amended
Metadata describes document and sent to client;Client describes document calculations GetMap to be sent according to amended metadata
Request, and GetMap requests are forwarded to by WMS server ends by proxy server, to obtain map from WMS server ends.This
Invention can realize that inter-network acts on behalf of web map service by above step, and this method is simple and easy to apply, high practicability.
Brief description of the drawings
By the embodiment part of offer referring to the drawings, the features and advantages of the present invention will become more
It is readily appreciated that, in the accompanying drawings:
Fig. 1 is the method schematic diagram that inter-network in the embodiment of the present invention acts on behalf of web map service;
Fig. 2 is the method schematic diagram of proxy server forwarding GetCapabilities requests in the embodiment of the present invention;
Fig. 3 is the method schematic diagram of proxy server forwarding GetMap requests in the embodiment of the present invention;
Fig. 4 is the composition frame chart for the system that inter-network in the embodiment of the present invention acts on behalf of web map service;
Fig. 5 is the inside composition frame chart of the proxy server in the embodiment of the present invention;
1st, client;2nd, proxy server;3rd, WMS server ends;201st, the first transceiver module;202nd, connection request is parsed
Module;203rd, the second transceiver module;204th, metadata parsing module;205th, module is monitored.
Embodiment
Under many circumstances, it is necessary to which web map service is acted on behalf of to B nets from A nets, and then Web maps clothes are accessed in B nets
Business.However, in the prior art not on how to realize that inter-network acts on behalf of the effective solution of web map service.In addition,
The proxy server such as existing Apache, Wingate instrument can not all meet the use demand that inter-network acts on behalf of WMS Map Services.
In consideration of it, the present inventor, which proposes a kind of inter-network, acts on behalf of the method for web map service, system, and it is a kind of for real
Existing inter-network acts on behalf of the proxy server of web map service.
Technical scheme is described in detail for 1-4 and specific embodiment below in conjunction with the accompanying drawings.
Fig. 1 shows that the inter-network of the embodiment of the present invention acts on behalf of the method schematic diagram of web map service.Introducing inter-network agency
Before the method for web map service, the network architecture involved by this method is illustrated first.Net in the embodiment of the present invention
Network framework can include client, proxy server, WMS server ends, also, client and WMS server ends are positioned at different
Under network environment.For example, client is located at A nets, WMS server ends are located at B nets.Method described by Fig. 1 is from agency service
Device side is described.It can be seen from figure 1 that this method mainly includes step S1~S3.In the specific implementation, preferably,
Before step S1, in addition to step S0.
The connection request that step S0, proxy server are sent to client is monitored.Wherein, the connection request bag
Include:GetCapabilities requests, GetMap requests.
Specifically, when connection request is that GetCapabilities is asked, into step S1;It is when monitoring request
When GetMap is asked, into step S3.
The GetCapabilities requests that step S1, proxy server send client are forwarded to WMS server ends,
And document is described from WMS received server-side metadata.
Fig. 2 shows a kind of preferred embodiment of proxy server forwarding GetCapabilities requests.Can from Fig. 2
See, the GetCapabilities requests that the proxy server sends client are forwarded to WMS server ends, mainly include
Step S11~S13.
Step S11, proxy server receive the GetCapabilities requests that client is sent.
Wherein, the GetCapabilities requests that client is sent are a URL address.For example, user can pass through visitor
Family end sends the GetCapabilities requests of following form:http://localhost:8080/
queryCapabilitiesREQUEST=GetCapabilities&VERSION=version&SERVICE=WMS.Its
In, http is resource type, localhost:8080 be the host domain name of storage resource, generally comprises the server of storage resource
IP address and port numbers, queryCapabilitiesREQUEST=GetCapabilities&VERSION=version&
SERVICE=WMS is resource file name.
Step S12, proxy server ask GetCapabilities the first URL addresses of the proxy server of carrying
Field is revised as the URL address fields of WMS server ends.
Specifically, the first URL address fields that GetCapabilities requests are carried include:The first of proxy server
The first end slogan of IP address, proxy server;The URL address fields of WMS server ends include:The IP of WMS server ends
Location, the port numbers of WMS server ends.In the specific implementation, proxy server asks GetCapabilities included generation
First IP address of reason server is revised as the IP address of WMS server ends, and the first end slogan of proxy server is revised as
The port numbers of WMS server ends.
Step S13, proxy server send amended GetCapabilities requests to WMS server ends.
Specifically, proxy server can be communicated by the second IP address, second port number with WMS server ends, enter
And send amended GetCapabilities requests to WMS server ends.
By step S11~S13, client can be sent to the GetCapabilities request forwardings of proxy server
To WMS server ends.Then, WMS received server-sides GetCapabilities is asked and handled, and by result
(i.e. metadata describes document) is sent to proxy server.
Step S2, proxy server repair the URL address fields that the metadata describes the WMS server ends that document is included
It is changed to the first URL address fields of proxy server, and amended metadata is described into document to send to client.
It is read out, changes specifically, proxy server can describes document by following steps to metadata:Step S21,
Metadata is described into document to be loaded into XML object;Step S22, the xlink obtained in XML object:Href nodes;Step
If S23, xlink:The number of href nodes is more than 0, into step S24, otherwise, into step S27;Step S24, acquisition
xlink:The IP and port numbers of href nodes, i.e. WMS server ends IP address and port numbers;Step S25, from configuration file
Read the first IP address and first end slogan of proxy server;Step S26, with the first IP address of proxy server and first
Port numbers replace the IP address and port numbers of WMS servers;Step S27, obtain amended metadata and describe document, change
Finish.Metadata is being described after document is read out, changes, amended metadata is described document and sent out by proxy server
Deliver to client.
The GetMap requests that step S3, proxy server send client are forwarded to WMS server ends, and from described
WMS server ends obtain map.
Fig. 3 shows a kind of preferred embodiment of proxy server forwarding GetMap requests.It can be seen from figure 3 that the generation
The GetCapabilities requests that reason server sends client are forwarded to WMS server ends, mainly include step S31~
S33。
Step S31, proxy server receive the GetMap requests that client is sent.
Wherein, the GetMap requests that client is sent are a URL address.For example, client can be retouched according to metadata
The analysis result for stating document forms the GetMap requests of following form:http//localhost:8080/deegeewms
SERVICE=WMS&REQUEST=GetMap&LAYERS=layers&STYLES=styleS&F ORMAT=format&sRS
=coordinate-system&BBOX=bounding_box&WIDTH=width&HEIGHT=h eight.Wherein, http
For resource type, localhost:8080 be the host domain name of storage resource, deegeewmsSERVICE=WMS&REQUEST
=GetMap&LAYERS=layers&STYLES=styleS&FORMAT=format&sRS=coo rdinate-system&
BBOX=bounding_box&WIDTH=width&HEIGHT=height is resource file name.
First URL address fields of the GetMap proxy servers for asking to carry are revised as WMS by S32, proxy server
The URL address fields of server end.
Specifically, the first URL address fields that GetMap requests are carried include:First IP address of proxy server, generation
Manage the first end slogan of server;The URL address fields of WMS server ends include:The IP address of WMS server ends, WMS services
The port numbers at device end.In the specific implementation, proxy server is with asking GetMap the first IP of included proxy server
The IP address of WMS server ends is revised as in location, and the first end slogan of proxy server is revised as into the port of WMS server ends
Number.
S33, proxy server send amended GetMap requests to WMS server ends.
Specifically, proxy server can be communicated by the second IP address, second port number with WMS server ends, enter
And send amended GetMap requests to WMS server ends.
By step S31~S33, the GetMap requests that client can be sent to proxy server are forwarded to WMS services
Device end.Then, WMS received server-sides GetMap is asked and handled, and is that map is sent to agency's clothes by result
Business device, then sent map to client by proxy server.
In embodiments of the present invention, can be by web map service from A net agencies to B nets, so as to meet by above step
The demand of outgoing access web map service, has filled up the blank of prior art.Further, the inter-network acts on behalf of Web maps clothes
The method of business is simple and easy to apply, high practicability.
In addition, the embodiment of the present invention additionally provides the system that a kind of inter-network acts on behalf of web map service.Fig. 4 shows this hair
Inter-network in bright embodiment acts on behalf of the composition frame chart of the system of web map service.It can be seen from figure 3 that the system includes:Client 1,
Proxy server 2, WMS server ends 3.Wherein, client 1 is located at A nets, and WMS server ends 3 are located at B nets.
Client 1, can be common browser or application system or component.Client 1 is used to take to agency
Business device 2 sends GetCapabilities requests;It is additionally operable to the amended metadata description text of the transmission of Receiving Agent server 2
Shelves simultaneously describe document calculations GetMap requests to be sent according to amended metadata, and the GetMap is asked into transmission
To proxy server 2;It is additionally operable to the map of Receiving Agent server transmission.
Proxy server 2, for GetCapabilities requests to be forwarded into WMS server ends 3;It is additionally operable to take from WMS
Business device end 3 receives metadata and describes document, and the metadata is described to the URL address words for the WMS server ends that document is included
Section is revised as the first URL address fields of proxy server, and amended metadata is described into document sent to client 1;
It is additionally operable to GetMap requests being forwarded to WMS server ends;It is additionally operable to send the map that WMS server ends 3 are sent to client
End 1.Wherein, the first URL address fields include:The first IP, the first end slogan of proxy server of proxy server;WMS takes
The URL address fields at business device end include:The port numbers of IP, WMS server end of WMS server ends.It is pointed out that when end
When slogan is 80, port numbers can be omitted.Further, proxy server 2 is additionally operable to the connection request sent to client 1
Monitored, the connection request includes:GetCapabilities requests, GetMap requests.
In the specific implementation, proxy server 2 can forward GetCapabilities requests by following preferred embodiment:Generation
Manage server 2 and receive the GetCapabilities requests that client 1 is sent, the agency that GetCapabilities is asked to carry
First URL address fields of server are revised as the URL address fields of WMS server ends, and will be amended
GetCapabilities requests are sent to WMS server ends 3.In addition, proxy server 2 can be forwarded by following preferred embodiment
GetMap is asked:Proxy server 2 receives the GetMap requests that client 1 is sent, the agency service that GetMap is asked to carry
First URL address fields of device are revised as the URL address fields of WMS server ends, and amended GetMap is asked into transmission
To WMS server ends 3.
WMS server ends 3, for sending metadata to proxy server 2 after GetCapabilities requests are received
Document is described, is additionally operable to after GetMap requests are received send map to proxy server 2.
In embodiments of the present invention, can be by Web maps by client 1, proxy server 2, WMS Map Services end 3
Service, so as to meet the demand of outgoing access web map service, has filled up the blank of prior art from A net agencies to B nets.
In addition, it was found by the inventors of the present invention that the existing proxy server instrument such as Apache, Wingate all can not be real
Existing inter-network acts on behalf of WMS Map Services.Because, these proxy server instruments are only capable of the IP and port numbers in URL addresses
Enter line translation, the function that document is parsed is described to metadata without possessing.Therefore, existing proxy server can not be met
Inter-network acts on behalf of the demand of web map service.
In consideration of it, the embodiment of the present invention additionally provides a kind of proxy server that web map service is realized for inter-network.Figure
5 show the inside composition frame chart of the proxy server in the embodiment of the present invention.From figure 5 it can be seen that the proxy server is mainly wrapped
Include:201st, the first transceiver module;202nd, connection request parsing module;203rd, the second transceiver module;204th, metadata parsing module;
205th, module is monitored.
In this embodiment, monitoring module 205 is used to monitor the connection request that client is sent.The connection please
Ask including:GetCapabilities requests, GetMap requests.
First transceiver module 201, the GetCapabilities requests for receiving client transmission;It is additionally operable to change
Metadata afterwards describes document and sent to client;It is additionally operable to receive the GetMap requests that client is sent, and will be serviced from WMS
The map that device is received is sent to client.
Connection request parsing module 202, for the agency that GetCapabilities is asked and GetMap requests are carried to be taken
First URL address fields of business device are revised as the URL address fields of WMS server ends.
Second transceiver module 203, for amended GetCapabilities requests to be sent to WMS server ends, and
The metadata for receiving the transmission of WMS server ends describes document;It is additionally operable to send amended GetMap requests to WMS servers
End, and receive the map of WMS server ends transmission.
Metadata parsing module 204, the URL for the metadata of reception to be described to the WMS server ends that document is included
Location field is revised as the first URL address fields of proxy server.Wherein, the first URL address fields include:Proxy server
The first end slogan of first IP address, proxy server;The URL address fields of WMS server ends include:WMS server ends
The port numbers of IP address, WMS server ends.In the specific implementation, metadata parsing module preferentially can use abovementioned steps S21 extremely
Step S27 method describes document to metadata and is read out, changes.
In embodiments of the present invention, by parsing mould by first and second transceiver module, connection request parsing module, metadata
The proxy server of the compositions such as block, the defect that inter-network acts on behalf of web map service can not be met by overcoming existing proxy server,
High practicability.
Although with reference to illustrative embodiments, invention has been described, but it is to be understood that the present invention does not limit to
The embodiment that Yu Wenzhong is described in detail and shown, in the case of without departing from claims limited range, this
Art personnel can make various changes to the illustrative embodiments.
Claims (10)
1. a kind of method that inter-network acts on behalf of web map service, it is characterised in that methods described includes:
The GetCapabilities requests that S1, proxy server send client are forwarded to WMS server ends, and are taken from WMS
Business device end receives metadata and describes document;
The URL address fields that the metadata describes the WMS server ends that document is included are revised as agency by S2, proxy server
First URL address fields of server, and amended metadata is described into document sent to client;
The GetMap requests that S3, proxy server send client are forwarded to WMS server ends, and from the WMS servers
End obtains map;
Wherein, the GetMap requests are clients according to obtained by the amended metadata describes document calculations.
2. the method as described in claim 1, it is characterised in that the first URL address fields include:The first of proxy server
IP, proxy server first end slogan;The URL address fields of WMS server ends include:IP, WMS clothes of WMS server ends
The port numbers at business device end.
3. the method as described in claim 1, it is characterised in that in step sl, the proxy server sends client
GetCapabilities request be forwarded to WMS server ends, including:
S11, proxy server receive the GetCapabilities requests that client is sent;
S12, proxy server change the first URL address fields of the GetCapabilities proxy servers for asking to carry
For the URL address fields of WMS server ends;
S13, proxy server send amended GetCapabilities requests to WMS server ends.
4. the method as described in claim 1, it is characterised in that in step s3, proxy server asks the GetMap
WMS server ends are forwarded to, including:
S31, proxy server receive the GetMap requests that client is sent;
First URL address fields of the GetMap proxy servers for asking to carry are revised as WMS services by S32, proxy server
The URL address fields at device end;
S33, proxy server send amended GetMap requests to WMS server ends.
5. the method as described in claim 1-4 is any, it is characterised in that methods described is further comprising the steps of:
The connection request that proxy server is sent to the client is monitored;The connection request includes:
GetCapabilities requests, GetMap requests.
6. the system that a kind of inter-network acts on behalf of web map service, it is characterised in that the system includes:
Client, for sending GetCapabilities requests to proxy server, is additionally operable to the amended member according to reception
Data describe document calculations GetMap requests to be sent, and GetMap requests are sent to proxy server;
Proxy server, for GetCapabilities requests to be forwarded into WMS server ends, is additionally operable to from WMS server ends
Receive metadata and describe document, and the URL address fields that the metadata is described into the WMS server ends that document is included are revised as
First URL address fields of proxy server, and amended metadata is described into document sent to client, it is additionally operable to institute
State GetMap requests and be forwarded to WMS server ends;
WMS server ends, for sending metadata description text to proxy server after GetCapabilities requests are received
Shelves, are additionally operable to after GetMap requests are received send map to proxy server.
7. system as claimed in claim 6, it is characterised in that the first URL address fields include:The first of proxy server
IP, proxy server first end slogan;The URL address fields of WMS server ends include:IP, WMS clothes of WMS server ends
The port numbers at business device end.
8. system as claimed in claim 6, it is characterised in that GetCapabilities requests are forwarded to by proxy server
WMS server ends, be specially:Proxy server receives the GetCapabilities requests that client is sent, will
First URL address fields of the proxy server that GetCapabilities requests are carried are with being revised as the URL of WMS server ends
Location field, and amended GetCapabilities requests are sent to WMS server ends;
GetMap requests are forwarded to WMS server ends by proxy server, are specially:Proxy server receives client hair
The GetMap requests sent, WMS server ends are revised as by the first URL address fields of the GetMap proxy servers for asking to carry
URL address fields, and amended GetMap requests are sent to WMS server ends.
9. the system as described in claim 6-8 is any, it is characterised in that the proxy server is additionally operable to the client
The connection request of transmission is monitored;The connection request includes:GetCapabilities requests, GetMap requests.
10. a kind of proxy server, it is characterised in that the proxy server includes:
Module is monitored, the connection request sent for the client is monitored;The connection request includes:
GetCapabilities requests, GetMap requests;
First transceiver module, for receiving the GetCapabilities requests of client transmission, and amended metadata is retouched
Document is stated to send to client;It is additionally operable to receive the GetMap requests that client is sent, and the map that will be received from WMS servers
Send to client;
Connection request parsing module, for GetCapabilities to be asked and the proxy server of GetMap request carryings
First URL address fields are revised as the URL address fields of WMS server ends;
Second transceiver module, for amended GetCapabilities requests to be sent to WMS server ends, and receives WMS
The metadata that server end is sent describes document;It is additionally operable to send amended GetMap requests to WMS server ends, and connects
Receive the map that WMS server ends are sent;
Metadata parsing module, the URL address fields for the metadata of reception to be described to the WMS server ends that document is included are repaiied
It is changed to the first URL address fields of proxy server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710032462.5A CN107070978B (en) | 2017-01-16 | 2017-01-16 | Method and system for cross-network proxy Web map service and proxy server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710032462.5A CN107070978B (en) | 2017-01-16 | 2017-01-16 | Method and system for cross-network proxy Web map service and proxy server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107070978A true CN107070978A (en) | 2017-08-18 |
CN107070978B CN107070978B (en) | 2020-07-10 |
Family
ID=59597909
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710032462.5A Active CN107070978B (en) | 2017-01-16 | 2017-01-16 | Method and system for cross-network proxy Web map service and proxy server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107070978B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108829827A (en) * | 2018-06-15 | 2018-11-16 | 安徽美图信息科技有限公司 | A kind of spatial analysis Map service system based on GeoTools and OGC |
CN111010418A (en) * | 2019-10-25 | 2020-04-14 | 深圳市普天宜通技术股份有限公司 | Geoserver data acquisition method, terminal and storage medium |
CN114640661A (en) * | 2020-12-15 | 2022-06-17 | 武汉市探测者科技有限公司 | Spatial data authority control method based on spatial range |
CN115550333A (en) * | 2022-12-02 | 2022-12-30 | 中国电子科技集团公司第十五研究所 | Web-based system and method for accessing application in multilevel and multi-domain environment |
WO2023051300A1 (en) * | 2021-09-30 | 2023-04-06 | 成都纵横自动化技术股份有限公司 | Method for realizing network dynamic geographic information service and apparatus for realizing different network dynamic geographic information services |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008089231A1 (en) * | 2007-01-18 | 2008-07-24 | Harris Corporation | System and method for processing map images |
CN102594866A (en) * | 2011-12-22 | 2012-07-18 | 中国电子科技集团公司第十五研究所 | Map service providing system and method |
CN103347069A (en) * | 2013-06-27 | 2013-10-09 | 贝壳网际(北京)安全技术有限公司 | Method and device for realizing network access |
CN104618491A (en) * | 2015-02-11 | 2015-05-13 | 四川银海天怡信息技术有限公司 | Proxy server and data forwarding method |
CN105608191A (en) * | 2015-12-23 | 2016-05-25 | 云南电网有限责任公司 | EnersunWebCache based method for dynamically generating cached power grid map tiles |
-
2017
- 2017-01-16 CN CN201710032462.5A patent/CN107070978B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008089231A1 (en) * | 2007-01-18 | 2008-07-24 | Harris Corporation | System and method for processing map images |
CN102594866A (en) * | 2011-12-22 | 2012-07-18 | 中国电子科技集团公司第十五研究所 | Map service providing system and method |
CN103347069A (en) * | 2013-06-27 | 2013-10-09 | 贝壳网际(北京)安全技术有限公司 | Method and device for realizing network access |
CN104618491A (en) * | 2015-02-11 | 2015-05-13 | 四川银海天怡信息技术有限公司 | Proxy server and data forwarding method |
CN105608191A (en) * | 2015-12-23 | 2016-05-25 | 云南电网有限责任公司 | EnersunWebCache based method for dynamically generating cached power grid map tiles |
Non-Patent Citations (1)
Title |
---|
黄向,张毅坤,房玉峰: "基于WMS服务规范的WebGIS实现方法", 《山东农业大学学报(自然科学版)》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108829827A (en) * | 2018-06-15 | 2018-11-16 | 安徽美图信息科技有限公司 | A kind of spatial analysis Map service system based on GeoTools and OGC |
CN111010418A (en) * | 2019-10-25 | 2020-04-14 | 深圳市普天宜通技术股份有限公司 | Geoserver data acquisition method, terminal and storage medium |
CN114640661A (en) * | 2020-12-15 | 2022-06-17 | 武汉市探测者科技有限公司 | Spatial data authority control method based on spatial range |
WO2023051300A1 (en) * | 2021-09-30 | 2023-04-06 | 成都纵横自动化技术股份有限公司 | Method for realizing network dynamic geographic information service and apparatus for realizing different network dynamic geographic information services |
CN115550333A (en) * | 2022-12-02 | 2022-12-30 | 中国电子科技集团公司第十五研究所 | Web-based system and method for accessing application in multilevel and multi-domain environment |
Also Published As
Publication number | Publication date |
---|---|
CN107070978B (en) | 2020-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107070978A (en) | A kind of inter-network acts on behalf of the method, system and proxy server of web map service | |
US8856279B2 (en) | Method and system for object prediction | |
CN102333092B (en) | Network user identification method and application server | |
CN103493455B (en) | Use the global traffic management of modified host name | |
CN102985921B (en) | There is the client terminal device high speed caching electronic document resources of e-sourcing data base | |
CN101295302B (en) | Advertisement releasing system and method | |
CN104539681B (en) | The processing method of distributed GIS acceleration systems and GIS service | |
KR101107319B1 (en) | Method and System for Providing Web Portal Service based on Open Application Program Interface | |
CN106294379A (en) | The loading method of a kind of page, device and system | |
CN101471960A (en) | Service providing system, gateway, and server | |
CN101609415B (en) | Universal service calling system and method based on middleware | |
CN103347089A (en) | Method and device for separating and accelerating dynamic resources and static resources of website | |
CN101681340A (en) | Unobtrusive methods and systems for collecting information transmitted over a network | |
CN109729183A (en) | Request processing method, device, equipment and storage medium | |
CN104685831A (en) | Measuring web page rendering time | |
CN113271362B (en) | Education resource processing method, device, system and medium based on hybrid cloud | |
CN101465866B (en) | Method for accessing WAP network based on Web terminal and transition module | |
CN101184105A (en) | Client appartus for updating data | |
CN103248641A (en) | Network download method, device and system | |
CN104519130B (en) | A kind of data sharing caching method across IDC | |
CN102624918A (en) | Proxy access method based on URL (Uniform Resource Locator) rewriting technique | |
CN104394182A (en) | Method for realizing content delivery network acceleration and source server | |
CN104318349A (en) | Silverlight and ArcGIS-based marine cadastre monitoring and management method | |
CN102542858B (en) | Course playing method and system | |
CN103513986B (en) | A kind of method utilizing CGI technology to realize dynamic web server in without operating system equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |