Check patentability & draft patents in minutes with Patsnap Eureka AI!

Token generation method and device, token verification method and device, equipment and storage medium

A token and signature verification technology, which is applied in the field of devices, equipment and storage media, token verification methods, and token generation methods, can solve security risks and other issues, and achieve the effect of improving security and ensuring security

Pending Publication Date: 2022-04-05
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The JWT token in the current system, when the user information is changed during use, the user's token is still valid, which brings a certain security risk to the system

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 generation method and device, token verification method and device, equipment and storage medium
  • Token generation method and device, token verification method and device, equipment and storage medium
  • Token generation method and device, token verification method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0049] At present, when the original standard generates the key, it uses the server's fixed key form, and does not distinguish between users. Therefore, when the user modifies the password or the server modifies the user's permissions or roles, the token is still valid. Therefore, the present application provides a token generation method, which improves the security of the token and the system, and ensures the security of the user continuing to access the syst...

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 discloses a token generation method, a token signature verification method, a token signature verification device, equipment and a storage medium. The token generation method comprises the steps of generating a key pair based on current latest user information acquired through a client; constructing target information to be signed, and signing the target information based on a private key in the key pair to obtain a signature value corresponding to the current latest user information; and constructing a corresponding token based on the target information, the signature value and a public key in the key pair, and sending the token to the client, so that the client verifies the signature of the token. According to the method and the device, the key generation process is combined with the user information, so that the condition that the token is still effective when the server modifies the permission or role of a certain user after the user modifies the password is avoided, and the security of the token and the system is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a token generation method, a token verification method, a device, a device and a storage medium. Background technique [0002] JWT (Json web token, an open standard based on Json) format token (token) is often used in information systems to verify identity validity. JWT is a JSON-based token that is executed to transfer claims between network application environments An open standard, the token is designed to be compact and secure, especially suitable for single sign-on (SSO, Single Sign On) scenarios in distributed sites. The statement of JWT is generally used to pass the authenticated user identity information between the identity provider and the service provider, so as to obtain resources from the resource server, and can also add some additional statement information necessary for other business logic. The token is also Can be used directly for authentication or e...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/64G06F21/60
Inventor 刘硕
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More