Webpage response and data cache acceleration processing method and system based on Redis
A data caching and processing method technology, which is applied in the direction of electronic digital data processing, special data processing applications, network data retrieval, etc., can solve problems such as slow response speed and waste of resources, and achieve the effect of improving page response speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] A Redis-based web page response and data cache speed-up processing method, the specific steps of the method are as follows:
[0052] S1 distinguishes the front-end request parameters through the password generated by the MD5 algorithm;
[0053] S2 adds a Redis lock in the database as a data management lock;
[0054] S3 judges whether the management lock is invalid or the value is empty;
[0055] S4 sets a scheduled task to clean up the access data in Redis;
[0056]First, in order to distinguish different input parameter combinations from the front end, such as domain name, time zone, time range, etc., according to S1, the parameters are passed through the MD5 algorithm to obtain a unique password string. Then, for multi-node distributed servers, in order to avoid multi-node Simultaneous operations lead to multiple processing. According to S2, add a Redis lock in the database as a data management lock. The specific effective duration can be determined by combining the...
Embodiment 2
[0077] A Redis-based web page response and data cache speed-up processing system, the system specifically includes a parameter distinguishing module, a data management module, a data verification module and a data cleaning module:
[0078] Parameter distinguishing module: distinguish the front-end request parameters through the password generated by the MD5 algorithm;
[0079] Data management module: add a Redis lock in the database as a data management lock;
[0080] Data verification module: determine whether the management lock is invalid or the value is empty;
[0081] Data cleaning module: set a scheduled task to clean up the access data in Redis;
[0082] First, in order to distinguish different input parameter combinations from the front end, such as domain name, time zone, time range, etc., the parameters are passed through the MD5 algorithm to obtain a unique password string through the parameter differentiation module. Then, for multi-node distributed servers, in or...
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