A server and gis service access control method based on reverse proxy architecture
A service access and server technology, which is applied in the field of multi-source heterogeneous GIS service access control, can solve problems such as insufficient access performance and insufficient security, and achieve the effects of simplification of proxy addresses, reduction of consumption, and simple and clear proxy addresses
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0032] Please refer to figure 1 , which is a system structure diagram of a server based on reverse proxy architecture provided by the present invention, the server is composed of the following parts:
[0033] Nginx service unit, Lua extension unit, Lua script service unit and response service unit.
[0034] The functions realized by each unit are:
[0035] The Nginx service unit is used to receive service access request information;
[0036] The Lua extension unit is used to obtain the service access request information, and forward the service access request information to the Lua script service unit;
[0037] Described Lua script service unit is used for carrying out GIS (Geographic Information System, Geographic Information System) kernel loading, the judgment of access authority judgment and the judgment of GIS service access authority, based on its executive function, described Lua script service unit is divided into following several subsections: module to perform the...
no. 2 example
[0055] In this embodiment, in order to alleviate the pressure brought by high concurrency on the server side, a queue management unit is set under the Lua script service unit (please refer to figure 2 ), the queue management unit executes a pre-defined Lua script and enters the authentication judgment processing unit when the concurrency / queue level is not reached by means of a queue; when the concurrency / queue level is reached, it proves that the current buffer size is too large, The server cannot perform data processing in real time, and currently transfers to the PHP queue to wait for the process, and when the queue waits for the process to end, then execute the predefined Lua script described in the current embodiment.
[0056] Therefore, in this embodiment, it is considered that in the case of high concurrency, the queue management unit is set to execute the PHP waiting process, so as to further alleviate the cache pressure of the server.
no. 3 example
[0058] In this embodiment, in order to strengthen the security of data transmission, in the case of successful authentication, rewrite the content of the response to the client, and combine Lua's efficient processing capabilities to write security processing scripts, such as filtering all requests involving Sql injection and Illegal parameter for Sql blind injection.
[0059] Specifically, during implementation, a rewriting unit is set under the matching unit of the attribute field (please refer to image 3 ), the rewriting unit is used to execute a security processing script written in Lua language to rewrite the authorized response content when the attribute field matches successfully, and feed back the rewritten response content to the response service unit , the response service unit feeds back the response content to the client; the specific response content after rewriting authorization includes request connection address rewriting, request header content rewriting and r...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com