Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Token processing method and device, computer equipment and storage medium

A processing method and processing device technology, applied in the field of data processing, can solve problems affecting the efficiency of client and back-end server request permissions, waste of interface request resources and processing time, etc., to achieve the effect of increasing speed and improving efficiency

Pending Publication Date: 2022-04-29
SUZHOU LANGDONG NET TEC CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, currently in the process of requesting permissions between the client and the backend server, the client carries an invalid Token when calling the interface, and then refreshes the Token after the backend server judges that it is invalid, and then initiates the interface request again after refreshing the Token. The request resources and processing time of the interface are wasted, which affects the efficiency of request permissions between the client and the backend server

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Token processing method and device, computer equipment and storage medium
  • Token processing method and device, computer equipment and storage medium
  • Token processing method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the present disclosure will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present disclosure, not to limit the present disclosure.

[0062] It should be noted that the terms "first" and "second" in the description and claims herein and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments herein described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for exam...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a token processing method and device, computer equipment and a storage medium. The method comprises the following steps: receiving a token and corresponding token information, and pre-checking the validity of the token through the token information; under the condition that the validity pre-verification of the token succeeds, request permission is carried out according to the token, and the request permission comprises the steps that validity verification of the token is carried out through a back-end server, and an error code is output under the condition that the validity verification of the token fails; under the condition that the error code is received, whether an ongoing token refreshing request exists or not is judged, and the token refreshing state is changed according to a judgment result; and determining whether the token is successfully refreshed or not according to the token refresh state. By adopting the method, the permission requesting efficiency between the client and the back-end server can be improved.

Description

technical field [0001] The present disclosure relates to the technical field of data processing, and in particular to a token processing method, device, computer equipment, and storage medium. Background technique [0002] Token is a string of strings generated by the backend server as a token for the client to request. After logging in for the first time, the backend server generates a Token (token) and returns the Token to the client. The end server uses Token to verify the request permission. [0003] However, currently in the process of requesting permissions between the client and the backend server, the client carries an invalid Token when calling the interface, and then refreshes the Token after the backend server judges that it is invalid, and then initiates the interface request again after refreshing the Token. The request resources and processing time of the interface are wasted, thereby affecting the efficiency of request permissions between the client and the b...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L9/40
CPCH04L63/0807H04L63/108
Inventor 鲍家晶李骁朱达峰孙文韬范世强
Owner SUZHOU LANGDONG NET TEC CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products