Method for processing verification codes of pages, device and terminal
A verification code and page technology, applied in the field of information processing, can solve problems such as server-side processing performance degradation, and achieve the effect of reducing processing pressure and improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] figure 1 It shows the implementation process of the page verification code processing method provided by the first embodiment of the present invention. In this method, the verification code value generated by the page program is encrypted by the server and stored in the cookie of the client. The code value is compared with the verification code value in the client cookie, which reduces the processing pressure on the server and improves the efficiency of verification code verification. The process of this method is described in detail as follows:
[0024] In step S101, the verification code value input by the user is received, and the verification code value is sent to the server.
[0025] In the embodiment of the present invention, the picture verification code value of the page is generated by a background page program (such as: actionch program, etc.) and then returned and displayed on the current page. After the client receives the picture verification code value inp...
Embodiment 2
[0033] figure 2 It shows the implementation flow of the page verification code processing method provided by the second embodiment of the present invention. This embodiment adds step S205 and step S206 on the basis of the first embodiment.
[0034] In step S205, query the verification code use record table, and compare the current time of the verification code value with the last update time of the verification code record in the verification code use record table.
[0035] In this embodiment, the verification code use record table is used to record the use time of each verification code, which is automatically generated by the system, and the time for regularly cleaning the verification code use record table is set to ensure that the data volume of the verification code use record table is not large. It will be very large and affect system performance. The verification code uses an index for each query field in the record table, so that the currently used verification code ...
Embodiment 3
[0042] image 3 It shows the specific process of storing the verification code value generated by the page in the third embodiment of the present invention. In this embodiment, the verification code value generated by the server is stored in the cookie of the client, and it is directly verified with the verification code in the cookie of the client during verification. The comparison of code values can effectively improve the efficiency of verification code verification. The specific process of generating and storing the verification code value is as follows:
[0043] In step S301, a user's request for accessing a page with a verification code is received, and the request is sent to the server.
[0044] In step S302, the corresponding verification code information obtained by the server according to the request is received, the information is encrypted by the server, and the encrypted information includes a cookie identifier, a verification code value and a private key.
...
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