CN115022033A - Non-invasive dynamic adjustment method and system for time-space information service precision - Google Patents

Non-invasive dynamic adjustment method and system for time-space information service precision Download PDF

Info

Publication number
CN115022033A
CN115022033A CN202210615878.0A CN202210615878A CN115022033A CN 115022033 A CN115022033 A CN 115022033A CN 202210615878 A CN202210615878 A CN 202210615878A CN 115022033 A CN115022033 A CN 115022033A
Authority
CN
China
Prior art keywords
service
precision
request
data
proxy gateway
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
CN202210615878.0A
Other languages
Chinese (zh)
Other versions
CN115022033B (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.)
Zhejiang Institute Of Surveying And Mapping Science And Technology
Original Assignee
Zhejiang Institute Of Surveying And Mapping Science And Technology
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 Zhejiang Institute Of Surveying And Mapping Science And Technology filed Critical Zhejiang Institute Of Surveying And Mapping Science And Technology
Priority to CN202210615878.0A priority Critical patent/CN115022033B/en
Publication of CN115022033A publication Critical patent/CN115022033A/en
Application granted granted Critical
Publication of CN115022033B publication Critical patent/CN115022033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0281Proxies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/30Network architectures or network communication protocols for network security for supporting lawful interception, monitoring or retaining of communications or communication related information
    • H04L63/306Network architectures or network communication protocols for network security for supporting lawful interception, monitoring or retaining of communications or communication related information intercepting packet switched data communications, e.g. Web, Internet or IMS communications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/2895Intermediate processing functionally located close to the data provider application, e.g. reverse proxies

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Technology Law (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a non-invasive dynamic adjustment method and a system for the precision of a time-space information service, which relate to the technical field of time-space information service, and firstly intercept a service request of a client by a proxy gateway; adjusting parameters of the service request according to the service type and the actual precision requirement; the proxy gateway forwards the service request after the parameters are adjusted to a target server; the proxy gateway receives service data returned by the target server; adjusting the precision of the service data according to the actual precision requirement; and the proxy gateway forwards the service data with the adjusted precision to the client. The invention improves the space-time information service efficiency, reduces the transmission quantity and the calculation quantity of data, and can support the service data precision adjustment of various space-time information servers.

Description

Non-invasive dynamic adjustment method and system for time-space information service precision
Technical Field
The invention relates to the technical field of space-time information service, in particular to a non-invasive dynamic adjustment method and system for space-time information service precision.
Background
The space-time information is the driving force of the intelligent implementation process, and all intelligent applications can not leave the position points, the position relation, the time unification and the space-time analysis of the space-time elements. The spatio-temporal information is a necessary way to realize the intellectualization and is an important part for finally realizing the intellectualization. The accuracy of the spatio-temporal information service is an important factor of the service data.
The precision of the spatio-temporal information service comes from the design precision during data production, and the adjustment of the service precision usually needs to reproduce the data, which increases the transmission quantity and the calculation quantity of the data. Therefore, how to dynamically adjust the service precision in a non-intrusive manner while keeping the original spatio-temporal information service intact is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
In view of this, the present invention provides a non-invasive dynamic adjustment method and system for spatial-temporal information service precision.
In order to achieve the above purpose, the invention provides the following technical scheme:
a non-invasive dynamic adjustment method for the precision of time-space information service comprises the following steps:
the proxy gateway intercepts a service request of a client;
adjusting parameters of the service request according to the service type and the actual precision requirement;
the proxy gateway forwards the service request after the parameters are adjusted to a target server;
the proxy gateway receives service data returned by the target server;
adjusting the precision of the service data according to the actual precision requirement;
and the proxy gateway forwards the service data with the adjusted precision to the client.
Optionally, the method is applied to WMS service, WMTS service, WFS service and Mapbox vector tile service of OGC standard.
Optionally, for the service request of the proxy gateway intercepting client:
when the time-space information service is WMS service, the service request is a GetMap request;
when the time-space information service is WMTS service, the service request is a GetTile request;
when the space-time information service is WFS service, the service request is a Getfeature request;
when the space-time information service is a Mapbox vector tile service, the service request is a vector tile request.
Optionally, for the parameter of the adjustment service request:
when the time-space information service is WMS service or WFS service, adjusting the bbox value in the request;
and when the space information service is WMTS service, constructing a request for requesting tiles around the tiles according to values of tilematrix, tilerow and tillecol in the service request.
Optionally, for the accuracy of the adjusted service data:
when the time-space information service is WMS service, if the service data is vector data, the precision of the vector data is adjusted, and if the service data is raster data, the precision adjustment is not performed any more;
when the time-space information service is WMTS service, offsetting the returned original grid tiles, and filling the vacated part after offsetting with surrounding tiles;
when the space-time information service is WFS service, adjusting the precision of the returned vector data;
and when the space-time information service is the Mapbox vector tile service, adjusting the precision of the returned vector tile data.
Optionally, when the temporal-spatial information service is a Mapbox vector tile service, adjusting the precision of the returned vector tile data specifically includes: adjusting longitude and latitude coordinates of the central point of the vector tile and converting the difference value before and after adjustment into a pixel distance; the planar coordinates of elements within the returned vector tile are shifted according to pixel distance.
Optionally, the precision conversion module is used for adjusting parameters of the service request according to the actual precision requirement, and adjusting the precision of the service data.
The invention also provides a non-invasive dynamic adjustment system for the precision of the time-space information service, which comprises a client, a proxy gateway, a server and a precision conversion module, wherein the proxy gateway is respectively in communication connection with the client, the server and the precision conversion module;
the client is used for sending a service request to the proxy gateway; receiving the service data which is returned by the proxy gateway and has been adjusted in precision;
the proxy gateway is used for sending the service request to the precision conversion module; receiving and forwarding the service request after the parameters are adjusted to a target server; receiving service data returned by the target server; sending the service data returned by the target server to the precision conversion module; receiving and forwarding the service data with the adjusted precision to the client;
the server is used for receiving the service request sent by the proxy gateway after the parameters are adjusted and returning corresponding service data to the proxy gateway;
the precision conversion module is internally stored with a precision conversion program used for adjusting parameters of the service request and adjusting the precision of the service data.
According to the technical scheme, the invention discloses and provides a non-intrusive method and a non-intrusive system for dynamically adjusting the precision of time-space information service, and compared with the prior art, the method and the system have the following beneficial effects:
the invention intercepts the response data of the spatio-temporal information service by using a reverse proxy mechanism, dynamically adjusts the precision of the data and returns the data to the client, thereby realizing the output of data with different service precision under the condition of not invading the original service, improving the service efficiency and reducing the transmission quantity and the calculation quantity of the data.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic diagram of the process steps of the present invention;
FIG. 2 is a schematic diagram of the system of the present invention;
FIG. 3 is a diagram illustrating a method for dynamically adjusting the accuracy of WMS service in one embodiment;
FIG. 4 is a diagram illustrating a method for dynamically adjusting the accuracy of WMTS service in one embodiment;
FIG. 5 is a diagram illustrating the steps of a method for dynamically adjusting the precision of WFS services in an embodiment;
FIG. 6 is a diagram illustrating the steps of a method for dynamically adjusting the precision of a Mapbox vector tile service in accordance with an embodiment;
FIG. 7(a) is the service data before the precision adjustment in the embodiment;
fig. 7(b) is the service data after precision adjustment in the embodiment.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
The reverse proxy technology is a uniform entrance provided for external access internal interface service on the system boundary, and the API gateway receives the request of the client, forwards the request to the corresponding back-end system service according to a certain strategy and route, and processes the result returned by the back-end service end. The invention uses the reverse proxy technology to realize the non-invasive dynamic adjustment of the time-space information service precision.
The embodiment of the invention discloses a non-invasive dynamic adjustment method for the precision of space-time information service, which is shown in figure 1 and comprises the following steps:
the proxy gateway intercepts a service request of a client;
adjusting parameters of the service request according to the service type and the actual precision requirement;
the proxy gateway forwards the service request after the parameters are adjusted to a target server;
the proxy gateway receives service data returned by the target server;
adjusting the precision of the service data according to the actual precision requirement;
and the proxy gateway forwards the service data with the adjusted precision to the client.
In another embodiment, a non-invasive dynamic adjustment system for the precision of the spatiotemporal information service is further disclosed, referring to fig. 2, including a client, a proxy gateway, a server, and a precision conversion module, where the proxy gateway is respectively in communication connection with the client, the server, and the precision conversion module;
the client is used for sending a service request to the proxy gateway; receiving the service data which is returned by the proxy gateway and has been adjusted in precision;
the proxy gateway is used for sending the service request to the precision conversion module; receiving and forwarding the service request after the parameters are adjusted to a target server; receiving service data returned by the target server; sending the service data returned by the target server to the precision conversion module; receiving and forwarding the service data with the adjusted precision to the client;
the server is used for receiving the service request sent by the proxy gateway after the parameters are adjusted and returning corresponding service data to the proxy gateway;
and the precision conversion module is internally stored with a precision conversion program used for adjusting parameters of the service request and adjusting the precision of the service data.
In a specific application process, the space-time information services supported by the invention comprise WMS services, WMTS services, WFS services and Mapbox vector tile services of OGC standard.
Firstly, referring to fig. 3, a method for dynamically adjusting accuracy of WMS service specifically includes:
intercepting a GetMap request of a client by a proxy gateway;
the proxy gateway extracts the bbox value in the request and sends the bbox value to the precision conversion module;
the precision conversion module adjusts the bbox value according to actual requirements and returns the bbox value to the proxy gateway;
the proxy gateway forwards a request carrying a new bbox value to the WMS server;
the proxy gateway receives service data returned by the WMS server;
and the proxy gateway performs precision adjustment according to the service data type: if the service data is raster data, the service data is directly returned to the client, and if the service data is vector data, the service data is sent to the precision conversion module;
the precision conversion module adjusts the precision value of the vector data according to actual requirements and returns the vector data after precision adjustment to the proxy gateway;
and the proxy gateway returns the service data after the precision adjustment to the client.
Secondly, referring to fig. 4, the method for dynamically adjusting the accuracy of the WMTS service specifically includes:
the proxy gateway intercepts a GetTile request of a client;
constructing a request for tiles around a request tile by the proxy gateway according to values of tilematrix, tilerow and tilcol in the request;
the proxy gateway forwards all the requests to the WMTS server;
the proxy gateway receives all grid tiles returned by the WMTS server;
the proxy gateway sends the original grid tiles to the precision conversion module;
the precision conversion module shifts the original grid tile according to actual requirements, and the vacant part after shifting is filled with surrounding tiles to obtain a grid tile after precision adjustment;
and the proxy gateway returns the grid tiles with the adjusted precision to the client.
Thirdly, referring to fig. 5, the method for dynamically adjusting the accuracy of the WFS service specifically includes:
the proxy gateway intercepts a GetFeatur request of a client;
the proxy gateway extracts the bbox value in the request and sends the bbox value to the precision conversion module;
the precision conversion module adjusts the bbox value according to actual requirements and returns the bbox value to the proxy gateway;
the proxy gateway forwards a request carrying a new bbox value to the WFS server;
the proxy gateway receives vector data returned by the WFS server;
the proxy gateway sends the returned vector data to the precision conversion module;
the precision conversion module adjusts the precision value of the vector data according to actual requirements and returns the vector data after precision adjustment to the proxy gateway;
and the proxy gateway returns the vector data after the precision adjustment to the client.
Fourthly, for the method for dynamically adjusting the accuracy of the Mapbox vector tile service, referring to fig. 6, the method specifically includes:
intercepting a vector tile request of a client by a proxy gateway;
the proxy gateway extracts the tile numbers in the request and sends the tile numbers to the precision conversion module;
the precision conversion module calculates longitude and latitude coordinates of the center point of the vector tile according to the tile number;
the proxy gateway forwards the request to the Mapbox server;
the proxy gateway receives vector tile data returned by the Mapbox server;
the proxy gateway sends the returned vector data to the precision conversion module;
the precision conversion module adjusts the longitude and latitude coordinates of the central point according to actual requirements and converts the coordinate difference value of the adjusted front and rear longitude and latitude into a pixel distance;
the precision conversion module shifts plane coordinates of elements in the vector tiles according to the pixel distance and returns the adjusted vector tiles to the proxy gateway;
and the proxy gateway returns the adjusted vector tiles to the client.
Referring to fig. 7(a) and fig. 7(b), for a comparison schematic diagram before and after the precision adjustment of the WMTS service data in the illustrated embodiment, it can be seen that the content in fig. 7(b) is shifted from the upper right corner of fig. 7(a) by a distance, so as to implement the precision adjustment of the grid tile.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed in the embodiment corresponds to the method disclosed in the embodiment, so that the description is simple, and the relevant points can be referred to the description of the method part.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A non-intrusive dynamic adjustment method for time-space information service precision is characterized by comprising the following steps:
the proxy gateway intercepts a service request of a client;
adjusting parameters of the service request according to the service type and the actual precision requirement;
the proxy gateway forwards the service request after the parameters are adjusted to a target server;
the proxy gateway receives service data returned by the target server;
adjusting the precision of the service data according to the actual precision requirement;
and the proxy gateway forwards the service data with the adjusted precision to the client.
2. The method as claimed in claim 1, wherein the method is applied to WMS service, WMTS service, WFS service and Mapbox vector tile service of OGC standard.
3. The method for dynamically adjusting the precision of spatio-temporal information services in a non-intrusive manner as defined in claim 2, wherein for the proxy gateway intercepting a service request from a client:
when the air-space information service is WMS service, the service request is a GetMap request;
when the time-space information service is WMTS service, the service request is a GetTile request;
when the space-time information service is WFS service, the service request is a Getfeature request;
when the space-time information service is a Mapbox vector tile service, the service request is a vector tile request.
4. The method as claimed in claim 2, wherein for the parameters of the service request:
when the time-space information service is WMS service or WFS service, adjusting the bbox value in the request;
and when the air-space information service is WMTS service, constructing a request for requesting tiles around the tiles according to values of tilematrix, tillerow and tillecol in the service request.
5. The method as claimed in claim 4, wherein for the accuracy of the adjusted service data:
when the time-space information service is WMS service, if the service data is vector data, the precision of the vector data is adjusted, and if the service data is raster data, the precision adjustment is not performed any more;
when the time-space information service is WMTS service, offsetting the returned original grid tiles, and filling the vacated part after offsetting with surrounding tiles;
when the space-time information service is WFS service, adjusting the precision of the returned vector data;
and when the space-time information service is the Mapbox vector tile service, adjusting the precision of the returned vector tile data.
6. The method as claimed in claim 5, wherein when the spatio-temporal information service is a Mapbox vector tile service, the method adjusts the accuracy of the returned vector tile data, specifically: adjusting longitude and latitude coordinates of the central point of the vector tile and converting the difference value before and after adjustment into a pixel distance; the planar coordinates of elements within the returned vector tile are shifted according to pixel distance.
7. The method as claimed in claim 5, wherein the precision conversion module is used to adjust the parameters of the service request and the precision of the service data according to the actual precision requirement.
8. A non-invasive dynamic adjustment system for the precision of time-space information service is characterized by comprising a client, a proxy gateway, a server and a precision conversion module, wherein the proxy gateway is respectively in communication connection with the client, the server and the precision conversion module;
the client is used for sending a service request to the proxy gateway; receiving the service data which is returned by the proxy gateway and has been adjusted in precision;
the proxy gateway is used for sending the service request to the precision conversion module; receiving and forwarding the service request after the parameters are adjusted to a target server; receiving service data returned by the target server; sending the service data returned by the target server to the precision conversion module; receiving and forwarding the service data with the adjusted precision to the client;
the server is used for receiving the service request sent by the proxy gateway after the parameters are adjusted and returning corresponding service data to the proxy gateway;
the precision conversion module is internally stored with a precision conversion program used for adjusting parameters of the service request and adjusting the precision of the service data.
CN202210615878.0A 2022-06-01 2022-06-01 Non-invasive space-time information service precision dynamic adjustment method and system Active CN115022033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210615878.0A CN115022033B (en) 2022-06-01 2022-06-01 Non-invasive space-time information service precision dynamic adjustment method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210615878.0A CN115022033B (en) 2022-06-01 2022-06-01 Non-invasive space-time information service precision dynamic adjustment method and system

Publications (2)

Publication Number Publication Date
CN115022033A true CN115022033A (en) 2022-09-06
CN115022033B CN115022033B (en) 2023-05-30

Family

ID=83070654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210615878.0A Active CN115022033B (en) 2022-06-01 2022-06-01 Non-invasive space-time information service precision dynamic adjustment method and system

Country Status (1)

Country Link
CN (1) CN115022033B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102487375A (en) * 2010-12-01 2012-06-06 腾讯科技(深圳)有限公司 Method, device and system for downloading videos online
CN105718498A (en) * 2015-12-11 2016-06-29 中国地质调查局发展研究中心 Mixed loading method and device for network gaps
CN107391578A (en) * 2017-06-20 2017-11-24 国家测绘地理信息局海南基础地理信息中心 A kind of Map Service of Network dynamic coordinate conversion method based on grid method
CN109361747A (en) * 2018-10-16 2019-02-19 中国搜索信息科技股份有限公司 A kind of lightweight image converting method
CN111225228A (en) * 2020-01-15 2020-06-02 北京拙河科技有限公司 Video live broadcast method, device, equipment and medium
CN111666367A (en) * 2020-06-08 2020-09-15 武汉中海庭数据技术有限公司 High-precision map automatic compiling method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102487375A (en) * 2010-12-01 2012-06-06 腾讯科技(深圳)有限公司 Method, device and system for downloading videos online
CN105718498A (en) * 2015-12-11 2016-06-29 中国地质调查局发展研究中心 Mixed loading method and device for network gaps
CN107391578A (en) * 2017-06-20 2017-11-24 国家测绘地理信息局海南基础地理信息中心 A kind of Map Service of Network dynamic coordinate conversion method based on grid method
CN109361747A (en) * 2018-10-16 2019-02-19 中国搜索信息科技股份有限公司 A kind of lightweight image converting method
CN111225228A (en) * 2020-01-15 2020-06-02 北京拙河科技有限公司 Video live broadcast method, device, equipment and medium
CN111666367A (en) * 2020-06-08 2020-09-15 武汉中海庭数据技术有限公司 High-precision map automatic compiling method and device

Also Published As

Publication number Publication date
CN115022033B (en) 2023-05-30

Similar Documents

Publication Publication Date Title
CN1189049C (en) Methods and apparatus for selectively providing user-specific information to origin servers in wireless application protecol applications
US20010013070A1 (en) Data conversion system and data conversion method thereof
JP2003122657A (en) Address provision based on location
JPH11149448A (en) Network system, client terminal and relay server
US9723032B2 (en) Data communication
CN105743958A (en) Terminal-to-terminal communication method and device
US6941354B2 (en) Mobile terminal permitting selection of communication channel for receiving message attachments
CN103530340A (en) Network thematic map making method and map making system
US20040192272A1 (en) Method of starting an application program of a mobile terminal and method of providing service data in a mobile communication system
CN112543357B (en) Stream media data transmission method based on DASH protocol
CN114157343A (en) Working method of CDN network system based on satellite communication
JP2022550714A (en) A system that provides accurate communication delay guarantees for request responses to distributed services
CN108541025B (en) Wireless heterogeneous network-oriented base station and D2D common caching method
CN104471978A (en) Method for distinguishing type of communication network and method for providing content using same
CN104469394A (en) Video resource acquiring method, background server, video client and system
CN115022033A (en) Non-invasive dynamic adjustment method and system for time-space information service precision
CN106128463A (en) A kind of artificial simultaneous interpretation method and system based on cloud computing
GB2418321A (en) Method for establishing a socket connection between a client and a mobile station through a wireless network
KR101937449B1 (en) Method and apparatus for providing adaptively video service
CN109195187B (en) Network slice switching method based on log file of network slice server
CN106714164B (en) Acquisition method of resource file in Portal page, wireless AP and Portal server
CN114928389B (en) Communication perception integrated waveform design method and device, computer equipment and storage medium
CN114640981B (en) Optimization method, device and equipment for processing 5G core network macro link
CN114024954B (en) Information transmission method, device, server and storage medium
WO2024103415A1 (en) Apparatus, method and computer program

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