CN108683679A - More account login methods, device, equipment and the storage medium of Web APP - Google Patents

More account login methods, device, equipment and the storage medium of Web APP Download PDF

Info

Publication number
CN108683679A
CN108683679A CN201810537987.9A CN201810537987A CN108683679A CN 108683679 A CN108683679 A CN 108683679A CN 201810537987 A CN201810537987 A CN 201810537987A CN 108683679 A CN108683679 A CN 108683679A
Authority
CN
China
Prior art keywords
account
login
session
applications client
server end
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.)
Granted
Application number
CN201810537987.9A
Other languages
Chinese (zh)
Other versions
CN108683679B (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 Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology Co Ltd
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 Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
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

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 kind of more account login methods of Web APP, belong to field of communication technology.This approach includes the following steps:The logging request of the first account is initiated to application server end by the login interface of applications client;Applications client receives the authentication information about the first account that application server end is sent, and establishes the session between application server end about the first account;Applications client will be preserved about state session information after the login of the first account and the first account relating to local storage unit;The logging request of the second account of login is initiated in the first account, applications client judges whether to preserve session state information after login corresponding with the second account in local storage unit, if then according to the session after the login of preservation between session state information reduction applications client and application server end about the second account.The present invention realizes the same client, and user can use multiple accounts to carry out logon operation.

Description

More account login methods, device, equipment and the storage medium of Web APP
Technical field
The present invention relates to field of communication technology, it is related to a kind of more account login methods of Web APP, device, equipment and deposits Storage media.
Background technology
With the development of internet, people increasingly be unable to do without various applications, for example, wechat, investment type application etc..With For wechat, people can possess multiple accounts for the ease of distinguishing work and life sometimes;For investment type application, people sometimes Can manage multiple accounts simultaneously, or open multiple accounts simultaneously to be traded.
But no matter in internet or mobile communications network, a client same time only allows user to use One account logs in online.It is more to check if checking the operation that the upper information or repeat logon of multiple accounts exits It information on a account list or logs in multiple accounts simultaneously using different equipment and is checked.Using former mode, step on Record process is cumbersome, and user experience is bad;Using latter approach, user needs to prepare multi-section equipment, increases use cost.
Invention content
The technical problem to be solved by the present invention is in order to overcome in the prior art a client same time only allow to use Family logs in online problem using an account, it is proposed that a kind of more account login methods of Web APP, device, equipment and deposits Storage media is realized and is supported in the same client while logging in multiple accounts, and the free switching between multiple accounts.
The present invention is to solve above-mentioned technical problem by following technical proposals:
A kind of more account login methods of Web APP, include the following steps:
The logging request of the first account, the login are initiated to application server end by the login interface of applications client Include account and password in request;
Applications client receives the authentication information about first account that application server end is sent, and establishes and answer With the session about first account between server end;
Applications client by state session information after the login of first account and first account relating preserve to Local storage unit, state session packet contains authentication information after the login;
After applications client logs in first account, initiate to log in stepping on for the second account by the applications client Record request, applications client judge whether to preserve session after login corresponding with second account in local storage unit Status information;
If preserving session state information after login corresponding with second account, basis in local storage unit Meeting after the login of preservation between session state information reduction applications client and application server end about second account Words.
Further, if not preserving session shape after login corresponding with second account in local storage unit State information sends second account by login interface then applications client jumps to login interface to application service end Logging request, and receive application service end feedback the authentication information about second account, establish and application server Session between end about second account;
Applications client preserves session state information after the login of the second account and the account relating to list is locally stored Member.
Preferably, the logging request for first account that the application server end sends applications client is recognized Card, and the authentication information about first account is sent after in certification;It is not sent if if certification preset anti- Feedforward information, to remind the first account login failure described in user.
Preferably, the local storage unit includes cookie and localStorage.
Preferably, it is stored in state session information after the login of local storage unit and is exited in its corresponding account and stepped on It is automatically deleted after record.
Preferably, after the login according to preservation session state information reduction applications client and application server end it Between about second account session include it is following step by step:
Session state information after acquisition login corresponding with second account;
From intercepting authentication information wherein included in session state information after the login of acquisition;
It generates the logging request comprising the authentication information and is sent to application server end;
After client server end detects the authentication information for including in logging request, directly establish client server end with Session between applications client about second account.
The invention also discloses a kind of electronic device, the application that achievable more accounts log in is stored on the electronic device Client, the applications client that more accounts logins can be achieved include:
Login module is asked to user with the login for initiating the first account to application server end for providing login interface It asks, includes account and password in the logging request;
Authentication information receiving module, the certification about first account for receiving the transmission of application server end are believed Breath;
Session establishment module, for after the authentication information for receiving first account, establishing and application server end Between session about first account;
It is associated with preserving module, being used for will be about state session information after the login of first account and first account Association is preserved to local storage unit, and state session packet contains authentication information after the login;
Account handover module, for when initiating to log in the logging request of the second account in first account, judging Whether with second account corresponding login after session state information is preserved in local storage unit;And it is being locally stored Session state information after login corresponding with second account is preserved in unit, according to session status after the login of preservation Information restores the session about second account between applications client and application server end.
Preferably, the applications client that more accounts logins can be achieved further includes:
Jump module is logged in, is used for when initiating to log in the logging request of the second account in first account, and this When not preserving session state information after login corresponding with second account in ground storage unit, jumps to and log in boundary Face to realize the logging request for sending second account to application service end by login interface, and receives application service end The authentication information about second account of feedback establishes the meeting about second account between application server end Words.
The invention also discloses a kind of terminal device, including memory and processor, being stored on the memory can quilt The applications client that more accounts can be achieved and log in that the processor executes, when the applications client is executed by the processor The step of realizing more account login methods of aforementioned any one of them Web APP.
The invention also discloses a kind of computer readable storage medium, meter is stored in the computer readable storage medium Calculation machine program instruction, the computer program instructions can be performed by least one processors, so that at least one processing Device executes the step of more account login methods of aforementioned any one of them Web APP.
The positive effect of the present invention is that:
1) the same client, user can use multiple accounts to carry out logon operation;
2) between the multiple accounts logged in can mutual handover operation, it is convenient and efficient;
3) it is supported without more equipment, improves user experience, meet more level applications.
Description of the drawings
Fig. 1 shows the flow chart of more account login method embodiments one of Web APP of the present invention;
Fig. 2 shows the flow charts of more account login method embodiments two of Web APP of the present invention;
Fig. 3 shows the program that the applications client first embodiment that more accounts log in can be achieved in electronic device of the present invention Module diagram;
Fig. 4 shows the program that the applications client second embodiment that more accounts log in can be achieved in electronic device of the present invention Module diagram;
Fig. 5 shows the hardware structure schematic diagram of one embodiment of terminal device of the present invention.
Specific implementation mode
It is further illustrated the present invention below by the mode of embodiment, but does not therefore limit the present invention to the reality It applies among a range.
First, the present invention proposes a kind of more account login methods of Web APP.
In embodiment one, as shown in Figure 1, more account login methods of the Web APP include the following steps:
Step 01:The logging request of the first account is initiated to application server end by the login interface of applications client, Include account and password in the logging request.
First account refers to that user first logs into account used when applications client, " first " therein not The meaning refered in particular to.Assuming that user registers with multiple accounts of an applications client simultaneously, an account conduct can be randomly choosed First account is logged in.It should be pointed out that it not is absolute to first log into, only it is in contrast, if logging in application visitor There is no other accounts online when the end of family, logged on as the first time then just defining this time, the account used in corresponding login is first Account.
For the login interface of the applications client compared with common login interface, interface is equipped with stepping on for account and password Frame is recorded, identifying code etc. can also be used, details are not described herein again.
Step 02:Applications client receives the authentication information about first account that application server end is sent, and Establish the session about first account between application server end.
After the application server termination receives the logging request for first account that the applications client is sent, meeting The logging request is authenticated, and sends after in certification and is answered to described about the authentication information of first account Use client.
But preset feedback information is not sent if if certification, it is lost to remind the first account described in user to log in It loses.For example, sending similar informations such as " account or password mistakes " to the applications client.
Step 03:Applications client will be about state session information after the login of first account and first account Association is preserved to local storage unit, and state session packet contains authentication information after the login.
After the applications client and the application server end establish session, the applications client can will include State session information preservation is to local storage unit after the login of authentication information.
The local storage unit includes cookie and localStorage.
The cookie is the position for storing temporary file, state session after login about first account When in information storage to cookie, when user logs on the account, it is not necessary to input username and password and may log into.But An Expire value will be designated when generating by being cookie, and here it is the life cycles of cookie, within this period Cookie is effective, will be eliminated beyond period cookie.
The localStorage is also the position for storing temporary file, similar with cookie.But Advantages of the localStorage compared to cookie is:1) localStorage has expanded the limitation of the 4K capacity of cookie; 2) data of first time request can be directly stored in local by localStorage, this is equivalent to being directed to for 5M size In the database of front end page, bandwidth can be saved compared to cookie, but this is the browser only in highest version Middle just support.
It is important to note that state session information is corresponding at its after being stored in the login of local storage unit Account is automatically deleted after logging off.Therefore same account is stored in state session information after the login in local storage unit There is one, will not occur repeatedly a plurality of.
Step 04:After applications client logs in first account, initiate to log in second by the applications client The logging request of account, applications client judge step on corresponding with second account whether is preserved in local storage unit Session state information after record.
Second account is to refer to its of the online period login of the first account to be distinguished with aforementioned first account His account.
The login of second account can be logged in by adding new account (main face first log into described the Two accounts).For example, increasing account in the account setting of applications client adds function, as long as being stepped on using an account completion After record, so that it may to add other accounts in the account of the login, after the completion of addition, can be shown in a manner of drop-down menu.
If necessary to add several accounts, it can select further each and every one to select to log in after once having added, can also add Add a mode for logging in one.
After account was added once, account can be saved in local by applications client, that is, application visitor is entered back into after exiting When the end of family, these accounts added can also be shown, not have to repeat to add, unless being reset after applications client unloading.
User selects any one other account in addition to the first account to log in the first account, application client End first can be in local session state information after searching the corresponding login of the account, rather than jumps to login page.
Step 05:If preserving session status after login corresponding with second account in local storage unit to believe Breath then restores between applications client and application server end according to session state information after the login of preservation about described second The session of account.
The reduction refers to the authentication information in session state information after applications client can log in interception, then will be recognized Card information is sent to application server end as a part for logging request, once application server end detects in logging request Include authentication information, be then no longer authenticated, but directly establishes session.
If not preserving session state information after login corresponding with second account in local storage unit, So applications client jumps to login interface, and the login for sending second account to application service end by login interface is asked It asks, and receives the authentication information about second account of application service end feedback, establish between application server end and close In the session of second account;
Then, applications client again preserves session state information after the login of the second account and the account relating to local Storage unit.In this way, next time from the second account is switched to the first account, or when being switched to the second account from the first account, all Repeat logon is not needed.
In embodiment two, it is based on the basis of embodiment one, as shown in Fig. 2, session after the login according to preservation The session that status information restores between applications client and application server end about second account specifically includes following point Step:
Step 51:Session state information after acquisition login corresponding with second account.
It, can be from list be locally stored by the second account since session state information and account relating preserve after login Session state information after logging in accordingly is found in member.
Step 52:From intercepting authentication information wherein included in session state information after the login of acquisition.
Step 53:It generates the logging request comprising the authentication information and is sent to application server end.
Step 54:After client server end detects the authentication information for including in logging request, user's clothes are directly established The session being engaged between device end and applications client about second account.
Secondly, the present invention proposes a kind of electronic device, is stored with what achievable more accounts logged on the electronic device Applications client 20, the system 20 can be divided into one or more program module.
For example, Fig. 3 shows the program module that 20 first embodiment of applications client that more accounts log in can be achieved Schematic diagram, in the embodiment, the system 20 can be divided into login module 201, authentication information receiving module 202, session Establish module 203, association preserving module 204 and account handover module 205.Wherein, the so-called program module of the present invention refers to energy The series of computation machine program instruction section for enough completing specific function is logged in than program more suitable for describing achievable more accounts Implementation procedure of the applications client 20 in the electronic device 2.The program module 201- will specifically be introduced by being described below 205 concrete function.
The login module 201 is used to provide login interface to user to initiate stepping on for the first account to application server end Record is asked, and includes account and password in the logging request.
First account refers to that user first logs into account used when applications client, " first " therein not The meaning refered in particular to.Assuming that user registers with multiple accounts of an applications client simultaneously, an account conduct can be randomly choosed First account is logged in.It should be pointed out that it not is absolute to first log into, only it is in contrast, if logging in application visitor There is no other accounts online when the end of family, logged on as the first time then just defining this time, the account used in corresponding login is first Account.
For the login interface of the applications client compared with common login interface, interface is equipped with stepping on for account and password Frame is recorded, identifying code etc. can also be used, details are not described herein again.
The authentication information receiving module 202 is used to receive the recognizing about first account of application server end transmission Demonstrate,prove information.
After the application server termination receives the logging request for first account that the applications client is sent, meeting The logging request is authenticated, and sends after in certification and is answered to described about the authentication information of first account Use client.
But preset feedback information is not sent if if certification, it is lost to remind the first account described in user to log in It loses.For example, sending similar informations such as " account or password mistakes " to the applications client.
The session establishment module 203 is used for after the authentication information for receiving first account, is established and is taken with application The session being engaged between device end about first account.
After the applications client and the application server end establish session, the applications client can will include State session information preservation is to local storage unit after the login of authentication information.
The local storage unit includes cookie and localStorage.
It is important to note that state session information is corresponding at its after being stored in the login of local storage unit Account is automatically deleted after logging off.Therefore same account is stored in state session information after the login in local storage unit There is one, will not occur repeatedly a plurality of.
The association preserving module 204 is used for will be about state session information after the login of first account and described the One account relating is preserved to local storage unit, and state session packet contains authentication information after the login.
Second account is to refer to its of the online period login of the first account to be distinguished with aforementioned first account His account.
The login of second account can be logged in by adding new account (main face first log into described the Two accounts).For example, increasing account in the account setting of applications client adds function, as long as being stepped on using an account completion After record, so that it may to add other accounts in the account of the login, after the completion of addition, can be shown in a manner of drop-down menu.
If necessary to add several accounts, it can select further each and every one to select to log in after once having added, can also add Add a mode for logging in one.
After account was added once, account can be saved in local by applications client, that is, application visitor is entered back into after exiting When the end of family, these accounts added can also be shown, not have to repeat to add, unless being reset after applications client unloading.
User selects any one other account in addition to the first account to log in the first account, application client End first can be in local session state information after searching the corresponding login of the account, rather than jumps to login page.
The account handover module 205, for when the logging request for initiating the second account of login in first account When, judge whether to preserve session state information after login corresponding with second account in local storage unit;And Session state information after login corresponding with second account is preserved in local storage unit, after the login of preservation Session state information restores the session about second account between applications client and application server end.
The reduction refers to the authentication information in session state information after applications client can log in interception, then will be recognized Card information is sent to application server end as a part for logging request, once application server end detects in logging request Include authentication information, be then no longer authenticated, but directly establishes session.
If also having other accounts to need to log in the first account, such as third account, the 4th account etc., login mode is same Second account.
In another example Fig. 4 shows the program mould that 20 second embodiment of applications client that more accounts log in can be achieved Block schematic diagram, it is described the applications client 20 that more accounts log in can be achieved to be divided into login module in the embodiment 201, authentication information receiving module 202, session establishment module 203, association preserving module 204, account handover module 205 and login Jump module 206.
Wherein, the same first embodiments of program module 201-205, details are not described herein again.
The jump module 206 that logs in is used for when the logging request for initiating the second account of login in first account When, and when not preserving session state information after login corresponding with second account in local storage unit, redirect To login interface, to realize the logging request for sending second account to application service end by login interface, and receives and answer The authentication information about second account fed back with server-side is established between application server end about second account Number session.
Session state information after login corresponding with second account is not preserved in storage unit only local When, the login interface for jumping to applications client is just needed, second account is sent to application service end by login interface Logging request.Login of the login of the second account after redirecting with the first account.
After the login for completing the second account, next time is switched to the first account from the second account, or switches from the first account When to the second account, repeat logon is not all needed.
Other accounts are logged in the first account with second account.
Again, the present invention also puts forward a kind of terminal device.
As shown in fig.5, being the hardware structure schematic diagram of one embodiment of terminal device of the present invention.It is described in the present embodiment Terminal device 2 be it is a kind of can be automatic to carry out numerical computations and/or information processing according to the instruction for being previously set or storing Equipment.For example, it may be smart mobile phone, tablet computer, laptop, desktop computer, rack-mount server, blade type take It is engaged in device, tower server or Cabinet-type server (including the server set that independent server or multiple servers are formed Group) etc..As shown, the terminal device 2 includes at least, but it is not limited to, connection storage can be in communication with each other by system bus Device 21, processor 22, network interface 23 and the applications client 20 that can realize more accounts logins.Wherein:
The memory 21 includes at least a type of computer readable storage medium, and the readable storage medium storing program for executing includes Flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), it is static with Machine accesses memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), may be programmed only Read memory (PROM), magnetic storage, disk, CD etc..In some embodiments, the memory 21 can be the end The internal storage unit of end equipment 2, for example, the terminal device 2 hard disk or memory.In further embodiments, the memory 21 can also be the External memory equipment of the terminal device 2, such as the plug-in type hard disk being equipped on the terminal device 2, intelligence Storage card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) Deng.Certainly, the memory 21 can also both include the internal storage unit of the terminal device 2 or be set including its external storage It is standby.In the present embodiment, the memory 21 is installed on the operating system and types of applications of the terminal device 2 commonly used in storage Software, such as the program code etc. that the applications client 20 that more accounts log in can be achieved.In addition, the memory 21 may be used also For temporarily storing the Various types of data that has exported or will export.
The processor 22 can be in some embodiments central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chips.The processor 22 is commonly used in the control end The overall operation of end equipment 2, such as execute and carry out data interaction with the terminal device 2 or communicate relevant control and processing Deng.In the present embodiment, the processor 22 is for running the program code stored in the memory 21 or processing data, example The applications client 20 that more accounts can be achieved and log in as described in running.
The network interface 23 may include radio network interface or wired network interface, which is commonly used in Communication connection is established between the terminal device 2 and other-end equipment.For example, the network interface 23 is used to incite somebody to action by network The terminal device 2 is connected with exterior terminal, between the terminal device 2 and exterior terminal establish data transmission channel and Communication connection etc..The network can be intranet (Intranet), internet (Internet), global system for mobile telecommunications system Unite (Global System of Mobile communication, GSM), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), 4G networks, 5G networks, bluetooth (Bluetooth), Wi-Fi etc. is wireless or has Gauze network.
It should be pointed out that Fig. 5 illustrates only the terminal device 2 with component 21-23, it should be understood that not It is required that implement all components shown, the implementation that can be substituted is more or less component.
In the present embodiment, be stored in memory 21 it is described applications client 20 that more accounts log in can be achieved can be with It is performed by one or more processors (the present embodiment is processor 22), to complete more account login sides of above-mentioned Web APP The operation of method.
In addition, a kind of computer readable storage medium of the present invention, which is non-volatile readable Storage medium, is stored with computer program instructions, the computer program instructions can performed by least one processor, So that at least one processor executes the step of more account login methods of Web APP described in any one of the above embodiments.
Although specific embodiments of the present invention have been described above, it will be appreciated by those of skill in the art that this is only For example, protection scope of the present invention is to be defined by the appended claims.Those skilled in the art without departing substantially from Under the premise of the principle and substance of the present invention, many changes and modifications may be made, but these change and Modification each falls within protection scope of the present invention.

Claims (10)

1. a kind of more account login methods of Web APP, which is characterized in that include the following steps:
The logging request of the first account, the logging request are initiated to application server end by the login interface of applications client In include account and password;
Applications client receives the authentication information about first account that application server end is sent, and establishes and taken with application The session being engaged between device end about first account;
Applications client preserves state session information after the login of first account and first account relating to local Storage unit;
After applications client logs in first account, the login for initiating to log in the second account by the applications client is asked It asks, applications client judges whether to preserve session status after login corresponding with second account in local storage unit Information;
If session state information after login corresponding with second account is preserved in local storage unit, according to preservation Login after session about second account between session state information reduction applications client and application server end.
2. more account login methods of Web APP according to claim 1, which is characterized in that
If session state information after login corresponding with second account is not preserved in local storage unit, then answering Login interface is jumped to client, sends the logging request of second account to application service end by login interface, and The authentication information about second account of application service end feedback is received, is established between application server end about described The session of second account;
Applications client preserves session state information after the login of the second account and the account relating to local storage unit.
3. more account login methods of Web APP according to claim 1, which is characterized in that
The application server end is authenticated the logging request for first account that applications client is sent, and in certification By sending the authentication information about first account later;Preset feedback information is not sent if if certification, to Remind the first account login failure described in user.
4. more account login methods of Web APP according to claim 1, which is characterized in that the local storage unit Including cookie and localStorage.
5. more account login methods of Web APP according to claim 1, which is characterized in that be stored in and list is locally stored State session information is automatically deleted after its corresponding account is logged off after the login of member.
6. more account login methods of Web APP according to claim 1, which is characterized in that the stepping on according to preservation After record session state information reduction applications client and application server end between about second account session include with Under step by step:
Session state information after acquisition login corresponding with second account;
From intercepting authentication information wherein included in session state information after the login of acquisition;
It generates the logging request comprising the authentication information and is sent to application server end;
After client server end detects the authentication information for including in logging request, client server end and application are directly established Session between client about second account.
7. a kind of electronic device, which is characterized in that be stored with the application client that achievable more accounts log on the electronic device End, the applications client that more accounts logins can be achieved include:
Login module, for providing login interface to user to initiate the logging request of the first account, institute to application server end State in logging request includes account and password;
Authentication information receiving module, the authentication information about first account for receiving the transmission of application server end;
Session establishment module, for after the authentication information for receiving first account, establishing between application server end Session about first account;
It is associated with preserving module, being used for will be about state session information after the login of first account and first account relating It preserves to local storage unit, state session packet contains authentication information after the login;
Account handover module, for when initiating to log in the logging request of the second account in first account, judging local Whether with second account corresponding login after session state information is preserved in storage unit;And in local storage unit In preserve session state information after login corresponding with second account, according to session state information after the login of preservation Restore the session about second account between applications client and application server end.
8. electronic device according to claim 7, which is characterized in that the applications client that more accounts can be achieved and log in Further include:
Jump module is logged in, is used for when initiating to log in the logging request of the second account in first account, and is locally deposited When not preserving session state information after login corresponding with second account in storage unit, login interface is jumped to, To realize the logging request for sending second account to application service end by login interface, and receive application service end feedback The authentication information about second account, establish the session about second account between application server end.
9. a kind of terminal device, including memory and processor, which is characterized in that being stored on the memory can be by the place The applications client that more accounts can be achieved and log in that device executes is managed, is realized such as when the applications client is executed by the processor The step of more account login methods of Web APP described in any one of claim 1-6.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium Program instruction, the computer program instructions can be performed by least one processors, so that at least one processor is held The step of more account login methods of Web APP of the row as described in any one of claim 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 true CN108683679A (en) 2018-10-19
CN108683679B 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)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109462602A (en) * 2018-12-13 2019-03-12 平安普惠企业管理有限公司 Log-on message storage method, login validation method, device, equipment and medium
CN109522501A (en) * 2018-11-26 2019-03-26 腾讯科技(深圳)有限公司 Content of pages management method and its 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
CN110555687A (en) * 2019-07-26 2019-12-10 上海泛标商务咨询有限公司 method, server and user side for associating transaction account
CN110888694A (en) * 2019-10-31 2020-03-17 南京联创互联网技术有限公司 Method for realizing free switching of system user accounts based on localStorage
CN111031540A (en) * 2019-11-22 2020-04-17 儒庭信息技术(上海)有限公司 Wireless network connection method and computer storage medium
CN112069486A (en) * 2020-09-01 2020-12-11 中国联合网络通信集团有限公司 Multi-device account login method, account platform and first device
CN112102083A (en) * 2020-08-31 2020-12-18 东莞市龙兴基石智能科技有限公司 Multi-account linkage transaction method, transaction system, equipment and storage medium
CN112448925A (en) * 2019-08-30 2021-03-05 长城汽车股份有限公司 Account management method, device and system
CN112765483A (en) * 2020-12-31 2021-05-07 深圳市镜玩科技有限公司 Matching recommendation method based on activity, related device, equipment and medium
CN113599833A (en) * 2021-08-03 2021-11-05 深圳市乐天堂科技有限公司 Account login method and device, computing equipment and storage medium
CN116800546A (en) * 2023-08-24 2023-09-22 北京建筑大学 User switching method, system, terminal and storage medium

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
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
US20150220725A1 (en) * 2014-02-06 2015-08-06 Red Hat, Inc. Single login multiplexing
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

Patent Citations (7)

* 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
US20150220725A1 (en) * 2014-02-06 2015-08-06 Red Hat, Inc. Single login multiplexing
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

Cited By (18)

* 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
CN109522501A (en) * 2018-11-26 2019-03-26 腾讯科技(深圳)有限公司 Content of pages management method and its 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
CN109462602A (en) * 2018-12-13 2019-03-12 平安普惠企业管理有限公司 Log-on message storage method, login validation method, device, equipment and medium
CN110555687A (en) * 2019-07-26 2019-12-10 上海泛标商务咨询有限公司 method, server and user side for associating transaction account
CN112448925A (en) * 2019-08-30 2021-03-05 长城汽车股份有限公司 Account management method, device and system
CN110888694A (en) * 2019-10-31 2020-03-17 南京联创互联网技术有限公司 Method for realizing free switching of system user accounts based on localStorage
CN110888694B (en) * 2019-10-31 2020-08-28 南京联创互联网技术有限公司 Method for realizing free switching of system user accounts based on localStorage
CN111031540A (en) * 2019-11-22 2020-04-17 儒庭信息技术(上海)有限公司 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
CN112069486A (en) * 2020-09-01 2020-12-11 中国联合网络通信集团有限公司 Multi-device account login method, account platform and first device
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
CN113599833A (en) * 2021-08-03 2021-11-05 深圳市乐天堂科技有限公司 Account login method and device, computing equipment and storage medium
CN113599833B (en) * 2021-08-03 2024-03-12 深圳市乐天堂科技有限公司 Account login method, account login device, computing equipment and storage medium
CN116800546A (en) * 2023-08-24 2023-09-22 北京建筑大学 User switching method, system, terminal and storage medium
CN116800546B (en) * 2023-08-24 2023-11-03 北京建筑大学 User switching method, system, terminal and storage medium

Also Published As

Publication number Publication date
CN108683679B (en) 2022-08-02

Similar Documents

Publication Publication Date Title
CN108683679A (en) More account login methods, device, equipment and the storage medium of Web APP
CN109639740B (en) Login state sharing method and device based on equipment ID
CN110138586A (en) Block chain node administration method, electronic device, system and readable storage medium storing program for executing
CN104580074B (en) The login method of client application and its corresponding server
CN110351357A (en) Server current-limiting method, device, computer equipment and storage medium
CN104657851B (en) Payment binding management method, payment server, client and system
US20150142658A1 (en) Payment binding management method, payment server, client, and system
CN105072112A (en) Identity authentication method and identity authentication device
CN107484152B (en) Management method and device for terminal application
CN104253686A (en) Account number login method, equipment and system
US9363663B2 (en) Method and apparatus for providing cellphone service from any device
CN112422497B (en) Message transmission method and device and computer equipment
CN110278192A (en) Method, apparatus, computer equipment and the readable storage medium storing program for executing of extranet access Intranet
CN107689941A (en) A kind of apparatus and method for preventing same user's repeat logon
CN108076077A (en) A kind of conversation controlling method and device
CN108683633A (en) access control method and device
US9178860B2 (en) Out-of-path, content-addressed writes with untrusted clients
CN111404918A (en) Cloud mobile phone distributed service emergency authentication method, device and system
CN109688109A (en) The verification method and device of identifying code based on client-side information identification
CN112954716A (en) Network access method and device of mesh network, computer equipment and storage medium
CN105871851B (en) Based on SaaS identity identifying method
CN111324539A (en) Account switching test method and system
CN109120596B (en) Multi-single sign-on integration method
CN109474626A (en) A kind of method for network authorization and device based on SNS
CN112398786B (en) Method and device for identifying penetration attack, system, storage medium and electronic device

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