Embodiment
Below in conjunction with specific embodiment and accompanying drawing, the technical scheme of login method and login system is described in detail, so that it is clearer.
As shown in Figure 1, in one embodiment, a kind of login method, comprises the following steps:
Step S110, obtains Quick Response Code, and this Quick Response Code is resolved and obtained address information.
Concrete, Quick Response Code can be the Quick Response Code that comprises station address information, or the Quick Response Code of the customizing messages of the network address information that comprises client software and identify customer end software, or only comprises the network address information of client software.By the Quick Response Code obtaining is resolved and can be obtained address information, this address information is station address information or network address information.
Obtaining the information of Quick Response Code can carry out by the terminal that possesses camera function and decoding function, as passed through the terminal taking Quick Response Codes such as mobile phone or IPAD, and then the Quick Response Code of taking is resolved and is obtained address information.
Step S120, obtains and the corresponding credential information of this address information, and submits this credential information to.
Concrete, the corresponding credential information of address information can be username and password, or the authentication information such as the sequence number of some client software.The corresponding relation of storage address information and credential information in terminal in advance.For example microblogging address information is corresponding with microblogging account number and password, and instant communication client software address information is corresponding with instant messaging account number and password.
Step S130, verifies this credential information, is verified and completes login.
Concrete, by credential information is verified, as all correct in username and password, be verified, thereby complete login.
Above-mentioned login method, obtain address information by obtaining Quick Response Code parsing, the credential information corresponding according to address acquisition of information, validating documents information completes login, do not need user's Input Address information and credential information, simple operation, and can remove the trouble because forgetting that credential information cannot be logined from.
Further, as shown in Figure 2, in one embodiment, to take Quick Response Code Website login as example, above-mentioned login method comprises:
Step S210, obtains Quick Response Code, and this Quick Response Code is resolved and obtained address information.
Step S220, judges whether to select fail safe login, if so, performs step S230, if not, and execution step S240.
Concrete, fail safe login refers to the safety in order to protect credential information, a kind of safe login mode that service side provides.If select this fail safe login mode service side's identity to be verified herein, if do not select this fail safe login mode not need service side's identity to verify.
Step S230, extracts the keyword in address information, obtains the PKI retaining in advance according to this keyword, according to this PKI, service side's identity corresponding to this address information is verified, then performs step S240.
Concrete, user is after certain website registration, and this website service side can send its PKI and retain to user, service side signs documents with its private key, the file of oneself being signed because of service side has irrefutable property, and user deciphers by PKI, thereby realizes the certification of user to service side's identity.
In station address information, comprise some keywords, if the keyword comprising in www.abc.com is " abc.com ".User is in the time of this station address registered user name and password, record the corresponding relation of this keyword and PKI, get to resolve and obtain address information, and extract after keyword, from the corresponding relation of keyword and PKI, find corresponding PKI according to keyword, then according to PKI, service side's identity is verified.
Step S240, obtains pre-configured corresponding credential information according to this keyword.
User, in the time of this station address registered user name and password, records this station address information and the user name of registration and the corresponding relation of password, finds corresponding credential information according to the keyword extracting from this keyword with the corresponding relation of user name and password.The so convenient Quick Response Code by shooting is resolved and is obtained after this station address information, and automatic acquisition, to corresponding user name and password, does not need user again to input.
Step S250, judges whether to select fail safe login, if so, performs step S260, if not, performs step S270.
Step S260, submits the hardware information of credential information and the terminal obtained in advance to, then performs step S280.
Concrete, the hardware information of terminal can be the device number of mobile phone, the MAC Address of PC etc.
Step S270, submits this credential information to, then performs step S280.
Step S280, has been verified login.
Concrete, in the time submitting the hardware information of this credential information and terminal to, to credential information and all row checkings of hardware information, this credential information and hardware information are verified and complete login.When submitting credential information to, credential information is verified and completes login.
In addition, obtain and the corresponding credential information of this address information, and submit to the step of this credential information to comprise above-mentioned step S240 and S260, or step S240 and S270.
Further, in one embodiment, as shown in Figure 3, in the time of login client software, described login method comprises:
Step S310, obtains Quick Response Code, and this Quick Response Code is resolved and obtained address information and the customizing messages for identify customer end software.
Concrete, after the terminal taking Quick Response Code with shoot function, Quick Response Code is resolved and obtained address information and customizing messages, this customizing messages is for identify customer end software, determine client software so that follow-up according to this customizing messages, send to client software to realize login the result.This customizing messages is the Useful Information field that definition is transmitted in data communication, also can define some useless data fields so that expansion.
Step S320, obtains and the corresponding credential information of this address information, and submits this credential information and customizing messages to.
Step S330, verifies this credential information, and this is verified to information and notifies to identify the client software obtaining according to this customizing messages, to login this client software.
Concrete, service side after credential information is verified notifies the information being verified to client software, so that login client software.For example instant communication client software, take Quick Response Code parsing by mobile phone and obtain address information, instant messaging account number and the password corresponding according to address acquisition of information, submitting to third party service side verifies, after being verified, service side will be verified information and send to instant communication client software, realize the login of instant communication client software.
Concrete proof procedure can be as above-mentioned steps S220 to S270.
Further, in one embodiment, when login client software, in this login method, credential information is verified and do not needed to submit to remote service side, but verify in the terminal of band shooting analytical capabilities, this client software has sequence number in advance, when this sequence number is bought this client software for user, service side offers user's legal sequence number, as the sequence number of legal antivirus software.Therefore only need verify at local area network (LAN) when checking.
As shown in Figure 4, in one embodiment, a kind of login system, comprises that Quick Response Code obtains and parsing module 110, acquisition of credentials and submission module 120 and checking login module 130.Wherein:
Quick Response Code obtains and parsing module 110, for obtaining Quick Response Code, and this Quick Response Code is resolved and is obtained address information.
Concrete, Quick Response Code can be the Quick Response Code that comprises station address information, or the Quick Response Code of the customizing messages of the network address information that comprises client software and identify customer end software, or only comprises the network address information of client software.By the Quick Response Code obtaining is resolved and can be obtained address information, this address information is station address information or network address information.
Quick Response Code obtains with parsing module 110 and can be the terminal execution that possesses camera function and decoding function, as passed through the terminal taking Quick Response Codes such as mobile phone or IPAD, and then the Quick Response Code of taking is resolved and is obtained address information.Quick Response Code obtains with parsing module 110 for taking Quick Response Code, and this Quick Response Code is resolved and obtained address information.
Acquisition of credentials and submission module 120, for obtaining and the corresponding credential information of this address information, and submit this credential information to.
Concrete, the corresponding credential information of address information can be username and password, or the authentication information such as the sequence number of some client software.The corresponding relation of storage address information and credential information in terminal in advance.For example microblogging address information is corresponding with microblogging account number and password, and instant communication client software address information is corresponding with instant messaging account number and password.
Checking login module 130, for this credential information is verified, completes login after being verified.
Concrete, by credential information is verified, as all correct in username and password, be verified, thereby complete login.
Above-mentioned login system, obtain address information by obtaining Quick Response Code parsing, the credential information corresponding according to address acquisition of information, validating documents information completes login, do not need user's Input Address information and credential information, simple operation, and can remove the trouble because forgetting that credential information cannot be logined from.
Further, in one embodiment, as shown in Figure 5, acquisition of credentials and submission module 120 comprise acquiring unit 122 and commit unit 124.Wherein:
Acquiring unit 122, for extracting the keyword of this address information, and obtains pre-configured corresponding credential information according to this keyword.
In station address information, comprise some keywords, if the keyword comprising in www.abc.com is " abc.com ".User, in the time of this station address registered user name and password, records this station address information and the user name of registration and the corresponding relation of password, finds corresponding credential information according to the keyword extracting from this keyword with the corresponding relation of user name and password.The so convenient Quick Response Code by shooting is resolved and is obtained after this station address information, and automatic acquisition, to corresponding user name and password, does not need user again to input.
Commit unit 124, for submitting this credential information to or submitting this credential information to and the hardware information of the terminal obtained in advance.
Checking login module 130 is also in the time submitting the hardware information of this credential information and terminal to, and to this credential information and all row checkings of hardware information, this credential information and hardware information are verified and complete login.
Further, in one embodiment, as shown in Figure 6, when Website login, above-mentioned login system is obtained and parsing module 110, acquisition of credentials and submission module 120 and checking login module 130 except comprising Quick Response Code, also comprises judge module 140 and service side's authentication module 150.Wherein:
Judge module 140 obtains Quick Response Code for obtaining at Quick Response Code with parsing module 110, and after this Quick Response Code is resolved and obtained address information, judges whether to select fail safe login.
Service side's authentication module 150, in the time that judgement selection fail safe is logined, extracts the keyword in address information, obtains the PKI retaining in advance according to described keyword, according to this PKI, service side's identity corresponding to described address information is verified.
Concrete, user is after certain website registration, and this website service side can send its PKI and retain to user, service side signs documents with its private key, the file of oneself being signed because of service side has irrefutable property, and user deciphers by PKI, thereby realizes the certification of user to service side's identity.
User is in the time of this station address registered user name and password, record the corresponding relation of this keyword and PKI, get to resolve and obtain address information, and extract after keyword, from the corresponding relation of keyword and PKI, find corresponding PKI according to keyword, then according to PKI, service side's identity is verified.
Acquisition of credentials and submission module 120, also for after passing through in service side's authentication, are obtained pre-configured credential information according to this keyword.
Judge module 140, also for obtaining after pre-configured credential information according to this keyword, judges whether to select fail safe login.
Acquisition of credentials and submit to module 120 also for selecting fail safe when login to submit credential information to and the hardware information of the terminal obtained in advance; Or while judging non-selected fail safe login, submit credential information to.Concrete, the hardware information of terminal can be the device number of mobile phone, the MAC Address of PC etc.
Further, in one embodiment, when login is when client software, Quick Response Code obtains with parsing module 110 also for obtaining Quick Response Code, and this Quick Response Code is resolved and obtained address information and the customizing messages for identify customer end software.
Concrete, after the terminal taking Quick Response Code with shoot function, Quick Response Code is resolved and obtained address information and customizing messages, this customizing messages is for identify customer end software, determine client software so that follow-up according to this customizing messages, send to client software to realize login the result.This customizing messages is the Useful Information field that definition is transmitted in data communication, also can define some useless data fields so that expansion.
Acquisition of credentials and submission module 120 are obtained and the corresponding credential information of this address information, and submit described credential information and customizing messages to.
Checking login module 130 is also for this credential information is verified, and this is verified to information and notifies to identify the client software obtaining according to this customizing messages, to login this client software.
Concrete, service side after credential information is verified notifies the information being verified to client software, so that login client software.For example instant communication client software, take Quick Response Code parsing by mobile phone and obtain address information, instant messaging account number and the password corresponding according to address acquisition of information, submitting to third party service side verifies, after being verified, service side will be verified information and send to instant communication client software, realize the login of instant communication client software.
Further, in one embodiment, when login client software, when acquisition of credentials and submission module 120 submit to credential information to verify in this login system, do not need to submit to remote service side, but be with the checking login module 130 in the terminal of taking analytical capabilities to verify, this client software has sequence number in advance, when this sequence number is bought this client software for user, service side offers user's legal sequence number, as the sequence number of legal antivirus software.Therefore only need verify at local area network (LAN) when checking.
The above embodiment has only expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.