CN108683679B - Multi-account login method, device, equipment and storage medium of Web APP - Google Patents

Multi-account login method, device, equipment and storage medium of Web APP Download PDF

Info

Publication number
CN108683679B
CN108683679B CN201810537987.9A CN201810537987A CN108683679B CN 108683679 B CN108683679 B CN 108683679B CN 201810537987 A CN201810537987 A CN 201810537987A CN 108683679 B CN108683679 B CN 108683679B
Authority
CN
China
Prior art keywords
account
login
session
application client
application server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810537987.9A
Other languages
Chinese (zh)
Other versions
CN108683679A (en
Inventor
张宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN201810537987.9A priority Critical patent/CN108683679B/en
Publication of CN108683679A publication Critical patent/CN108683679A/en
Application granted granted Critical
Publication of CN108683679B publication Critical patent/CN108683679B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a multi-account login method of a Web APP (application), and belongs to the technical field of communication. The method comprises the following steps: initiating a login request of a first account to an application server side through a login interface of an application client side; the method comprises the steps that an application client receives authentication information about a first account sent by an application server, and establishes a session about the first account with the application server; the application client stores the logged-in state session information related to the first account and the first account in a local storage unit in a correlated manner; initiating a login request for logging in a second account in the first account, judging whether the local storage unit stores the post-login session state information corresponding to the second account by the application client, and if so, restoring the session related to the second account between the application client and the application server according to the stored post-login session state information. The invention realizes that the user can use a plurality of accounts to log in the same client.

Description

Multi-account login method, device, equipment and storage medium of Web APP
Technical Field
The invention relates to the technical field of communication, in particular to a multi-account login method, a multi-account login device, a multi-account login equipment and a storage medium for Web APP.
Background
With the development of the internet, people are becoming more and more unable to leave various applications, such as WeChat applications, investment-type applications, and the like. Taking WeChat as an example, sometimes people have multiple accounts in order to distinguish work and life; for investment-type applications, sometimes people manage multiple accounts simultaneously, or open multiple accounts simultaneously to conduct transactions.
However, in both the internet and the mobile communication network, one client allows only one account to be used by a user to log on to the online at one time. If the information on the multiple accounts is to be viewed, the login and logout operations are repeated to view the information on the multiple account lists, or different devices are used for simultaneously logging in the multiple accounts to view the information. By adopting the former mode, the login process is troublesome, and the user experience is poor; in the latter method, the user needs to prepare a plurality of devices, which increases the use cost.
Disclosure of Invention
The invention provides a multi-account login method, a device, equipment and a storage medium of Web APP (application), aiming at solving the technical problem that one client only allows a user to use one account to log in online at the same time in the prior art, and realizing the support of simultaneously logging in a plurality of accounts on the same client and the free switching among the accounts.
The invention solves the technical problems through the following technical scheme:
a multi-account login method of Web APP comprises the following steps:
initiating a login request of a first account to an application server side through a login interface of an application client side, wherein the login request comprises the account and a password;
the application client receives authentication information about the first account sent by an application server side, and establishes a session about the first account with the application server side;
the application client stores the logged-in state session information of the first account and the first account in a local storage unit in a correlated manner, wherein the logged-in state session information comprises authentication information;
after an application client logs in the first account, initiating a login request for logging in a second account through the application client, and judging whether post-login session state information corresponding to the second account is stored in a local storage unit or not by the application client;
if the session state information after login corresponding to the second account is stored in the local storage unit, the session of the second account between the application client and the application server is restored according to the stored session state information after login.
Further, if the session state information after login corresponding to the second account is not stored in the local storage unit, the application client jumps to a login interface, sends a login request of the second account to the application server through the login interface, receives authentication information about the second account fed back by the application server, and establishes a session about the second account with the application server;
and the application client stores the logged-in session state information of the second account and the account in a local storage unit in a correlated manner.
Preferably, the application server side authenticates a login request of the first account sent by an application client side, and sends authentication information about the first account after the authentication is passed; and if the authentication fails, sending preset feedback information to remind the user that the first account login fails.
Preferably, the local storage unit includes a cookie and a localStorage.
Preferably, the post-login state session information stored in the local storage unit is automatically deleted after the corresponding account logs out.
Preferably, the restoring the session related to the second account between the application client and the application server according to the saved post-login session state information includes the following sub-steps:
acquiring post-login session state information corresponding to the second account;
intercepting authentication information contained in the acquired post-login session state information;
generating a login request containing the authentication information and sending the login request to an application server side;
and after the user server side detects the authentication information contained in the login request, directly establishing a session related to the second account between the user server side and the application client side.
The invention also discloses an electronic device, wherein an application client capable of realizing multi-account login is stored on the electronic device, and the application client capable of realizing multi-account login comprises:
the login module is used for providing a login interface for a user to initiate a login request of a first account to the application server side, wherein the login request comprises the account and a password;
the authentication information receiving module is used for receiving authentication information about the first account sent by an application server side;
the session establishing module is used for establishing a session related to the first account with an application server after receiving the authentication information of the first account;
the association storage module is used for storing the post-login state session information related to the first account and the first account into a local storage unit in an associated manner, wherein the post-login state session information comprises authentication information;
the account switching module is used for judging whether the session state information after login corresponding to a second account is stored in a local storage unit when a login request for logging in the second account is initiated in the first account; and saving the post-login session state information corresponding to the second account in a local storage unit, and restoring the session related to the second account between the application client and the application server according to the saved post-login session state information.
Preferably, the application client capable of realizing multi-account login further comprises:
and the login skip module is used for skipping to a login interface when a login request for logging in a second account is initiated in the first account and the session state information after login corresponding to the second account is not stored in the local storage unit, so that the login request of the second account is sent to the application server through the login interface, the authentication information about the second account fed back by the application server is received, and a session about the second account between the login skip module and the application server is established.
The invention also discloses a terminal device, which comprises a memory and a processor, wherein the memory is stored with an application client which can be executed by the processor and can realize multi-account login, and the application client realizes the steps of the Web APP multi-account login method when being executed by the processor.
The invention also discloses a computer readable storage medium, which stores therein computer program instructions executable by at least one processor to cause the at least one processor to perform the steps of any one of the foregoing methods for multiple account login of a Web APP.
The positive progress effects of the invention are as follows:
1) the user can use a plurality of accounts to log in the same client;
2) the multiple logged-in accounts can be switched mutually, so that the operation is convenient and fast;
3) the method does not need multiple devices for support, improves user experience, and meets more levels of application.
Drawings
FIG. 1 shows a flowchart of a first embodiment of a multi-account login method for a Web APP in the present invention;
FIG. 2 shows a flowchart of a second embodiment of a multi-account login method for a Web APP in the present invention;
FIG. 3 is a schematic diagram showing program modules of a first embodiment of an application client capable of implementing multi-account login in an electronic device according to the present invention;
FIG. 4 is a schematic diagram illustrating program modules of a second embodiment of an application client capable of implementing multi-account login in an electronic device according to the present invention;
fig. 5 shows a hardware architecture diagram of an embodiment of the terminal device of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Firstly, the invention provides a multi-account login method of Web APP.
In an embodiment, as shown in fig. 1, the multiple account login method for a Web APP includes the following steps:
step 01: initiating a login request of a first account to an application server terminal through a login interface of an application client terminal, wherein the login request comprises the account and a password.
The first account is an account used when a user logs in the application client for the first time, and the first account does not mean specifically. Assuming that a user registers a plurality of accounts of an application client at the same time, one account can be randomly selected as a first account for logging in. It should be noted that the first login is not absolute, but only relative, if no other account is online when logging in the application client, the login is defined as the first login, and the account used for the corresponding login is the first account.
The login interface of the application client is the same as the existing common login interface, the interface is provided with a login frame of an account number and a password, a verification code and the like can be adopted, and the details are not repeated here.
Step 02: and the application client receives the authentication information about the first account sent by the application server and establishes a session about the first account with the application server.
And after receiving the login request of the first account sent by the application client, the application server side authenticates the login request and sends authentication information about the first account to the application client after the authentication is passed.
If the authentication fails, sending preset feedback information to remind the user that the first account fails to log in. For example, send "account number or password error" or the like to the application client.
Step 03: and the application client stores the logged-in state session information related to the first account and the first account in a local storage unit in a correlated manner, wherein the logged-in state session information comprises authentication information.
After the application client and the application server establish a session, the application client stores the post-login state session information containing the authentication information to a local storage unit.
The local storage unit includes a cookie and a localStorage.
The cookie is a location for storing a temporary file, and when the post-login state session information about the first account is stored in the cookie, the user can log in without inputting a user name and a password when logging in the account again. But the cookie is generated with an Expire value assigned, which is the cookie lifetime during which the cookie is valid and beyond which the cookie is cleared.
The localStorage is also a location for storing temporary files, similar to cookies. But localStorage has the advantage over cookies that: 1) localStorage expands the 4K capacity limit of cookies; 2) localStorage can store the first requested data directly to the local, which is equivalent to a 5M size database for front-end pages, which can save bandwidth compared to cookies, but which is only supported in high-version browsers.
It should be noted that the post-login state session information stored in the local storage unit is automatically deleted after the corresponding account logs out. Therefore, only one piece of post-login state session information stored in the local storage unit by the same account is needed, and a plurality of pieces of post-login state session information cannot repeatedly appear.
Step 04: after the application client logs in the first account, a login request for logging in a second account is initiated through the application client, and the application client judges whether the session state information after logging in corresponding to the second account is stored in a local storage unit or not.
The second account is used for distinguishing from the first account, and generally refers to other accounts logged in by the first account during online.
The login of the second account can be performed by adding a new account (mainly aiming at the second account which is logged in for the first time). For example, an account adding function is added to account setting of the application client, and after login is completed by using one account, other accounts can be added to the logged-in account, and after the addition is completed, display can be performed in a pull-down menu mode.
If several accounts need to be added, the accounts can be selected to be logged in one by one after being added once, and a mode of logging in one by one can also be added.
After the account is added once, the application client stores the account locally, namely when the application client is logged out and then enters the application client, the added account is displayed and is not required to be added repeatedly unless the application client is uninstalled and then reinstalled.
The user selects any account number except the first account number to log in the first account number, and the application client firstly searches the post-login session state information corresponding to the account number locally instead of jumping to a login page.
Step 05: and if the session state information after login corresponding to the second account is stored in the local storage unit, restoring the session related to the second account between the application client and the application server according to the stored session state information after login.
The restoration means that the application client side intercepts authentication information in the session state information after login, then sends the authentication information to the application server side as a part of the login request, and once the application server side detects that the login request contains the authentication information, the authentication is not carried out any more, but the session is directly established.
If the session state information after login corresponding to the second account is not stored in the local storage unit, the application client jumps to a login interface, sends a login request of the second account to the application server through the login interface, receives authentication information which is fed back by the application server and related to the second account, and establishes a session related to the second account with the application server;
and then, the application client stores the post-login session state information of the second account and the account in a local storage unit in a correlated manner. Therefore, repeated login is not needed when the second account is switched to the first account or the first account is switched to the second account next time.
In the second embodiment, based on the first embodiment, as shown in fig. 2, the restoring the session between the application client and the application server related to the second account according to the saved post-login session state information specifically includes the following sub-steps:
step 51: and acquiring the post-login session state information corresponding to the second account.
Since the session state information after login is stored in association with the account, the corresponding session state information after login can be found from the local storage unit through the second account.
Step 52: and intercepting the authentication information contained in the acquired session state information after login.
Step 53: and generating a login request containing the authentication information and sending the login request to the application server side.
Step 54: and after the user server side detects the authentication information contained in the login request, directly establishing a session related to the second account between the user server side and the application client side.
Secondly, the invention provides an electronic device, wherein an application client 20 capable of realizing multi-account login is stored on the electronic device, and the system 20 can be divided into one or more program modules.
For example, fig. 3 shows a schematic program module diagram of a first embodiment of the application client 20 capable of implementing multi-account login, in this embodiment, the system 20 may be divided into a login module 201, an authentication information receiving module 202, a session establishing module 203, an association saving module 204, and an account switching module 205. The program module referred to in the present invention refers to a series of computer program instruction segments capable of performing specific functions, and is more suitable than a program for describing the execution process of the multi-account login enabled application client 20 in the electronic device 2. The following description will specifically describe the specific functions of the program module 201 and 205.
The login module 201 is configured to provide a login interface for a user to initiate a login request of a first account to an application server, where the login request includes an account and a password.
The first account is an account used when a user logs in the application client for the first time, and the first account does not mean specifically. Assuming that a user registers a plurality of accounts of an application client at the same time, one account can be randomly selected as a first account for logging in. It should be noted that the first login is not absolute, but only relative, if no other account is online when logging in the application client, the login is defined as the first login, and the account used for the corresponding login is the first account.
The login interface of the application client is the same as the existing common login interface, the interface is provided with a login frame of an account number and a password, a verification code and the like can be adopted, and the details are not repeated here.
The authentication information receiving module 202 is configured to receive authentication information about the first account sent by an application server.
And after receiving the login request of the first account sent by the application client, the application server side authenticates the login request and sends authentication information about the first account to the application client after the authentication is passed.
If the authentication fails, sending preset feedback information to remind the user that the first account login fails. For example, send "account number or password error" or the like to the application client.
The session establishing module 203 is configured to establish a session with an application server after receiving the authentication information of the first account.
After the application client and the application server establish a session, the application client stores the post-login state session information containing the authentication information to a local storage unit.
The local storage unit includes a cookie and a localStorage.
It should be noted that the post-login state session information stored in the local storage unit is automatically deleted after the corresponding account logs out. Therefore, only one piece of post-login state session information stored in the local storage unit by the same account is needed, and a plurality of pieces of post-login state session information cannot repeatedly appear.
The association saving module 204 is configured to save post-login state session information related to the first account and the first account in association with a local storage unit, where the post-login state session information includes authentication information.
The second account is used for distinguishing from the first account, and generally refers to other accounts logged in by the first account during online.
The login of the second account can be performed by adding a new account (mainly aiming at the second account which is logged in for the first time). For example, an account adding function is added to account setting of the application client, and after login is completed by using one account, other accounts can be added to the logged-in account, and after the addition is completed, display can be performed in a pull-down menu mode.
If several accounts need to be added, the accounts can be selected to be logged in one by one after being added once, and a mode of logging in one by one can also be added.
After the account is added once, the application client stores the account locally, namely when the application client is logged out and then enters the application client, the added account is displayed and is not required to be added repeatedly unless the application client is uninstalled and then reinstalled.
The user selects any account number except the first account number to log in the first account number, and the application client firstly searches the post-login session state information corresponding to the account number locally instead of jumping to a login page.
The account switching module 205 is configured to, when a login request for logging in a second account is initiated in the first account, determine whether post-login session state information corresponding to the second account is stored in a local storage unit; and saving the post-login session state information corresponding to the second account in a local storage unit, and restoring the session related to the second account between the application client and the application server according to the saved post-login session state information.
The restoration means that the application client side intercepts authentication information in the session state information after login, then sends the authentication information to the application server side as a part of the login request, and once the application server side detects that the login request contains the authentication information, the authentication is not carried out any more, but the session is directly established.
If other accounts need to be logged in the first account, such as a third account, a fourth account and the like, the login mode is the same as that of the second account.
For another example, fig. 4 shows a schematic diagram of program modules of a second embodiment of the application client 20 capable of implementing multi-account login, in this embodiment, the application client 20 capable of implementing multi-account login may be further divided into a login module 201, an authentication information receiving module 202, a session establishing module 203, an association saving module 204, an account switching module 205, and a login jumping module 206.
The program module 201 and 205 are the same as those in the first embodiment, and are not described herein again.
The login skip module 206 is configured to skip to a login interface when a login request for logging in a second account is initiated in the first account and after-login session state information corresponding to the second account is not stored in the local storage unit, so as to send the login request of the second account to the application server through the login interface, receive authentication information about the second account fed back by the application server, and establish a session about the second account with the application server.
And only when the session state information after login corresponding to the second account is not stored in the local storage unit, jumping to a login interface of the application client, and sending a login request of the second account to the application server through the login interface. And the login of the second account after the jump is the same as the login of the first account.
After the second account is logged in, the second account is switched to the first account next time, or the first account is switched to the second account, and repeated logging-in is not needed.
And logging in other accounts and the second account in the first account.
The invention further provides the terminal equipment.
Fig. 5 is a schematic diagram of a hardware architecture of a terminal device according to an embodiment of the present invention. In this embodiment, the terminal device 2 is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction. For example, the server may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server, or a rack server (including an independent server or a server cluster composed of a plurality of servers). As shown, the terminal device 2 includes, but is not limited to, at least a memory 21, a processor 22, a network interface 23, and an application client 20 capable of multi-account login, which are communicatively connected to each other through a system bus. Wherein:
the memory 21 includes at least one type of computer-readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the storage 21 may be an internal storage unit of the terminal device 2, such as a hard disk or a memory of the terminal device 2. In other embodiments, the memory 21 may also be an external storage device of the terminal device 2, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the terminal device 2. Of course, the memory 21 may also include both an internal memory unit of the terminal device 2 and an external memory device thereof. In this embodiment, the memory 21 is generally used for storing an operating system installed in the terminal device 2 and various types of application software, such as program codes of the application client 20 capable of implementing multi-account login. Further, the memory 21 may also be used to temporarily store various types of data that have been output or are to be output.
The processor 22 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 22 is generally configured to control the overall operation of the terminal device 2, such as performing control and processing related to data interaction or communication with the terminal device 2. In this embodiment, the processor 22 is configured to run the program codes stored in the memory 21 or process data, for example, run the application client 20 capable of implementing multi-account login.
The network interface 23 may comprise a wireless network interface or a wired network interface, and the network interface 23 is typically used for establishing a communication connection between the terminal device 2 and other terminal devices. For example, the network interface 23 is used to connect the terminal device 2 with an external terminal through a network, establish a data transmission channel and a communication connection between the terminal device 2 and the external terminal, and the like. The network may be an Intranet (Intranet), the Internet (Internet), a Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth (Bluetooth), Wi-Fi, or other wireless or wired network.
It is noted that fig. 5 only shows the terminal device 2 with components 21-23, but it is to be understood that not all shown components are required to be implemented, and that more or less components may be implemented instead.
In this embodiment, the multi-account login enabled application client 20 stored in the memory 21 may be executed by one or more processors (in this embodiment, the processor 22) to complete the above-described operations of the multi-account login method of the Web APP.
Furthermore, the present invention is a computer-readable storage medium, which is a non-volatile readable storage medium, having stored therein computer program instructions, which are executable by at least one processor, to cause the at least one processor to perform the steps of the multi-account login method of Web APP as described in any one of the above.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (10)

1. A multi-account login method of Web APP is characterized by comprising the following steps:
initiating a login request of a first account to an application server side through a login interface of an application client side, wherein the login request comprises the account and a password;
the application client receives authentication information about the first account sent by an application server side, and establishes a session about the first account with the application server side;
the application client stores the logged-in state session information of the first account and the first account in a local storage unit in a correlated manner;
after an application client logs in the first account, opening an account adding function of the application client to add a second account so as to initiate a login request for logging in the second account in the first account; the application client judges whether the session state information after logging corresponding to the second account is stored in a local storage unit;
and if the session state information after login corresponding to the second account is stored in the local storage unit, restoring the session related to the second account between the application client and the application server according to the stored session state information after login.
2. The method of multi-account login for Web APP as recited in claim 1,
if the session state information after login corresponding to the second account is not stored in the local storage unit, the application client jumps to a login interface, sends a login request of the second account to the application server through the login interface, receives authentication information which is fed back by the application server and related to the second account, and establishes a session related to the second account with the application server;
and the application client stores the logged-in session state information of the second account and the account in a local storage unit in a correlated manner.
3. The method of multi-account login for Web APP as recited in claim 1,
the application server side authenticates a login request of the first account sent by an application client side, and sends authentication information about the first account after the authentication is passed; and if the authentication fails, sending preset feedback information to remind the user that the first account login fails.
4. The multi-account login method of the Web APP of claim 1, wherein the local storage unit comprises a cookie and a localStorage.
5. The method of claim 1, wherein the post-login state session information stored in the local storage unit is automatically deleted after the corresponding account logs out.
6. The method of claim 1, wherein the restoring the session between the application client and the application server for the second account according to the saved post-login session state information comprises the following sub-steps:
acquiring post-login session state information corresponding to the second account;
intercepting authentication information contained in the acquired post-login session state information;
generating a login request containing the authentication information and sending the login request to an application server side;
and after the user server side detects the authentication information contained in the login request, directly establishing a session related to the second account between the user server side and the application client side.
7. An electronic device, wherein an application client capable of implementing multi-account login is stored on the electronic device, and the application client capable of implementing multi-account login comprises:
the login module is used for providing a login interface for a user to initiate a login request of a first account to the application server side, wherein the login request comprises the account and a password;
the authentication information receiving module is used for receiving authentication information which is sent by an application server and related to the first account;
the session establishing module is used for establishing a session related to the first account with an application server after receiving the authentication information of the first account;
the association storage module is used for storing the post-login state session information related to the first account and the first account into a local storage unit in an associated manner, wherein the post-login state session information comprises authentication information;
the account switching module is used for opening an account adding function of the application client to add a second account after the application client logs in the first account so as to judge whether session state information after logging corresponding to the second account is stored in a local storage unit when a login request for logging in the second account is initiated in the first account; and saving the post-login session state information corresponding to the second account in a local storage unit, and restoring the session related to the second account between the application client and the application server according to the saved post-login session state information.
8. The electronic device of claim 7, wherein the multi-account login enabled application client further comprises:
and the login skip module is used for skipping to a login interface when a login request for logging in a second account is initiated in the first account and the post-login session state information corresponding to the second account is not stored in the local storage unit, so that the login request of the second account is sent to the application server through the login interface, the authentication information, which is fed back by the application server and related to the second account, is received, and a session related to the second account between the application server and the application server is established.
9. A terminal device comprising a memory and a processor, wherein the memory stores a multi-account login enabled application client executable by the processor, and the application client when executed by the processor implements the steps of the multi-account login method for Web APP as claimed in any one of claims 1 to 6.
10. A computer-readable storage medium having stored therein computer program instructions executable by at least one processor to cause the at least one processor to perform the steps of the multi-account login method of Web APP as claimed in any one of claims 1-6.
CN201810537987.9A 2018-05-30 2018-05-30 Multi-account login method, device, equipment and storage medium of Web APP Active CN108683679B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810537987.9A CN108683679B (en) 2018-05-30 2018-05-30 Multi-account login method, device, equipment and storage medium of Web APP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810537987.9A CN108683679B (en) 2018-05-30 2018-05-30 Multi-account login method, device, equipment and storage medium of Web APP

Publications (2)

Publication Number Publication Date
CN108683679A CN108683679A (en) 2018-10-19
CN108683679B true CN108683679B (en) 2022-08-02

Family

ID=63809021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810537987.9A Active CN108683679B (en) 2018-05-30 2018-05-30 Multi-account login method, device, equipment and storage medium of Web APP

Country Status (1)

Country Link
CN (1) CN108683679B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109522501B (en) * 2018-11-26 2021-10-26 腾讯科技(深圳)有限公司 Page content management method and device
CN109768961A (en) * 2018-12-12 2019-05-17 平安科技(深圳)有限公司 Wechat small routine login method, device and the storage medium led to based on an account
CN109462602B (en) * 2018-12-13 2022-11-01 平安普惠企业管理有限公司 Login information storage method, login verification method, device, equipment and medium
CN110555687A (en) * 2019-07-26 2019-12-10 上海泛标商务咨询有限公司 method, server and user side for associating transaction account
CN112448925B (en) * 2019-08-30 2022-08-30 长城汽车股份有限公司 Account management method, device and system
CN110888694B (en) * 2019-10-31 2020-08-28 南京联创互联网技术有限公司 Method for realizing free switching of system user accounts based on localStorage
CN111031540B (en) * 2019-11-22 2022-08-23 儒庭信息技术(上海)有限公司 Wireless network connection method and computer storage medium
CN112102083A (en) * 2020-08-31 2020-12-18 东莞市龙兴基石智能科技有限公司 Multi-account linkage transaction method, transaction system, equipment and storage medium
CN112069486B (en) * 2020-09-01 2023-05-12 中国联合网络通信集团有限公司 Multi-device account login method, account platform and first device
CN112765483A (en) * 2020-12-31 2021-05-07 深圳市镜玩科技有限公司 Matching recommendation method based on activity, related device, equipment and medium
CN113599833B (en) * 2021-08-03 2024-03-12 深圳市乐天堂科技有限公司 Account login method, account login device, computing equipment and storage medium
CN116800546B (en) * 2023-08-24 2023-11-03 北京建筑大学 User switching method, system, terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102438000A (en) * 2011-03-11 2012-05-02 奇智软件(北京)有限公司 Multi-account logon method and device
CN103532919A (en) * 2012-07-06 2014-01-22 腾讯科技(深圳)有限公司 Method and system for maintaining login state of user account
CN103841188A (en) * 2014-02-27 2014-06-04 北京奇虎科技有限公司 Cookie information processing method and device in browser
CN105141605A (en) * 2015-08-19 2015-12-09 金蝶软件(中国)有限公司 Session method, web server and browser
CN107294908A (en) * 2016-03-30 2017-10-24 阿里巴巴集团控股有限公司 Account information processing method, apparatus and system in instant messaging application

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9600643B2 (en) * 2014-02-06 2017-03-21 Red Hat, Inc. Single login multiplexing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102438000A (en) * 2011-03-11 2012-05-02 奇智软件(北京)有限公司 Multi-account logon method and device
CN105207998A (en) * 2011-03-11 2015-12-30 北京奇虎科技有限公司 Multi-account registration method and device
CN103532919A (en) * 2012-07-06 2014-01-22 腾讯科技(深圳)有限公司 Method and system for maintaining login state of user account
CN103841188A (en) * 2014-02-27 2014-06-04 北京奇虎科技有限公司 Cookie information processing method and device in browser
CN105141605A (en) * 2015-08-19 2015-12-09 金蝶软件(中国)有限公司 Session method, web server and browser
CN107294908A (en) * 2016-03-30 2017-10-24 阿里巴巴集团控股有限公司 Account information processing method, apparatus and system in instant messaging application

Also Published As

Publication number Publication date
CN108683679A (en) 2018-10-19

Similar Documents

Publication Publication Date Title
CN108683679B (en) Multi-account login method, device, equipment and storage medium of Web APP
US20240064058A1 (en) Implementation of compliance settings by a mobile device for compliance with a configuration scenario
EP2989543B1 (en) Method and device for updating client
US20170171295A1 (en) File upload and download methods and associated server
US20180315024A1 (en) Systems and Methods Enabling Secure Transactions from Terminal Window
CN109462601B (en) Multi-platform access method and device based on eSIM
CN108135026B (en) Wi-Fi connection method, computer device and storage medium
CN106254319B (en) Light application login control method and device
US9971544B1 (en) Techniques for usage metering and control in data storage systems
CN111355723A (en) Single sign-on method, device, equipment and readable storage medium
CN110166529A (en) It keeps logging in state method, apparatus, equipment and storage medium
US9178860B2 (en) Out-of-path, content-addressed writes with untrusted clients
CN102769625A (en) Client-side Cookie information acquisition method and device
CN112818270B (en) Data cross-domain transfer method and device and computer equipment
CN104065674A (en) Terminal device and information processing method
CN112422604B (en) File uploading method, device and system and computer equipment
CN110324384B (en) Data pushing method and device
US20040040022A1 (en) Method and apparatus for just-in-time provisioning application-related information at a communication device
CN113626882A (en) Method, device and medium for generating equipment identifier
CN110134546B (en) Batch restarting windows system method, electronic device and storage medium
CN107979577B (en) Terminal authentication method and device
CN112650674A (en) Method for remotely acquiring and debugging webpage log, computer equipment and storage medium
US10530592B2 (en) Method and apparatus for sharing browser contents
US9191445B2 (en) Systems and methods for managing emulation sessions
CN112672187B (en) Page generation method and device, computer equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant