Method and storage medium for token interface downgrade
A token and interface technology, applied in the field of security verification, can solve problems such as security risks, algorithm leaks, security risks, etc., and achieve the effect of ensuring normal use, realizing functionality and security
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0064] Please refer to figure 2 , this embodiment provides a token interface downgrade method, which supports the caller to configure the required token verification method independently and flexibly, so as to be better applicable to the remote token verification interface due to network jitter or failure to respond and other remote verification methods In the case of failure, to ensure that token verification can still be performed safely, and to solve the problem that the existing token verification service cannot be provided normally, which affects business processing or directly skips the verification step and brings security risks.
[0065] The method of this embodiment may include:
[0066] 1. Pre-deployment
[0067] Suppose the generation rule of the token string (token) is:
[0068] {token version number}_{Token type}_{account type}_{account ID}_{expiration time}_{issuance area}_{5-digit random number}, this is the original plaintext string of token; put this charac...
Embodiment 2
[0101] This embodiment corresponds to Embodiment 1, and provides a specific application scenario, including:
[0102] 1. Suppose the generation rule of the token string is: {token version number}_{Token type}_{account type}_{account ID}_{expiration time}_{issuance area}_{5-digit random number}, this is The original plaintext string of the token, after encrypting the string with a fixed encryption key by des encryption, the result obtained is the final token string (ciphertext). The algorithm for parsing the token string (ciphertext) uses the des decryption method, and also uses the same key to parse the token string, and then obtains the plaintext of the token string.
[0103] 2. There is a UC system, which is what we call the account center system. For the function of the system, an sdk tool will be provided, that is, a code tool usually provided in the java language, which can package the java language into an sdk tool for other java. Systematic use of language. The sdk to...
Embodiment 3
[0123] This embodiment corresponds to Embodiment 1 or Embodiment 2, and provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the program can implement the above-mentioned Embodiment 1 or Embodiment 2. The steps involved in a method of token interface downgrade. The specific steps will not be repeated here. For details, please refer to the descriptions of Embodiment 1 and Embodiment 2.
[0124] To sum up, the method and storage medium for degrading the token interface provided by the present invention realize the automatic reduction and upgrade of the verification mode, can adapt to the current scene, and ensure the safe and normal provision of the verification service; Realize automatic switching of verification methods to improve efficiency. Further, the local verification method is improved, which significantly improves the security of the algorithm; furthermore, three token interface calling methods...
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