Unlock instant, AI-driven research and patent intelligence for your innovation.

A method for free switching of system user accounts based on localstorage

A user account and system implementation technology, applied in the direction of program startup/switching, multi-program device, program control design, etc., can solve problems such as system security doubts, inability to obtain accurate user operation data, etc., to solve loss and confusion Effect

Active Publication Date: 2020-08-28
南京联创数字科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Ordinary user B cannot see the corresponding log when he logs in to the system to check the operation log, but the operation has already been carried out, thus doubting the security of the system. operating data

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
  • A method for free switching of system user accounts based on localstorage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0018] Example: figure 1 Shown is the flow chart of this embodiment, comprises the following steps:

[0019] Step 1, the system super administrator A searches for the corresponding ordinary user B by searching the entered user name, ID and other conditions that can only confirm the ordinary user B.

[0020] Step 2, the system super administrator A calls the interface of the background switching common user B.

[0021] Step 3, the background receives a request to switch users, and judges whether the requesting user role is the system super administrator A, and if so, switches the session or cookie that records the user information of the background system super administrator A to the user information of the ordinary user B, And return the user information of ordinary user B, if not, return the prompt that cannot be switched.

[0022] Step 4, back up the user information in the localStorage file C of the existing system super administrator A in the foreground to a new localSto...

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 provides a method for realizing free switching of system user accounts based on localstorage. The method is based on the storage characteristics of a localStorage. The method comprises the following steps of: storing user information when a user logs in by adopting a localStorage file; when the super administrator A intervenes or helps the common user B to operate the system, replacing the user information in the localStorage file of the system super administrator A with the user information of the common user B; therefore, all operations related to user information, such as system operation, background log recording and the like, of the common user B are equivalently not changed, and the information of the common user B is recorded, so that the problems of loss and disorderof system or website operation records can be perfectly solved.

Description

technical field [0001] The invention relates to user account switching technology in a website or system, in particular to a method for realizing free switching of system users based on localStorage. Background technique [0002] Since in the process of building a website or system, it is often necessary to use system super administrator A to help ordinary user B handle background operations, so we can make an assumption: suppose ordinary user B logs in to the background of the website or system, If you are not familiar with the system or website or cannot operate the system or website for some reason, you need to ask for help from the system super administrator A. If the system super administrator A directly intervenes in the operation, the logs recorded by the system will be the system super administrator A's operation. Ordinary user B cannot see the corresponding log when he logs in to the system to check the operation log, but the operation has already been carried out,...

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 Patents(China)
IPC IPC(8): G06F9/448G06F9/48
CPCG06F9/4482G06F9/4843
Inventor 滕春旭杨冰孔庆明黄嘉诚朱学坤张琦玉王东勋徐晓瑀罗义斌孙力斌
Owner 南京联创数字科技有限公司
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