Summary of the invention
Embodiment of the present invention technical problem to be solved is, provides a kind of authentication information input method and device, can realize the automatic input of authentication information, and user, without the need to remembeing authentication information during the logging in of each website or application program, improves Consumer's Experience.
The invention provides a kind of authentication information input method, be applied to first terminal, comprise:
Receive the mark at the described second terminal current active interface that the second terminal sends, described current active interface is the login interface of webpage or the login interface of application software;
According to the mark at described current active interface, obtain the authentication information of the mark correspondence at described current active interface, described authentication information comprises the one in following two kinds of authentication informations: username and password authentication information, cipher authentication information;
Described authentication information is sent to described second terminal, and described authentication information is used for described second terminal and logs in described current active interface.
Alternatively, after the mark at the described second terminal current active interface that described reception second terminal sends, the described mark according to described current active interface, before obtaining the authentication information of the mark correspondence at described current active interface, described method also comprises:
Whether the mark judging described current active interface is the mark that prestores;
If the determination result is YES, then perform the described mark according to described current active interface, obtain the step of the authentication information of the mark correspondence at described current active interface.
Alternatively, if judged result is no, then the authentication information of the mark correspondence at the described current active interface of described acquisition is specially: the authentication information obtaining input;
Described method also comprises: store the mark at described current active interface, described authentication information, and the mark at described current active interface and the corresponding relation of described authentication information.
Alternatively, described authentication information is stored in safe space, and described safe space is the storage area of encryption;
Before the mark at the described second terminal current active interface that described reception second terminal sends, also comprise:
Obtain the decryption information of input, described decryption information is for accessing described safe space;
Judge that whether described decryption information is correct, if so, then perform the step of the mark at the described second terminal current active interface that reception second terminal sends.
Alternatively, described decryption information is iris, fingerprint or character string.
Present invention also offers a kind of authentication information input unit, be applied to first terminal, comprise:
First receiving element, for receiving the mark at the described second terminal current active interface that the second terminal sends, described current active interface is the login interface of webpage or the login interface of application software;
First acquiring unit, for the mark according to described current active interface, obtain the authentication information of the mark correspondence at described current active interface, described authentication information comprises the one in following two kinds of authentication informations: username and password authentication information, cipher authentication information;
First transmitting element, for described authentication information is sent to described second terminal, described authentication information is used for described second terminal and logs in described current active interface.
Alternatively, described device also comprises:
First judging unit, judges whether the mark at described current active interface is the mark that prestores;
Trigger element, if be yes for the judged result of the first judging unit, then trigger and performs described first acquiring unit.
Alternatively, if the judged result of the first judging unit is no, described first acquiring unit specifically for, obtain input authentication information;
Described device also comprises: storage element, for storing the mark at described current active interface, described authentication information, and the mark at described current active interface and the corresponding relation of described authentication information.
Alternatively, described authentication information is stored in safe space, and described safe space is the storage area of encryption;
Described device also comprises: second acquisition unit, for in the described mark according to described current active interface, before obtaining the authentication information of the mark correspondence at described current active interface, obtain the decryption information of input, described decryption information is for accessing described safe space;
Second judging unit, for judging that whether described decryption information is correct;
If described trigger element is also yes for the judged result of the second judging unit, then triggers and perform described first receiving element.
Alternatively, described decryption information is iris, fingerprint or character string.
Present invention also offers a kind of authentication information input method, be applied to the second terminal, comprise:
Judge whether current active interface is the login interface of webpage or the login interface of application software;
If the determination result is YES, then the mark at described current active interface is sent to first terminal; The mark at described current active interface is used for described first terminal according to the mark at described current active interface, obtain the authentication information of the mark correspondence at described current active interface, described authentication information comprises the one in following two kinds of authentication informations: username and password authentication information, cipher authentication information;
Receive the described authentication information that described first terminal sends, and described authentication information is input to described current active interface.
Present invention also offers a kind of authentication information input unit, be applied to the second terminal, comprise:
3rd judging unit, for judging whether current active interface is the login interface of webpage or the login interface of application software;
Second transmitting element, for if the determination result is YES, then sends the mark at described current active interface to first terminal; The mark at described current active interface is used for described first terminal according to the mark at described current active interface, obtain the authentication information of the mark correspondence at described current active interface, described authentication information comprises the one in following two kinds of authentication informations: username and password authentication information, cipher authentication information;
Second receiving element, for receiving the described authentication information that described first terminal sends, and is input to described current active interface by described authentication information.
Present invention also offers a kind of authentication information input system, comprise first terminal, the second terminal, wherein, described first terminal comprises the above-mentioned authentication information input unit being applied to described first terminal, and described second terminal comprises the authentication information input unit being applied to described second terminal.
Foregoing invention, whether the second terminal judges current active interface is the login interface of webpage or the login interface of application software, if so, then sends the mark at current active interface to first terminal; First terminal receives the mark at the second terminal current active interface that the second terminal sends, according to the mark at current active interface, obtain the authentication information of the mark correspondence at current active interface, this authentication information comprises the one in following two kinds of authentication informations: username and password authentication information, cipher authentication information, and authentication information is sent to described second terminal; Second terminal receives the authentication information that first terminal sends, and authentication information is input to current active interface should, authentication information is used for described second terminal and logs in described current active interface, thus realize the automatic input of authentication information at login interface, user, without the need to remembeing authentication information during the logging in of each website or application program, improves Consumer's Experience.
And, when the decryption information that the method can also be inputted by judgement is correct, just can realize the acquisition of authentication information, the safety of protection user profile.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
It should be noted that, the term used in embodiments of the present invention is only for the object describing specific embodiment, and not intended to be limiting the present invention." one ", " described " and " being somebody's turn to do " of the singulative used in the embodiment of the present invention and appended claims is also intended to comprise most form, unless context clearly represents other implications.It is also understood that term "and/or" used herein refer to and comprise one or more project of listing be associated any or all may combine.
Refer to Fig. 1, Fig. 1 is the flow chart of a kind of authentication information input method one execution mode provided by the invention, the method is applied to the system that first terminal and the second terminal form, wherein, first terminal can be mobile phone, wearable device etc., second terminal can be computer, panel computer etc., and the method comprises:
Step S101: judge whether current active interface is the login interface of webpage or the login interface of application software.
Second terminal, such as, computer, the interface of current active may not be webpage or application software, such as word interface; Even if the interface of current active is web interface or software interface, this webpage possible or application software are in logging status, or this web interface or software interface may not be the login interface of webpage or the login interface of application software.
Particularly, whether the second terminal judges current active interface is the login interface of webpage or the login interface of application software, the method judged can be judge whether that receiving user's input validation sends instruction, this instruction is used to indicate the second terminal sends mark from current active interface to first terminal, method of operation can be: user identifies that the interface of the webpage of current active is the login interface of webpage, or the interface of the application software of current active is not the login interface of application software, if, user can send instruction by the mode input validation of the button clicking " confirming to send ", second terminal receives and responds this instruction, perform step S102, otherwise, second terminal does not receive user's input validation and sends instruction, then think that the interface of webpage of current active is not the login interface of webpage, or the interface of the application software of current active is not the login interface of application software, second terminal does not send the mark at current active interface to first terminal, or process ends.The method judged can also be that whether the interface of the second terminal intelligent identification current active is web interface or software interface, and if so, now webpage or application software are in non-logging status, then perform step S102; Otherwise, process ends.
Step S102: the mark sending current active interface to first terminal.
Particularly, if current active interface is the login interface of webpage or the login interface of application software, then send the mark at current active interface to first terminal.Wherein, the mark at current active interface is for identifying webpage or application software, and wherein the mark of webpage can be network address, and the mark of application software can be the bag name of this application software; First terminal can be connected by USB interface with the second terminal, the mark at current active interface is sent to first terminal by USB data line by the second terminal, or the second terminal passes through the mark of mode to first terminal transmission current active interface of the wireless telecommunications such as WiFi, bluetooth.
Step S103: the mark receiving the current active interface that the second terminal sends.
Particularly, first terminal, such as mobile phone, receive first terminal sends current active interface mark by the mode such as USB, WiFi or bluetooth.
Step S104: according to the mark at current active interface, obtains the authentication information of the mark correspondence at current active interface.
Usually, input authentication information is needed when user's log-on webpage or application software, this authentication information is generally username and password, user can store the mark of login interface and the authentication information of its correspondence in advance, the method stored in advance can be first terminal for store authentication information file in input the mark of webpage and the authentication information of its correspondence, wherein, authentication information can be username and password, also can be password.The method stored in advance also can be pass through USB at first terminal, the mode such as WiFi or bluetooth connects the second terminal, first terminal is used as simulating keyboard, by the login interface input authentication information of first terminal in the second terminal current active, concrete method is, in first terminal input authentication information, this authentication information is sent to the second terminal by first terminal, second terminal receives this authentication information and is entered into current active login interface, now first terminal obtains the mark of this login interface, store the mark of this login interface, authentication information and their corresponding relation.
It should be noted that, this authentication information can also be stored in safe space, and this safe space is the storage area of encryption.The storage area of this encryption can be the file or folder of encryption, and first terminal, when obtaining authentication information, needs the decryption information obtaining input, when this decryption information is correct, just can access the file or folder of this encryption; The storage area of encryption also can be security domain, privacy mode or the operating system etc. of encrypting, before step S104, need the decryption information obtaining input, when decryption information is correct, just can enter security domain, privacy mode or operating system etc., just can access registrar information.Otherwise, can process ends, or prompting user decryption information mistake, the present invention is not restricted.
Also it should be noted that, this decryption information can be iris, fingerprint or character string etc.
Particularly, first terminal is searched the mark at current active interface, is obtained the authentication information of its correspondence after receiving the mark at the current active interface that the second terminal sends in the mark of the login interface stored in advance and the authentication information of its correspondence.
Step S105: authentication information is sent to the second terminal.
Particularly, authentication information is sent to the second terminal by the mode of USB data line or the wireless telecommunications such as WiFi, bluetooth by first terminal.
Step S106: receive the authentication information that first terminal sends, and authentication information is input to current active interface.
Particularly, the second terminal receives the authentication information that first terminal sends, and this authentication information is input to current login interface, the webpage that the button login current active that now user can click " login " logs in or application program.
In the present embodiment, whether the second terminal judges current active interface is the login interface of webpage or the login interface of application software, if so, then sends the mark at current active interface to first terminal; First terminal receives the mark at the second terminal current active interface that the second terminal sends, according to the mark at current active interface, obtain the authentication information of the mark correspondence at current active interface, this authentication information comprises the one in following two kinds of authentication informations: username and password authentication information, cipher authentication information, and authentication information is sent to described second terminal; Second terminal receives the authentication information that first terminal sends, and authentication information is input to current active interface, this authentication information is used for described second terminal and logs in described current active interface, thus realize the automatic input of authentication information at login interface, user, without the need to remembeing authentication information during the logging in of each website or application program, improves Consumer's Experience.
Refer to Fig. 2, Fig. 2 is the flow chart of a kind of another execution mode of authentication information input method provided by the invention, the method is applied to the system that first terminal and the second terminal form, wherein, first terminal can be mobile phone, wearable device etc., second terminal can be computer, panel computer etc., and the method comprises:
Step S201: judge whether current active interface is the login interface of webpage or the login interface of application software.
Second terminal, such as, computer, the interface of current active may not be webpage or application software, such as word interface; Even if the interface of current active is web interface or software interface, this webpage possible or application software are in logging status, or this web interface or software interface may not be the login interface of webpage or the login interface of application software.
Particularly, whether the second terminal judges current active interface is the login interface of webpage or the login interface of application software, the method judged can be judge whether that receiving user's input validation sends instruction, this instruction is used to indicate the second terminal sends mark from current active interface to first terminal, method of operation can be: user identifies that the interface of the webpage of current active is the login interface of webpage, or the interface of the application software of current active is not the login interface of application software, if, user can send instruction by the mode input validation of the button clicking " confirming to send ", second terminal receives and responds this instruction, perform step S102, otherwise, second terminal does not receive user's input validation and sends instruction, then think that the interface of webpage of current active is the login interface of webpage, or the interface of the application software of current active is not the login interface of application software, second terminal does not send the mark at current active interface to first terminal, or process ends.The method judged can also be that whether the interface of the second terminal intelligent identification current active is web interface or software interface, and if so, now webpage or application software are in non-logging status, then perform step S102; Otherwise, process ends.
Step S202: the mark sending current active interface to first terminal.
Particularly, if current active interface is the login interface of webpage or the login interface of application software, then send the mark at current active interface to first terminal.Wherein, the mark at current active interface is for identifying webpage or application software, and wherein the mark of webpage can be network address, and the mark of application software can be the bag name of this application software; First terminal can be connected by USB interface with the second terminal, the mark at current active interface is sent to first terminal by USB data line by the second terminal, or the second terminal passes through the mark of mode to first terminal transmission current active interface of the wireless telecommunications such as WiFi, bluetooth.
Step S203: the decryption information obtaining input.
Particularly, this authentication information can be stored in safe space, and this safe space is the storage area of encryption.The storage area of this encryption can be the file or folder of encryption, and first terminal, when obtaining authentication information, needs the decryption information obtaining input, when this decryption information is correct, just can access the file or folder of this encryption; The storage area of encryption also can be security domain, privacy mode or the operating system etc. of encrypting, before step S206, need the decryption information obtaining input, when decryption information is correctly, just can enter security domain, privacy mode or operating system etc., just can access registrar information.Otherwise, can process ends, or prompting user decryption information mistake, the present invention is not restricted.
It should be noted that, this decryption information can be iris, fingerprint or character string etc.
Step S204: judge that whether decryption information is correct.
Particularly, first terminal judges that whether the decryption information inputted is consistent with the decryption information preset, and if so, then decryption information is correct, performs step S205.
It should be noted that, step S203 can carry out before or after step S201 or step S202.
Step S205: the mark receiving the current active interface that the second terminal sends.
Particularly, first terminal, such as mobile phone, receive first terminal sends current active interface mark by the mode such as USB, WiFi or bluetooth.
It should be noted that, also can perform step S205 before step S203, now when judged result is for being, then performing step S206.
Step S206: whether the mark judging current active interface is the mark that prestores;
Usually, input authentication information is needed when user's log-on webpage or application software, this authentication information is generally username and password, user can store the mark of login interface and the authentication information of its correspondence in advance, the method stored in advance can be first terminal for store authentication information file in input the mark of webpage and the authentication information of its correspondence, wherein, authentication information can be username and password, also can be only have password, not have user name.The method stored in advance also can be pass through USB at first terminal, the mode such as WiFi or bluetooth connects the second terminal, first terminal is used as simulating keyboard, by the login interface input authentication information of first terminal in the second terminal current active, concrete method is, in first terminal input authentication information, this authentication information is sent to the second terminal by first terminal, second terminal receives this authentication information and is entered into current active login interface, now first terminal obtains the mark of this login interface, store the mark of this login interface, authentication information and their corresponding relation.
Particularly, the mark at current active interface and the authentication information of its correspondence of the second terminal transmission may do not stored in first terminal in advance.Now, first terminal judges whether the mark of this current active interface is the mark that prestores, this mark that prestores is the mark of the login interface that first terminal stores in advance, concrete judgment mode can be: first terminal searches the mark whether containing current active interface in certification mark store files, if, then current active interface be designated the mark that prestores, perform step S207; Otherwise, perform step S208.
Step S207: according to the mark at current active interface, obtains the authentication information of the mark correspondence at current active interface.
Particularly, first terminal is searched the mark at current active interface, is obtained the authentication information of its correspondence after receiving the mark at the current active interface that the second terminal sends in the mark of the login interface stored in advance and the authentication information of its correspondence.
Step S208: the authentication information obtaining input.
Particularly, first terminal obtain user input authentication information, concrete way is: user in first terminal input authentication information, i.e. username and password.
Step S209: store mark, the authentication information at current active interface, and the mark at current active interface and the corresponding relation of authentication information.
Particularly, the authentication information of the mark at current active interface, input and their corresponding relation can be stored in authentication information file by first terminal, when avoiding log in this current active interface next time, again input.
Step S210: authentication information is sent to the second terminal.
Particularly, after step S207, step S208 or S209, authentication information is sent to the second terminal by the mode of USB data line or the wireless telecommunications such as WiFi, bluetooth by first terminal.
Step S211: receive the authentication information that first terminal sends, and authentication information is input to current active interface.
Particularly, the second terminal receives the authentication information that first terminal sends, and this authentication information is input to current login interface, the webpage that the button login current active that now user can click " login " logs in or application program.
In the above-described embodiments, whether the second terminal judges current active interface is the login interface of webpage or the login interface of application software, if so, then sends the mark at current active interface to first terminal; First terminal obtains the decryption information of input, when decryption information is correct, receive the mark at the second terminal current active interface that the second terminal sends, and whether the mark judging current active interface is the mark that prestores, if so, then according to the mark at current active interface, obtain the authentication information of the mark correspondence at current active interface, otherwise, obtain the authentication information of input, and authentication information be sent to described second terminal; Second terminal receives the authentication information that first terminal sends, and authentication information is input to current active interface, this authentication information is used for described second terminal and logs in described current active interface, thus realize the automatic input of authentication information at login interface, user, without the need to remembeing authentication information during the logging in of each website or application program, improves Consumer's Experience.
And, when the decryption information that the method can also be inputted by judgement is correct, just can realize the acquisition of authentication information, the safety of protection user profile.
Refer to Fig. 3, Fig. 3 is the structural representation of an execution mode of authentication information input unit one provided by the invention, and this authentication information input unit 1 is applied to first terminal, comprising: the first receiving element 301, first acquiring unit 302 and the first transmitting element 303, wherein
First receiving element 301, for receiving the mark at the described second terminal current active interface that the second terminal sends, described current active interface is the login interface of webpage or the login interface of application software;
First acquiring unit 302, for the mark according to described current active interface, obtain the authentication information of the mark correspondence at described current active interface, described authentication information comprises the one in following two kinds of authentication informations: username and password authentication information, cipher authentication information;
First transmitting element 303, for described authentication information is sent to described second terminal, described authentication information is used for described second terminal and logs in described current active interface.
It should be noted that, the function of each functional module of authentication information input unit 30 in the embodiment of the present invention can according to the method specific implementation in said method embodiment, its specific implementation process with reference to the associated description of the embodiment of the method described in above-mentioned Fig. 2 or Fig. 3, can repeat no more herein.
Refer to Fig. 4, Fig. 4 is the structural representation of another execution mode of authentication information input unit one provided by the invention, this authentication information input unit 1 is applied to first terminal, comprise: the first receiving element 301, first acquiring unit 302, first transmitting element 303, first judging unit 304, trigger element 305, storage element 306, second acquisition unit 307 and the second judging unit 308, wherein
First receiving element 301, for receiving the mark at the described second terminal current active interface that the second terminal sends, described current active interface is the login interface of webpage or the login interface of application software;
First acquiring unit 302, for the mark according to described current active interface, obtain the authentication information of the mark correspondence at described current active interface, described authentication information comprises the one in following two kinds of authentication informations: username and password authentication information, cipher authentication information;
First transmitting element 303, for described authentication information is sent to described second terminal, described authentication information is used for described second terminal and logs in described current active interface.
Alternatively, described device also comprises:
First judging unit 304, judges whether the mark at described current active interface is the mark that prestores;
Trigger element 305, if be yes for the judged result of the first judging unit 304, then trigger and performs described first receiving element 301.
Alternatively, if the judged result of the first judging unit 304 is no, described first acquiring unit 302 specifically for, obtain input authentication information;
Described device also comprises: storage element 306, for storing the mark at described current active interface, described authentication information, and the mark at described current active interface and the corresponding relation of described authentication information.
Alternatively, described authentication information is stored in safe space, and described safe space is the storage area of encryption;
Described device also comprises: second acquisition unit 307, for in the described mark according to described current active interface, before obtaining the authentication information of the mark correspondence at described current active interface, obtain the decryption information of input, described decryption information is for accessing described safe space;
Second judging unit 308, for judging that whether described decryption information is correct;
Trigger element 305, if be yes for the judged result of the second judging unit 308, then trigger and performs described first acquiring unit 302.
Alternatively, described decryption information is iris, fingerprint or character string.
It should be noted that, the function of each functional module of authentication information input unit 30 in the embodiment of the present invention can according to the method specific implementation in said method embodiment, its specific implementation process with reference to the associated description of the embodiment of the method described in above-mentioned Fig. 2 or Fig. 3, can repeat no more herein.
Refer to Fig. 5, Fig. 5 is the structural representation of an execution mode of authentication information input unit two provided by the invention, and this authentication information input unit 2 50 is applied to the second terminal and answers, and comprising:
3rd judging unit 501, for judging whether described current active interface is the login interface of webpage or the login interface of application software;
Second transmitting element 502, for if the determination result is YES, then sends the mark at described current active interface to first terminal; The mark at described current active interface is used for described first terminal according to the mark at described current active interface, obtain the authentication information of the mark correspondence at described current active interface, described authentication information comprises the one in following two kinds of authentication informations: username and password authentication information, cipher authentication information;
Second receiving element 503, for receiving the described authentication information that described first terminal sends, and is input to described current active interface by described authentication information.
It should be noted that, the function of each functional module of authentication information input unit 2 50 in the embodiment of the present invention can according to the method specific implementation in said method embodiment, its specific implementation process with reference to the associated description of the embodiment of the method described in above-mentioned Fig. 2 or Fig. 3, can repeat no more herein.
Refer to Fig. 6, Fig. 6 is the structural representation of a kind of authentication information input system one execution mode provided by the invention.This authentication information input system comprises: first terminal 61, second terminal 62, and wherein, first terminal 61 and the second terminal 62 can pass through USB data line communication, also can the communication of the wireless mode such as WiFi, bluetooth; First terminal 61 comprises above-mentioned authentication information input unit 1; Second terminal 62 comprises above-mentioned authentication information input unit 50.
It should be noted that, in first terminal 61 in authentication information input system in the embodiment of the present invention, in authentication information input unit 1 and the second terminal 62, the function of each functional module of authentication information input unit 2 50 can according to the method specific implementation in said method embodiment, its specific implementation process with reference to the associated description of said method embodiment, can repeat no more herein.
In sum, whether the second terminal judges current active interface is the login interface of webpage or the login interface of application software, if so, then sends the mark at current active interface to first terminal; First terminal obtains the decryption information of input, when decryption information is correct, receive the mark at the second terminal current active interface that the second terminal sends, and whether the mark judging current active interface is the mark that prestores, if so, then according to the mark at current active interface, obtain the authentication information of the mark correspondence at current active interface, otherwise, obtain the authentication information of input, and authentication information be sent to described second terminal; Second terminal receives the authentication information that first terminal sends, and authentication information is input to current active interface, this authentication information is used for described second terminal and logs in described current active interface, thus realize the automatic input of authentication information at login interface, user, without the need to remembeing authentication information during the logging in of each website or application program, improves Consumer's Experience.
And, when the decryption information that the method can also be inputted by judgement is correct, just can realize the acquisition of authentication information, the safety of protection user profile.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only a kind of preferred embodiment of the present invention, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are done, still belong to the scope that invention is contained.