WO2016115759A1 - Method for logging in website, server, client and peripheral - Google Patents

Method for logging in website, server, client and peripheral Download PDF

Info

Publication number
WO2016115759A1
WO2016115759A1 PCT/CN2015/072754 CN2015072754W WO2016115759A1 WO 2016115759 A1 WO2016115759 A1 WO 2016115759A1 CN 2015072754 W CN2015072754 W CN 2015072754W WO 2016115759 A1 WO2016115759 A1 WO 2016115759A1
Authority
WO
WIPO (PCT)
Prior art keywords
login
peripheral
user
client
server
Prior art date
Application number
PCT/CN2015/072754
Other languages
French (fr)
Chinese (zh)
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 WO2016115759A1 publication Critical patent/WO2016115759A1/en

Links

Images

Classifications

    • 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/40Network security protocols
    • 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

Landscapes

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

Abstract

Provided are a method for logging in a website, a server, a client and a peripheral. The method for logging in a website comprises: carrying out login by means of an ID of a peripheral; if the ID of the peripheral has been registered, carrying out login by means of a previous login method; if the previous login method does not exist, adopting basic login by default; if the ID of the peripheral is not registered, prompting a user to set advanced information; and if the user has set the advanced information, carrying out advanced login by means of the advanced information; otherwise, carrying out basic login by means of the ID of the peripheral. By means of the solution, the user can complete the registration or login of the user by means of the peripheral without inputting any instruction, and registration can be automatically carried out by taking an ID of hardware as a user account ID, so that registration and login can be completed with one key, registration steps are simplified, and the registration time is greatly shortened. Since the ID of the peripheral is unique, the user is identified using the unique ID set for the peripheral, and the ID of the peripheral is not easy to be lost. The solution realizes simple, convenient and safe login.

Description

一种登录网站的方法以及其服务器、客户端和外设A method of logging into a website and its servers, clients and peripherals 技术领域Technical field
本发明涉及互联网领域,具体地说是一种登录网站的方法和系统。The present invention relates to the field of the Internet, and more particularly to a method and system for logging into a website.
背景技术Background technique
随着互联网技术的发展和普及,用户访问互联网的需求无时、无处不在。有些网站为了便于对用户进行区分和管理,通常采用用户登录的方式来访问网站,但是用户登录的方式需要用户设置用户名和密码,设置繁琐,影响了用户的访问体验。With the development and popularity of Internet technology, the need for users to access the Internet is timeless and ubiquitous. In order to facilitate the differentiation and management of users, some websites usually use the user login method to access the website. However, the user login method requires the user to set the user name and password, which is cumbersome and affects the user's access experience.
在中国专利文献201310632340.1中,公开了一种自动登录的方法、终端及指定服务器,该方案中注册时通过获取终端国际移动设备身份码、移动用户识别码以及手机号作为注册信息,登录时通过获取终端国际移动设备身份码与移动用户识别码作为身份验证信息,手机号作为登录号,执行手机号登录指定服务器,该方法能够很好的执行自动登录,但是在进行注册时还需要用户进行短信验证,用户使用兴趣大大降低。In the Chinese patent document 201310632340.1, a method, a terminal and a designated server for automatic login are disclosed, in which the acquisition of the terminal international mobile device identity code, the mobile subscriber identity code and the mobile phone number as registration information is obtained by registration, and the registration is obtained by login. The terminal international mobile device identity code and the mobile subscriber identity code are used as the identity verification information, and the mobile phone number is used as the login number, and the mobile phone number is used to log in to the designated server. This method can perform automatic login automatically, but the user also needs to perform SMS verification when registering. User interest is greatly reduced.
在中国专利文献200910039619.2中,公开了服务网站登录认证系统及实现方法,利用无线射频-用户识别模块RF-SIM与无线射频刷卡装置RF-POS来实现用户名名和密码来登录服务网站,服务网站通过RF-POS将网站、登录高级信息保存到RF-SIM中,下次登录时服务网站通过RF-POS读取RF-SIM内部保存的相应的网站、登录高级信息来实现登录,该方法能够实现自动登录,但需要插入无线射频刷卡装置RF-POS以及安装RF-POS的驱动及控件。In the Chinese patent document 200910039619.2, a service website login authentication system and an implementation method are disclosed, and a radio frequency-user identification module RF-SIM and a radio frequency card swiping device RF-POS are used to implement a user name and password to log in to a service website, and the service website passes The RF-POS saves the website and login advanced information to the RF-SIM. The next time the user logs in, the service website reads the corresponding website stored in the RF-SIM through RF-POS and logs in the advanced information to implement the login. This method can be automated. Log in, but you need to insert the RF card reader RF-POS and install the RF-POS driver and controls.
中国专利文献201010158930.1中公开了一种基于键鼠交叉认证的身份判定方法,将击键行为认证与鼠标行为认证有机结合起来。在用户进行身份登录的过程中,随机选取击键行为认证或鼠标行为认证作为身份认证的首选机制或备选机制,当首选身份认证机制认证成功时,用户认证通过;当首选身份认证机制认证失败时,用备选认证机制进行身份再认证;在用户进行身份 监控的过程中,当检测到用户的击键行为发生异常,采用鼠标行为认证的方式进行身份再认证;当检测到用户的鼠标行为发生异常,采用击键行为认证的方式进行身份再认证。该方案利用两种生物行为特征识别的优点及适用的领域,提高容错性,但是,由于生物行为特征信息的不固定性,同一用户在不同时刻、不同心情、不同状态下的点击鼠标、敲击键盘的方式不同,如疲劳时和精神状态饱满时,发出的操作力度差别会很大,因此该方案的误判率不交高,不宜推广和使用。Chinese Patent Document 201010158930.1 discloses an identity determination method based on mouse-and-pin cross-certification, which combines keystroke behavior authentication with mouse behavior authentication. In the process of user login, randomly select keystroke behavior authentication or mouse behavior authentication as the preferred mechanism or alternative mechanism for identity authentication. When the authentication of the preferred identity authentication mechanism is successful, the user authentication passes; when the authentication of the preferred identity authentication mechanism fails, Identity re-authentication with an alternate authentication mechanism; identity at the user During the monitoring process, when it is detected that the user's keystroke behavior is abnormal, the mouse behavior authentication method is used for identity re-authentication; when the user's mouse behavior is detected to be abnormal, the keystroke behavior authentication is used for identity re-authentication. The scheme utilizes the advantages of two kinds of biological behavior feature recognition and applicable fields to improve fault tolerance. However, due to the unfixedness of biological behavior characteristic information, the same user clicks the mouse and taps at different times, different moods, and different states. The way of the keyboard is different. For example, when the fatigue is full and the mental state is full, the difference in the intensity of the operation will be large. Therefore, the false positive rate of the scheme is not high, and it is not suitable for promotion and use.
发明内容Summary of the invention
为此,本发明所要解决的技术问题在于现有技术中的自动注册及登录互联网的方式繁琐、需要设置额外设备或误判率高的问题,从而提出一种准确且简单方便的登录网站的方法和系统。Therefore, the technical problem to be solved by the present invention is that the method for automatically registering and logging in to the Internet in the prior art is cumbersome, requires additional equipment or has a high false positive rate, and thus provides an accurate and simple and convenient method for logging in to the website. And system.
为解决上述技术问题,本发明的提供一种登录网站的方法以及服务器、客户端和外设。To solve the above technical problems, the present invention provides a method of logging in to a website, as well as a server, a client, and a peripheral.
本发明提供一种登录网站的方法,用于服务器端,包括The present invention provides a method for logging in to a website for use on a server side, including
接收客户端发送的包含外设ID的登录请求;Receiving a login request sent by the client including the peripheral ID;
根据外设的ID是否已经注册分别向客户端发送响应信息,并根据客户端返回的信息进行登录;Sending response information to the client according to whether the ID of the peripheral has been registered, and logging in according to the information returned by the client;
向客户端发送对应的登录方式响应。Send the corresponding login mode response to the client.
本发明还提供一种登录网站的方法,用于客户端,包括如下步骤:The invention also provides a method for logging in to a website, which is used for a client, and includes the following steps:
接收外设登录网站的请求和外设的ID;Receiving the request of the peripheral to log in to the website and the ID of the peripheral;
根据所述请求向指定服务器发送包含外设ID的登录请求;Sending a login request including a peripheral ID to the designated server according to the request;
接收服务器根据外设的ID是否已经注册返回的响应信息,进行相应处理;The receiving server performs corresponding processing according to whether the identifier of the peripheral has been registered and returned.
接收服务器返回的对应登录方式响应。Receive the corresponding login mode response returned by the server.
本发明还提供一种登录网站的方法,用于外设,包括The present invention also provides a method of logging into a website for peripherals, including
接收登录指令;Receiving a login instruction;
判断所述登录指令是否为有效指令,是则读取外设的ID;Determining whether the login instruction is a valid instruction, and reading the ID of the peripheral;
成功读取外设的ID后,向所述客户端发送登录网站的请求以及外设的ID。After successfully reading the ID of the peripheral, the client sends a request to log in to the website and the ID of the peripheral.
本发明提供一种用于登录网站的服务器,包括:The invention provides a server for logging in to a website, comprising:
接收单元:接收客户端发送的包含外设ID的登录请求;Receiving unit: receiving a login request sent by the client and including a peripheral ID;
判断及登录单元:根据外设的ID是否已经注册分别向客户端发送响应信 息,并根据客户端返回的信息进行登录;Judgment and login unit: send a response letter to the client according to whether the ID of the peripheral has been registered Information, and log in according to the information returned by the client;
登录返回单元:向客户端发送对应的登录方式响应。Login return unit: Send the corresponding login mode response to the client.
本发明还提供一种用于登录网站的客户端,包括:The invention also provides a client for logging in to a website, comprising:
外设请求接收单元:接收外设登录网站的请求和外设的ID;Peripheral request receiving unit: receiving the request of the peripheral to log in to the website and the ID of the peripheral;
登录请求单元:根据所述请求向指定服务器发送包含外设ID的登录请求;a login request unit: transmitting a login request including a peripheral ID to the designated server according to the request;
登录请求处理单元:接收服务器根据外设的ID是否已经注册返回的响应信息,进行相应处理;The login request processing unit: the receiving server performs corresponding processing according to whether the ID of the peripheral has been registered and returned.
登录返回接收单元:接收服务器返回的对应登录方式响应。Login return to receiving unit: Receive the corresponding login mode response returned by the server.
本发明还提供一种用于登录网站的外设,包括The invention also provides a peripheral device for logging into a website, including
指令接收单元:接收登录指令;Instruction receiving unit: receiving a login instruction;
有效判断单元:判断所述登录指令是否为有效指令,是则读取外设的ID;The effective judgment unit: determining whether the login instruction is a valid instruction, and reading the ID of the peripheral;
发送单元:成功读取外设的ID后,向所述客户端发送登录网站的请求以及外设的ID。Sending unit: After successfully reading the ID of the peripheral, send the request for logging in to the website and the ID of the peripheral to the client.
本发明还提供一种用于登录网站的外设,其特征在于,包括The present invention also provides a peripheral device for logging into a website, characterized in that it comprises
发送单元:向所述客户端发送登录网站的请求以及外设的ID。Sending unit: Send the client a request to log in to the website and the ID of the peripheral.
本发明的上述技术方案相比现有技术具有以下优点,The above technical solution of the present invention has the following advantages over the prior art.
本发明提供的登录网站的方法,利用外设的ID能够实现互联网快速自动注册和登录,从而提高了用户在互联网上注册与登录的效率。用户在不用输入任何指令情况下,有外部设备如鼠标或键盘上一个按键动作,完成用户的注册或登录,且注册会自动按照硬件的ID做为用户账号ID注册,使得注册登录一键搞定,简化了注册步骤与大大减少了注册时间。登录分为不同级别的登录,可以在用户登陆时快速登录,其中注册登录方法包含用户选择方式和自动登录方式。此外,外设ID具有唯一性,每个外设只有一个ID,并且是唯一的,因此采用外设设定的唯一ID来进行标识用户,外设的ID不易丢失。该方案中的客户端可以是手机或者PC,或其他可以上网的设备。The method for logging in to the website provided by the present invention can realize fast and automatic registration and login of the Internet by using the ID of the peripheral device, thereby improving the efficiency of registration and login of the user on the Internet. The user does not need to input any instructions, there is a button action on an external device such as a mouse or keyboard to complete the user registration or login, and the registration will automatically register as the user account ID according to the hardware ID, so that the registration login is done. Simplified registration steps and greatly reduced registration time. The login is divided into different levels of login, which can be quickly logged in when the user logs in. The registration login method includes the user selection method and the automatic login method. In addition, the peripheral ID is unique. Each peripheral has only one ID and is unique. Therefore, the unique ID set by the peripheral is used to identify the user, and the ID of the peripheral is not easily lost. The client in this solution can be a mobile phone or a PC, or other device that can access the Internet.
附图说明DRAWINGS
为了使本发明的内容更容易被清楚的理解,下面根据本发明的具体实施例并结合附图,对本发明作进一步详细的说明,其中In order to make the content of the present invention easier to understand, the present invention will be further described in detail below with reference to the accompanying drawings
图1是本发明实施例1的登录网站的方法的流程图; 1 is a flowchart of a method of logging in to a website according to Embodiment 1 of the present invention;
图2是本发明实施例2的登录网站的方法的流程图;2 is a flowchart of a method of logging in to a website according to Embodiment 2 of the present invention;
图3是本发明实施例3的登录网站的方法的流程图;3 is a flowchart of a method for logging in to a website according to Embodiment 3 of the present invention;
图4是本发明实施例4的服务器的结构框图;4 is a structural block diagram of a server according to Embodiment 4 of the present invention;
图5是本发明实施例5的客户端的结构框图;5 is a structural block diagram of a client in Embodiment 5 of the present invention;
图6是本发明实施例6的外设的结构框图;6 is a structural block diagram of a peripheral device according to Embodiment 6 of the present invention;
图7是本发明实施例7的登录网站的方法的流程图。Figure 7 is a flow chart showing a method of logging in to a website in accordance with a seventh embodiment of the present invention.
具体实施方式detailed description
实施例1:Example 1:
本实施例中提供一种登录网站的方法,用于服务器端,如图1所示,包括以下步骤:In this embodiment, a method for logging in to a website is provided for the server. As shown in FIG. 1 , the method includes the following steps:
S100、接收客户端发送的包含外设ID的登录请求。S100. Receive a login request that is sent by the client and includes a peripheral ID.
S101、判断外设的ID是否注册,根据外设的ID是否已经注册分别向客户端发送响应信息,并根据客户端返回的信息进行登录。如果该外设ID已经注册,若外设ID已经注册,执行S102-S103;若用户未注册,执行S104-S106。S101. Determine whether the ID of the peripheral device is registered, and send a response message to the client according to whether the ID of the peripheral device has been registered, and log in according to the information returned by the client. If the peripheral ID is already registered, if the peripheral ID is already registered, S102-S103 is executed; if the user is not registered, S104-S106 is executed.
S102、外设ID已经注册,则认证该外设ID,并向客户端返回包含用户属性的注册登录响应,所述用户属性为已注册ID用户S102. The peripheral ID is already registered, and the peripheral ID is authenticated, and a registration login response including a user attribute is returned to the client, where the user attribute is a registered ID user.
S103、接收客户端返回的信息,判断是否存在用户上次的登录方式,如存在则按照上次保存的用户登录方式登录,如不存在则使用外设ID进行基本登录,登录后执行S107。S103: Receive information returned by the client, determine whether there is a login mode of the user last time, if yes, log in according to the last user login mode saved, and if not, use the peripheral ID to perform basic login, and execute S107 after login.
S104、外设ID未注册,利用该外设ID进行注册,并更新用户注册数据表。S104: The peripheral ID is not registered, the peripheral ID is used for registration, and the user registration data table is updated.
S105、向客户端返回注册登录响应,并发送是否进行高级信息设置的选择请求。此处的高级信息可以是用户名、密码、指纹信息、联系方式中的一种或几种,本实施例中选择密码。S105. Return a registration login response to the client, and send a selection request for whether to perform advanced information setting. The advanced information herein may be one or more of a username, a password, a fingerprint information, and a contact information. In this embodiment, a password is selected.
S106、接收客户端返回的选择,如选择是,则通过客户端接收用户的高级信息并更新用户注册数据表,并根据用户设置的高级信息进行高级登录;如选择否,则使用外设的ID进行基本登录,登录后执行S107。S106. Receive a selection returned by the client. If yes, the client receives the advanced information of the user and updates the user registration data table, and performs advanced login according to the advanced information set by the user; if no, the peripheral ID is used. Perform basic login, and execute S107 after logging in.
S107、向客户端发送对应的登录方式响应。S107. Send a corresponding login mode response to the client.
该方案中,通过外设的ID进行登录,若外设ID已经注册,则使用上次的登录方式进行登录,若不存在上次的登录方式,则默认采用基本登录。若 外设ID未注册,则提示用户进行高级信息的设置,若用户进行高级信息设置,则通过高级信息进行高级登录,否则通过外设的ID进行基本登录。由于外设ID具有唯一性,每个外设只有一个ID,并且是唯一的,因此采用外设设定的唯一ID来进行标识用户,外设的ID不易丢失,因此通过外设的ID可以实现简单、便捷且安全的登录。In this scheme, the login is performed by the ID of the peripheral. If the peripheral ID is already registered, the login is performed using the previous login method. If the previous login method does not exist, the basic login is used by default. If If the peripheral ID is not registered, the user is prompted to set the advanced information. If the user performs advanced information setting, the advanced login is performed through the advanced information, otherwise the basic login is performed through the ID of the peripheral. Since the peripheral ID is unique, each peripheral has only one ID and is unique. Therefore, the unique ID set by the peripheral is used to identify the user, and the ID of the peripheral is not easily lost, so the ID of the peripheral can be realized. Simple, convenient and secure login.
在其他的实施方案中,为了提高用户使用的安全性,对于基本登录的用户分配基本权限,如果使用高级权限时,会提示用户进行高级登录后再使用。进一步提高用户的安全性能。In other embodiments, in order to improve the security of the user, the basic privilege is assigned to the basic logged-in user, and if the advanced privilege is used, the user is prompted to perform the advanced login and then use. Further improve the user's security performance.
实施例2 Example 2 :
本实施例中提供一种登录网站的方法,用于客户端,对应于实施例1中的服务器,如图2示,包括如下步骤:In this embodiment, a method for logging in to a website is provided for a client, corresponding to the server in Embodiment 1, as shown in FIG. 2, including the following steps:
S200、接收外设登录网站的请求和外设的ID。S200. Receive a request for a peripheral to log in to the website and an ID of the peripheral.
S201、根据所述请求向指定服务器发送包含外设ID的登录请求。S201. Send a login request including a peripheral ID to the designated server according to the request.
然后,接收服务器根据外设的ID是否已经注册返回的响应信息,进行相应处理。初次登录时,执行S202-S203,非初次登录时,执行S204.Then, the receiving server performs corresponding processing according to whether the ID of the peripheral has been registered and returned. When logging in for the first time, S202-S203 is executed. When not logging in for the first time, S204 is executed.
S202、外设的ID未注册时,接收服务器返回的设置用户的高级信息的响应;S202. When the ID of the peripheral is not registered, the response returned by the server to set the advanced information of the user is received;
S203、接收用户的选择,并向服务器发送用户的选择,如用户选择是,则将用户设置的高级信息发送至服务器,并向服务器发送高级登录的请求;如用户选择否,则向服务器发送使用ID进行基本登录的请求。然后执行S205。S203: Receive a user's selection, and send a user's selection to the server. If the user selects yes, send the advanced information set by the user to the server, and send a request for advanced login to the server; if the user selects no, send the use to the server. The ID makes a basic login request. Then S205 is executed.
S204、外设的ID已注册,为非初次登录时,接收服务器返回的包含用户属性的注册登录响应;S204. The ID of the peripheral device is registered, and is a registration login response that includes a user attribute returned by the receiving server when the first login is not performed;
S205:查询用户上次登录信息,如存在则按照上次保存的用户登录方式向服务器发送登录请求,如不存在则向服务器发送基本登录请求。然后执行S206.S205: Query the last login information of the user. If yes, send a login request to the server according to the last saved user login mode. If not, send a basic login request to the server. Then execute S206.
S206、接收服务器返回的对应登录方式响应。S206. Receive a corresponding login mode response returned by the server.
本实施例中的客户端对应实施例1中的服务器,利用外设的ID进行登录时,对于首次注册的用户,提示用户进行信息设置,并根据用户的选择完成登录,对于非首次用户,则根据上次的登录方式进行登录,对于不存在上次登录方式记录的,采用默认的使用外设ID的方式进行登录。 The client in this embodiment corresponds to the server in the first embodiment, and when logging in using the ID of the peripheral device, the user who is first registered is prompted to set the information, and the login is completed according to the user's selection. For the non-first user, Log in based on the last login method. If there is no previous login mode record, the default use of the peripheral ID is used to log in.
实施例3:Example 3:
本实施例提供一种登录网站的方法,用于外设,如图3所示,包括This embodiment provides a method for logging in to a website, which is used for a peripheral device, as shown in FIG.
S31:接收登录指令;S31: receiving a login instruction;
S32:判断所述登录指令是否为有效指令,是则读取外设的ID;S32: determining whether the login instruction is a valid instruction, and reading the ID of the peripheral device;
S33:成功读取外设的ID后,向所述客户端发送登录网站的请求以及外设的ID。S33: After successfully reading the ID of the peripheral, send the request for logging in to the website and the ID of the peripheral to the client.
此外,外设还可以根据客户端中提供的服务器返回的信息,进行选择,针对首次登录,选择是否进行账户密码及资料完善设置,针对非首次登录,选择是否使用密码登录。为用户提供多种选择,使用户使用时更加方便。In addition, the peripherals can also select according to the information returned by the server provided in the client. For the first login, select whether to perform account password and data perfect setting, and select whether to log in with a password for non-first login. Provide users with a variety of options to make it easier for users to use.
在其他的实施方式中,用户选择登录方式的时候使用的设备也可能不是保存ID的外设,如使用键盘作为获取ID的外设,而在针对服务器返回的信息进行选择时,可以通过鼠标进行选择。在该发明构思下,本领域中技术人员可以根据已有的技术想到多种实施方式。In other embodiments, the device used when the user selects the login mode may not be the peripheral that saves the ID, such as using the keyboard as a peripheral for obtaining the ID, and when selecting the information returned by the server, the mouse may be used. select. Under the inventive concept, those skilled in the art can think of various embodiments according to the prior art.
在其他简化的实施方式中,用于登录网站的外设的方法还可以只包括向所述客户端发送登录网站的请求以及外设的ID。In other simplified implementations, the method for logging in to a peripheral of a website may also include only sending a request to the client to log in to the website and an ID of the peripheral.
在一般的实施方式中,登录网站的请求可以是是包含外设ID的URL请求,在该URL请求,中,包括URL信息、注册登录管理程序标示符、外设ID,其中所述URL信息为域名或IP地址。In a general implementation, the request to log in to the website may be a URL request including a peripheral ID, where the URL request includes URL information, a registration login manager identifier, and a peripheral ID, wherein the URL information is Domain name or IP address.
实施例4:Example 4:
本实施例提供一种用于实现上述方法的用于登录网站的服务器,如图4所示。This embodiment provides a server for logging in to a website for implementing the above method, as shown in FIG. 4 .
接收单元:接收客户端发送的包含外设ID的登录请求;Receiving unit: receiving a login request sent by the client and including a peripheral ID;
判断及登录单元:根据外设的ID是否已经注册分别向客户端发送响应信息,并根据客户端返回的信息进行登录;Judgment and login unit: send response information to the client according to whether the ID of the peripheral has been registered, and log in according to the information returned by the client;
登录返回单元:向客户端发送对应的登录方式响应。Login return unit: Send the corresponding login mode response to the client.
其中,判断及登录单元包括:The judging and login unit includes:
注册更新子单元:若所述外设ID未注册,则利用该外设ID进行注册,并更新用户注册数据表;Registering an update subunit: if the peripheral ID is not registered, registering with the peripheral ID and updating the user registration data table;
设置高级信息的返回子单元:向客户端返回注册登录响应,并发送是否 进行高级信息设置的选择请求;Set the return subunit of the advanced information: return the registration login response to the client, and send whether Make a selection request for advanced information settings;
初次登录子单元:接收客户端返回的选择,如选择是,则通过客户端接收用户的高级信息并更新用户注册数据表,并根据用户设置的高级信息进行高级登录;如选择否,则使用外设的ID进行基本登录。Initial login sub-unit: Receive the selection returned by the client. If yes, the client receives the user's advanced information and updates the user registration data table, and performs advanced login according to the advanced information set by the user; if no, the external use Set the ID to perform basic login.
在其他的实施方式中,判断及登录单元还可以包括:In other implementations, the determining and logging unit may further include:
认证子单元:若外设ID已经注册,则认证该外设ID;Authentication subunit: if the peripheral ID is already registered, the peripheral ID is authenticated;
已注册用户属性返回子单元:向客户端返回包含用户属性的注册登录响应,所述用户属性为已注册ID用户;The registered user attribute returns a subunit: returns a registration login response containing the user attribute to the client, the user attribute being a registered ID user;
再次登录子单元:接收客户端返回的信息,判断是否存在用户上次的登录方式,如存在则按照上次保存的用户登录方式登录,如不存在则使用外设ID进行基本登录。Log in to the sub-unit again: Receive the information returned by the client to determine whether there is a user's last login method. If yes, log in according to the last saved user login method. If not, use the peripheral ID to perform basic login.
实施例5:Example 5:
本实施例中提供一种用于实现上述方法的用于登录网站的客户端,如图5所示,可以是手机、PC或其他可访问网络的智能设备。In this embodiment, a client for logging in to a website for implementing the foregoing method is provided. As shown in FIG. 5, it may be a mobile phone, a PC, or another smart device that can access a network.
外设请求接收单元:接收外设登录网站的请求和外设的ID;Peripheral request receiving unit: receiving the request of the peripheral to log in to the website and the ID of the peripheral;
登录请求单元:根据所述请求向指定服务器发送包含外设ID的登录请求;a login request unit: transmitting a login request including a peripheral ID to the designated server according to the request;
登录请求处理单元:接收服务器根据外设的ID是否已经注册返回的响应信息,进行相应处理;The login request processing unit: the receiving server performs corresponding processing according to whether the ID of the peripheral has been registered and returned.
登录返回接收单元:接收服务器返回的对应登录方式响应。Login return to receiving unit: Receive the corresponding login mode response returned by the server.
其中,登录请求处理单元包括:The login request processing unit includes:
设置高级信息的接收子单元:外设的ID未注册时,接收服务器返回的设置用户的高级信息的响应;Setting the receiving subunit of the advanced information: when the ID of the peripheral is not registered, the receiving server returns a response of setting the advanced information of the user;
初次登录请求子单元:接收用户的选择,并向服务器发送用户的选择,如用户选择是,则将用户设置的高级信息发送至服务器,并向服务器发送高级登录的请求;如用户选择否,则向服务器发送使用ID进行基本登录的请求。The initial login request subunit: receives the user's selection and sends the user's selection to the server. If the user selects yes, the advanced information set by the user is sent to the server, and the advanced login request is sent to the server; if the user selects no, then A request to use the ID for basic login is sent to the server.
在其他的实施方案中,登录请求处理单元还可以包括:In other embodiments, the login request processing unit may further include:
接收注册登录响应子单元:外设的ID已注册时,接收服务器返回的包含用户属性的注册登录响应; Receiving a registration login response subunit: when the ID of the peripheral is registered, the registration server returns a registration login response containing the user attribute;
再次登录请求子单元:查询用户上次登录信息,如存在则按照上次保存的用户登录方式向服务器发送登录请求,如不存在则向服务器发送基本登录请求。Log in again to the request subunit: query the user's last login information. If yes, send the login request to the server according to the last saved user login method. If it does not exist, send the basic login request to the server.
实施例6:Example 6
本实施例中提供一种用于登录网站的外设,可以是键盘或鼠标,如图6所示,本实施例中的用于登录网站的外设,包括In this embodiment, a peripheral device for logging in to a website is provided, which may be a keyboard or a mouse. As shown in FIG. 6, the peripheral device used to log in to the website in this embodiment includes
指令接收单元:接收登录指令;Instruction receiving unit: receiving a login instruction;
有效判断单元:判断所述登录指令是否为有效指令,是则读取外设的ID;所述外设的ID具有唯一性,并且每个外设只有一个ID。The effective judging unit: judges whether the login instruction is a valid instruction, and reads the ID of the peripheral; the ID of the peripheral is unique, and each peripheral has only one ID.
发送单元:成功读取外设的ID后,向所述客户端发送登录网站的请求以及外设的ID。其中,所述登录网站的请求是URL方式的请求。Sending unit: After successfully reading the ID of the peripheral, send the request for logging in to the website and the ID of the peripheral to the client. The request for logging in to the website is a request in a URL manner.
在其他更为简化的实施方案中,用于登录网站的外设,还可以只包括发送单元:向所述客户端发送登录网站的请求以及外设的ID。此时的外设可以是NFC设备,如具有NFC功能的手机。In other more simplified implementations, the peripherals used to log in to the website may also include only the sending unit: the request to log in to the website and the ID of the peripheral are sent to the client. The peripherals at this time can be NFC devices, such as NFC-enabled mobile phones.
此外,所述登录网站的请求还可以是URL方式请求。URL方式请求中包括URL信息、注册登录管理程序标示符、外设ID,其中,所述URL信息为域名或IP地址。In addition, the request to log in to the website may also be a URL mode request. The URL mode request includes URL information, a registration login manager identifier, and a peripheral ID, wherein the URL information is a domain name or an IP address.
实施例7:Example 7
本实施例中提供一种利用外设ID来表示用户进行互联网自动注册登录的方法,并提供供用户选择的多级登录方式。如图7所示,该方法包括:In this embodiment, a method for using a peripheral ID to represent a user to perform automatic registration and registration of the Internet is provided, and a multi-level login mode for the user to select is provided. As shown in FIG. 7, the method includes:
S41:外设触发注册登录;S41: The peripheral triggers registration registration;
S42:客户端获取外设访问指定服务器的请求,请求包括三部分:URL或IP地址,请求属性,ID;S42: The client obtains a request for the peripheral to access the specified server, and the request includes three parts: a URL or an IP address, a request attribute, and an ID;
S43:客户端向指定服务器发送所述包含ID的请求进行注册登录;S43: The client sends the request for including the ID to the designated server to register and log in;
S44:服务器登录注册程序判断ID是否注册,如已注册则直接登录,此时如果保存有上一次登录方式,则采用与上次相同的登录方式,否则直接通过外设的ID进行登录,并返回登录成功信息或页面,如未注册对该ID进行注册,保存ID到用户注册数据库表,再返回登录成功信息或页面;如果第一次客户端在注册并返回登录成功信息或页面同时,及时给用户一个设置密 码与完善资料的提示。S44: The server login registration program determines whether the ID is registered. If the registration is registered, the login is directly performed. If the previous login mode is saved, the same login method as the last login mode is adopted, otherwise the login is directly performed through the ID of the peripheral device, and is returned. Login success information or page, if not registered to register the ID, save the ID to the user registration database table, and then return the login success information or page; if the first client is registered and returns the login success information or page, timely User setting a secret Code and tips for improving the data.
S45:第一次注册登录用户根据设置密码与完善资料的提示选择是否进行密码设置与资料完善,也可以跳过,以后再进行账号密码设置与资料完善;如果是已经注册用户,就检测是否存在以前登录过信息留存,如果有按照留存信息登录,如果没有直接登录且在登录指示出显示基本登录成功消息,用户要进一步访问自己账户下的一些功能可能需要密码进行登录权限变化,可以根据用户的密码与登录的级别赋予用户登录后的权限;S45: The first registration login user selects whether to perform password setting and data perfection according to the prompt of setting password and perfect data, and can also skip, and then perform account password setting and data perfection; if it is already registered, it detects whether it exists. If you have logged in to retain information, if you log in according to the retained information, if you do not log in directly and the basic login success message is displayed in the login indication, the user may need to access the passwords to change the login permission. The password and login level give the user permission to log in;
S46:指定服务器对客户端发送相应的登录方式响应。S46: The specified server sends a corresponding login mode response to the client.
该方案中,能够实现互联网快速自动注册和登录,从而提高了用户在互联网上注册与登录的效率。用户在不用输入任何指令情况下,有外部设备如鼠标或键盘上一个按键动作,完成用户的注册或登录,且注册会自动按照硬件的ID做为用户账号ID注册,使得注册登录一键搞定,简化了注册步骤与大大减少了注册时间。登录分为不同级别的登录,可以在用户登陆时快速登录,其中注册登录方法包含用户选择方式和自动登录方式。此外,设ID具有唯一性,每个外设只有一个ID,并且是唯一的,因此采用外设设定的唯一ID来进行标识用户,外设的ID不易丢失。该方案中的客户端可以是手机或者PC,或其他可以上网的设备。In this solution, the Internet can be quickly and automatically registered and logged in, thereby improving the efficiency of users' registration and login on the Internet. The user does not need to input any instructions, there is a button action on an external device such as a mouse or keyboard to complete the user registration or login, and the registration will automatically register as the user account ID according to the hardware ID, so that the registration login is done. Simplified registration steps and greatly reduced registration time. The login is divided into different levels of login, which can be quickly logged in when the user logs in. The registration login method includes the user selection method and the automatic login method. In addition, the ID is unique, each peripheral has only one ID, and is unique. Therefore, the unique ID set by the peripheral is used to identify the user, and the ID of the peripheral is not easily lost. The client in this solution can be a mobile phone or a PC, or other device that can access the Internet.
实施例8:Example 8
本实施例中提供使用外设进行注册登录网站的方法,对应注册登录网站的服务器、客户端和外设,该方案中无论什么情况下用户都可对两种登录方式进行选择,即基本登录和高级登录,其中高级登录指的是使用用户设置的高级信息如用户名、账号、密码、指纹信息、联系方式中的一种或几种进行登录,基本登录指的是使用外设的ID登录直接登录。In this embodiment, a method for registering and logging in to a website by using a peripheral device is provided, corresponding to a server, a client, and a peripheral device registered to log in to the website. In any case, the user can select two login modes, that is, basic login and Advanced login, where advanced login refers to using one of the user-set advanced information such as user name, account number, password, fingerprint information, and contact information to log in. Basic login refers to using the ID of the peripheral to log in directly. log in.
外设收到触发动作后,读取外设的ID并发送登录请求给客户端,客户端转发外设的登录请求给服务器,用户第一次注册登录时,需要在指定服务器进行ID注册,ID注册后给客户端注册登录响应,该响应中包含提示信息,根据提示信息用户可选择是否进行账号密码设置与资料完善,如选择是,用户需进行账号密码设置与资料完善,客户端将用户信息发送到指定服务器,指定服务器执行高级登录;如果用户选择否,则客户端发送基本登录方式的请求,指定服务器执行基本登录。 After receiving the trigger action, the peripheral reads the ID of the peripheral device and sends a login request to the client. The client forwards the login request of the peripheral to the server. When the user registers for the first login, the ID registration needs to be performed on the designated server. After registration, the login response is registered to the client, and the response includes prompt information. According to the prompt information, the user can select whether to perform account password setting and data perfecting. If the selection is yes, the user needs to perform account password setting and data perfecting, and the client will user information. Send to the specified server, specify the server to perform advanced login; if the user chooses no, the client sends a basic login request, and the specified server performs basic login.
用户第二次登录时,服务器会判断是否密码用户,如果是密码用户,在客户端用户可以根据自己需要选择输入密码执行高级登录还是直接基本登录;如果非密码用户,服务器发送的注册登录响应中会携带提示信息,提示信息中包含是否进行账号密码设置与资料完善。根据提示信息用户可选择是否进行账号密码设置与资料完善,如选择是,用户需进行账号密码设置与资料完善,客户端将用户信息发送到指定服务器,指定服务器执行高级登录;如果用户选择否,则客户端发送基本登录方式的请求,指定服务器执行基本登录。When the user logs in for the second time, the server will determine whether the password is a user. If it is a password user, the client user can choose to enter the password to perform advanced login or direct login according to his own needs; if the password is not used, the server sends a registration login response. The message will be carried, and the prompt information includes whether to set the account password and improve the data. According to the prompt information, the user can select whether to perform account password setting and data perfecting. If the selection is yes, the user needs to perform account password setting and data perfecting, the client sends the user information to the designated server, and the designated server performs advanced login; if the user selects no, The client sends a basic login request and specifies that the server performs basic login.
作为一种优选的实施方式,本实施例中增加了自动登录方式,在存在上次登录情况下,会执行与上次登录状态相同的登录方式。As a preferred embodiment, the automatic login mode is added in the embodiment, and in the case where the last login exists, the same login mode as the last login state is executed.
当用户第一次注册登录时,根据用户选择的登录方式进行登录,在最后客户端接收登录响应之后,还需要保存此次用户登录的状态,作为下一次自动登录时的优选选择方式。When the user logs in for the first time, the user logs in according to the login mode selected by the user. After the client receives the login response, the user needs to save the login status as the preferred selection method for the next automatic login.
用户第一次注册登录时,服务器端返回注册登录响应中,包含登录成功信息或页面,并携带一个提示信息,提示用户设置密码与完善资料,用户可以设置密码与完善资料,也可以跳过,以后再进行账号密码设置与资料完善;When the user registers for the first login, the server returns the registration login response, including the login success information or page, and carries a prompt message prompting the user to set the password and improve the data. The user can set the password and improve the data, or skip. In the future, the account password setting and data improvement will be carried out;
如果是已经注册用户或者说非第一次登录,就检测是否存在上次用户登录状态(以前登录过信息留存),如果存在按照上次用户登录状态(留存信息)登录;如果不存在直接执行基本登录。If it is already registered user or not the first time to log in, it is detected whether there is the last user login status (previously logged in information retention), if there is login according to the last user login status (retained information); if there is no direct execution basic log in.
在基本登录状态下用户要进一步访问自己账户下的一些功能可能需要密码进行登录权限变化。In the basic login state, users need to access some functions under their own account to change the login permission.
本实施例中,可以根据用户的登录级别赋予用户登录后的权限,上述留存信息可以为历史记录(cookies),根据历史记录(cookies)情况进入到相应级别权限的登录状态。此外,用户还可以在相应的网站或网页对自己的信息进行修改,也可以进行用户登录方式的修改,以获得相应的权限。In this embodiment, the user may be given the right to log in according to the login level of the user, and the retained information may be historical records (cookies), and enter the login state of the corresponding level according to the history (cookies). In addition, users can also modify their own information on the corresponding website or web page, or modify the user login method to obtain the corresponding permissions.
本实施例中,采用外设ID来进行自动注册登录,并采用多级登录方式,可供用户自行选择。外设可以使用NFC标签,鼠标或键盘,客户端可以是PC、手机等。In this embodiment, the peripheral ID is used for automatic registration and login, and the multi-level login mode is adopted, which is available for the user to select. Peripherals can use NFC tags, mice or keyboards, and clients can be PCs, mobile phones, and more.
显然,上述实施例仅仅是为清楚地说明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做 出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本发明创造的保护范围之中。It is apparent that the above-described embodiments are merely illustrative of the examples, and are not intended to limit the embodiments. For those of ordinary skill in the art, based on the above description, Other changes or changes in different forms. There is no need and no way to exhaust all of the implementations. Obvious changes or variations resulting therefrom are still within the scope of the invention.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。 While the preferred embodiment of the invention has been described, it will be understood that Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and

Claims (21)

  1. 一种登录网站的方法,用于服务器端,其特征在于,A method for logging in to a website for a server side, characterized in that
    接收客户端发送的包含外设ID的登录请求;Receiving a login request sent by the client including the peripheral ID;
    根据外设的ID是否已经注册分别向客户端发送响应信息,并根据客户端返回的信息进行登录;Sending response information to the client according to whether the ID of the peripheral has been registered, and logging in according to the information returned by the client;
    向客户端发送对应的登录方式响应。Send the corresponding login mode response to the client.
  2. 根据权利要求1所述的方法,其特征在于,根据外设的ID是否已经注册分别向客户端发送响应信息,并根据客户端返回的信息进行登录的步骤,包括:The method according to claim 1, wherein the step of transmitting the response information to the client according to whether the ID of the peripheral device has been registered and logging in according to the information returned by the client comprises:
    若所述外设ID未注册,则利用该外设ID进行注册,并更新用户注册数据表;If the peripheral ID is not registered, the peripheral ID is used for registration, and the user registration data table is updated;
    向客户端返回注册登录响应,并发送是否进行高级信息设置的选择请求;Returning a registration login response to the client and sending a selection request for advanced information setting;
    接收客户端返回的选择,如选择是,则通过客户端接收用户的高级信息并更新用户注册数据表,并根据用户设置的高级信息进行高级登录;如选择否,则使用外设的ID进行基本登录。Receiving the selection returned by the client. If yes, the client receives the advanced information of the user and updates the user registration data table, and performs advanced login according to the advanced information set by the user; if no, the basic ID of the peripheral is used for basic registration. log in.
  3. 根据权利要求1或2所述的方法,其特征在于,根据外设的ID是否已经注册分别向客户端发送响应信息,并根据客户端返回的信息进行登录的步骤中,包括:The method according to claim 1 or 2, wherein the step of transmitting the response information to the client according to whether the ID of the peripheral device has been registered and logging in according to the information returned by the client includes:
    若外设ID已经注册,则认证该外设ID;If the peripheral ID is already registered, the peripheral ID is authenticated;
    向客户端返回包含用户属性的注册登录响应,所述用户属性为已注册ID用户;Returning to the client a registration login response containing a user attribute, which is a registered ID user;
    接收客户端返回的信息,判断是否存在用户上次的登录方式,如存在则按照上次保存的用户登录方式登录,如不存在则使用外设ID进行基本登录。The information returned by the client is received, and it is determined whether there is a login mode of the user last time. If yes, the user logs in according to the last saved user login mode. If not, the peripheral ID is used for basic login.
  4. 根据权利要求2或3所述的方法,其特征在于,在所述使用外设ID进行登录的步骤中,还包括为使用外设的ID进行基本登录的用户分配登录权限。The method according to claim 2 or 3, wherein the step of logging in using the peripheral ID further comprises assigning a login authority to a user who performs basic login using the ID of the peripheral.
  5. 一种登录网站的方法,用于客户端,其特征在于,包括如下步骤:A method for logging in to a website for a client, comprising the steps of:
    接收外设登录网站的请求和外设的ID; Receiving the request of the peripheral to log in to the website and the ID of the peripheral;
    根据所述请求向指定服务器发送包含外设ID的登录请求;Sending a login request including a peripheral ID to the designated server according to the request;
    接收服务器根据外设的ID是否已经注册返回的响应信息,进行相应处理;The receiving server performs corresponding processing according to whether the identifier of the peripheral has been registered and returned.
    接收服务器返回的对应登录方式响应。Receive the corresponding login mode response returned by the server.
  6. 根据权利要求5所述的方法,其特征在于,接收服务器根据外设的ID是否已经注册返回的响应信息,进行相应处理的步骤中,包括:The method according to claim 5, wherein the receiving server performs the corresponding processing according to whether the ID of the peripheral device has been registered and returned, including:
    外设的ID未注册时,接收服务器返回的设置用户的高级信息的响应;When the ID of the peripheral is not registered, the response returned by the server to set the user's advanced information is received;
    接收用户的选择,并向服务器发送用户的选择,如用户选择是,则将用户设置的高级信息发送至服务器,并向服务器发送高级登录的请求;如用户选择否,则向服务器发送使用ID进行基本登录的请求。Receiving the user's selection and sending the user's selection to the server. If the user selects Yes, the advanced information set by the user is sent to the server, and the advanced login request is sent to the server; if the user selects No, the usage ID is sent to the server. Basic login request.
  7. 根据权利要求5或6所述的方法,其特征在于,接收服务器根据外设的ID是否已经注册返回的响应信息,进行相应处理的步骤中,包括:The method according to claim 5 or 6, wherein the receiving server performs the corresponding processing according to whether the ID of the peripheral device has been registered and returned, including:
    外设的ID已注册时,接收服务器返回的包含用户属性的注册登录响应;When the ID of the peripheral is registered, the receiving server returns a registration login response containing the user attribute;
    查询用户上次登录信息,如存在则按照上次保存的用户登录方式向服务器发送登录请求,如不存在则向服务器发送基本登录请求。Query the last login information of the user. If yes, send the login request to the server according to the last saved user login method. If it does not exist, send a basic login request to the server.
  8. 一种登录网站的方法,用于外设,其特征在于,包括A method of logging into a website for a peripheral device, characterized in that it comprises
    接收登录指令;Receiving a login instruction;
    判断所述登录指令是否为有效指令,是则读取外设的ID;Determining whether the login instruction is a valid instruction, and reading the ID of the peripheral;
    成功读取外设的ID后,向所述客户端发送登录网站的请求以及外设的ID。After successfully reading the ID of the peripheral, the client sends a request to log in to the website and the ID of the peripheral.
  9. 根据权利要求1-8任一所述的方法,其特征在于,所述高级信息包括密码。The method of any of claims 1-8, wherein the advanced information comprises a password.
  10. 根据权利要求9所述的方法,其特征在于,所述高级信息还包括用户名、指纹信息、联系方式中的一种或几种。The method according to claim 9, wherein the advanced information further comprises one or more of a username, fingerprint information, and a contact information.
  11. 一种用于登录网站的服务器,其特征在于,包括A server for logging in to a website, characterized in that it comprises
    接收单元:接收客户端发送的包含外设ID的登录请求;Receiving unit: receiving a login request sent by the client and including a peripheral ID;
    判断及登录单元:根据外设的ID是否已经注册分别向客户端发送响应信息,并根据客户端返回的信息进行登录;Judgment and login unit: send response information to the client according to whether the ID of the peripheral has been registered, and log in according to the information returned by the client;
    登录返回单元:向客户端发送对应的登录方式响应。 Login return unit: Send the corresponding login mode response to the client.
  12. 根据权利要求11述的服务器,其特征在于,判断及登录单元包括:The server according to claim 11, wherein the determining and registering unit comprises:
    注册更新子单元:若所述外设ID未注册,则利用该外设ID进行注册,并更新用户注册数据表;Registering an update subunit: if the peripheral ID is not registered, registering with the peripheral ID and updating the user registration data table;
    设置高级信息的返回子单元:向客户端返回注册登录响应,并发送是否进行高级信息设置的选择请求;Set the return subunit of the advanced information: return the registration login response to the client, and send a selection request for advanced information setting;
    初次登录子单元:接收客户端返回的选择,如选择是,则通过客户端接收用户的高级信息并更新用户注册数据表,并根据用户设置的高级信息进行高级登录;如选择否,则使用外设的ID进行基本登录;Initial login sub-unit: Receive the selection returned by the client. If yes, the client receives the user's advanced information and updates the user registration data table, and performs advanced login according to the advanced information set by the user; if no, the external use Set the ID to perform basic login;
  13. 根据权利要求11或12所述的服务器,其特征在于,判断及登录单元包括The server according to claim 11 or 12, wherein the determining and registering unit comprises
    认证子单元:若外设ID已经注册,则认证该外设ID;Authentication subunit: if the peripheral ID is already registered, the peripheral ID is authenticated;
    已注册用户属性返回子单元:向客户端返回包含用户属性的注册登录响应,所述用户属性为已注册ID用户;The registered user attribute returns a subunit: returns a registration login response containing the user attribute to the client, the user attribute being a registered ID user;
    再次登录子单元:接收客户端返回的信息,判断是否存在用户上次的登录方式,如存在则按照上次保存的用户登录方式登录,如不存在则使用外设ID进行基本登录。Log in to the sub-unit again: Receive the information returned by the client to determine whether there is a user's last login method. If yes, log in according to the last saved user login method. If not, use the peripheral ID to perform basic login.
  14. 一种用于登录网站的客户端,包括:A client for logging into a website, including:
    外设请求接收单元:接收外设登录网站的请求和外设的ID;Peripheral request receiving unit: receiving the request of the peripheral to log in to the website and the ID of the peripheral;
    登录请求单元:根据所述请求向指定服务器发送包含外设ID的登录请求;a login request unit: transmitting a login request including a peripheral ID to the designated server according to the request;
    登录请求处理单元:接收服务器根据外设的ID是否已经注册返回的响应信息,进行相应处理;The login request processing unit: the receiving server performs corresponding processing according to whether the ID of the peripheral has been registered and returned.
    登录返回接收单元:接收服务器返回的对应登录方式响应。Login return to receiving unit: Receive the corresponding login mode response returned by the server.
  15. 根据权利要求14所述的客户端,其特征在于,登录请求处理单元包括:The client according to claim 14, wherein the login request processing unit comprises:
    设置高级信息的接收子单元:外设的ID未注册时,接收服务器返回的设置用户的高级信息的响应;Setting the receiving subunit of the advanced information: when the ID of the peripheral is not registered, the receiving server returns a response of setting the advanced information of the user;
    初次登录请求子单元:接收用户的选择,并向服务器发送用户的选择,如用户选择是,则将用户设置的高级信息发送至服务器,并向服务器发送高 级登录的请求;如用户选择否,则向服务器发送使用ID进行基本登录的请求。The initial login request sub-unit: receives the user's selection and sends the user's selection to the server. If the user selects yes, the advanced information set by the user is sent to the server and sent to the server. A request for a level login; if the user selects no, a request to perform a basic login using the ID is sent to the server.
  16. 根据权利要求14或15所述的客户端,其特征在于,登录请求处理单元包括:The client according to claim 14 or 15, wherein the login request processing unit comprises:
    接收注册登录响应子单元:外设的ID已注册时,接收服务器返回的包含用户属性的注册登录响应;Receiving a registration login response subunit: when the ID of the peripheral is registered, the registration server returns a registration login response containing the user attribute;
    再次登录请求子单元:查询用户上次登录信息,如存在则按照上次保存的用户登录方式向服务器发送登录请求,如不存在则向服务器发送基本登录请求。Log in again to the request subunit: query the user's last login information. If yes, send the login request to the server according to the last saved user login method. If it does not exist, send the basic login request to the server.
  17. 一种用于登录网站的外设,其特征在于,包括A peripheral device for logging into a website, characterized in that it comprises
    指令接收单元:接收登录指令;Instruction receiving unit: receiving a login instruction;
    有效判断单元:判断所述登录指令是否为有效指令,是则读取外设的ID;The effective judgment unit: determining whether the login instruction is a valid instruction, and reading the ID of the peripheral;
    发送单元:成功读取外设的ID后,向所述客户端发送登录网站的请求以及外设的ID。Sending unit: After successfully reading the ID of the peripheral, send the request for logging in to the website and the ID of the peripheral to the client.
  18. 一种用于登录网站的外设,其特征在于,包括A peripheral device for logging into a website, characterized in that it comprises
    发送单元:向所述客户端发送登录网站的请求以及外设的ID。Sending unit: Send the client a request to log in to the website and the ID of the peripheral.
  19. 根据权利要求17或18述的外设,其特征在于,所述登录网站的请求是包含外设ID的URL请求。The peripheral device according to claim 17 or 18, wherein the request to log in to the website is a URL request including a peripheral ID.
  20. 根据权利要求17或18述的外设,其特征在于,所述外设包括键盘、鼠标或NFC设备。A peripheral device according to claim 17 or 18, wherein said peripheral device comprises a keyboard, a mouse or an NFC device.
  21. 根据权利要求17或18所述的外设,其特征在于,所述外设ID具有唯一性,并且每个外设只有一个ID。 A peripheral device according to claim 17 or 18, wherein said peripheral ID is unique and each peripheral has only one ID.
PCT/CN2015/072754 2015-01-22 2015-02-11 Method for logging in website, server, client and peripheral WO2016115759A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510032533.2A CN104580237B (en) 2015-01-22 2015-01-22 A kind of method and its server, client and peripheral hardware of Website login
CN201510032533.2 2015-01-22

Publications (1)

Publication Number Publication Date
WO2016115759A1 true WO2016115759A1 (en) 2016-07-28

Family

ID=53095417

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/072754 WO2016115759A1 (en) 2015-01-22 2015-02-11 Method for logging in website, server, client and peripheral

Country Status (2)

Country Link
CN (1) CN104580237B (en)
WO (1) WO2016115759A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113158152A (en) * 2021-05-13 2021-07-23 广西科技师范学院 Computer intelligent auxiliary system based on behavior analysis

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106650490B (en) * 2016-10-25 2019-07-23 Oppo广东移动通信有限公司 The login method and device of cloud account
CN111339505A (en) * 2018-12-18 2020-06-26 北京奇虎科技有限公司 Method and device for realizing user login
CN110032860B (en) * 2018-12-27 2020-07-28 阿里巴巴集团控股有限公司 Login mode pushing and displaying method, device and equipment
CN111538964B (en) * 2020-04-14 2022-08-09 支付宝(杭州)信息技术有限公司 Login mode pushing method, device and system and electronic equipment
CN112396390B (en) * 2020-11-09 2024-02-02 福建福瑞康信息技术有限公司 Intelligent office auxiliary system based on office automation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040099195A (en) * 2004-10-12 2004-11-26 이인섭 Program and method for entering web site login password by mouse and computer readable medium processing the method
CN201590050U (en) * 2009-11-06 2010-09-22 周葆青 Mouse
CN103259667A (en) * 2013-06-07 2013-08-21 北京邮电大学 Method and system for eID authentication on mobile terminal
CN103576866A (en) * 2012-08-01 2014-02-12 郭家铭 Special mouse having storage function and applicable to advertising gifts and clients
CN104159149A (en) * 2014-08-26 2014-11-19 吴松珀 Multi-user mouse based screen information interaction method, device and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0163624A3 (en) * 1984-05-24 1986-06-11 "Prodata" Keyboard, particularly for data-treating machine, such as cash-register and similar
CN101441529B (en) * 2007-11-23 2013-05-29 大道资讯有限公司 Topic-changeable automatic network society cluster mouse
CN103631810A (en) * 2012-08-27 2014-03-12 上海博路信息技术有限公司 Form filling method achieved through terminal scanning

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040099195A (en) * 2004-10-12 2004-11-26 이인섭 Program and method for entering web site login password by mouse and computer readable medium processing the method
CN201590050U (en) * 2009-11-06 2010-09-22 周葆青 Mouse
CN103576866A (en) * 2012-08-01 2014-02-12 郭家铭 Special mouse having storage function and applicable to advertising gifts and clients
CN103259667A (en) * 2013-06-07 2013-08-21 北京邮电大学 Method and system for eID authentication on mobile terminal
CN104159149A (en) * 2014-08-26 2014-11-19 吴松珀 Multi-user mouse based screen information interaction method, device and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113158152A (en) * 2021-05-13 2021-07-23 广西科技师范学院 Computer intelligent auxiliary system based on behavior analysis

Also Published As

Publication number Publication date
CN104580237B (en) 2019-04-30
CN104580237A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN110463161B (en) Password state machine for accessing protected resources
US10223520B2 (en) System and method for integrating two-factor authentication in a device
JP6898297B2 (en) Service processing methods, devices, and servers
US11736292B2 (en) Access token management method, terminal, and server
WO2016115759A1 (en) Method for logging in website, server, client and peripheral
EP3011713B1 (en) Method and system protecting against identity theft or replication abuse
US11790077B2 (en) Methods, mediums, and systems for establishing and using security questions
US10044761B2 (en) User authentication based on user characteristic authentication rules
US9451454B2 (en) Mobile device identification for secure device access
CN110768968B (en) Authorization method, device, equipment and system based on verifiable statement
US8701199B1 (en) Establishing a trusted session from a non-web client using adaptive authentication
US20200067705A1 (en) Methods, apparatuses, and computer program products for frictionless electronic signature management
US11349665B2 (en) Device attestation server and method for attesting to the integrity of a mobile device
CN108965331B (en) Login verification method, device and system
US20140053251A1 (en) User account recovery
CN107911340B (en) Login verification method, device and equipment of application program and storage medium
CN107005605A (en) Device identification in authorization of service
EP3476077A1 (en) Password generation device and password verification device
US20080046750A1 (en) Authentication method
GB2423396A (en) Use of a token to retrieve user authentication information
CN108769080B (en) Method and system for logging in website by mobile terminal and website server
CN116347439A (en) Third party authentication method, system, storage medium and electronic device
JP2019219999A (en) System determining apparatus, system determining method, and system determining program
KR20140145729A (en) System and method for user identifying

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: 15878436

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15878436

Country of ref document: EP

Kind code of ref document: A1