WO2017107732A1 - 登录状态同步方法和系统 - Google Patents

登录状态同步方法和系统 Download PDF

Info

Publication number
WO2017107732A1
WO2017107732A1 PCT/CN2016/107007 CN2016107007W WO2017107732A1 WO 2017107732 A1 WO2017107732 A1 WO 2017107732A1 CN 2016107007 W CN2016107007 W CN 2016107007W WO 2017107732 A1 WO2017107732 A1 WO 2017107732A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
web
token
authentication center
login
Prior art date
Application number
PCT/CN2016/107007
Other languages
English (en)
French (fr)
Inventor
陈俊良
钟龙
陈焕文
Original Assignee
广州爱九游信息技术有限公司
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 广州爱九游信息技术有限公司 filed Critical 广州爱九游信息技术有限公司
Publication of WO2017107732A1 publication Critical patent/WO2017107732A1/zh

Links

Images

Classifications

    • 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]
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/321Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority
    • H04L9/3213Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority using tickets or tokens, e.g. Kerberos

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to a login state synchronization method and system.
  • Internet service providers have developed client applications for a variety of smart terminals (such as mobile phones, iPads, etc.) for their products.
  • client applications such as mobile phones, iPads, etc.
  • Internet service providers often embed multiple web services in their client applications (which may be the same Internet service provider as the client applications).
  • the web business of the company can also be the web service of the Internet provider that has a cooperative relationship with it, so that users can experience different web services when opening the client application.
  • a user When a user opens a client application installed on a smart terminal such as a mobile phone or an iPad, it is generally required to log in to the client application to obtain a better service experience, and the user opens the web service embedded in the client application. Generally, you also need to log in. Since the client application and the web service adopt different login and state retention mechanisms, after the client application login is completed, the user needs to re-enter the login information to complete the login on the web service, which is cumbersome and inconvenient to reduce. User experience.
  • One technical problem to be solved by the present invention is to provide a login state synchronization method and system that can conveniently synchronize the login status of a web service embedded in a client application on a client device with the login status of a client application.
  • a method for synchronizing login status for synchronizing a login status of a web service embedded in a client application on a client device with a login status of a client application, wherein the client application
  • the web service is logged in through the application authentication center, and the web service is logged in through the web authentication center.
  • the method includes: in response to the access request from the client application for accessing the web service, the web service server obtains from the first cookie carried by the access request Applying an application token issued by the certificate authority to the client application, and providing the application token to the web authentication center, the application token is an identifier for maintaining the login status of the user to the client application; the web authentication center sends the application token The application authentication center obtains the account login information corresponding to the application token from the application authentication center, and completes the login of the web service based on the account login information.
  • the web service server can send the access request carrying the application token to the web authentication center, and the web authentication center takes the application token to authenticate to the application authentication center, and the application authentication center confirms that the application token is correct.
  • the account login information corresponding to the application token can be sent to the web authentication center, thereby implementing login of the web service, whereby the user opens other web services in the client application after completing the login of the client application (other
  • the web service may be a web service owned by an Internet service provider to which the client application belongs, or may be a web service owned by an Internet provider that has a cooperative relationship with each other or can implement an account with each other. You must re-enter the account login information to automatically complete the login of the web service.
  • the method may further include: after completing the login of the web service, the web authentication center further generates a web token, and sends the account login information and the web token to the web service server, where the web token is used to maintain the user pair An identifier of the login status of the web service; the web service server implants the web token into the second cookie, and sends the second cookie and the page data corresponding to the web service to the client application on the client device.
  • the web service server may insert the web token generated by the web authentication center into the second cookie, and send the second cookie and the page data corresponding to the web service to the client application on the client device for the user.
  • Browse After completing the login of the web service, the login status of the web service can be maintained based on the web token, and the login status of the client application is maintained by the application token.
  • the web service and the client application can log out asynchronously, that is, when one of the web service and the client application logs out, the login status of the other is not affected.
  • the web service server may further be provided with a certificate center software development toolkit, that is, an SDK, and the web service server may obtain an application token from the first cookie through the SDK, and provide an application order to the web authentication center through the SDK.
  • the card receives the account login information and the web token from the web authentication center through the SDK, and implants the web token into the second cookie through the SDK.
  • the method may further include: saving a correspondence between the application token and the web token corresponding to the same user in a cache of the client device; in the case where both the application token and the web token exist, according to the corresponding The relationship verifies that the application token and the web token correspond to the same user.
  • the method may further comprise: in the case that the application token and the web token are determined to correspond to the same user, the client device uses the web token to maintain the login status of all web services embedded in the client application.
  • the plurality of web services embedded in the client application can be maintained based on one web token. Login status.
  • the method may further include: in response to the user inputting the account login information in the client application, the client device sends the account login information to the application authentication center by using the client application; and the application authentication center determines that the account login information is correct.
  • the client device sends the account login information to the application authentication center by using the client application; and the application authentication center determines that the account login information is correct.
  • Complete the login of the client application generate an application token, and send the application token to the client application; in response to the user request to access the web service in the client application, the application token is implanted into the first cookie, And sending an access request to the web service server, the access request carrying the first cookie.
  • the application authentication center sends an application token to the client application to maintain the login status of the client application. Thereafter, when the user logs in to the web service in the client application, the user can send an access request with the application token to the web service server corresponding to the web service to obtain the login information of the user.
  • the method may further include: the application authentication center determines, according to the application token from the web authentication center, whether the corresponding user has completed the login of the client application, and determines that the login of the client application is completed, and the user is The account login information is sent to the web authentication center.
  • the application authentication center can determine whether the app token is valid by determining whether the user corresponding to the app token completes the login of the APP, so that the user can log in to a certain extent. safety.
  • a system for login state synchronization for synchronizing a login status of a web service embedded in a client application on a client device with a login status of a client application
  • the system The client device, the web service server, the web authentication center, the application authentication center, the client device is installed on the client device, the client application logs in through the application authentication center, and the web service logs in through the web authentication center, wherein, in response to The web service server obtains an application token issued by the application authentication center to the client application from the first cookie carried by the client application, and provides the application token to the web authentication.
  • the application token is used to maintain the login status of the user to the client application; the web authentication center sends the application token to the application authentication center; the application authentication center determines whether the corresponding user has completed the client application based on the application token.
  • Login and in the case of determining that the login of the client application has been completed, The user's account login information to the web and Certification Center; Certification Center login web-based account login information to complete the web service.
  • the web authentication center may further generate a web token, and send the account login information and the web token to the web service server, where the web token is used to maintain the user pair.
  • the identifier of the login status of the web service the web service server implants the web token into the second cookie, and sends the second cookie and the page data corresponding to the web service to the client application on the client device.
  • the web service server may further be provided with a certificate center software development kit, that is, an SDK, and the web service server acquires an application token from the first cookie through the SDK.
  • the application token is provided to the web authentication center through the SDK, the account login information and the web token are received from the web authentication center through the SDK, and the web token is implanted into the second cookie through the SDK.
  • the client device may save the correspondence between the application token and the web token corresponding to the same user in the cache of the client device; in the case where both the application token and the web token exist simultaneously
  • the client device can verify, according to the correspondence, whether the application token and the web token correspond to the same user.
  • the client device in the case where it is determined that the application token and the web token correspond to the same user, can use the web token to maintain the login status of all web services embedded in the client application.
  • the system may further include: in response to the user inputting the account login information in the client application, the client device sends the account login information to the application authentication center by using the client application; and the application authentication center determines that the account login information is correct.
  • the client device sends the account login information to the application authentication center by using the client application; and the application authentication center determines that the account login information is correct.
  • Complete the login of the client application generate an application token, and send the application token to the client application; in response to the user request to access the web service in the client application, the application token is implanted into the first cookie, And sending an access request to the web service server, the access request carrying the first cookie.
  • the user can complete the web service without re-entering the account login information when opening the web service embedded in the client application. Login to improve the user experience.
  • FIG. 1 is a schematic structural diagram of a login state synchronization system according to an embodiment of the present invention, and schematically shows the workflow of the system.
  • FIG. 2 is a schematic structural diagram of a login state synchronization system according to another embodiment of the present invention.
  • the embodiment of the invention discloses a login state synchronization method and system.
  • the login state synchronization method and system according to the embodiment of the invention can enable a client application embedded in a client device (such as a mobile device, an iPad, etc.). That is, the login status of the web service in the APP, the same below is synchronized with the login status of the client application.
  • a client device such as a mobile device, an iPad, etc.
  • the login status of the web service in the APP the same below is synchronized with the login status of the client application.
  • the user can complete the login of the web service without re-entering the account login information.
  • the web service embedded in the APP on the client device may be a web service belonging to the same Internet service provider as the APP, or may have a cooperative relationship with each other (ie, the two parties can mutually The web service of the Internet provider that is logged in by each other's account.
  • the login state synchronization method and system of the embodiment of the present invention mainly sends an application token (ie, an app token) to maintain an APP login state to an application authentication center, to obtain account login information corresponding to the app token, based on the acquisition.
  • the login information of the account can realize the login of the web service embedded in the APP.
  • FIG. 1 is a schematic structural diagram of a login state synchronization system according to an embodiment of the present invention, and schematically shows the workflow of the system.
  • the system includes a client device 1, a web service server 2, a web authentication center 3, and an application authentication center 4, and an APP is provided on the client device 1.
  • the APP on the client device 1 can log in through the application authentication center 4, and the web service embedded in the APP can be logged in through the corresponding web service server 2 and the web authentication center 3.
  • a login state synchronization method in accordance with the principles of embodiments of the present invention can be performed.
  • step S110 in response to the access request, the web service server acquires an app token issued by the application authentication center to the APP from the access request, and provides the app token to the web authentication center.
  • the access request is a request for accessing a web service sent from the APP, and the data of the request carries a cookie (in order to facilitate distinguishing between cookies in other places in the embodiment of the present invention, which may be referred to as a first cookie), first
  • the cookie contains an app token, where the app token is an identifier issued by the application authentication center to the APP for maintaining the login status of the user to the APP.
  • the web service server 2 After receiving the access request sent by the client device 1, the web service server 2 extracts the app token from the first cookie in the access request, and sends the app token to the web authentication center 3.
  • step S120 the web authentication center 3 sends the app token to the application authentication center 4, acquires the account login information corresponding to the app token from the application authentication center 4, and completes the login of the web service based on the account login information.
  • the application authentication center 4 After receiving the app token sent from the web authentication center 3, the application authentication center 4 can find the account login information corresponding to the app token from the saved account login information base, and log the account login information. Sent to web authentication center 3, so web authentication center 3 The login of the web service can be completed based on the account login information.
  • the application authentication center 4 may further determine, based on the app token from the web authentication center 3, whether the corresponding user has completed the login of the APP, and in the case of determining that the login of the APP has been completed, the user's The account login information is sent to the web authentication center 3.
  • the application authentication center 4 can determine whether the app token is valid by determining whether the user corresponding to the app token completes the login of the APP, so that the user can be guaranteed to a certain extent. Login security.
  • the login state synchronization method in the embodiment of the present invention may further include step S130 and step S140.
  • the web authentication center 3 may also generate a web token (ie, a web token), and send the account login information and the web token to the web service server 2.
  • the web token is an identifier used to maintain the login status of the user to the web service.
  • the login status of the web service can be maintained based on the web token, and as can be seen from the above, the login status of the APP is maintained by the app token. Therefore, the APP and the web service embedded therein can log out asynchronously, that is, when one of the web service and the client application logs out, it does not affect the login status of the other.
  • step S140 the web service server 2 implants the web token into the second cookie, and sends the second cookie and the page data corresponding to the web service to the APP on the client device.
  • the web service server After the web service server obtains the web token from the web authentication center, the web token can be implanted into the second cookie, and the second cookie is returned to the APP along with the page data requested by the user. Thus, the user can browse their desired web page in the APP.
  • the login state synchronization method in the embodiment of the present invention mainly passes The data transmission between the client device 1, the web service server 2, the web authentication center 3, and the application authentication center 4 is implemented. Therefore, in order to implement the login state synchronization method in the embodiment of the present invention, it is necessary to perform a certain modification on each device, so that each device can support the login state synchronization method in the embodiment of the present invention. Since the structure and functions of the above various devices are all perfect, additional modifications to the above devices are bound to increase the implementation cost.
  • the authentication center software development kit may be set on the web service server. (ie SDK).
  • the SDK can assist in the transfer of data between systems.
  • the web service server 2 can obtain an app token from the first cookie through the SDK, provide an app token to the web authentication center 3 through the SDK, receive account login information and web token from the web authentication center 3 through the SDK, and send the web through the SDK.
  • the token is implanted into the second cookie.
  • the correspondence between the app token and the web token corresponding to the same user may be saved in the cache of the client device 1, and the case where the app token and the web token exist simultaneously Next, it is judged according to the correspondence relationship whether the app token and the web token correspond to the same user.
  • the client device 1 uses the web token to maintain the login status of all web services embedded in the APP.
  • the correspondence between the app token and the web token can also be saved. Thereafter, the user opens another in the APP.
  • a web service it can first check whether the app token and the web token exist at the same time from the first cookie and the second cookie. In the case where there is no web token, the above login state synchronization method may be re-executed to implement login of the web service; in the case where both the app token and the web token exist, the app token and the web may be verified according to the saved correspondence. Whether the token corresponds to the same user, if it is judged to be a user, the web token can be used to issue an authentication request to the corresponding web authentication center 3 to maintain the login status of the web service.
  • the login state synchronization method described above is used to synchronize the login status of one web service embedded in the APP on the client device 1 with the login status of the APP, the other embedded in the APP is opened.
  • the login of the web service can be realized without repeating the steps of the above method.
  • the login state synchronization method in the embodiment of the present invention may further perform steps S60, S70, and S80 before performing the above steps.
  • the steps S60 and S70 describe mainly the operations that the client device 1 and the application authentication center 4 can perform during the APP login process
  • the step S80 is the operations that the client device 1 can perform when the user desires to access the web service from the APP. .
  • step S60 in response to the user inputting the account login information in the APP, the client device 1 transmits the account login information to the application authentication center 4 through the APP.
  • step S70 the application authentication center 4 completes the APP without determining that the account login information is correct. Login, generate app token, and send the app token to the app.
  • step S80 in response to the user's request to access the web service in the APP, the app token is implanted into the first cookie, and an access request is sent to the web service server 2, the access request carrying the first cookie.
  • the application authentication center 4 sends an APP app token to maintain the login status of the APP. Thereafter, when the user logs in to the web service in the APP, the user can send an access request with an app token to the web service server 2 corresponding to the web service to obtain the login information of the user.
  • FIG. 2 is a block diagram showing the structure of a login state synchronization system according to another embodiment of the present invention.
  • the login state synchronization system of another embodiment of the present invention includes a client device 1, a web service server 2, a web authentication center 3, and an application authentication center 4.
  • the APP is installed on the client device 1, and the APP can log in through the application authentication center 4.
  • the web service embedded in the APP can be logged in through the corresponding web service server 2 and the web authentication center 3.
  • S1 to S7 in the figure describe a process of logging in from the APP to synchronize the login state of the web service embedded in the APP with the login state of the APP.
  • the direction of the arrow from S1 to S7 indicates the data Transmission direction.
  • the client device 1 In response to the user inputting the account login information in the APP on the client device 1, the client device 1 sends the account login information to the application authentication center 4 through the APP.
  • the application authentication center 4 completes the login of the APP by determining that the account login information is correct, generates an app token, and sends the app token to the APP.
  • the app token is implanted into the first cookie, and an access request is sent to the web service server 2, the access request carrying the first cookie.
  • the web service server 2 obtains the app token issued by the application authentication center 4 to the APP from the first cookie carried by the access request, and provides the app token to the web authentication.
  • the app token application token is an identifier used to maintain the login status of the user to the client application.
  • the web authentication center 3 sends the app token to the application authentication center 4.
  • the application authentication center 4 determines whether the corresponding user has completed the login of the APP based on the app token, and sends the account login information of the user to the web authentication center 3 when it is determined that the login of the APP has been completed.
  • the web authentication center 3 completes the login of the web service based on the account login information, generates a web token, and sends the account login information and the web token to the web service server 2.
  • the web token is an identifier used to maintain the login status of the user to the web service.
  • the web service server 2 implants the web token into the second cookie, and sends the second cookie and the page data corresponding to the web service to the APP on the client device 1.
  • the web service server 2 may also be provided with a certification center software development kit, that is, SDK.
  • SDK a certification center software development kit
  • the web service server 2 can acquire the app token from the first cookie through the SDK (S3 in the figure), and provide the app token (S4 in the figure) to the web authentication center 3 through the SDK, and receive the account login from the web authentication center 3 through the SDK.
  • Information and web tokens (S7 in the figure), and the web token is embedded into the second cookie via the SDK (S8 in the figure).
  • the client device 1 can also save the correspondence between the app token and the web token corresponding to the same user in the cache of the client device 1. In the case where both the app token and the web token exist, the client device 1 responds according to the corresponding The relationship verifies whether the app token and the web token correspond to the same user.
  • the client device 1 uses the web token to maintain the login status of all web services embedded in the APP.
  • the method according to the invention can also be implemented as a computer program comprising computer program code instructions for performing the various steps defined above in the above method of the invention.
  • the method according to the invention may also be embodied as a computer program product comprising a computer readable medium on which is stored a computer for performing the above-described functions defined in the above method of the invention program.
  • the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both.
  • each block in the flowchart or block diagram can represent a module, a block, or a portion of code
  • a portion of the code contains one or more executable instructions for implementing the specified logical functions.
  • the functions noted in the blocks may also occur in a different order than the ones in the drawings. For example, two consecutive blocks may be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or operation. Or it can be implemented by a combination of dedicated hardware and computer instructions.

Abstract

本发明公开了一种登录状态同步方法和系统,其中客户端应用通过应用认证中心进行登录,web业务通过web认证中心进行登录,该方法包括:响应于从客户端应用发出的访问web业务的访问请求,web业务服务器从访问请求所携带的第一cookie中获取由应用认证中心颁发给客户端应用的应用令牌,并将应用令牌提供给web认证中心,应用令牌是用于保持用户对客户端应用的登录状态的标识;web认证中心将应用令牌发送给应用认证中心,从应用认证中心获取对应于应用令牌的账户登录信息,并基于账户登录信息完成web业务的登录。由此,就能够将嵌入在客户端设备上的客户端应用中的web业务的登录状态与客户端应用的登录状态同步。

Description

登录状态同步方法和系统
本申请要求于2015年12月24日提交中国专利局、申请号为CN201511000063.8、发明名称为“登录状态同步方法和系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及互联网技术领域,特别是涉及一种登录状态同步方法和系统。
背景技术
随着智能终端的普及与发展,目前大多数互联网服务提供商针对其产品都开发了适用于多种智能终端(如手机、iPad等)的客户端应用。而为了更好地满足用户的需求、提高应用的竞争力,互联网服务提供商还常常在其开发的客户端应用中嵌入多个web业务(其中,可以是与客户端应用属于同一互联网服务提供商旗下的web业务,也可以是与之有合作关系的互联网提供商旗下的web业务),使得用户在打开客户端应用时,还可以体验不同的web业务。
其中,用户在使用手机、iPad等智能终端打开安装在其上的客户端应用时,一般需要登录客户端应用以获取更好地服务体验,而用户在打开嵌入在客户端应用中的web业务时,一般也需要进行登录。由于客户端应用和web业务采用了不同的登录及状态保持机制,使得在客户端应用登录完成后,还需要用户重新输入登录信息以完成在web业务上的登录,操作繁琐,十分不方便,降低用户的体验。
因此,需要一种登录状态同步方法和系统,其能够方便地将嵌入在客 户端设备上的客户端应用中的web业务的登录状态与客户端应用的登录状态同步。
发明内容
本发明要解决的一个技术问题是提供一种登录状态同步方法和系统,其能够方便地将嵌入在客户端设备上的客户端应用中的web业务的登录状态与客户端应用的登录状态同步。
根据本发明的一个方面,公开了一种登录状态同步的方法,用于使嵌入在客户端设备上的客户端应用中的web业务的登录状态与客户端应用的登录状态同步,其中客户端应用通过应用认证中心进行登录,web业务通过web认证中心进行登录,该方法包括:响应于从客户端应用发出的访问web业务的访问请求,web业务服务器从访问请求所携带的第一cookie中获取由应用认证中心颁发给客户端应用的应用令牌,并将应用令牌提供给web认证中心,应用令牌是用于保持用户对客户端应用的登录状态的标识;web认证中心将应用令牌发送给应用认证中心,从应用认证中心获取对应于应用令牌的账户登录信息,并基于账户登录信息完成web业务的登录。
这样,web业务服务器可以将携带有应用令牌的访问请求发送给web认证中心,由web认证中心拿着应用令牌向应用认证中心进行认证,应用认证中心在确认应用令牌无误的情况下,就可以将与该应用令牌对应的账户登录信息发送给web认证中心,从而实现web业务的登录,由此,用户在完成客户端应用的登录后,在客户端应用中打开其它web业务(其它web业务可以是客户端应用所属的互联网服务提供商旗下的web业务,也可以是与之有合作关系或互相可以实现账号通用的互联网提供商旗下的web业务)时,不 必重新输入账户登录信息,就可以自动完成web业务的登录。
优选地,该方法还可以包括:web认证中心在完成web业务的登录之后,还生成web令牌,并将账户登录信息和web令牌发送给web业务服务器,web令牌是用于保持用户对web业务的登录状态的标识;web业务服务器将web令牌植入到第二cookie中,并且将第二cookie和web业务对应的页面数据发送给客户端设备上的所述客户端应用。
由此,web业务服务器可以将web认证中心生成的web令牌植入到第二cookie中,并将第二cookie和web业务对应的页面数据发送给客户端设备上的客户端应用,以供用户浏览。此外,在完成web业务的登录后,基于web令牌就可以保持web业务的登录状态,而客户端应用的登录状态是通过应用令牌保持的。使得web业务和客户端应用可以异步退出登录,即web业务和客户端应用中的一个退出登录时,不会影响另一个的登录状态。
优选地,在该方法中,web业务服务器上还可以设置有认证中心软件开发工具包,即SDK,web业务服务器可以通过SDK从第一cookie获取应用令牌,通过SDK向web认证中心提供应用令牌,通过SDK从web认证中心接收账户登录信息和web令牌,并通过SDK将web令牌植入到第二cookie中。
由此,可以通过SDK实现web业务服务器和web认证中心之间的数据传输。这样,不需要再对web业务服务器及web认证中心做较多改动,就可以实现相应的功能,从而可以大大节省开发成本。
优选地,该方法还可以包括:将对应于相同用户的应用令牌和web令牌的对应关系保存在客户端设备的缓存中;在同时存在应用令牌和web令牌的情况下,根据对应关系验证应用令牌和web令牌是否对应于同一个用户。
由此,在同时存在应用令牌和web令牌的情况下,可以将其与保存在客户端设备的缓存中的对应关系进行比较,以验证二者是否同一用户,以避免由于篡改而造成危险登录的发生,保护账户安全。
优选地,该方法还可以包括:在判定应用令牌和web令牌对应于同一个用户的情况下,客户端设备使用web令牌保持嵌入在客户端应用中的所有web业务的登录状态。
由此,在同时存在应用令牌和web令牌,并判定应用令牌和web令牌对应于同一个用户时,基于一个web令牌就可以保持嵌入在客户端应用中的多个web业务的登录状态。
优选地,该方法还可以包括:响应于用户在客户端应用中输入账户登录信息,客户端设备通过客户端应用将账户登录信息发送给应用认证中心;应用认证中心在判定账户登录信息无误的情况下完成客户端应用的登录,生成应用令牌,并将应用令牌发送给客户端应用;响应于用户在客户端应用中访问web业务的请求,将应用令牌植入到第一cookie中,并向web业务服务器发送访问请求,访问请求携带第一cookie。
由此,在客户端应用登录完成后,应用认证中心会发送给客户端应用一个应用令牌,以保持客户端应用的登录状态。此后,用户在客户端应用中登录web业务时,就可以向该web业务所对应的web业务服务器发送带有应用令牌的访问请求,以获取用户的登录信息。
优选地,该方法还可以包括:应用认证中心基于来自web认证中心的应用令牌判断对应的用户是否已经完成客户端应用的登录,并在判定已完成客户端应用的登录的情况下,将用户的账户登录信息发送给web认证中心。
由此,应用认证中心在获取来自web认证中心的app token后,可以通过判断app token所对应的用户是否完成APP的登录,来判断app token是否有效,这样,可以在一定程度上保证用户登录的安全性。
根据本发明的另一个方面,还公开了一种登录状态同步的系统,用于使嵌入在客户端设备上的客户端应用中的web业务的登录状态与客户端应用的登录状态同步,该系统包括客户端设备、web业务服务器、web认证中心、应用认证中心,客户端设备上安装有客户端应用,客户端应用通过应用认证中心进行登录,web业务通过web认证中心进行登录,其中,响应于从客户端应用发出的访问web业务的访问请求,web业务服务器从访问请求所携带的第一cookie中获取由应用认证中心颁发给客户端应用的应用令牌,并将应用令牌提供给web认证中心,应用令牌是用于保持用户对客户端应用的登录状态的标识;web认证中心将应用令牌发送给应用认证中心;应用认证中心基于应用令牌判断对应的用户是否已经完成客户端应用的登录,并在判定已完成客户端应用的登录的情况下,将用户的账户登录信息发送给web认证中心;web认证中心基于账户登录信息完成web业务的登录。
优选地,在该系统中,web认证中心在完成web业务的登录之后,还可以生成web令牌,并将账户登录信息和web令牌发送给web业务服务器,web令牌是用于保持用户对web业务的登录状态的标识;web业务服务器将web令牌植入到第二cookie中,并且将第二cookie和web业务对应的页面数据发送给客户端设备上的客户端应用。
优选地,在该系统中,web业务服务器上还可以设置有认证中心软件开发工具包,即SDK,web业务服务器通过SDK从第一cookie获取应用令牌, 通过SDK向web认证中心提供应用令牌,通过SDK从web认证中心接收账户登录信息和web令牌,并通过SDK将web令牌植入到第二cookie中。
优选地,在该系统中,客户端设备可以将对应于相同用户的应用令牌和web令牌的对应关系保存在客户端设备的缓存中;在同时存在应用令牌和web令牌的情况下,客户端设备可以根据对应关系验证应用令牌和web令牌是否对应于同一个用户。
优选地,在该系统中,在判定应用令牌和web令牌对应于同一个用户的情况下,客户端设备可以使用web令牌保持嵌入在客户端应用中的所有web业务的登录状态。
优选地,该系统还可以包括:响应于用户在客户端应用中输入账户登录信息,客户端设备通过客户端应用将账户登录信息发送给应用认证中心;应用认证中心在判定账户登录信息无误的情况下完成客户端应用的登录,生成应用令牌,并将应用令牌发送给客户端应用;响应于用户在客户端应用中访问web业务的请求,将应用令牌植入到第一cookie中,并向web业务服务器发送访问请求,访问请求携带第一cookie。
综上,基于本发明公开的登录状态同步方法和系统,用户在完成客户端应用的登录后,在打开嵌入在客户端应用中的web业务时,不需要重新输入账户登录信息即可完成web业务的登录,提高用户的使用体验。
附图说明
通过结合附图对本公开示例性实施方式进行更详细的描述,本公开的上述以及其它目的、特征和优势将变得更加明显,其中,在本公开示例性实施方式中,相同的参考标号通常代表相同部件。
图1示出了本发明一实施例的登录状态同步系统的示意性结构图,并示意性地示出了该系统的工作流程。
图2示出了本发明另一实施例的登录状态同步系统的示意性结构图。
具体实施方式
下面将参照附图更详细地描述本公开的优选实施方式。虽然附图中显示了本公开的优选实施方式,然而应该理解,可以以各种形式实现本公开而不应被这里阐述的实施方式所限制。相反,提供这些实施方式是为了使本公开更加透彻和完整,并且能够将本公开的范围完整地传达给本领域的技术人员。
本发明实施例公开了一种登录状态同步方法和系统,基于本发明实施例的登录状态同步方法和系统,可以使嵌入在客户端设备(如手机、iPad等终端设备)上的客户端应用(即APP,下同)中的web业务的登录状态与客户端应用的登录状态同步。具体地说,用户在完成APP的登录后,在APP中打开嵌入在其内的其它web业务时,不需要重新输入账户登录信息,即可完成web业务的登录。其中,对于本发明实施例而言,嵌入在客户端设备上的APP中的web业务可以是与APP属于同一互联网服务提供商旗下的web业务,也可以是与之有合作关系(即双方可以互相通过彼此的账号实现登录)的互联网提供商旗下的web业务。
本发明实施例的登录状态同步方法和系统主要是通过将用以保持APP登录状态的应用令牌(即app token)发送给应用认证中心,以获取与app token相对应的账户登录信息,基于获取的账户登录信息就可以实现嵌入在APP中的web业务的登录。
图1示出了本发明实施例的登录状态同步系统的示意性结构图,并示意性地示出了该系统的工作流程。
如图1所示,系统包括客户端设备1、web业务服务器2、web认证中心3以及应用认证中心4,客户端设备1上设有APP。其中,客户端设备1上的APP可以通过应用认证中心4进行登录,嵌入在APP中的web业务可以通过相应的web业务服务器2以及web认证中心3进行登录。基于该系统,可以执行根据本发明实施例原理的登录状态同步方法。
下面结合图1详细叙述本发明实施例的登录状态同步方法。
在步骤S110,响应于访问请求,web业务服务器从访问请求获取由应用认证中心颁发给APP的app token,并将该app token提供给web认证中心。
其中,访问请求是从APP发出的用于访问web业务的请求,该请求的数据中带有cookie(为了便于区分本发明实施例其它地方的cookie,此处可以称为第一cookie),第一cookie中含有app token,其中,app token是应用认证中心颁发给APP的用于保持用户对APP的登录状态的标识。
在接收到客户端设备1发来的访问请求后,web业务服务器2从访问请求中的第一cookie中抽取app token,并将该app token发送给web认证中心3。
在步骤S120,web认证中心3将app token发送给应用认证中心4,从应用认证中心4获取对应于app token的账户登录信息,并基于账户登录信息完成web业务的登录。
应用认证中心4在接收到从web认证中心3发来的app token后,应用认证中心4可以从其保存的账户登录信息库中找出与app token对应的账户登录信息,并将该账户登录信息发送给web认证中心3,这样,web认证中心3就 可以基于账户登录信息完成web业务的登录。
另外,应用认证中心4在判定app token有效后,还可以基于来自web认证中心3的app token判断对应的用户是否已经完成APP的登录,并在判定已完成APP的登录的情况下,将用户的账户登录信息发送给web认证中心3。
由此,应用认证中心4在获取来自web认证中心3的app token后,可以通过判断app token所对应的用户是否完成APP的登录,来判断app token是否有效,这样,可以在一定程度上保证用户登录的安全性。
可选地,本发明实施例的登录状态同步方法还可以包括步骤S130、步骤S140。
在步骤S130,在完成web业务的登录之后,web认证中心3还可以生成web令牌(即web token),并将账户登录信息和web token发送给web业务服务器2。其中,web token是用于保持用户对web业务的登录状态的标识。
由此,基于web token就可以保持web业务的登录状态,而由上文可知,APP的登录状态是通过app token保持的。因此,APP和嵌入在其内的web业务可以异步退出登录,即web业务和客户端应用中的一个退出登录时,不会影响另一个的登录状态。
在步骤S140,web业务服务器2将web token植入到第二cookie中,并且将第二cookie和web业务对应的页面数据发送给客户端设备上的APP。
web业务服务器从web认证中心获取web token后,就可以将web token植入到第二cookie,并将第二cookie连同用户请求的页面数据一起返回给APP。由此,用户就可以在APP中浏览其期望的web页面。
由图1及上文叙述可知,本发明实施例的登录状态同步方法主要是通过 客户端设备1、web业务服务器2、web认证中心3以及应用认证中心4之间的数据传输来实现的。因此,为了实现本发明实施例的登录状态同步方法,需要对上述各个设备进行一定的改造,以使得上述各个设备可以支持本发明实施例的登录状态同步方法。而由于上述各个设备的结构、功能都是已经完善的,对上述设备进行额外的改造势必会增加实施成本。
因此,为了在实现本发明实施例的登录状态同步方法的基础上,降低改造web业务服务器2、web认证中心3、应用认证中心4的成本,可以在web业务服务器上设置认证中心软件开发工具包(即SDK)。
SDK可以辅助实现系统内部之间的数据传输。具体地说,web业务服务器2可以通过SDK从第一cookie获取app token,通过SDK向web认证中心3提供app token,通过SDK从web认证中心3接收账户登录信息和web token,并通过SDK将web token植入到第二cookie中。
这样,通过在web业务服务器2上增加SDK,就可以不用再对图1所示系统中的设备进行过多改造,使得在实现嵌入在客户端设备1上的APP中的web业务的登录状态与APP登录状态同步的同时,系统间的耦合度低,无需改变现有系统中各设备的逻辑,大大节约实施成本。
另外,作为优选,在执行完步骤S130、S140之后,还可以将对应于相同用户的app token和web token的对应关系保存在客户端设备1的缓存中,在同时存在app token和web token的情况下,根据对应关系判断app token和web token是否对应于同一个用户。
在判定app token和web token对应于同一个用户的情况下,客户端设备1使用web token保持嵌入在APP中的所有web业务的登录状态。
也就是说,在使嵌入在客户端设备1上的APP中的web业务的登录状态与APP的登录状态同步之后,还可以保存app token和web token的对应关系,此后,用户在APP中打开另一个web业务时,可以首先从第一cookie和第二cookie中查看是否同时存在app token和web token。在不存在web token的情况下,可以重新执行上述登录状态同步的方法,以实现该web业务的登录;在同时存在app token和web token的情况下,可以根据保存的对应关系验证app token和web token是否对应于同一个用户,在判断是一个用户的情况下,可以利用该web token向对应的web认证中心3发出认证请求,以保持该web业务的登录状态。
由此,在再用上文所述的登录状态同步方法使嵌入在客户端设备上1的APP中的一个web业务的登录状态与APP的登录状态同步之后,在打开嵌入在APP中的另一个web业务时,不必再重复执行上述方法的步骤,就可以实现该web业务的登录。
上文给出了web业务服务器2和web认证中心3为执行本发明实施例的登录状态同步方法所进行的动作。
如图1所示,作为优选,本发明实施例的登录状态同步方法在执行上述步骤前还可以执行步骤S60、S70、S80。其中,步骤S60和S70描述的主要是APP登录过程中,客户端设备1与应用认证中心4可以执行的操作,步骤S80则是用户期望从APP访问web业务时,客户端设备1可以执行的操作。
在步骤S60,响应于用户在APP中输入账户登录信息,客户端设备1通过APP将账户登录信息发送给应用认证中心4。
在步骤S70,应用认证中心4在判定账户登录信息无误的情况下完成APP 的登录,生成app token,并将app token发送给APP。
在步骤S80、响应于用户在APP中访问web业务的请求,将app token植入到第一cookie中,并向web业务服务器2发送访问请求,访问请求携带第一cookie。
由此,在APP登录完成后,应用认证中心4会发送APP一个app token,以保持APP的登录状态。此后,用户在APP中登录web业务时,就可以向该web业务所对应的web业务服务器2发送带有app token的访问请求,以获取用户的登录信息。
以上参考图1所示的登录状态同步系统描述了根据本发明实施例原理的登录状态同步方法。应该知道,上述方法中的各个步骤都可以通过系统中相应的设备完成。
下面参考图2描述一个具体实施例下的本发明登录状态同步系统的工作过程。下面描述的系统的工作过程分别与上面参考图1所描述的相应步骤的功能相同。因此对于一些细节不再赘述,可以参考上文中的相应描述。
图2示出了根据本发明另一个实施例的登录状态同步系统的结构示意图。
如图2所示,本发明另一个实施例的登录状态同步系统包括客户端设备1、web业务服务器2、web认证中心3以及应用认证中心4。其中,客户端设备1上安装有APP,APP可以通过应用认证中心4进行登录,嵌入在APP中的web业务可以通过相应的web业务服务器2以及web认证中心3进行登录。
图中S1至S7描述了从APP登录到使嵌入在APP中的web业务的登录状态与APP的登录状态同步的过程。其中,S1至S7的箭头方向表示了数据的 传输方向。
S1,响应于用户在客户端设备1上的APP中输入账户登录信息,客户端设备1通过APP将账户登录信息发送给应用认证中心4。
S2,应用认证中心4在判定账户登录信息无误的情况下完成APP的登录,生成app token,并将app token发送给APP。
S3,响应于用户在APP中访问web业务的请求,将app token植入到第一cookie中,并向web业务服务器2发送访问请求,该访问请求携带有第一cookie。
S4,响应于从APP发出的访问web业务的访问请求,web业务服务器2从访问请求所携带的第一cookie中获取由应用认证中心4颁发给APP的app token,并将app token提供给web认证中心3。其中,app token应用令牌是用于保持用户对客户端应用的登录状态的标识。
S5,web认证中心3将app token发送给应用认证中心4。
S6,应用认证中心4基于app token判断对应的用户是否已经完成APP的登录,并在判定已完成APP的登录的情况下,将用户的账户登录信息发送给web认证中心3。
S7,web认证中心3基于账户登录信息完成web业务的登录,并生成web token,并将账户登录信息和web token发送给web业务服务器2。其中,web token是用于保持用户对web业务的登录状态的标识。
S8,web业务服务器2将web令牌植入到第二cookie中,并且将第二cookie和web业务对应的页面数据发送给客户端设备1上的APP。
其中,web业务服务器2上还可以设置有认证中心软件开发工具包,即 SDK。此时,web业务服务器2可以通过SDK从第一cookie获取app token(图中S3),并通过SDK向web认证中心3提供app token(图中S4),通过SDK从web认证中心3接收账户登录信息和web令牌(图中S7),并通过SDK将web令牌植入到第二cookie中(图中S8)。
另外,客户端设备1还可以将对应于相同用户的app token和web token的对应关系保存在客户端设备1的缓存中,在同时存在app token和web token的情况下,客户端设备1根据对应关系验证app token和web token是否对应于同一个用户。
在判定app token和web token对应于同一个用户的情况下,客户端设备1使用web token保持嵌入在APP中的所有web业务的登录状态。
上文中已经参考附图详细描述了根据本发明的登录状态同步方法和系统。
此外,根据本发明的方法还可以实现为一种计算机程序,该计算机程序包括用于执行本发明的上述方法中限定的上述各步骤的计算机程序代码指令。或者,根据本发明的方法还可以实现为一种计算机程序产品,该计算机程序产品包括计算机可读介质,在该计算机可读介质上存储有用于执行本发明的上述方法中限定的上述功能的计算机程序。本领域技术人员还将明白的是,结合这里的公开所描述的各种示例性逻辑块、模块、电路和算法步骤可以被实现为电子硬件、计算机软件或两者的组合。
附图中的流程图和框图显示了根据本发明的多个实施例的系统和方法的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代 码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标记的功能也可以以不同于附图中所标记的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
以上已经描述了本发明的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。

Claims (13)

  1. 一种登录状态同步的方法,用于使嵌入在客户端设备上的客户端应用中的web业务的登录状态与所述客户端应用的登录状态同步,其中所述客户端应用通过应用认证中心进行登录,所述web业务通过web认证中心进行登录,该方法包括:
    响应于从所述客户端应用发出的访问所述web业务的访问请求,web业务服务器从所述访问请求所携带的第一cookie中获取由所述应用认证中心颁发给所述客户端应用的应用令牌,并将所述应用令牌提供给所述web认证中心,所述应用令牌是用于保持用户对客户端应用的登录状态的标识;
    所述web认证中心将所述应用令牌发送给所述应用认证中心,从所述应用认证中心获取对应于所述应用令牌的账户登录信息,并基于所述账户登录信息完成所述web业务的登录。
  2. 根据权利要求1所述的方法,还包括:
    所述web认证中心在完成所述web业务的登录之后,还生成web令牌,并将所述账户登录信息和所述web令牌发送给所述web业务服务器,所述web令牌是用于保持用户对web业务的登录状态的标识;
    所述web业务服务器将所述web令牌植入到第二cookie中,并且将所述第二cookie和所述web业务对应的页面数据发送给所述客户端设备上的所述客户端应用。
  3. 根据权利要求2所述的方法,其中,
    所述web业务服务器上设置有认证中心软件开发工具包,即SDK,
    所述web业务服务器通过所述SDK从所述第一cookie获取所述应用令牌, 通过所述SDK向所述web认证中心提供应用令牌,通过所述SDK从所述web认证中心接收所述账户登录信息和所述web令牌,并通过所述SDK将web令牌植入到所述第二cookie中。
  4. 根据权利要求2所述的方法,还包括:
    将对应于相同用户的应用令牌和web令牌的对应关系保存在所述客户端设备的缓存中;
    在同时存在应用令牌和web令牌的情况下,根据所述对应关系验证所述应用令牌和所述web令牌是否对应于同一个用户。
  5. 根据权利要求4所述的方法,还包括:
    在判定所述应用令牌和所述web令牌对应于同一个用户的情况下,所述客户端设备使用所述web令牌保持嵌入在所述客户端应用中的所有web业务的登录状态。
  6. 根据权利要求1至5中任何一项所述的方法,还包括:
    响应于用户在所述客户端应用中输入账户登录信息,所述客户端设备通过所述客户端应用将所述账户登录信息发送给所述应用认证中心;
    所述应用认证中心在判定所述账户登录信息无误的情况下完成客户端应用的登录,生成应用令牌,并将所述应用令牌发送给所述客户端应用;
    响应于用户在所述客户端应用中访问所述web业务的请求,将所述应用令牌植入到所述第一cookie中,并向所述web业务服务器发送所述访问请求,所述访问请求携带所述第一cookie。
  7. 根据权利要求1至5中任何一项所述的方法,还包括:
    所述应用认证中心基于来自所述web认证中心的所述应用令牌判断对 应的用户是否已经完成所述客户端应用的登录,并在判定已完成客户端应用的登录的情况下,将所述用户的账户登录信息发送给所述web认证中心。
  8. 一种登录状态同步的系统,用于使嵌入在客户端设备上的客户端应用中的web业务的登录状态与所述客户端应用的登录状态同步,该系统包括客户端设备、web业务服务器、web认证中心、应用认证中心,所述客户端设备上安装有所述客户端应用,所述客户端应用通过所述应用认证中心进行登录,所述web业务通过所述web认证中心进行登录,其中,
    响应于从所述客户端应用发出的访问所述web业务的访问请求,所述web业务服务器从所述访问请求所携带的第一cookie中获取由所述应用认证中心颁发给所述客户端应用的应用令牌,并将所述应用令牌提供给所述web认证中心,所述应用令牌是用于保持用户对客户端应用的登录状态的标识;
    所述web认证中心将所述应用令牌发送给所述应用认证中心;
    所述应用认证中心基于所述应用令牌判断对应的用户是否已经完成所述客户端应用的登录,并在判定已完成客户端应用的登录的情况下,将所述用户的账户登录信息发送给所述web认证中心;
    所述web认证中心基于所述账户登录信息完成所述web业务的登录。
  9. 根据权利要求8所述的系统,其中,
    所述web认证中心在完成所述web业务的登录之后,还生成web令牌,并将所述账户登录信息和所述web令牌发送给所述web业务服务器,所述web令牌是用于保持用户对web业务的登录状态的标识;
    所述web业务服务器将所述web令牌植入到第二cookie中,并且将所述第二cookie和所述web业务对应的页面数据发送给所述客户端设备上的所述 客户端应用。
  10. 根据权利要求9所述的系统,其中,
    所述web业务服务器上设置有认证中心软件开发工具包,即SDK,
    所述web业务服务器通过所述SDK从所述第一cookie获取所述应用令牌,通过所述SDK向所述web认证中心提供应用令牌,通过所述SDK从所述web认证中心接收所述账户登录信息和所述web令牌,并通过所述SDK将web令牌植入到所述第二cookie中。
  11. 根据权利要求9所述的系统,其中,
    所述客户端设备将对应于相同用户的应用令牌和web令牌的对应关系保存在所述客户端设备的缓存中;
    在同时存在应用令牌和web令牌的情况下,所述客户端设备根据所述对应关系验证所述应用令牌和所述web令牌是否对应于同一个用户。
  12. 根据权利要求11所述的系统,其中,
    在判定所述应用令牌和所述web令牌对应于同一个用户的情况下,所述客户端设备使用所述web令牌保持嵌入在所述客户端应用中的所有web业务的登录状态。
  13. 根据权利要求8至12中任何一项所述的系统,还包括:
    响应于用户在所述客户端应用中输入账户登录信息,所述客户端设备通过所述客户端应用将所述账户登录信息发送给所述应用认证中心;
    所述应用认证中心在判定所述账户登录信息无误的情况下完成客户端应用的登录,生成应用令牌,并将所述应用令牌发送给所述客户端应用;
    响应于用户在所述客户端应用中访问所述web业务的请求,将所述应用 令牌植入到所述第一cookie中,并向所述web业务服务器发送所述访问请求,所述访问请求携带所述第一cookie。
PCT/CN2016/107007 2015-12-24 2016-11-24 登录状态同步方法和系统 WO2017107732A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201511000063.8A CN105610938B (zh) 2015-12-24 2015-12-24 登录状态同步方法和系统
CN201511000063.8 2015-12-24

Publications (1)

Publication Number Publication Date
WO2017107732A1 true WO2017107732A1 (zh) 2017-06-29

Family

ID=55990472

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/107007 WO2017107732A1 (zh) 2015-12-24 2016-11-24 登录状态同步方法和系统

Country Status (2)

Country Link
CN (1) CN105610938B (zh)
WO (1) WO2017107732A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107769930A (zh) * 2017-11-20 2018-03-06 飞天诚信科技股份有限公司 一种认证方式转接方法及装置
CN110730171A (zh) * 2019-10-10 2020-01-24 北京东软望海科技有限公司 业务请求的处理方法、装置、系统、电子设备及存储介质
CN111935092A (zh) * 2020-07-10 2020-11-13 上海淇毓信息科技有限公司 一种基于第三方应用的信息交互方法、装置和电子设备
CN114385995A (zh) * 2022-01-06 2022-04-22 徐工汉云技术股份有限公司 一种基于Handle的标识解析微服务接入工业互联网的方法及标识服务系统
CN114385995B (zh) * 2022-01-06 2024-05-17 徐工汉云技术股份有限公司 一种基于Handle的标识解析微服务接入工业互联网的方法及标识服务系统

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105610938B (zh) * 2015-12-24 2019-02-15 广州爱九游信息技术有限公司 登录状态同步方法和系统
CN107688570B (zh) * 2016-08-03 2021-04-30 腾讯科技(深圳)有限公司 一种网页信息处理方法和系统
CN106878250B (zh) * 2016-08-19 2020-05-05 阿里巴巴集团控股有限公司 跨应用的单态登录方法及装置
CN107659544A (zh) * 2016-08-26 2018-02-02 平安科技(深圳)有限公司 应用合并部署系统和方法
CN107634942B (zh) * 2017-09-08 2020-07-31 北京京东尚科信息技术有限公司 识别恶意请求的方法和装置
ES2778451T3 (es) * 2017-11-22 2020-08-10 Siemens Ag Protección de procedimientos de inicio de sesión
CN108173846B (zh) * 2017-12-27 2021-05-04 北京小米移动软件有限公司 登录方法及装置
TWI690885B (zh) * 2018-01-05 2020-04-11 三竹資訊股份有限公司 利用股票看盤軟體兌換股東會贈品之裝置與方法
CN109005159B (zh) * 2018-07-03 2021-02-19 中国联合网络通信集团有限公司 终端访问系统服务器的数据处理方法与认证服务器
CN109302422B (zh) * 2018-11-22 2022-02-25 北京顺丰同城科技有限公司 一种登录移动应用的方法、移动终端、电子设备、系统及存储介质
CN109802835A (zh) * 2019-01-25 2019-05-24 北京中电普华信息技术有限公司 一种安全认证方法、系统及api网关
CN111565165B (zh) * 2019-12-06 2022-06-28 广州微算互联信息技术有限公司 一种云手机认证、维持和状态变更系统及方法
CN111367573B (zh) * 2020-03-12 2021-10-22 腾讯科技(深圳)有限公司 设备登陆方法、装置、存储介质和计算机设备
CN113055371A (zh) * 2021-03-09 2021-06-29 上海明略人工智能(集团)有限公司 一种物联tcp设备登录认证方法和系统
CN112883357A (zh) * 2021-03-11 2021-06-01 中科三清科技有限公司 无状态登录鉴权方法和装置
CN113472774B (zh) * 2021-06-29 2022-10-25 平安普惠企业管理有限公司 账号免登录方法、系统、设备及计算机可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080085502A1 (en) * 2006-10-04 2008-04-10 Ecollege.Com Web service api for student information and course management systems
CN102946603A (zh) * 2012-10-31 2013-02-27 重庆市电力公司 电力云系统中基于社交特性的统一身份认证方法
CN104580406A (zh) * 2014-12-23 2015-04-29 北京百度网讯科技有限公司 一种同步登录状态的方法和装置
CN105610938A (zh) * 2015-12-24 2016-05-25 广州爱九游信息技术有限公司 登录状态同步方法和系统

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656714B (zh) * 2008-08-18 2012-12-05 鼎新电脑股份有限公司 单一登入方法
CN102065141B (zh) * 2010-12-27 2014-05-07 广州欢网科技有限责任公司 一种跨应用与浏览器实现单点登录的方法及系统
CN103457738B (zh) * 2013-08-30 2017-02-22 优视科技有限公司 基于浏览器的登陆处理方法及系统
CN103780627A (zh) * 2014-01-30 2014-05-07 吴锦洲 NativeAPP、WebAPP与类微信APP信息同步系统
EP3108612B1 (en) * 2014-02-18 2020-07-22 Secureauth Corporation Fingerprint based authentication for single sign on
CN104301316A (zh) * 2014-10-13 2015-01-21 中国电子科技集团公司第二十八研究所 一种单点登录系统及其实现方法
CN105188060A (zh) * 2015-10-12 2015-12-23 深圳竹云科技有限公司 一种面向移动终端的单点登录认证方法及系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080085502A1 (en) * 2006-10-04 2008-04-10 Ecollege.Com Web service api for student information and course management systems
CN102946603A (zh) * 2012-10-31 2013-02-27 重庆市电力公司 电力云系统中基于社交特性的统一身份认证方法
CN104580406A (zh) * 2014-12-23 2015-04-29 北京百度网讯科技有限公司 一种同步登录状态的方法和装置
CN105610938A (zh) * 2015-12-24 2016-05-25 广州爱九游信息技术有限公司 登录状态同步方法和系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CAPTAIN: "Synchronous application and login status in embedded WEB", DOUBAN.COM, 11 October 2011 (2011-10-11), XP055600069, Retrieved from the Internet <URL:https://site.douban.com/128911/widget/notes/5269368/note/177305734> *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107769930A (zh) * 2017-11-20 2018-03-06 飞天诚信科技股份有限公司 一种认证方式转接方法及装置
CN107769930B (zh) * 2017-11-20 2020-09-15 飞天诚信科技股份有限公司 一种认证方式转接方法及装置
CN110730171A (zh) * 2019-10-10 2020-01-24 北京东软望海科技有限公司 业务请求的处理方法、装置、系统、电子设备及存储介质
CN111935092A (zh) * 2020-07-10 2020-11-13 上海淇毓信息科技有限公司 一种基于第三方应用的信息交互方法、装置和电子设备
CN111935092B (zh) * 2020-07-10 2023-04-04 上海淇毓信息科技有限公司 一种基于第三方应用的信息交互方法、装置和电子设备
CN114385995A (zh) * 2022-01-06 2022-04-22 徐工汉云技术股份有限公司 一种基于Handle的标识解析微服务接入工业互联网的方法及标识服务系统
CN114385995B (zh) * 2022-01-06 2024-05-17 徐工汉云技术股份有限公司 一种基于Handle的标识解析微服务接入工业互联网的方法及标识服务系统

Also Published As

Publication number Publication date
CN105610938A (zh) 2016-05-25
CN105610938B (zh) 2019-02-15

Similar Documents

Publication Publication Date Title
WO2017107732A1 (zh) 登录状态同步方法和系统
EP2939387B1 (en) Apparatus for and method of multi-factor authentication among collaborating communication devices
WO2018107988A1 (zh) 二维码的处理方法、装置及系统
US9722984B2 (en) Proximity-based authentication
EP3694175B1 (en) System and method for delegating authority through coupled devices
CN101453458B (zh) 基于多变量的动态密码口令双向认证的身份识别方法技术
US9294474B1 (en) Verification based on input comprising captured images, captured audio and tracked eye movement
TWI632798B (zh) 伺服器、行動終端機、網路實名認證系統及方法
CN109936552B (zh) 一种密钥认证方法、服务器及系统
US20150149777A1 (en) Mobile terminal, terminal and authentication method using security cookie
TW201811087A (zh) 連接建立方法、裝置和設備
CN106230594B (zh) 一种基于动态口令进行用户认证的方法
TW201707415A (zh) 安全認證方法、裝置及系統
CN103685204A (zh) 基于物联网资源共享平台的资源鉴权方法
US9443069B1 (en) Verification platform having interface adapted for communication with verification agent
CN111404695B (zh) 令牌请求验证方法和装置
JP2023145552A (ja) 装置への安全な資格情報転送を認証するための方法およびシステム
CA3128981A1 (en) Methods, systems, and media for authenticating users using blockchains
CN102036241A (zh) 一种认证方法和系统
CN111405016A (zh) 用户信息获取方法及相关设备
CN105306577A (zh) 基于app的手持设备间的资料共享系统及方法
KR20230029690A (ko) Vpn 통신 보안 방법 및 시스템
CN116436624A (zh) 存储系统的访问方法、装置、计算机可读介质及电子设备
KR20180034199A (ko) 싱글 사인 온 서비스 기반의 상호 인증 방법 및 시스템
US20130007861A1 (en) Methods for authenticating a user without personal information and devices thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16877543

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16/10/2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16877543

Country of ref document: EP

Kind code of ref document: A1