Realization method and device of safe acceleration middleware based on NGINX+LUA
An implementation method and middleware technology, applied in the direction of multi-programming devices, electrical components, inter-program communication, etc., can solve problems such as server crashes, limited back-end dynamic script operation efficiency, etc., to improve processing speed and security Improved performance and processing speed, and reduced resource usage
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] Such as figure 1 As shown, a security acceleration middleware implementation method based on NGINX+LUA includes the following steps:
[0059] S1. When the server receives the user's access request, it first obtains the configuration information from the shared memory. If there is configuration information, it screens whether the access request can be released according to the configuration information; if there is no configuration information, it accesses the dynamic service interface to obtain Configure the information and cache it in the shared memory, and then screen whether the access request can be released according to the configuration information. If the screening is passed and the access request can be released, it will enter S2. If the screening cannot be released, an error message will be returned;
[0060] S2, according to the configuration information, check whether the service interface requested by the user is a cacheable service, if so, enter S3, if not,...
Embodiment 2
[0092] Such as image 3 As shown, a security acceleration middleware device based on NGINX+LUA includes:
[0093] The security protection module is used to obtain the configuration information from the shared memory when the server receives the user's access request. If there is configuration information, it will filter whether the access request can be released according to the configuration information; if there is no configuration information, it will access The dynamic service interface obtains the configuration information and caches it in the shared memory, and then screens whether the access request can be released according to the configuration information. If the screening is passed and the access request can be released, it enters the service interface acceleration module. If the screening fails and cannot be released, an error message is returned;
[0094] The service interface acceleration module is used to check whether the service interface requested by the user ...
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