CN110278187A - Multiple terminals single-point logging method, system, sync server and medium - Google Patents

Multiple terminals single-point logging method, system, sync server and medium Download PDF

Info

Publication number
CN110278187A
CN110278187A CN201910392812.8A CN201910392812A CN110278187A CN 110278187 A CN110278187 A CN 110278187A CN 201910392812 A CN201910392812 A CN 201910392812A CN 110278187 A CN110278187 A CN 110278187A
Authority
CN
China
Prior art keywords
application
login
terminal
logical server
sent
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
CN201910392812.8A
Other languages
Chinese (zh)
Other versions
CN110278187B (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.)
Wangsu Science and Technology Co Ltd
Original Assignee
Wangsu Science and 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 Wangsu Science and Technology Co Ltd filed Critical Wangsu Science and Technology Co Ltd
Priority to CN201910392812.8A priority Critical patent/CN110278187B/en
Publication of CN110278187A publication Critical patent/CN110278187A/en
Application granted granted Critical
Publication of CN110278187B publication Critical patent/CN110278187B/en
Expired - Fee Related 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/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

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)

Abstract

The present embodiments relate to technical field of information processing, in particular to multiple terminals single-point logging method, system, sync server and medium.Multiple terminals single-point logging method includes: the login synchronization request for receiving the first application;It logs in synchronization request and is sent out after confirmation user successfully logs in the first application by login authentication center, including user.name;Login synchronizing information is generated according to synchronization request is logged in;Log in the terminal that synchronizing information includes name on account, the corresponding application of name on account and application binding;Using including the first application;Login synchronizing information is sent to the logical server of application, so that logical server generates synchronous token according to login synchronizing information and synchronous token is sent to the terminal using binding, and when receiving the request using the carrying synchronous token sent, determine that user has logged in application.Using the embodiment of the present invention, it is able to achieve synchronizing between the mostly application on multiple terminals and logs in, reduce the number for repeating to log in.

Description

Multiple terminals single-point logging method, system, sync server and medium
Technical field
The present embodiments relate to technical field of information processing, in particular to multiple terminals single-point logging method, system, synchronization Server and medium.
Background technique
Single-sign-on (Single Sign On) is referred to as SSO, is a kind of business event integration solution popular at present Certainly method refers to that in the application system of multiple mutual trusts, user, which only needs to carry out a logon operation, to be accessed The application system of all mutual trusts.However at least there are the following problems in the related technology: single-point logging method for inventor's discovery The integration that only can be realized the application system of multiple mutual trusts in single terminal (such as only can multiple phase mutual trusts on the end PC Single-point logging method is used between the application system appointed), the application system without supporting multiple mutual trusts over multiple terminals Between login, application scenarios are very limited, are unable to satisfy growing user demand.
Summary of the invention
Embodiment of the present invention be designed to provide a kind of multiple terminals single-point logging method, system, sync server and Medium can be realized synchronizing between multiple applications over multiple terminals and log in, reduces the number for repeating logon operation, effectively mention Rise user experience.
In order to solve the above technical problems, embodiments of the present invention provide a kind of multiple terminals single-point logging method, application In sync server, method includes: to receive the login synchronization request of the first application;Wherein, the login synchronization request is by logging in Authentication center sends out after confirmation user successfully logs in first application, and the login synchronization request includes the use The name on account at family;It is generated according to the login synchronization request and logs in synchronizing information;Wherein, the login synchronizing information includes institute State the terminal of the corresponding application of name on account, the name on account and application binding;The application includes described first answering With;The login synchronizing information is sent to the logical server of the application, so that the logical server is stepped on according to Record synchronizing information generates synchronous token and the synchronous token is sent to the terminal of the application binding, and described receiving Using the carrying synchronous token of transmission request when, determine that the user has logged in the application.
Embodiments of the present invention additionally provide a kind of multiple terminals single-point logging method, are applied to logical server, method It include: the login synchronizing information for receiving sync server and sending;Wherein, the login synchronizing information is existed by the sync server Generation when receiving the login synchronization request of the first application, the login synchronization request is by login authentication center confirmation user's success Log in it is described first application after send out, and the login synchronizing information include carried in the login synchronization request it is described The terminal of the corresponding application of user.name, the name on account and application binding;The application includes described One application;According to the login synchronizing information, synchronous token is generated;The synchronous token is sent to the logical server Using the terminal of binding, and when receiving the request for the carrying synchronous token that the application is sent, the user is determined The application is logged in.
Embodiments of the present invention additionally provide a kind of sync server, comprising: message service center, termination management module And service management module;The message service center is used to receive the login synchronization request of the first application;Wherein, described to log in together Step request is sent out after confirmation user successfully logs in first application by login authentication center, and the login is synchronized and asked It asks including the user.name;The message service center is also used to be generated according to the login synchronization request and log in together Walk information;Wherein, the login synchronizing information includes the name on account, the corresponding application of the name on account and the application The terminal of binding;The application includes first application;The message service center is also used to the login synchronizing information It is sent to the logical server of the application, so that the logical server generates synchronous token according to the login synchronizing information And the synchronous token is sent to the terminal of the application binding, and in the carrying synchronization for receiving the application transmission When the request of token, determine that the user has logged in the application;Name on account, application are stored in the termination management module And the first corresponding relationship of terminal;It is stored in the service management module using the second corresponding relationship with logical server; Wherein, the message service center obtains the corresponding application of the name on account and the application from first corresponding relationship The terminal of binding, and obtain from second corresponding relationship logical server of the application.
Embodiments of the present invention additionally provide a kind of multiple terminals single-node login system, comprising: the terminal of application is installed, The logical server of the application, login authentication center and above-mentioned sync server;The terminal and the logical server Communication connection, the logical server communicate to connect respectively with the login authentication center, the sync server;The login Authentication center and sync server communication connection;The application passes through the logical server when logging on the terminal Logging request is sent to the login authentication center;The login authentication center according to the logging request for being confirmed whether to permit Perhaps it logs in, and is sent when confirming that user successfully logs in and log in synchronization request to the sync server.
Embodiments of the present invention additionally provide a kind of computer readable storage medium, are stored with computer program, described Above-mentioned multiple terminals single-point logging method is realized when computer program is executed by processor.
In terms of existing technologies, the login that sync server receives the first application synchronizes asks embodiment of the present invention It asks;Wherein, the login synchronization request is sent out after confirmation user successfully logs in first application by login authentication center Come, and the login synchronization request includes the user.name;It is generated to log according to the login synchronization request and be synchronized Information;Wherein, the login synchronizing information includes that the name on account, the corresponding application of the name on account and the application are tied up Fixed terminal;The application includes first application;The login synchronizing information is sent to the logical services of the application Device so that the logical server generates synchronous token according to the login synchronizing information, and the synchronous token is sent to The terminal of the application binding, and when receiving the request for the carrying synchronous token that the application is sent, described in judgement User has logged in the application;That is, user.name is corresponding with the application of several mutual trusts, each application It is bundled with the terminal for application operation;After user successfully logs in the first application using the name on account and password of oneself, step on Record authentication center can generate login synchronization request, and logging state is synchronized to and answers with first using other of mutual trust by request With;Sync server generates login synchronizing information according to synchronization request is logged in, and is sent to synchronizing information is logged in user's The logical server of the corresponding application of name on account, so that logical server can be bound according to synchronizing information is logged in application Terminal sign and issue synchronous token;Since logical server is used to respond the request of corresponding application, and user's operation binds terminal On application to logical server request resource when can carry the synchronous token signed and issued, so that logical server is receiving application When the request for carrying synchronous token sent, it can directly determine that user is logged in the name on account of oneself in above-mentioned terminal Above-mentioned application, and its resource requested is returned to application;To sum up, using embodiments of the present invention, when user is in the first application After being logined successfully in one terminal of binding with name on account, first applies the synchronous automated log in other terminals of its binding Name on account, the corresponding other application of name on account also synchronize automated log on name on account in all terminals of its binding, from Name on account is inputted again in the application in binding terminal without user and password logs in, and is reduced user and is carried out weight The number of multiple register effectively saves waiting time when using the application and the user experience is improved sense.
In addition, the login synchronizing information includes sub-information, the sub-information is equal with the quantity of the application and one by one It is corresponding;Each sub-information includes the terminal of the name on account and the corresponding application binding of the sub-information;It is described by institute It states login synchronizing information and is sent to the logical server of the application, specifically, the sub-information is sent to the sub-information The logical server of corresponding application;Include name on account, name on account pair that is, logging in synchronizing information and can be one The information of all data such as the binding terminal of the application and application answered, is also possible to by several applications corresponding with name on account The information of one-to-one sub-information composition;When sync server is sent to the logical server of application for synchronizing information is logged in When, sub-information can be pointedly sent to the logical server of application corresponding with sub-information, without logical server Voluntarily judgement finds out the terminal of the corresponding application binding of logical server from an information comprising mass data, effectively subtracts The light processing workload of logical server side.
In addition, synchronization request is published in the first application of reception;Wherein, the synchronization request of publishing is by the login authentication The heart is sent out after confirming that the user publishes first application, and described publishes the account that synchronization request includes the user Name in an account book claims;According to it is described publish synchronization request generation publish synchronizing information;Wherein, the synchronizing information of publishing includes the account The terminal of the corresponding application of title, the name on account and application binding;The application includes first application;By institute It states and publishes the logical server that synchronizing information is sent to the application, so that the logical server saves the user described Using the state for having published the application in the terminal of binding;That is, can also be realized using embodiments of the present invention Synchronizing between multiple applications over multiple terminals is published, when user publishes account name in a terminal of the first application binding After title, first applies to synchronize in other terminals of its binding and publishes name on account, the corresponding other application of name on account automatically It also synchronizes in the terminal of its binding and publishes name on account automatically, to realize the unification published consistent, effective guarantee use The safety of user data.
In addition, the quantity of the logical server of first application at least there are two, and first application is by wherein One logical server sends logging request to the login authentication center and successfully logs in;The login synchronization request is also Login logical server including first application;Wherein, the login logical server is applied for described first to described The logical server that login authentication center sends logging request and uses when successfully logging in;It is described to send out the login synchronizing information It send into the logical server of the application, when the application is described first in application, the login synchronizing information is sent To the logical server in addition to the login logical server of first application;That is, first application be corresponding with to Few two function identity logic servers avoid logical server can not load mistake to realize the equally loaded to application request Big user volume;After the first application is successfully logged in by one of logical server, sync server will log in synchronous letter Breath is sent to first and applies other corresponding logical servers, so that first other corresponding logical servers of application can be to the Other terminals of one application binding send the synchronous token generated, to realize the function of synchronous logging state.
In addition, the status indicator for logging in the terminal that synchronizing information further includes the application binding and having, and the shape State be identified as presence mark or non-presence mark, for the logical server according to described by the synchronous token It is sent to the terminal with presence mark of the application binding;That is, not online terminal itself can not receive The synchronous token that logical server is sent, synchronous token is only sent to current online terminal by logical server, to save The processing workload of logical server side.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys The bright restriction not constituted to embodiment, the element in attached drawing with same reference numbers label are expressed as similar element, remove Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is the flow chart of multiple terminals single-point logging method in first embodiment according to the present invention;
Fig. 2 is the whole interaction figure of multiple terminals single-point logging method in first embodiment according to the present invention;
Fig. 3 is the schematic diagram for the corresponding relationship that sync server prestores in first embodiment according to the present invention;
Fig. 4 is the flow chart of multiple terminals single-point logging method in second embodiment according to the present invention;
Fig. 5 is the flow chart of multiple terminals single-point logging method in the 4th embodiment according to the present invention;
Fig. 6 is the flow chart of multiple terminals single-point logging method in the 5th embodiment according to the present invention;
Fig. 7 is the structural block diagram of sync server in sixth embodiment according to the present invention;
Fig. 8 is the schematic diagram of the second corresponding relationship in sixth embodiment according to the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention In formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical details And various changes and modifications based on the following respective embodiments, the application technical solution claimed also may be implemented.With Under the division of each embodiment be for convenience, any restriction should not to be constituted to specific implementation of the invention, it is each Embodiment can be combined with each other mutual reference under the premise of reconcilable.
The first embodiment of the present invention is related to a kind of multiple terminals single-point logging methods, are applied to sync server, specifically Process is as shown in Figure 1, comprising:
Step 101, the login synchronization request of the first application is received;
Step 102, it is generated according to login synchronization request and logs in synchronizing information;
Step 103, login synchronizing information is sent to the logical server of application.
The realization details of the multiple terminals single-point logging method of present embodiment is specifically described below, the following contents Only for convenience of the realization details provided is understood, not implement the necessary of this programme.
In a step 101, the login synchronization request of the first application is received, wherein log in synchronization request by login authentication The heart is sent out after confirmation user successfully logs in the first application.Specifically, whole interaction figure such as Fig. 2 in present embodiment Shown, be illustrated below using 1 as first application of application in Fig. 2: in Fig. 2, application 1 is installed in multiple terminal (terminals 1, terminal 2 and terminal 3 etc., specifically can be such as the end pc, the end ios and the end android) on, that is to say, that user can be at multiple ends Operation is used using 1 on end;When user is opened in any terminal using 1, user can be defeated by the log in page provided using 1 Enter name on account and password;User.name and password are received using 1 logical server and are sent to login authentication Center, in general, login authentication center are the independent utilities for authorization user information, are not used in processing business logic, only It is the management and authorization for handling user information;Login authentication center prestores user information (such as the account of user's registration Title and password), after receiving user.name and password, verified according to the user information prestored name on account and Whether password is legal, if being verified, confirm that user successfully logs in allows to step on using the logical server return of 1, Xiang Yingyong 1 The result of record;After receiving the result for allowing to log in using 1 logical server, determines that user is logged in name on account and apply 1; While login authentication center confirmation user successfully logs in using 1, login authentication center sends in asynchronous form and logs in together Step is requested to sync server, wherein logging in synchronization request includes the name on account that user logs in.
In a step 102, sync server generates login synchronizing information according to synchronization request is logged in.Specifically, synchronous Name on account, application and the triangular corresponding relationship of terminal are prestored in server, by taking name on account A as an example, as shown in figure 3, The corresponding application of name on account A includes using 1, using 2 and applies 3, and the corresponding application 1 of name on account A herein using 2 and is answered It as trusted each other with 3, allow to synchronize the application logged in;As shown in figure 3, it is bundled with terminal 1, terminal 2 and terminal 3 using 1, It is bundled with terminal 1, terminal 2 and terminal 3 using 2, application 3 is bundled with terminal 2, terminal 3 and terminal 4;Therefore, sync server root It according to the name on account A for including in synchronization request is logged in, generates and logs in synchronizing information, logging in synchronizing information includes name on account, account Name in an account book claims the terminal of corresponding application (using 1, using 2 and using 3) and each application binding.It should be noted that actually simultaneously The quantitative relation of the terminal room of the corresponding application of name on account, name on account and application binding is not limited.
In an example, it can be the associated application of same manufacturer exploitation using 1, using 2 and application 3, such as rise QQ, QQ music, QQ mailbox, QQ browser under news etc. can pass through the application of a QQ Account Logon;In addition, using 1, answering 3 it is not specific to application software with 2 and application, the associating websites being also possible under same system, such as bean cotyledon under bean cotyledon are read The website that reading, bean cotyledon group, bean cotyledon music etc. can be logged in by a bean cotyledon account;That is, name on account pair herein The application answered can be logged in by the same name on account, not limit the concrete form of application.
In addition, logging in synchronizing information can also be includes sub-information equal and one-to-one with the quantity of application, every height Information includes the terminal of name on account and the corresponding application binding of sub-information, such as: sub-information 1 is including name on account A and using 1 Terminal 1, terminal 2 and the terminal 3 of binding, sub-information 2 include terminal 1, terminal 2 and the terminal 3 of 2 binding of name on account A and application, Sub-information 3 includes terminal 2, terminal 3 and the terminal 4 of 3 binding of name on account A and application.
In step 103, sync server will log in synchronizing information and be sent to application after generating login synchronizing information Logical server.Such as application 1 shown in Fig. 3 is bundled with terminal 1, terminal 2 and terminal 3, then sync server will be logged in and be synchronized Information is sent to using 1, using 2 and the logical server of application 3.
It should be noted that being examined since logical server is used to respond user in all requests of the upper triggering of application The problem of considering equally loaded, the quantity of the logical server of the settable same application is multiple (at least two), same The function of multiple logical servers of a application be it is identical, the logical server group of application is formed, to avoid logical server It can not the excessive user volume of load;After application is successfully logged in by one of logical server, sync server will be logged in Synchronizing information is sent to other logical servers of application, thus application other logical servers can to application binding its He sends the synchronous token generated at terminal, to realize the function of synchronous Entered state.For example, being corresponding with logical server 1 using 1 With logical server 2, user logs in be had sent name on account and password and is successfully logged in using when 1 by logical server 1, then Sync server is sent to the logical server 2 using 1 for synchronizing information is logged in.
After application 1, receiving login synchronizing information using the logical server of 2 and application 3, from login synchronizing information The terminal of each application binding is got, for example, obtaining terminal 1, terminal 2 and the terminal using 1 binding using 1 logical server 3;Terminal 1, terminal 2 and the terminal 3 using 2 bindings are obtained using 2 logical server;It is answered using 3 logical server acquisition With terminal 2, terminal 3 and the terminal 4 of 3 bindings;Then, the logical server respectively applied generates synchronous token (Token), and will be same Step token is sent to the terminal of each application binding got, answers for example, being sent to synchronous token using 1 logical server With terminal 1, terminal 2 and the terminal 3 of 1 binding.In practical applications, synchronous token (Token) may include a small amount of user's letter Breath, such as user.name.
In addition, if the login synchronizing information as described in step 102 can also be to include equal and one by one with the quantity of application Corresponding sub-information, then sub-information is sent to the logical server of the corresponding application of sub-information by sync server respectively, such as: Sub-information 1 is sent to the logical server using 1 by sync server, is directly obtained using 1 logical server and is tied up using 1 Fixed terminal;Likewise, sub-information 2 is sent to the logical server using 2 by sync server, sub-information 3 is sent to and is answered With 3 logical server;That is, sub-information pointedly can be sent to application corresponding with sub-information by sync server Logical server, without logical server from an information comprising mass data voluntarily judgement find out logic clothes The terminal of the corresponding application binding of business device, is effectively reduced the processing workload of logical server side.
Terminal after receiving synchronous token, synchronous token can be stored in terminal local (Cookie or LocalStorage);When application at the terminal sends request to logical server in the process of running, it can carry from application The synchronous token that logical server receives, so that logical server is patrolled in the carrying that the application for receiving logical server is sent When collecting the request for the synchronous token that server generates, determines that user is logged in name on account at the terminal and apply.
At one to apply 1 when user is successfully logged in name on account A on the terminal 1 in Fig. 2 and example shown in Fig. 3 Afterwards, sync server can will log in synchronizing information and be sent to the corresponding application 1 of name on account A, take using the logic of 2 and application 3 Business device;Synchronous token is generated using 1 logical server and is sent to terminal 1, terminal 2 and the terminal 3 using 1 binding, using 2 Logical server generate synchronous token and be sent to using 2 binding terminal 1, terminal 2 and terminal 3, using 3 logical services Device generates synchronous token and is sent to terminal 2, terminal 3 and the terminal 4 using 3 bindings;So, it is carried in above-mentioned application transmission When the request of synchronous token to the logical server applied, logical server can determine that user has been logged in name on account A and answer With;That is, user has been logged on the terminal 1 with name on account A after applying 1, application 1 is also synchronous in terminal 3 in terminal 2 For the logging state of name on account A, the also synchronous login for name on account A in terminal 1, terminal 2 and terminal 3 of application 2 State, the also synchronous logging state for name on account A in terminal 2, terminal 3 and terminal 4 of application 3.
In terms of existing technologies, user.name is corresponding with answering for several mutual trusts to present embodiment With the terminal that each application is bundled with for application operation;When user successfully logs in the using the name on account and password of oneself After one application, login authentication center can generate login synchronization request, and logging state is synchronized to and applies phase mutual trust with first by request The other application appointed;Sync server generates login synchronizing information according to synchronization request is logged in, and will log in synchronizing information and send To the logical server of application corresponding with user.name;It is additionally provided in present embodiment and logs in the one of synchronizing information Kind form, i.e. login synchronizing information includes sub-information, and the sub-information is equal with the quantity of the application and corresponds, each The sub-information includes the terminal of the name on account and the corresponding application binding of the sub-information, that is to say, that sync server Sub-information can be pointedly sent to the logical server of application corresponding with sub-information, without logical server from packet Voluntarily judgement finds out the terminal of the corresponding application binding of logical server in an information containing mass data, is effectively reduced The processing workload of logical server side.In addition, the quantity of the first logical server applied in present embodiment is at least Two, to realize that the equally loaded to application request, the first application pass through one of them described logical server to the login Authentication center send logging request simultaneously successfully log in, sync server will log in synchronizing information be sent to first application it is corresponding its His logical server, so that first other corresponding logical servers of application can be sent to other terminals of the first application binding The synchronous token of generation, to realize the function of synchronous logging state.After logical server receives login synchronizing information, Xiang Yuying Synchronous token is signed and issued with the terminal of binding;Since logical server is used to respond the request of corresponding application, and user's operation is tied up Determine the application in terminal to request that the synchronous token signed and issued can be carried when resource to logical server, so that logical server is receiving When to using the request for carrying synchronous token sent, it can directly determine user in above-mentioned terminal with the account name of oneself Claim to log in above-mentioned application, and returns to its resource requested to application;To sum up, using embodiments of the present invention, when user is After being logined successfully in one terminal of one application binding with name on account, first apply in other terminals of its binding it is synchronous from Dynamic logon account title, the corresponding other application of name on account also synchronize automated log on account name in all terminals of its binding Claim, inputs name on account again in the application in binding terminal without user and password logs in, reduce user The number for carrying out repeat logon operation effectively saves waiting time when using the application and the user experience is improved sense.
Second embodiment of the present invention is related to a kind of multiple terminals single-point logging method, and present embodiment is in the first embodiment party On the basis of formula, the function of synchronizing the state of publishing is also achieved.Multiple terminals single-point logging method such as Fig. 4 institute in present embodiment Show, the process of Fig. 4 illustrated below:
Step 201, receive the first application publishes synchronization request;
Specifically, user publishes button by the upper triggering name on account A of the application of any terminal first, then the first application Logical server in response to publish request, request will be published and be sent to login authentication center;Login authentication center confirms user Name on account A is above published in the first application, while sending and publishing synchronization request to sync server, wherein publishes synchronization request Including name on account A.
Step 202, according to publish synchronization request generation publish synchronizing information;
Specifically, sync server (is such as schemed according to name on account, application and the triangular corresponding relationship of terminal is prestored Shown in 3), synchronizing information is published in generation, for example, publishing synchronizing information includes that the corresponding application of name on account A, name on account A (is answered With 1, using 2 and using 3) and each using the terminal bound.
Step 203, logical server synchronizing information will be published be sent to application.
Specifically, the logical server that sync server will publish synchronizing information and be sent to application, for example, synchronous service Device will be published synchronizing information and is sent to using 1, using 2 and the logical server of application 3;It is taken using 1, using sieve of 2 and application 3 Business device saves the state that user has published name on account A in the terminal of application binding;Due to answering after user logs in using 1 It is all synchronous for logging state in the terminal of its binding with application 3 with 2, therefore when user publishes in the application 1 of terminal 1 After name on account A using 1 terminal 2 in terminal 3 also synchronize published name on account A, application 2 is in terminal 1, terminal 2 and eventually Also synchronize on end 3 and published name on account A, application 3 in terminal 2, terminal 3 and terminal 4 also synchronize published name on account A, The unification published is consistent to realizing, the effective guarantee safety of user data.
Present embodiment is in terms of existing technologies, additionally it is possible to realize the synchronization between multiple applications over multiple terminals It publishes, after user publishes name on account in a terminal of the first application binding, first applies other ends in its binding It is synchronized on end and publishes name on account, the corresponding other application of name on account also synchronizes in the terminal of its binding and publishes account name Claim, realizes that the unification published is consistent, the effective guarantee safety of user data.
Third embodiment of the present invention is related to a kind of multiple terminals single-point logging method, present embodiment and the first embodiment party Formula is roughly the same, and in second embodiment of the present invention, logging in synchronizing information further includes the status indicator that terminal has, state Mark is specially presence mark or non-presence mark.Multiple terminals single-point logging method in present embodiment is still as schemed Shown in 1:
Step 101, the login synchronization request of the first application is received;
Step 102, it is generated according to login synchronization request and logs in synchronizing information;
Step 103, login synchronizing information is sent to the logical server of application.
Specifically, in addition to prestoring name on account, application and the triangular corresponding relationship of terminal in sync server, also The status indicator that terminal for storing each application binding has, status indicator are specially presence mark or non-presence Mark;The login synchronizing information that sync server generates further includes the status indicator having using the terminal of binding, is taken for logic Business device decides whether to send synchronous token according to the state of terminal;Since non-online terminal itself can not pass through communication network The synchronous token that logical server is sent is received, therefore synchronous token is only sent to and identifies with presence by logical server Terminal, to save the processing workload of logical server side.
In addition, after synchronous token is sent to the terminal with presence mark by logical server, to not sent same Step token is to having the terminal of non-presence mark to be recorded, to be changed into the terminal identified with non-presence When presence, logical server can be judged according to record the terminal whether be due to not by transmission synchronous token and not by Synchronous logging state, and again to not sending synchronous token again by the terminal of transmission synchronous token.
Present embodiment is in terms of existing technologies, it is contemplated that non-online terminal itself can not be connect by communication network The synchronous token that logical server is sent is received, therefore the status indicator of terminal is set, to enable logical server send out synchronous token It send to the terminal identified with presence, to save the processing workload of logical server side.
4th embodiment of the invention is related to a kind of multiple terminals single-point logging method, is applied to logical server, specifically Process is as shown in Figure 5, comprising:
Step 301, the login synchronizing information that sync server is sent is received;
Step 302, according to synchronizing information is logged in, synchronous token is generated;
Step 303, synchronous token is sent to the terminal of the application binding of logical server, and is being received using transmission Carrying synchronous token request when, determine user logged in application.
The realization details of the multiple terminals single-point logging method of present embodiment is specifically described below, the following contents Only for convenience of the realization details provided is understood, not implement the necessary of this programme.
In step 301, logical server receives the login synchronizing information that sync server is sent;Wherein, it logs in and synchronizes Information logs in synchronization request by login authentication by sync server generation in the login synchronization request for receiving the first application Heart confirmation user sends out after successfully logging in first application, and logging in synchronizing information includes logging in carry in synchronization request User.name, name on account it is corresponding application and application binding terminal;In present embodiment, login authentication center It sends and logs in synchronization request, sync server sends according to login synchronization request and logs in synchronizing information to the side of logical server etc. Formula, identical as the explanation in first embodiment, details are not described herein again.
In step 302, logical server generates synchronous token (Token), synchronous token according to synchronizing information is logged in (Token) a small amount of user information, such as user.name be may include.
In step 303, synchronous token is sent to the terminal of the application binding of logical server by logical server.Specifically Ground says, when the login synchronizing information that logical server receives be one include name on account, all names on account are corresponding answers With and each application binding terminal, logical server is from logging in the terminal for getting each application in synchronizing information and binding, such as first Explanation in embodiment in step 103 obtains terminal 1, terminal 2 and the terminal 3 using 1 binding using 1 logical server; Terminal 1, terminal 2 and the terminal 3 using 2 bindings are obtained using 2 logical server;It is obtained using 3 logical server and applies 3 Terminal 2, terminal 3 and the terminal 4 of binding;Alternatively, when the login synchronizing information that logical server receives is logical server When using corresponding sub-information, logical server can be directly obtained the terminal using binding, without from including mass data An information in voluntarily judgement find out the terminal of logical server corresponding application binding, be effectively reduced logical server The processing workload of side;Then, the synchronous token of generation is sent to the terminal of each application binding got by logical server, Such as the explanation in first embodiment in step 103, synchronous token is sent to using 1 binding using 1 logical server Terminal 1, terminal 2 and terminal 3.
When terminal is after receiving synchronous token, synchronous token can be stored in terminal local (Cookie or LocalStorage);When application at the terminal sends request to logical server in the process of running, it can carry from application The synchronous token that logical server receives, so that logical server is patrolled in the carrying that the application for receiving logical server is sent When collecting the request for the synchronous token that server generates, determines that user is logged in name on account at the terminal and apply.That is, Such as the explanation in first embodiment in step 103, after user has logged in application 1 on the terminal 1 with name on account A, application 1 is tied up Fixed terminal 1, terminal 2 and terminal 3 will receive using 1 logical server synchronous token, using 2 binding terminal 1, terminal 2 and terminal 3 will receive using 2 logical server synchronous token, using 3 binding terminal 2, terminal 3 and terminal 4 will receive Using the synchronous token of 3 logical server;To send request the patrolling to application for carrying synchronous token in above-mentioned application When collecting server, logical server can determine that user has logged in the application with name on account A.
In terms of existing technologies, the logical server of application receives the login that sync server is sent to present embodiment Synchronization request generates synchronous token, and the terminal that the application that synchronous token is sent to logical server is bound, so that logic takes Business device can determine that user has logged in application when receiving the request of the carrying synchronous token sent using terminal, and to Using the resource for returning to its request;Since logical server is for responding user to all trigger requests of application, pass through The mechanism of logical server and synchronous token, by logging state be synchronized to logical server using upper so that logical server Apply in the terminal of binding and synchronize login, that is, when user applies in the terminal bound first with account After name login success, the logical server control first of the first application applies to synchronize in other terminals of its binding steps on automatically Name on account is recorded, the logical server control other application of the corresponding other application of name on account is in all terminals of its binding Also automated log on name on account is synchronized, inputs name on account and password again in the application in binding terminal without user It is logged in, reduces the number that user carries out repeat logon operation, effectively save waiting time when using the application simultaneously Sense that the user experience is improved.
Fifth embodiment of the invention is related to a kind of multiple terminals single-point logging method, the 5th embodiment and the 4th embodiment party Formula is roughly the same, and the multiple terminals single-point logging method in the 5th embodiment of the invention is as shown in Figure 6:
Step 401, the login synchronizing information that sync server is sent is received;This step is identical as step 301, herein no longer It repeats.
Step 402, according to synchronizing information is logged in, synchronous token is generated;This step is identical as step 302, no longer superfluous herein It states;
Step 403, synchronous token is sent to the terminal of the application binding of logical server;In this step and step 303 " synchronous token is sent to the terminal of the application binding of logical server " is identical, and details are not described herein again.
Step 404, judge whether synchronous token is successfully transmitted to the terminal of binding, if so, step 409 is executed, if it is not, holding Row step 405.
Specifically, due to when the terminal of binding is not online when communication connection (between terminal and logical server without), Terminal can not receive the synchronous token of logical server transmission, therefore there are synchronous tokens to send the case where failing.
Therefore, when logical server, which fails, sends synchronous token to logical server, step 405, record are executed Fail the identification code of the terminal for the binding for being successfully sent synchronous token;
When logical server is successfully transmitted synchronous token to logical server, step 409 is executed, is being received using hair When the request of the carrying synchronous token sent, determine that user has logged in application, " is being received using hair in this step and step 303 When the request of the carrying synchronous token sent, determine that user has logged in application " it is identical, details are not described herein again.
Step 406, after not being successfully sent the identification code of the terminal of the binding of synchronous token in record, application is being received When the request for not carrying synchronous token sent, judge whether that record has the identification code of the terminal carried in request, if so, executing Step 407, if it is not, executing step 408.
Specifically, the request that application is sent further includes using the identification code for sending the terminal used when request;Work as reception When to using the request for not carrying synchronous token sent, the terminal carried in request whether is recorded in decision logic server Identification code;Due to will record and fail successfully to be sent out when logical server fails and sends synchronous token to logical server The identification code of the terminal of the binding of synchronous token is sent, if therefore record has the terminal iidentification carried in request in logical server Code, explanation are to send synchronous token not successfully due to logical server to terminal, and lead to the request sent using terminal In do not carry synchronous token;If not having the host ID carried in record request in logical server, explanation is due to logic Server is not transmitted across synchronous token to terminal, and causes not carrying synchronous token in the request sent using terminal, That is using terminal be not be using binding terminal, i.e., application at the terminal not be need be synchronized log in shape State.
Step 407, synchronous token is sent to using the terminal used when sending and requesting.
Specifically, when logical server fails and sends synchronous token to logical server, will record fail by It is successfully transmitted the identification code of the terminal of the binding of synchronous token, therefore, if record has the end carried in request in logical server Identification code is held, explanation is to send synchronous token not successfully due to logical server to terminal, and cause to send using terminal Request in do not carry synchronous token;Therefore, it is used when logical server retransmits synchronous token to using transmission request Terminal can carry synchronous token when sending and request again by terminal for application, so that logical server can determine that user Log in application.
Step 408, request user actively logs in.
Specifically, explanation is due to logic if not having the host ID carried in record request in logical server Server is not transmitted across synchronous token to terminal, and causes not carrying synchronous token in the request sent using terminal, That is using terminal be not be using binding terminal, i.e., application at the terminal not be need be synchronized log in shape State;Therefore, logical server request user carries out active logon operation, in practical applications can be to provide the shape of log in page Formula enables user's input name on account and password log in.
In summary step, when user starts at the terminal in application, application can logical services by from terminal to application Device sends request, using there are following two states: when application has been judged as logging state, the logical server meeting of application The data of application request are directly returned to application;When application is not synchronized logging state, the logical server of application can be to Using the login page returned for actively logging in.
Step 409, when receiving the request using the carrying synchronous token sent, determine that user has logged in application, this " when receiving the request using the carrying synchronous token sent, judgement user has logged in application " phase in step and step 303 Together, details are not described herein again.
Present embodiment in terms of existing technologies, provides state verification machine when a kind of application of starting at the terminal System: logical server by synchronous token sending logic server application binding terminal after, judge synchronous token whether at Function is sent, and the identification code for not being successfully sent the terminal of binding of synchronous token is recorded if failed send, so that logic takes Device be engaged in when receiving the request for not carrying synchronous token, it can be according to the mark for the terminal for including in the request for not carrying synchronous token Know code also can to judge whether terminal is the terminal that be not successfully sent synchronous token by transmission synchronous token The operation for sending synchronous token is re-started to realize the synchronization to logging state;If being not that needs are same using at the terminal Logging state is walked, then requests user to be normally carried out register.
Sixth embodiment of the invention is related to a kind of sync server, as shown in fig. 7, comprises: message service center 701, Termination management module 702 and service management module 703.
Message service center 701 is used to receive the login synchronization request of the first application;Wherein, the login synchronization request by Login authentication center is sent out after confirmation user successfully logs in first application, and the login synchronization request includes institute State user.name;
Message service center 701, which is also used to be generated according to the login synchronization request, logs in synchronizing information;Wherein, described to step on Record synchronizing information includes the terminal of the name on account, the corresponding application of the name on account and application binding;It is described to answer With including first application;
Message service center 701 is also used to for the login synchronizing information being sent to the logical server of the application, with Synchronous token is generated according to the login synchronizing information for the logical server and the synchronous token is sent to described answer With the terminal of binding, and when receiving the request for the carrying synchronous token that the application is sent, the user has been determined Log in the application;
Termination management module 702 is used to store the first corresponding relationship of name on account, application and terminal, as shown in Figure 3;
Service management module 703 is used to store the second corresponding relationship using with logical server, as shown in figure 8, real The quantity using counterlogic server is not intended to limit on border;Service management module is also stored with logical server information, such as The address logical server ip and logical server port numbers, convenient for being grasped in later maintenance to the upper undercarriage of logical server Make, the logical server information that need to only modify the second corresponding relationship and storage that store in service management module 703 can be realized The restocking of logical server or undercarriage.
Wherein, message service center 701 obtains account name from the first corresponding relationship stored in termination management module 702 Claim the terminal of corresponding application and application binding, and obtains and answer from the second corresponding relationship stored in service management module 703 Logical server.
In an example, message service center 701 generate login synchronizing information include sub-information, the sub-information with The quantity of the application is equal and corresponds;Each sub-information includes that the name on account and the sub-information are corresponding Using the terminal of binding;The logical server that the login synchronizing information is sent to the application, specifically, will be described Sub-information is sent to the logical server of the corresponding application of the sub-information.
In an example, what message service center 701 was also used to receive the first application publishes synchronization request;Wherein, institute It states and publishes synchronization request and sent out after confirming that the user publishes first application by the login authentication center, and institute Stating and publishing synchronization request includes the user.name;Message service center 701 is also used to publish to synchronize according to and ask It seeks survival into and publishes synchronizing information;Wherein, the synchronizing information of publishing includes the user.name, the name on account pair The terminal of the application answered and application binding;The application includes first application;Message service center 701 be also used to by The logical server published synchronizing information and be sent to the application, so that the logical server saves the user in institute State the state that the application has been published in the terminal using binding.
In an example, first application logical server quantity at least there are two, and it is described first application pass through One of them described logical server sends logging request to the login authentication center and successfully logs in;First application Synchronization request is logged in, further includes the login logical server of first application;Wherein, the login logical server is described The logical server that first application sends logging request to the login authentication center and uses when successfully logging in;In messaging service The login synchronizing information is sent to the logical server of first application by the heart 701, comprising: by the login synchronizing information It is sent to the logical server in addition to the login logical server of first application.
In an example, the login synchronizing information that message service center 701 generates further includes the end of the application binding The status indicator having is held, and the status indicator is that presence identifies or non-presence identifies, for logic clothes Business device is according to the terminal with presence mark that the synchronous token is sent to the application binding.
Present embodiments provide for a kind of be made of message service center, termination management module and service management module it is same Server is walked, message service center, termination management module and service management module independently can be managed and safeguard, so that together The framework for walking server is more stable, has wide applicability.
Seventh embodiment of the invention is related to a kind of multiple terminals single-node login system, as shown in Figure 2, comprising: be equipped with and answer Terminal, the logical server of application, the sync server in login authentication center and sixth embodiment.
In present embodiment, sync server is connected with login authentication center to center communications, receives first of installation at the terminal The login synchronization request of application;Wherein, described in the login synchronization request is successfully logged in as login authentication center in confirmation user It is sent out after first application, and the login synchronization request includes the user.name;
Sync server generates according to the login synchronization request and logs in synchronizing information;Wherein, the login synchronizing information Terminal including the name on account, the corresponding application of the name on account and application binding;The application includes described First application;
Sync server and the communication connection of the logical server of application, are sent to the application for the login synchronizing information Logical server, so that the logical server generates synchronous token according to the login synchronizing information and synchronous enables described Board is sent to the terminal of the application binding, and when receiving the request for the carrying synchronous token that the application is sent, Determine that the user has logged in the application.
Present embodiment in terms of existing technologies, provides a kind of multiple terminals single-node login system, wherein synchronous clothes Business device receives the login synchronization request of the first application of installation at the terminal;Wherein, the login synchronization request is by login authentication Center is sent out after confirmation user successfully logs in first application, and the login synchronization request includes the user Name on account;It is generated according to the login synchronization request and logs in synchronizing information;Wherein, the login synchronizing information includes the account Name in an account book claims, the terminal of the corresponding application of the name on account and application binding;The application includes first application;It will The logical server for logging in synchronizing information and being sent to the application, so that the logical server is synchronized according to the login Information generates synchronous token, and the synchronous token is sent to the terminal of the application binding, and receiving the application When the request of the carrying synchronous token of transmission, determine that the user has logged in the application;That is, the account of user Title is corresponding with the application of several mutual trusts, the terminal that each application is bundled with for application operation;When user uses certainly After oneself name on account and password successfully logs in the first application, login authentication center can generate login synchronization request, and request will step on State synchronized is recorded to the other application with the first application mutual trust;Sync server generates login together according to synchronization request is logged in Information is walked, and login synchronizing information is sent to the logical server of application corresponding with user.name, thus logic Server can sign and issue synchronous token to the terminal with application binding according to synchronizing information is logged in;Since logical server is for ringing The request of corresponding application is answered, and the application in user's operation binding terminal is requested to carry when resource and be signed and issued to logical server Synchronous token, thus logical server receive using send the request for carrying synchronous token when, can directly determine User logs in above-mentioned application in above-mentioned terminal with the name on account of oneself, and returns to its resource requested to application;To sum up, Using embodiments of the present invention, after user is logined successfully in a terminal of the first application binding with name on account, the One applies the synchronous automated log on name on account in other terminals of its binding, and the corresponding other application of name on account is in its binding All terminals on also synchronize automated log on name on account, without user binding terminal on application in input account again Name in an account book claims to be logged in password, reduces the number that user carries out repeat logon operation, effectively saves when using the application Waiting time and the user experience is improved sense.
Eighth embodiment of the invention is related to a kind of computer readable storage medium, is stored with computer program.Computer Above-mentioned multiple terminals single-point logging method embodiment is realized when program is executed by processor.
That is, it will be understood by those skilled in the art that implement the method for the above embodiments be can be with Relevant hardware is instructed to complete by program, which is stored in a storage medium, including some instructions are to make It obtains an equipment (can be single-chip microcontroller, chip etc.) or processor (processor) executes each embodiment method of the application All or part of the steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention, And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.

Claims (16)

1. a kind of multiple terminals single-point logging method, which is characterized in that be applied to sync server, the multiple terminals single-sign-on side Method includes:
Receive the login synchronization request of the first application;Wherein, the login synchronization request is by login authentication center in confirmation user Success is sent out after logging in first application, and the login synchronization request includes the user.name;
It is generated according to the login synchronization request and logs in synchronizing information;Wherein, the login synchronizing information includes the account name Claim, the terminal of the corresponding application of the name on account and application binding;The application includes first application;
The login synchronizing information is sent to the logical server of the application, so that the logical server is stepped on according to Record synchronizing information generates synchronous token and the synchronous token is sent to the terminal of the application binding, and described receiving Using the carrying synchronous token of transmission request when, determine that the user has logged in the application.
2. multiple terminals single-point logging method according to claim 1, which is characterized in that
The login synchronizing information includes sub-information, and the sub-information is equal with the quantity of the application and corresponds;Each The sub-information includes the terminal of the name on account and the corresponding application binding of the sub-information;
It is described that the login synchronizing information is sent to the logical server of the application, specifically, the sub-information is sent To the logical server of the corresponding application of the sub-information.
3. according to claim 1 or 2 described in any item multiple terminals single-point logging methods, which is characterized in that further include:
Receive the first application publishes synchronization request;Wherein, the synchronization request of publishing is being confirmed by the login authentication center The user sends out after publishing first application, and the synchronization request of publishing includes the user.name;
According to it is described publish synchronization request generation publish synchronizing information;Wherein, the synchronizing information of publishing includes the account name Claim, the terminal of the corresponding application of the name on account and application binding;The application includes first application;
By the logical server published synchronizing information and be sent to the application, so that the logical server saves the use The state of the application is published in the terminal that the application is bound in family.
4. multiple terminals single-point logging method according to claim 1, which is characterized in that the logical services of first application The quantity of device at least there are two, and first application by one of them described logical server to the login authentication center It sends logging request and successfully logs in;
It is described to log in the login logical server that synchronization request further includes first application;Wherein, the login logical services Device is the logical server that first application sends logging request to the login authentication center and uses when successfully logging in;
It is described that the login synchronizing information is sent in the logical server of the application, when the application is answered for described first The login synchronizing information is sent to the logical services in addition to the login logical server of first application by the used time Device.
5. multiple terminals single-point logging method according to claim 1, which is characterized in that the login synchronizing information further includes The status indicator that the terminal of the application binding has, and the status indicator is presence mark or non-presence mark Know, so that the logical server has presence mark for what the synchronous token was sent to application binding according to described The terminal of knowledge.
6. a kind of multiple terminals single-point logging method, which is characterized in that be applied to logical server, the multiple terminals single-sign-on side Method includes:
Receive the login synchronizing information that sync server is sent;Wherein, the login synchronizing information is existed by the sync server Generation when receiving the login synchronization request of the first application, the login synchronization request is by login authentication center confirmation user's success Log in it is described first application after send out, and the login synchronizing information include carried in the login synchronization request it is described The terminal of the corresponding application of user.name, the name on account and application binding;The application includes described One application;
According to the login synchronizing information, synchronous token is generated;
The synchronous token is sent to the terminal of the application binding of the logical server, and is sent receiving the application The carrying synchronous token request when, determine that the user has logged in the application.
7. multiple terminals single-point logging method according to claim 6, which is characterized in that send out the synchronous token described It send to the terminal of the application binding of the logical server, judges whether the synchronous token is successfully transmitted to the binding Terminal;
If the synchronous token is sent to the terminal of the binding not successfully, records and be not successfully sent the synchronous token The identification code of the terminal of the binding.
8. multiple terminals single-point logging method according to claim 7, which is characterized in that the request further includes the application Send the identification code of the terminal used when the request;
The multiple terminals single-point logging method further include: do not carry asking for the synchronous token receive that the application sends When asking, the identification code that the terminal carried in the request whether is recorded in the logical server is judged;
If so, sending the synchronous token to the application sends the terminal used when the request.
9. a kind of sync server characterized by comprising message service center, termination management module and service management module;
The message service center is used to receive the login synchronization request of the first application;Wherein, the login synchronization request is by stepping on Record authentication center sends out after confirmation user successfully logs in first application, and the login synchronization request includes described User.name;
The message service center, which is also used to be generated according to the login synchronization request, logs in synchronizing information;Wherein, the login Synchronizing information includes the terminal of the name on account, the corresponding application of the name on account and application binding;The application Including first application;
The message service center is also used to for the login synchronizing information being sent to the logical server of the application, for institute Logical server is stated to generate synchronous token according to the login synchronizing information and the synchronous token is sent to the application ties up Fixed terminal, and when receiving the request for the carrying synchronous token that the application is sent, determine that the user has logged in The application;
The first corresponding relationship of name on account, application and terminal is stored in the termination management module;The service management mould It is stored in block using the second corresponding relationship with logical server;Wherein, the message service center is corresponding from described first The terminal of the corresponding application of the name on account and application binding is obtained in relationship, and is obtained from second corresponding relationship Take the logical server of the application.
10. sync server according to claim 9, which is characterized in that
The login synchronizing information includes sub-information, and the sub-information is equal with the quantity of the application and corresponds;Each The sub-information includes the terminal of the name on account and the corresponding application binding of the sub-information;
It is described that the login synchronizing information is sent to the logical server of the application, specifically, the sub-information is sent To the logical server of the corresponding application of the sub-information.
11. according to the described in any item sync servers of claim 9 or 10, which is characterized in that further include:
What the message service center was also used to receive the first application publishes synchronization request;Wherein, it is described publish synchronization request by The login authentication center is sent out after confirming that the user publishes first application, and described publishes synchronization request packet Include the user.name;
The message service center is also used to publish synchronization request generation according to and publishes synchronizing information;Wherein, described to publish Synchronizing information includes the terminal of the user.name, the corresponding application of the name on account and application binding;Institute It states using including first application;
The message service center is also used to by the logical server published synchronizing information and be sent to the application, for institute It states logical server and saves the state that the user has published the application in the terminal that the application is bound.
12. sync server according to claim 9, which is characterized in that the number of the logical server of first application Amount at least there are two, and it is described first application by one of them described logical server to the login authentication center send step on Record is requested and is successfully logged in;
The login synchronization request of first application further includes the login logical server of first application;Wherein, described to step on Record logical server is that first application sends logging request to the login authentication center and what is used when successfully logging in patrols Collect server;
The login synchronizing information is sent to the logical server of first application, comprising:
The login synchronizing information is sent to the logical server in addition to the login logical server of first application.
13. sync server according to claim 9, which is characterized in that the login synchronizing information further includes described answers The status indicator having with the terminal of binding, and the status indicator is that presence identifies or non-presence identifies, for The logical server is according to the end with presence mark that the synchronous token is sent to the application binding End.
14. a kind of multiple terminals single-node login system characterized by comprising be equipped with the terminal of application, the logic of the application Server, sync server described in login authentication center and claim 9 to 13;
The terminal and logical server communication connection, it is the logical server and the login authentication center, described same Step server communicates to connect respectively;The login authentication center and sync server communication connection;
It sends to log in the login authentication center by the logical server when application logs on the terminal and ask It asks;The login authentication center is successfully logged in for being confirmed whether to allow to log according to the logging request, and in confirmation user When send and log in synchronization request to the sync server.
15. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the computer program is located It manages and realizes that claim such as requires 1 to 5 described in any item multiple terminals single-point logging methods when device executes.
16. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the computer program is located It manages and realizes that claim such as requires 6 to 8 described in any item multiple terminals single-point logging methods when device executes.
CN201910392812.8A 2019-05-13 2019-05-13 Multi-terminal single sign-on method, system, synchronous server and medium Expired - Fee Related CN110278187B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910392812.8A CN110278187B (en) 2019-05-13 2019-05-13 Multi-terminal single sign-on method, system, synchronous server and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910392812.8A CN110278187B (en) 2019-05-13 2019-05-13 Multi-terminal single sign-on method, system, synchronous server and medium

Publications (2)

Publication Number Publication Date
CN110278187A true CN110278187A (en) 2019-09-24
CN110278187B CN110278187B (en) 2021-11-16

Family

ID=67959794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910392812.8A Expired - Fee Related CN110278187B (en) 2019-05-13 2019-05-13 Multi-terminal single sign-on method, system, synchronous server and medium

Country Status (1)

Country Link
CN (1) CN110278187B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111600888A (en) * 2020-05-18 2020-08-28 海尔优家智能科技(北京)有限公司 Method and device for login verification and login verification system
CN112487390A (en) * 2020-11-27 2021-03-12 网宿科技股份有限公司 Micro-service switching method and system
CN112738021A (en) * 2020-12-02 2021-04-30 海能达通信股份有限公司 Single sign-on method, terminal, application server, authentication server and medium
CN113225188A (en) * 2020-01-19 2021-08-06 华为技术有限公司 Login authentication method, device and system
CN113301050A (en) * 2021-05-26 2021-08-24 重庆紫光华山智安科技有限公司 Multi-user real-time login and logout management method, system, terminal and medium for webpage
CN113422752A (en) * 2020-10-30 2021-09-21 阿里巴巴集团控股有限公司 User login processing method and device and electronic equipment
CN113656779A (en) * 2021-08-17 2021-11-16 浙江中控技术股份有限公司 User login method, system, electronic equipment and storage medium
CN114139135A (en) * 2022-02-08 2022-03-04 深圳希施玛数据科技有限公司 Equipment login management method, device and storage medium
CN114679302A (en) * 2022-03-01 2022-06-28 中信百信银行股份有限公司 Method, device, equipment and storage medium for docking single sign-on system
CN114866335A (en) * 2022-06-09 2022-08-05 三星电子(中国)研发中心 Password synchronization method, electronic equipment and server for password synchronization

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050154886A1 (en) * 2004-01-12 2005-07-14 International Business Machines Corporation Declarative trust model between reverse proxy server and websphere application server
US20080072301A1 (en) * 2004-07-09 2008-03-20 Matsushita Electric Industrial Co., Ltd. System And Method For Managing User Authentication And Service Authorization To Achieve Single-Sign-On To Access Multiple Network Interfaces
US20120291114A1 (en) * 2011-05-13 2012-11-15 Cch Incorporated Single sign-on between applications
EP2913777A1 (en) * 2014-02-27 2015-09-02 Veritrix, Inc. Methods of authenticating users to a site
CN104917728A (en) * 2014-03-13 2015-09-16 盈止道明(北京)科技发展有限公司 Implementation method of cross-terminal single sign-on system
CN105100071A (en) * 2015-06-30 2015-11-25 华为技术有限公司 Login method, device and system
US20150381605A1 (en) * 2013-03-08 2015-12-31 Sk Planet Co., Ltd. Method, system and apparatus for authentication using application
CN105659558A (en) * 2013-09-20 2016-06-08 甲骨文国际公司 Multiple resource servers with single, flexible, pluggable OAuth server and OAuth-protected RESTful OAuth consent management service, and mobile application single sign on OAuth service
CN106209726A (en) * 2015-04-30 2016-12-07 中兴通讯股份有限公司 A kind of Mobile solution single-point logging method and device
US20170223009A1 (en) * 2014-10-13 2017-08-03 Netiq Corporation Late binding authentication
CN107294917A (en) * 2016-03-31 2017-10-24 阿里巴巴集团控股有限公司 One kind trusts login method and device
CN108156159A (en) * 2017-12-27 2018-06-12 质数链网科技成都有限公司 A kind of multi-application system login method and block chain distribution general ledger system
CN108200089A (en) * 2018-02-07 2018-06-22 腾讯云计算(北京)有限责任公司 Implementation method, device, system and the storage medium of information security

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050154886A1 (en) * 2004-01-12 2005-07-14 International Business Machines Corporation Declarative trust model between reverse proxy server and websphere application server
US20080072301A1 (en) * 2004-07-09 2008-03-20 Matsushita Electric Industrial Co., Ltd. System And Method For Managing User Authentication And Service Authorization To Achieve Single-Sign-On To Access Multiple Network Interfaces
US20120291114A1 (en) * 2011-05-13 2012-11-15 Cch Incorporated Single sign-on between applications
US20150381605A1 (en) * 2013-03-08 2015-12-31 Sk Planet Co., Ltd. Method, system and apparatus for authentication using application
CN105659558A (en) * 2013-09-20 2016-06-08 甲骨文国际公司 Multiple resource servers with single, flexible, pluggable OAuth server and OAuth-protected RESTful OAuth consent management service, and mobile application single sign on OAuth service
EP2913777A1 (en) * 2014-02-27 2015-09-02 Veritrix, Inc. Methods of authenticating users to a site
CN104917728A (en) * 2014-03-13 2015-09-16 盈止道明(北京)科技发展有限公司 Implementation method of cross-terminal single sign-on system
US20170223009A1 (en) * 2014-10-13 2017-08-03 Netiq Corporation Late binding authentication
CN106209726A (en) * 2015-04-30 2016-12-07 中兴通讯股份有限公司 A kind of Mobile solution single-point logging method and device
CN105100071A (en) * 2015-06-30 2015-11-25 华为技术有限公司 Login method, device and system
CN107294917A (en) * 2016-03-31 2017-10-24 阿里巴巴集团控股有限公司 One kind trusts login method and device
CN108156159A (en) * 2017-12-27 2018-06-12 质数链网科技成都有限公司 A kind of multi-application system login method and block chain distribution general ledger system
CN108200089A (en) * 2018-02-07 2018-06-22 腾讯云计算(北京)有限责任公司 Implementation method, device, system and the storage medium of information security

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113225188B (en) * 2020-01-19 2023-09-22 华为技术有限公司 Login authentication method, device and system
CN113225188A (en) * 2020-01-19 2021-08-06 华为技术有限公司 Login authentication method, device and system
CN111600888A (en) * 2020-05-18 2020-08-28 海尔优家智能科技(北京)有限公司 Method and device for login verification and login verification system
CN113422752A (en) * 2020-10-30 2021-09-21 阿里巴巴集团控股有限公司 User login processing method and device and electronic equipment
CN113422752B (en) * 2020-10-30 2024-03-26 阿里巴巴集团控股有限公司 User login processing method and device and electronic equipment
CN112487390A (en) * 2020-11-27 2021-03-12 网宿科技股份有限公司 Micro-service switching method and system
CN112738021A (en) * 2020-12-02 2021-04-30 海能达通信股份有限公司 Single sign-on method, terminal, application server, authentication server and medium
CN112738021B (en) * 2020-12-02 2023-10-24 海能达通信股份有限公司 Single sign-on method, terminal, application server, authentication server and medium
CN113301050A (en) * 2021-05-26 2021-08-24 重庆紫光华山智安科技有限公司 Multi-user real-time login and logout management method, system, terminal and medium for webpage
CN113656779A (en) * 2021-08-17 2021-11-16 浙江中控技术股份有限公司 User login method, system, electronic equipment and storage medium
CN114139135B (en) * 2022-02-08 2022-06-21 深圳希施玛数据科技有限公司 Equipment login management method, device and storage medium
CN114139135A (en) * 2022-02-08 2022-03-04 深圳希施玛数据科技有限公司 Equipment login management method, device and storage medium
CN114679302A (en) * 2022-03-01 2022-06-28 中信百信银行股份有限公司 Method, device, equipment and storage medium for docking single sign-on system
CN114679302B (en) * 2022-03-01 2024-05-10 中信百信银行股份有限公司 Method, device, equipment and storage medium for docking single sign-on system
CN114866335A (en) * 2022-06-09 2022-08-05 三星电子(中国)研发中心 Password synchronization method, electronic equipment and server for password synchronization

Also Published As

Publication number Publication date
CN110278187B (en) 2021-11-16

Similar Documents

Publication Publication Date Title
CN110278187A (en) Multiple terminals single-point logging method, system, sync server and medium
US8555339B2 (en) Identifying guests in web meetings
WO2018095416A1 (en) Information processing method, device and system
CN105450581B (en) The method and apparatus of permission control
EP4161012A1 (en) Authentication method and apparatus, electronic device, server, program, and storage medium
JP2006502496A (en) Method and system for communicating in a client-server network
CN101296243A (en) Service integration platform system and method for providing internet service
TW200810460A (en) Authentication of a principal in a federation
CN106330816A (en) Method and system for logging in cloud desktop
CN103384237A (en) Method for sharing IaaS cloud account, shared platform and network device
CN109413096A (en) A kind of login method and device more applied
CN110636057B (en) Application access method and device and computer readable storage medium
CN106331003B (en) The access method and device of application door system on a kind of cloud desktop
CN112800411A (en) Multi-protocol and multi-mode supporting safe and reliable identity authentication method and device
JP4897503B2 (en) Account linking system, account linking method, linkage server device
CN109067785A (en) Cluster authentication method, device
CN103856454B (en) IP IP multimedia subsystem, IMSs and the method and business intercommunication gateway of Internet service intercommunication
CN105071965B (en) A kind of management system of the network equipment
WO2002093337A2 (en) Method and apparatus for multiple token access to thin client architecture session
CN109729139A (en) Access request retransmission method, device, equipment and readable storage medium storing program for executing
CN107948210A (en) A kind of login method, device, client, server and medium
CN105743922B (en) The method, apparatus and system of inter-domain communication
CN113411324B (en) Method and system for realizing login authentication based on CAS and third-party server
CN101594342A (en) log recording method and device
CN104767672A (en) Account relation establishing method and 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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20211116