Method and device for controlling login state based on mini-program architecture

A technology of login status and control method, which is applied in the field of communication, can solve the problems of long waiting time for users and long request time, and achieve the effect of reducing user loss and request time

Active Publication Date: 2019-07-09
SHENZHEN DIANMAO TECH CO LTD
View PDF9 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the above-mentioned deficiencies in the prior art, the purpose of the present invention is to provide a method and device for controlling the login status based on the applet architecture, aiming to solve the problem of the interface provided by WeChat in the prior art for detecting user login status, which takes a long time to request, and the user long waiting time

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
  • Method and device for controlling login state based on mini-program architecture
  • Method and device for controlling login state based on mini-program architecture
  • Method and device for controlling login state based on mini-program architecture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the object, technical solution and effect of the present invention more clear and definite, the present invention will be further described in detail below. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. Embodiments of the present invention will be described below in conjunction with the accompanying drawings.

[0044] see figure 1 , figure 1 It is a flow chart of a preferred embodiment of a method for controlling a login state based on an applet architecture in the present invention. Such as figure 1 As shown, it includes the steps:

[0045] Step S100, detecting that the user has entered the applet, obtaining the login status of the user, and judging whether the user has a login status, if the user has a login status, then perform step S200, and if the user does not have a login status, then perform step S300;

[0046] Step S200, judging wheth...

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 method and device for controlling login state based on mini-program architecture, and the method comprises the steps: detecting that a user enters a small program, and obtaining the login state of the user; if the user has the login state and the authorization mode is not silent authorization, entering the applet; if the user has the login state and the authorization modeis silent authorization, obtaining the authorization login state of the user, and if it is detected that the user authorizes to log in the applet, enabling the control server to request user information from the WeChat server, obtain complete user information, complete login and enter the applet; and if it is detected that the user does not authorize to log in the applet, controlling the server to obtain a part of user information from the WeChat server, logging in according to the part of user information, and entering a corresponding page in the applet. According to the embodiment of the invention, when the small program is logged in, the server side stores the authorization login information of the user, and the authorization login information is improved from the client side to the WeChat side to the server side to the client side to the server side, so that the request time is greatly reduced, and the user loss is reduced.

Description

technical field [0001] The present invention relates to the field of communication technologies, in particular to a method and device for controlling a login state based on an applet framework. Background technique [0002] Mini Program, the English name Mini Program, is an application that can be used without downloading and installing. It realizes the dream of "apps at your fingertips". Users can scan or search for the relevant application name to open the application. [0003] At present, the validity period of the login status of the WeChat applet is uncontrollable, and when authorizing, after the user clicks to deny the authorization, WeChat will automatically handle the authorization rejection in a short period of time, and the authorization prompt will not pop up again, and user information cannot be obtained normally. Therefore, the interface provided by WeChat in the prior art for detecting user login status takes a long time to request, and the user waits for a lon...

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): H04L29/06H04L9/32
CPCH04L9/3213H04L63/0815H04L63/10
Inventor 李天驰孙悦
Owner SHENZHEN DIANMAO TECH CO LTD
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
Try Eureka
PatSnap group products