Abstract:
A method for updating seed data in a dynamic token comprises: an interaction interface sends user information to an application server for verification, receives a verification result returned by the application server, continuously receives dynamic token information when the verification result is valid, and sends same to the application server; the application server generates a request data packet containing the dynamic token information and application information and sends same to an authentication centre; the authentication centre acquires seed data corresponding to the dynamic token information and the application information and sends same to the application server; the application server converts the seed data into photosensitive data and displays same by means of the interaction interface; and the dynamic token obtains the seed data by acquiring the photosensitive data. The present invention can realize that the seed data in a dynamic token is automatically updated by a user, and meanwhile, a dynamic token can be applied to multiple applications.

Description:
FIELD OF THE INVENTION 
       [0001]    The present invention relates to a method for updating seed data in a dynamic token, which belongs to information security field. 
       PRIOR ART 
       [0002]    In prior art, OTP (One-time password) is a safe and convenient technology which prevents an account number from being pilfered. A random combination of numbers, which is unpredictable, is generated as a one-time password according to a special algorithm, and each OTP can only be used once. When the user is authenticated by a system, he or she must enters an OTP associated with an account number and a static password, and the user can get access to the system and conduct a transaction when the account number, the static password and the OTP are authenticated successfully. In this way, legitimate and uniqueness of the user can be ensured. The most important advantage of the dynamic token is that each OTP used by a user is different from time to time. Therefore, the user&#39;s identity cannot be copied by hackers. It is acknowledged that the technology of authentication via an OTP is one of the most effective way for authenticating user&#39;s identity. The technology can protect users from exposing to online scams such as account password being stolen by hackers or Trojan, fake website, which leads to monetary and proprietary damages. At present, the OTP technology is applied in multiple fields such as E-bank, online game, telecommunication operator, E-governance and enterprise. 
         [0003]    At present, seed data are usually built in dynamic tokens by token producers before the dynamic tokens leave factory. After being activated, the token cannot be updated by a user, and the token can only be used in single application. 
       SUMMARY OF THE INVENTION 
       [0004]    The object of the invention is to provide a method for updating seed data in a dynamic token, which can realize that the seed data can be updated by a user, and meanwhile the dynamic token can be applied in multiple application. 
         [0005]    Therefore, the present invention provides a method for updating seed data in a dynamic token, including: 
         [0006]    Step S1), sending, by an interactive interface, user&#39;s information to an application server for authentication after the user&#39;s information is received by the interactive interface, and waiting for receiving an authentication result; 
         [0007]    Step S2), authenticating, by the application server, whether the user&#39;s information is legitimate after the user&#39;s information is received by the application server, and returning the authentication result to the interactive interface; 
         [0008]    Step S3), outputting, by the interactive interface, information indicating that the user&#39;s information is illegitimate in the case that the authentication result received by the interactive interface is that the user&#39;s information is illegitimate, and ending; waiting for receiving dynamic token information in the case that the authentication result received by the interactive interface is that the user&#39;s information is legitimate; sending the dynamic token information to the application server when the dynamic token information is received, and then waiting for receiving light sensation data; 
         [0009]    Step S4), generating, by the application server, a first request packet which includes application information and the dynamic token information after the dynamic token information is received by the application server, sending the first request packet to certificate authority, and waiting for receiving seed data; 
         [0010]    Step S5), determining, by the certificate authority, whether the dynamic token information in the first request packet is legitimate after the first request packet is received by the certificate authority. if yes, obtaining the seed data corresponding to the application information and the dynamic token information in the first request packet, returning the seed data to the application server, and executing Step S6; otherwise, returning information indicating that the dynamic token information is illegitimate to the application server, and executing Step S9; 
         [0011]    Step S6), transferring, by the application server, the seed data and the application information to light sensation data after the seed data is received by the application server, and returning the light sensation data to the interactive interface; 
         [0012]    Step S7), outputting, by the interactive interface, the light sensation data after the light sensation data is received by the interactive interface; 
         [0013]    Step S8), collecting, by the dynamic token, the light sensation data outputted by the interactive interface to obtain the seed data and the application information, storing the seed data along with the application information correspondingly, and ending; 
         [0014]    Step S9), sending, by the application server, information indicating that the dynamic token information is illegitimate to the interactive interface after the application server receives information indicating that the dynamic token information is illegitimate; and 
         [0015]    Step S10), outputting, by the interactive information, information indicating that the dynamic token information is illegitimate after the interactive interface receives information indicating that the dynamic token information is illegitimate, and ending. 
         [0016]    Preferably, the dynamic token information specifically including: a serial number on a shell of the dynamic token, or a serial number stored inside the token, or the serial number on the shell of the token and the serial number stored inside the token, or the serial number on the shell of the token and an one time password generated by the token according to initial seed data. 
         [0017]    Preferably, in the case that the dynamic token information is the serial number stored inside the token, or the serial number on the shell of the token and the serial number stored inside the token, before the dynamic token information is received. Step S3 further including: displaying the serial number stored inside the token after a user&#39;s request is received by the dynamic token. 
         [0018]    Preferably, in the case that the dynamic token information is the serial number on the shell of the dynamic token and the OTP generated by the dynamic token according to the initial seed data, before the dynamic token information is received. Step S3 further including: generating an OTP according to the initial seed data stored in the dynamic token, and displaying a generated OTP after the user&#39;s request is received by the dynamic token. 
         [0019]    Preferably, in the case that the dynamic token information is the serial number on the shell of the dynamic token and the serial number stored inside the dynamic token. in Step S4, after the dynamic token information is received by the application server, and before the first request packet including the application information and the dynamic token information is generated, the step further including: determining, by the application server whether the serial number on the shell of the dynamic token is as same as a serial number which is bound with the user&#39;s information; if yes, generating the first request packet which includes the application information and the dynamic token information; otherwise, returning information indicating that the dynamic token information does not correspond to the user&#39;s information to the interactive interface; the method further including: outputting the information indicating that the dynamic token information dose not correspond to the user&#39;s information when the information is received by the interactive interface, and ending. 
         [0020]    Preferably, in the case that the dynamic token information is the serial number on the shell of the dynamic token, or the serial number stored inside the dynamic token, or the serial number on the shell of the dynamic token and the OTP generated by the dynamic token according to the initial seed data, determining, by the certificate authority, whether the dynamic token information in the first request packet is legitimate specifically including: the certificate authority determining whether a serial number as same as the serial number in the first request packet exists; if yes, the dynamic token information in the first request packet is legitimate; otherwise, the dynamic token information in the first request packet is illegitimate. 
         [0021]    Preferably, in the case that the dynamic token information is the serial number on the shell of the dynamic token and the serial number stored inside the dynamic token, the certificate authority determining whether the dynamic token information in the first request packet is legitimate specifically including: the certificate authority determining whether a serial number as same as the serial number stored inside the dynamic token in the first request packet exists; if yes, the dynamic token information in the first request packet is legitimate; otherwise, the dynamic token information in the first request packet is illegitimate. 
         [0022]    Preferably, in the case that the dynamic token information is the serial number on the shell of the dynamic token and the OTP generated by the dynamic token according to the initial seed data, before the seed data corresponding to the application information and the dynamic token information in the first request packet is obtained. Step S5 further including: the certificate authority obtaining initial seed data corresponding to the dynamic token information, generating a verification password according to the obtained initial seed data, and determining whether the verification password matches the OTP in the first request packet; if yes, obtaining seed data corresponding to the dynamic token information; otherwise, returning the information indicating that the OTP is wrong to the application server; the method further including: sending information indicating that the OTP is wrong to the interactive interface after the application server receives the information; outputting, by the interactive interface, the information indicating that the OTP is wrong after the interactive interface receives the information, and ending. 
         [0023]    Preferably, in the case that the dynamic token information is the serial number on the shell of the dynamic token, or the serial number stored inside the dynamic token, or the serial number on the shell of the dynamic token and the OTP generated by the dynamic token according to the initial seed data. Step S6 further including: the application server waiting for receiving programming confirmation; the method further including: after receiving the programming confirmation, the application server storing the serial number in the dynamic token with the user&#39;s information correspondingly, and ending. 
         [0024]    Preferably, obtaining, by the certificate authority, the seed data corresponding to the application information and the dynamic token information in the first request packet specifically including: the certificate authority searching a stored seed data corresponding to the application information and the dynamic token information in the first request packet. 
         [0025]    Preferably, obtaining, by the certificate authority, the seed data corresponding to the application information and the dynamic token information in the first request packet specifically including: the certificate authority generating seed data, which includes seed cipher, corresponding to the application information and the dynamic token information in the first request packet, and storing the seed data along with the application information and the dynamic token information in the first request packet correspondingly. 
         [0026]    Preferably, after the dynamic token obtains the seed data and the application information, the method further including: the dynamic token decrypting the seed cipher to obtain a seed plain text. 
         [0027]    Preferably, the seed data including: the seed cipher, a length of a password, time interval, time of automatic close down, affordable time for password error, time of automatic unlock, a period of automatic unlock, time of pressing a key for starting, a length of unlock code and/or a length of unlock challenge code. 
         [0028]    Preferably, the method further including an application login authentication process, wherein the authentication process specifically includes: 
         [0029]    Step A1), searching corresponding seed data according to application information in a request for generating a password after the dynamic token receives the request for generating a password, generating an OTP according to a searched seed data, and outputting a generated OTP; 
         [0030]    Step A2), sending user&#39;s information and the OTP to the application server for authentication after the user&#39;s information and the OTP are received by the interactive interface, and waiting for receiving a authentication result; 
         [0031]    Step A3), determining whether the user&#39;s information is legitimate after the user&#39;s information and the OTP are received by the application server, in the case that the user&#39;s information is legitimate, searching a serial number corresponding to the user&#39;s information, generating a second request packet according to the OTP, application information and a searched serial number, sending the second request packet to the certificate authority, waiting for receiving a authentication result of the OTP, and executing Step A4; in the case that the user&#39;s information is illegitimate, returning a result that the user&#39;s information is illegitimate to the interactive interface, and executing Step A6; 
         [0032]    Step A4), searching seed data corresponding to the serial number and the application information in the second request packet after the second request packet is received by the certificate authority, generating an authentication password according to searched seed data, determining whether the authentication password matches the OTP in the second request packet, and returning OTP authentication information to the application server; 
         [0033]    Step A5), after the OTP authentication information returned by the certificate authority is received by the application server, returning a result that authentication is successful to the interactive interface if the OTP authentication information is that the OTP is authenticated successfully, and executing Step A6; returning a result that the OTP is wrong to the interactive interface if the OTP authentication information is that the OTP is authenticated unsuccessfully, and executing Step A6; and 
         [0034]    Step A6), after the authentication result is received by the interactive interface, displaying an interface which is showed up after the application logins successfully if the authentication result is that authentication is successful, and the application login authentication process ending; outputting information indicating that the user&#39;s information is illegitimate if the authentication result is that the user&#39;s information is illegitimate, and the application login authentication process ending; outputting information indicating that the OTP is wrong if the authentication result is that the OTP is wrong, and the application login authentication process ending. 
         [0035]    Preferably, in Step A3, the application server searching the serial number corresponding to the user&#39;s information, and generating the second request packet according to the OTP, the application information and the searched serial number specifically including: the application server searching a serial number corresponding to the user&#39;s information, if the serial number is found, generating the second request packet according to the OTP, the application information and the searched serial number; if the serial number is not found, returning an authentication result that the dynamic token is not bound to the interactive interface, and executing Step A6; Step A6 further including: when the authentication result is that the dynamic token is not bound, the interactive interface outputting the information indicating that the dynamic token is not bound, and the application login authentication process ending. 
         [0036]    Preferably, after the certificate authority returns the seed data to the application server, the method further including: setting, by the certificate authority, the first certificate label corresponding to the seed data which is returned to the application server; generating, by the certificate authority, an authentication password according to the searched seed data, specifically including: checking, by the certificate authority, whether the first certificate label corresponding to the searched seed data is set; if yes, generating a first preset number of authentication password; otherwise, generating a second preset number of authentication password; the first preset number is more than the second preset number. 
         [0037]    According to the present invention, users can self-update seed data in a dynamic token, and the dynamic token can be used in multiple applications as well. 
     
    
     
       BRIEF DESCRIPTION OF THE ACCOMPANYING DRAWINGS 
         [0038]    The technical solutions of the embodiments of the disclosure are described clearly and completely in conjunction with the accompanying drawings as follows. Apparently, the described drawings are merely a part of but not all of the embodiments according to the disclosure. Based on the described embodiments of the disclosure, other drawings obtained by those skilled in the art without any creative work belong to the scope of the disclosure. 
           [0039]      FIG. 1  is a diagram illustrating a method for updating seed data in a dynamic token according to Embodiment 1 of the present invention; 
           [0040]      FIG. 2  illustrates a diagram of an application login authentication process in the method for updating seed data in a dynamic token according to Embodiment 1 of the present invention; 
           [0041]      FIG. 3  illustrates a diagram of a seed data programming process in the method for updating seed data in a dynamic token according to Embodiment 2 of the present invention; and 
           [0042]      FIG. 4  illustrates a diagram of an application login authentication process in the method for updating seed data in a dynamic token according to the Embodiment 2 of the present invention. 
       
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
       [0043]    The technical solution in the embodiments of the present invention is further described more clearly and completely with the drawings in the embodiments of the present invention. Apparently, embodiments described are just a few of all Embodiments of the present invention. On the basis of embodiments of the invention, all other related embodiments made by those skilled in the art without inventive work belong to the scope of the invention. 
       Embodiment 1 
       [0044]    The present embodiment 1 provides a method for updating seed data in a dynamic token, which is applied in a system including a dynamic token, client and a certificate authority, in which, the client includes an interactive interface and an application server. As shown in  FIG. 1 , the method specifically includes: 
         [0045]    Step S1), user&#39;s information is sent to the application server for being authenticated after the user&#39;s information is received by the interactive interface, and an authentication result is waited for; 
         [0046]    Step S2), after the user&#39;s information is received by the application server, whether the user&#39;s information is legitimate is authenticated, and a authentication result is returned to the interactive interface; 
         [0047]    Step S3), after the authentication result is received by the interactive interface, the received authentication result is determined; if the authentication result is that the user&#39;s information is illegitimate, information indicating that the user&#39;s information is illegitimate is outputted by the interactive interface, and the step comes to an end; if the authentication result is that the user&#39;s information is legitimate, the interactive waits for receiving dynamic token information, when the dynamic token information is received, the dynamic token information is sent to the application server, and light sensation data is waited for receiving; 
         [0048]    Step S4), after the dynamic token information is received by the application server, a first request packet including the application information and the dynamic token information is generated and sent to a certificate authority, and seed data is waited for receiving; 
         [0049]    Step S5), after the first request packet is received by the certificate authority, whether the dynamic token information in the first request packet is legitimate is determined; if yes, seed data, which corresponds to the application information and the dynamic token information in the first request packet, is obtained by the certificate authority, and the seed data is returned to the application server, and Step S6 is executed; otherwise, information indicating that the dynamic token information is illegitimate is returned by the certificate authority to the application server, and Step S9 is executed; 
         [0050]    Step S6), after the seed data is received by the application server, the seed data and the application information are transferred into light sensation data, and the light sensation data is returned to the interactive interface; 
         [0051]    Step S7), after it is received by the interactive interface, the light sensation data is output; Step S8), the light sensation data outputted by the interactive interface is collected by the dynamic token to obtain seed data and the application information, the seed data is stored with the application information correspondingly, and the step comes to an end; 
         [0052]    Step S9), after information indicating that the dynamic token information is illegitimate is received by the application server, the information indicating that the dynamic token information is illegitimate is sent to the interactive interface; 
         [0053]    Step S10), after the information indicating that the dynamic token information is illegitimate is received by the interactive interface, the information indicating that the dynamic token is illegitimate is outputted, and the step comes to an end. 
         [0054]    In the present embodiment 1, the dynamic token information specifically includes: a serial number on a shell of the dynamic token; or a serial number stored inside the dynamic token; or the serial number on the shell of the dynamic token and the serial number stored inside the dynamic token; or the serial number on the shell of the dynamic token and an OTP generated by the dynamic token according to initial seed data; 
         [0055]    in the case that the dynamic token information is the serial number stored inside the dynamic token, or the serial number on the shell of the dynamic token and the serial number stored inside the dynamic token, in Step S3, before the dynamic token information is received, the step further includes: the serial number stored inside the dynamic token is displayed after an user&#39;s request is received by the dynamic token; 
         [0056]    in the case that the dynamic token information is the serial number on the shell of the dynamic token and the OTP generated by the dynamic token according to the initial seed data, in Step S3, before the dynamic token information is received, the step further includes: an OTP is generated according to the initial seed data stored in the dynamic token after a user&#39;s request is received by the dynamic token, and the generated OTP is displayed; 
         [0057]    in the case that the dynamic token information is the serial number on the shell of the dynamic token and the serial number stored inside the dynamic token, in Step S4, after the dynamic token information is received by the application server, and before the first request packet including the application information and the dynamic token information is generated, the step further includes: the application server determines whether the serial number on the shell of the dynamic token in the dynamic token information is the same as a serial number which is bound to the user&#39;s information; if yes, the first request packet including the application information and the dynamic token information is generated; otherwise, information indicating that the dynamic token information does not correspond to the user&#39;s information is returned to the interactive interface; correspondingly, the method further includes: the interactive interface receives information indicating that the dynamic token information does not correspond to the user&#39;s information, and outputs the information indicating that the dynamic token information does not correspond to the user&#39;s information, the step comes to an end; 
         [0058]    in the case that the dynamic token information is the serial number on the shell of the dynamic token, or the serial number stored inside the dynamic token, or the serial number on the shell of the dynamic token and the OTP generated by the dynamic token according to the initial seed data, the certificate authority determining whether the dynamic token information in the first request packet is legitimate specifically includes: the certificate authority determining whether a serial number which is as same as the serial number in the first request packet exists; if yes, the dynamic token information in the first request packet is legitimate; otherwise, the dynamic token information in the first request packet is illegitimate; 
         [0059]    in the case that the dynamic token information is the serial number on the shell of the dynamic token and the serial number stored inside the dynamic token, the certificate authority determining whether the dynamic token information in the first request packet is legitimate specifically includes: the certificate authority determines whether a serial number which is as same as the serial number stored in the dynamic token in the first request packet exists; if yes, the dynamic token information in the first request packet is legitimate; otherwise, the dynamic token information in the first request packet is illegitimate; 
         [0060]    in the case that the dynamic token information is the serial number on the shell of the dynamic token and the OTP generated by the dynamic token according to the initial seed data, in Step S5, before obtaining the seed data corresponding to the application information and the dynamic token information in the first request packet, the step further includes: the initial seed data corresponding to the dynamic token information is obtained by the certificate authority, a password is generated according to an obtained initial seed data, whether the password matches the OTP in the first request packet is determined; if yes, seed data corresponding to the dynamic token information is obtained; otherwise, information indicating that the OTP is wrong is returned to the application server; correspondingly, the method further includes: after the information indicating that the OTP is wrong is received by the application server, the information indicating that the OTP is wrong is sent to the interactive interface; after the information is received by the interactive interface, the information indicating that the OTP is wrong is outputted, and the step comes to an end; 
         [0061]    in the case that the dynamic token information is the serial number on the shell of the dynamic token, or the serial number stored inside the dynamic token, or the serial number on the shell of the dynamic token and the OTP generated by the dynamic token according to the initial seed data, Step S6 further includes: the application server waits for receiving programming confirmation; correspondingly, the method further includes: after the programming confirmation is received by the interactive interface, the programming confirmation is sent to the application server; after the programming confirmation is received by the application server, the serial number in the dynamic token information is stored with the user&#39;s information correspondingly, and the step comes to an end. 
         [0062]    As shown in  FIG. 2 , the method further includes an application login authentication process, which includes: 
         [0063]    Step A1), after a request for generating a password is received by the dynamic token, corresponding seed data is searched according to application information in the request for generating a password, an OTP is generated according to a searched seed data and outputted; 
         [0064]    Step A2), after the user&#39;s information and the OTP are received by the interactive interface, the user&#39;s information and the OTP are sent to the application server for authentication, an authentication result is waited for being received; 
         [0065]    Step A3), after the user&#39;s information and the OTP are received by the application server, whether the user&#39;s information is legitimate is determined; if yes, a serial number corresponding to the user&#39;s information is searched by the application server, a second request packet is generated according to the OTP, the application information and a found serial number, the second request packet is sent to the certificate authority, and an authentication result of the OTP is waited for being received, Step A4 is executed; if the user&#39;s information is illegitimate, an authentication result that the user&#39;s information is illegitimate is returned to the interactive interface by the application server, and Step A6 is executed; 
         [0066]    Step A4), after the second request packet is received by the certificate authority, seed data corresponding to the serial number and the application information in the second request packet is searched, a password is generated according to a found seed data; whether the password matches the OTP in the second request packet is determined, and the authentication information of the OTP is returned to the application server; 
         [0067]    Step A5), after the application server receives the authentication information of the OTP returned by the certificate authority, the authentication information of the OTP is determined, an authentication result that the OTP is authenticated successfully is returned to the interactive interface by the application server in the case that the authentication information of the OTP is that the OTP is authenticated successfully, and Step A6 is executed; an authentication result that the OTP is wrong is returned to the interactive interface by the application server in the case that the authentication information of the OTP is that the OTP is authenticated unsuccessfully, and Step A6 is executed; 
         [0068]    Step A6), after the authentication result is received by the interactive interface, the result is determined, an interface which is showed up after the application logins successfully is displayed if the authentication result is that the OTP is authenticated successfully, and the application login authentication process comes to an end; information indicating that the user&#39;s information is illegitimate is outputted if the authentication result is that the user&#39;s information is illegitimate, and the application login authentication process comes to an end; information indicating that the OTP is wrong is outputted if the authentication result is that the OTP is wrong, and the application login authentication process comes to an end. 
       Embodiment 2 
       [0069]    Embodiment 2 provides a method for updating seed data in a dynamic token, which is applied to a system including a dynamic token, a client and a certificate authority, in which, the client includes an interactive interface and an application server. The method comprises a programming process of seed data and an application login authentication process: 
         [0070]    As shown in  FIG. 3 , the programming process of seed data includes: 
         [0071]    Step  101 , after user&#39;s information entered by a user is received by the interactive interface, the user&#39;s information is sent to an application server, and an authentication result returned by the application server is waited for being received; 
         [0072]    Specifically, the user&#39;s information includes a user name and a user password, etc. 
         [0073]    Step  102 , after the user&#39;s information sent by the interactive interface is received by the application server, the received user&#39;s information is stored as current user&#39;s information, and the current user&#39;s information is authenticated whether it is legitimate; 
         [0074]    Step  103 , an authentication result is returned to the interactive interface by the application server; 
         [0075]    specifically, in Embodiment 2, an authentication result that the user&#39;s information is legitimate is returned to the interactive interface in Step  103  in the case that the current user&#39;s information is authenticated as legitimate in Step  102 ; an authentication result that the user&#39;s information is illegitimate is returned to the interactive interface in Step  103  in the case that the current user&#39;s information is authenticated as illegitimate in Step  102 . 
         [0076]    Step  104 , after an authentication result returned by the application server is received by the interactive interface, the authentication result is determined, Step  105  is executed if the result is that the user&#39;s information is illegitimate; Step  106  is executed if the result is that the user&#39;s information is illegitimate; 
         [0077]    Step  105 , information indicating that the user&#39;s information is illegitimate is outputted by the interactive interface, the programming process of seed data comes to an end; 
         [0078]    Furthermore, in Embodiment 2, after the information indicating that the user&#39;s information is illegitimate is outputted by the interactive interface, the method further includes: information indicating that enter user&#39;s information again is outputted, the system waits for receiving the user&#39;s information re-entered by the user, and Step  101  is returned to. 
         [0079]    Step  106 , the interactive interface waits for receiving dynamic token information entered by a user; 
         [0080]    preferably, the dynamic token information specifically is a serial number on a shell of the dynamic token, or a serial number stored inside the dynamic token which is displayed on the LCD of the dynamic token, or the serial number on the shell of the dynamic token and the serial number stored inside the dynamic token which is displayed on the LCD of the dynamic token, or the serial number on the shell of the dynamic token and an OTP displayed on the LCD of the dynamic token. 
         [0081]    Step  107 , after the dynamic token information entered by the user is received by the interactive interface, the dynamic token information is sent to the application server, the application server is waited for returning light sensation data; 
         [0082]    in Embodiment 2, in the case that the dynamic token information is the serial number stored inside the dynamic token, which is displayed on the LCD of the dynamic token, or the serial number on the shell of the dynamic token and the serial number stored inside the dynamic token, Step  107  further includes: the serial number stored in the dynamic token is displayed after a user&#39;s request is received by the dynamic token; 
         [0083]    in the case that the dynamic token information is the serial number on the shell of the dynamic token and the OTP displayed on the LCD of the dynamic token, Step  107  further includes: after a user&#39;s request is received by the dynamic token, an OTP is generated according to an initial seed which is programmed before the dynamic token leaves factory, and a generated OTP is displayed. 
         [0084]    Step  108 , after the dynamic token information sent by the interactive interface is received by the application server, the received dynamic token information is stored as current dynamic token information, and a first request packet including application information and the current dynamic token information is generated; 
         [0085]    in Embodiment 2, in the case that the dynamic token information is the serial number on the shell of the dynamic token (hereafter referred to as external number) and the serial number, which is displayed on the LCD of the dynamic token, stored inside the dynamic token, after the dynamic token information sent by the interactive interface is received by the application server, the method further includes that determine whether the external number is same as the serial number of the dynamic token which is bound with the current user&#39;s information; if yes, the first request packet including the application information and the current dynamic token information is generated; otherwise, information indicating that the dynamic token information does not match the user&#39;s information is returned to the interactive interface, after the interactive interface receives the information, the information is outputted, the programming process of seed data comes to an end; 
         [0086]    Step  109 , the first request packet is sent to the certificate authority by the application server, the seed data returned by the certificate authority is waited for; 
         [0087]    Step  110 , after the first request packet sent by the application server is received by the certificate authority, whether the dynamic token information in the first request packet is legitimate is determined; if yes, Step  114  is executed; otherwise, Step  111  is executed; 
         [0088]    Specifically, in the case that the dynamic token information is the serial number on the shell of the dynamic token, or the serial number stored inside the dynamic token, or the serial number on the shell of the dynamic token and the OTP displayed on the LCD of the dynamic token, determining whether the dynamic token in the first request packet is legitimate includes: determining whether there exists a serial number which is as same as the serial number in the first request packet; if yes, the dynamic token information in the first request packet is legitimate; otherwise, the dynamic token information in the first request packet is illegitimate; 
         [0089]    In the case that the dynamic token information is the serial number on the shell of the dynamic token (hereafter referred to as the external number) and the serial number, which is displayed on the LCD of the dynamic token, stored in the dynamic token (hereafter referred to as an internal number), determining whether the dynamic token information in the first request packet is legitimate includes: determining whether there exists a serial number which is as same as the internal number in the first request packet in the certificate authority; if yes, the dynamic token information in the first request packet is legitimate; otherwise, the dynamic token information in the first request packet is illegitimate. 
         [0090]    Step  111 , information indicating that the dynamic token information is illegitimate is returned to the application server by the certificate authority; 
         [0091]    Step  112 , after the information indicating that the dynamic token information is illegitimate returned by the certificate authority is received by the application server, the information is sent to the interactive interface; 
         [0092]    Step  113 , after the information indicating that the dynamic token information is illegitimate sent by the application server is received by the interactive interface, the information indicating that the dynamic token information is illegitimate is outputted, the programming process of seed data comes to an end; 
         [0093]    Furthermore, in Embodiment 2, after the information indicating that the dynamic token is illegitimate is outputted by the interactive interface, the method further includes information indicating that prompt a user to re-enter dynamic token information is outputted, Step  106  is returned to. 
         [0094]    Step  114 , seed data corresponding to the application information and the dynamic token information in the first request packet is obtained by the certificate authority; 
         [0095]    in the present embodiment 2, in the case that the dynamic token information is the serial number on the shell of the dynamic token and the OTP displayed on the LCD of the dynamic token, before the seed data corresponding to the application information and the dynamic token information in the first request packet is obtained by the certificate authority, the step further includes: initial seed data corresponding to the dynamic token information is obtained, a password is generated according to an obtained initial seed data, whether the password matches the OTP in the first request packet is determined; if yes, seed data corresponding to the application information and the dynamic token information in the first request packet is obtained; otherwise, information indicating that the OTP is wrong is returned to the application server, after the application server receives the information, the information indicating that the OTP is wrong is sent to the interactive interface, after the interactive interface receives the information, the information indicating that the OTP is wrong is outputted, the programming process of seed data comes to an end; 
         [0096]    in Embodiment 2, the password may be one OTP or multiple OTPs, if the OTP in the first request packet is as same as the password, or one OTP of the password, the password matches the OTP in the first request packet; otherwise, the password does not match the OTP in the first request packet; 
         [0097]    Specifically, obtaining the seed data corresponding to the application information and the dynamic token information in the first request packet includes: the seed data corresponding to the application information and the dynamic token information in the first request packet is searched in the certificate authority; or seed data, which includes seed cipher, corresponding to the application information and the dynamic token information in the first request packet is generated, and generated seed data is stored with the application information and the dynamic token information in the first request packet correspondingly. Specifically, the certificate authority uses a key that the certificate authority pre-agree with the dynamic token to use to encrypt seed plaintext. 
         [0098]    In addition to the seed cipher, the seed data in the present embodiment further includes: a length of a password and/or time interval and/or time of automatic close down and/or limit times for password error and/or time of automatic unlock and/or a period of automatic unlock and/or time of pressing a key for starting and/or a length of unlock code and/or a length of unlock challenge code, etc.; the use of above data except seed cipher by the dynamic token belongs to prior art, details are unnecessary herein. 
         [0099]    Step  115 , the obtained seed data is returned to the application server by the certificate authority; 
         [0100]    Step  116 , after the seed data returned by the certificate authority is received by the application server, the seed data and the application information are transferred into light sensation data; 
         [0101]    Step  117 , the light sensation data is returned to the interactive interface by the application server; 
         [0102]    Step  118 , after the light sensation data returned by the application server is received by the interactive interface, received light sensation data is outputted; 
         [0103]    Step  119 , the light sensation data outputted by the interactive interface is collected by the dynamic token to obtain the seed data and the application information, the seed data is stored with the application information correspondingly, the programming is successful, and the programming process of seed data comes to an end. 
         [0104]    In Embodiment 2, after the seed data is obtained by the dynamic token, the step further includes: seed cipher in the seed data is decrypted to obtain seed plaintext; specifically, the dynamic token uses a key that the dynamic token pre-consults with the certificate authority to use to decrypt seed cipher. 
         [0105]    Specifically, in the case that the dynamic token information is the serial number on the shell of the dynamic token, or the serial number, which is displayed on the LCD of the dynamic token, stored inside the dynamic token, Step  117  further includes that the application server waits for receiving programming confirmation entered by a user, the programming confirmation is sent to the application server after the programming confirmation entered by the user is received by the interactive interface, the current serial number is stored with the current user&#39;s information correspondingly after the programming confirmation sent by the interactive interface is received by the application server, and the programming process of seed data come to an end. 
         [0106]    in the case that the dynamic token information is the serial number on the shell of the dynamic token (hereafter referred to as the external number) and the OTP displayed on the LCD of the dynamic token, Step  117  further includes: the application server waits for receiving the programming confirmation entered by a user, the programming confirmation is sent to the application server after the programming confirmation entered by the user is received by the interactive interface; the external number in the current dynamic token information is stored with the current user&#39;s information correspondingly after the programming confirmation sent by the interactive interface is received by the application server; the programming process of seed data comes to an end. 
         [0107]    Furthermore, after the programming confirmation sent by the interactive interface is received by the application server, the step further includes: the application server sends the programming confirmation to the certificate authority, after it receives the programming confirmation sent by the application server, the certificate authority signs that the seed data corresponding to the dynamic token information and the application information in the first request packet has been programmed; correspondingly, before the seed data corresponding to the dynamic token information and the application information in the first request packet is obtained by the certificate authority, the step further includes: the certificate authority determines whether the seed data corresponding to the dynamic token information and the application information in the first request packet has been programmed, if the seed data has not been programmed, the seed data corresponding to the application information and the dynamic token information in the first request packet is obtained by the certificate authority; if the seed data has been programmed, information indicating that the seed data has been programmed is returned to the application server by the certificate authority; after the information indicating that the seed data has been programmed returned by the certificate authority is received by the application server, the information is returned to the interactive interface; the information indicating that the seed data has been programmed is outputted after the information returned by the application server is received by the interactive interface; the programming process of seed data comes to an end. 
         [0108]    As shown in  FIG. 4 , the application login authentication process includes: 
         [0109]    Step  201 , after a request for generating a password entered by a user is received by the dynamic token, corresponding seed data is searched according to application information in the request for generating a password; 
         [0110]    Step  202 , an OTP is generated by the dynamic token according to found seed data; Step  203 , a generated OTP is outputted by the dynamic token; Step  204 , after use&#39;s information and the OTP entered by the user is received by the interactive interface, the received user&#39;s information and the OTP are sent to the application server, an authentication result returned by the application server is waited for; 
         [0111]    Step  205 , after the application server receives the user&#39;s information and the OTP sent by the interactive interface, whether the user&#39;s information is legitimate is determined; if yes, Step  207  is executed; if no, Step  206  is executed; 
         [0112]    Step  206 , the application server returns an authentication result that the user&#39;s information is illegitimate to the interactive interface, and Step  219  is executed; 
         [0113]    Step  207 , the application server searches for a corresponding serial number according to received user&#39;s information, Step  209  is executed if the corresponding serial number is found; Step  208  is executed if the corresponding serial number is not found; 
         [0114]    Step  208 , the application server returns an authentication result that the dynamic token is not bound to the interactive interface, Step  219  is executed; 
         [0115]    Step  209 , a second request packet is generated by the application server according to a found serial number, a received OTP and a pre-stored application information; 
         [0116]    Step  210 , the second request packet is sent to the certificate authority by the application server, an authentication result of the OTP sent by the certificate authority is waited; 
         [0117]    Step  211 , a serial number, an OTP and application information included in the second request packet is obtained after the certificate authority receives the second request packet sent by the application server; 
         [0118]    Step  212 , seed data corresponding to the obtained serial number and the application information is searched by the certificate authority; 
         [0119]    Step  213 , a password is generated by the certificate authority by calculating according to a found seed data; 
         [0120]    Step  214 , the certificate authority determines whether the password matches the OTP obtained from the second request packet; 
         [0121]    in Embodiment 2, the password may be one or multiple OTPs, if the OTP obtained according to the second request packet is as same as the password, or as same as one OTP of the password, the password matches the OTP in the second request packet; otherwise, the password does not match the OTP in the second request packet; 
         [0122]    Preferably, before Step  213 , the process further includes: the certificate authority checks whether a first certificate label corresponding to the found seed data is set, in the case that the first certificate label is set, in Step  213 , the certificate authority generates an authentication window including relatively more passwords, and the first certificate label is reset; in the case that the first certificate label is not set, in Step  213 , the certificate authority generates an authentication window including relatively less passwords; correspondingly, after the obtained seed data is returned to the application server by the certificate authority, the programming process of seed data further includes: the initial certificate label corresponding to the seed data is set, for example, the relatively more passwords means  100  passwords; the relatively less passwords means  10  passwords. 
         [0123]    Step  215 , the authentication information of the OTP is returned to the application server by the certificate authority, and Step  216  is executed; 
         [0124]    specifically, in the case that the password matches the OTP obtained from the second request packet in Step  214 , the authentication information indicating that the OTP is authenticated successfully is returned to the application server in Step  215 ; in the case that the password does not match the OTP obtained from the second request packet in Step  214 , the authentication information indicating that the OTP is authenticated unsuccessfully. 
         [0125]    Step  216 , the authentication information of the OTP is determined after the authentication information returned by the certificate authority is received by the application server, Step  217  is executed in the case that the authentication information is that the OTP is authenticated successfully; Step  218  is executed in the case that the authentication information is that the OTP is authenticated unsuccessfully; 
         [0126]    Step  217 , the authentication result that the OTP is authenticated successfully is returned to the interactive interface by the application server, and Step  219  is executed; 
         [0127]    Step  218 , an authentication result that the OTP is wrong is returned to the interactive interface by the application server, and Step  219  is executed; 
         [0128]    Step  219 , the authentication result is determined after the authentication result returned by the application server is received by the interactive interface, Step  220  is executed in the case that the OTP is authenticated successfully; Step  221  is executed in the case that the user&#39;s information is illegitimate; Step  222  is executed in the case that the dynamic token is not bound to; Step  223  is executed in the case that the OTP is wrong; 
         [0129]    Step  220 , an interface which displays after an application logins successfully is displayed on the interactive interface, the application login authentication process comes to an end; 
         [0130]    Furthermore, after the application login authentication process comes to an end and log in successfully, corresponding operation can be performed by client according to an operation request entered by a user, in this way, the user can access to an application, it is to be noted that, operations after the application login authentication process do not belong to the protective scope of the present invention. 
         [0131]    Step  221 , information indicating that the user&#39;s information is illegitimate is outputted by the interactive interface, and the application login authentication process comes to an end; 
         [0132]    Step  222 , information indicating that the dynamic token is not bound is outputted by the interactive interface, and the application login authentication process comes to an end; 
         [0133]    Step  223 , information indicating that the OTP is wrong is outputted by the interactive interface, and the application login authentication process comes to an end. 
         [0134]    In Embodiment 2, communication data between the application server and the interactive interface includes a length and a check bit, a receiver determines whether the communication data is right via the length and the check bit in the communication data, if the communication data is right, a normal process is operated; if the communication is wrong, inform a sender that the data is wrong, and the sender re-sends communication data; furtherly, the communication data between the application server and the interactive interface can also be data which is processed according to a algorithm which is consulted by the application server and the interactive interface; more furtherly, the communication data between the application server and the interactive interface can be encrypted via internet or transferred by using a private software so as to ensure the security of the communication data. 
         [0135]    While the preferred Embodiments of the present invention have been shown and described herein, it will be obvious for those skilled in the art that such embodiments are provided by way of examples only. Any changes and substitutions will be covered by the scope of protection of the present invention. It is intended that the appended claims define the scope of protection of the present invention.