Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Access token updating method and device, storage medium and electronic device

An access token and update method technology, which is applied in user identity/authority verification and key distribution, can solve problems such as reducing user experience, and achieve the effect of ensuring normal online login

Pending Publication Date: 2022-08-02
QINGDAO HAIER TECH +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a method and device for updating an access token, a storage medium, and an electronic device, so as to at least solve the problems in related technologies such as logging out due to failure of the access token, which will reduce user experience, etc.

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
  • Access token updating method and device, storage medium and electronic device
  • Access token updating method and device, storage medium and electronic device
  • Access token updating method and device, storage medium and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make those skilled in the art better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only The embodiments are part of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present application.

[0024] It should be noted that the terms "first", "second", etc. in the description and claims of the present application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that data so used may be interchanged under app...

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 an access token updating method and device, a storage medium and an electronic device, and relates to the field of smart home, and the method comprises the steps: under the condition that a first access token exists in a client, determining a first effective duration corresponding to the first access token, the first access token is a certificate when the client sends a request to a server corresponding to the client; under the condition that the first effective duration is smaller than a preset duration, first request information for requesting to update the first access token is sent to the server; receiving a second access token sent by the server, and determining the validity of the second access token; and under the condition that the second access token is valid, deleting the first access token in the client, and caching the second access token and a second valid duration corresponding to the second access token.

Description

technical field [0001] The present invention relates to the field of communications, and in particular, to a method and device for updating an access token, a storage medium and an electronic device. Background technique [0002] As the app application becomes more and more mature, when the app user logs in, the client will obtain the user's authentication information, including accessToken and other information. When the accessToken expires, when the user makes other data requests with the background server, the An invalid Token exception is reported. The client will automatically log the user out. However, logging out due to Token invalidation will degrade the user experience. [0003] In the related art, an effective solution has not been proposed for problems such as logout due to invalid access token, which will reduce user experience. SUMMARY OF THE INVENTION [0004] Embodiments of the present invention provide a method and device for updating an access token, a ...

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): H04L9/08H04L9/32
CPCH04L9/0891H04L9/088H04L9/3213
Inventor 谢娜娜
Owner QINGDAO HAIER TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products