Summary of the invention
The present invention provides a kind of register method and client device, replaces operation system to generate and the verification authorization information through client device, has alleviated the burden of operation system.
A kind of register method comprises:
Client device is through obtaining log-on message with the operation system clients corresponding;
Said client device generates authorization information according to the said log-on message that obtains;
The said authorization information that said client device will generate is sent to the receiving terminal of appointment through the carrier network of trusting;
After the receiving terminal of said appointment sent, said client device obtained authorization information from the receiving terminal of said appointment in said authorization information that said client device will generate;
Said client device carries out verification to the said authorization information of obtaining;
After the said authorization information verification of obtaining was passed through, said client device sent register requirement to said operation system.
A kind of client device comprises:
First acquiring unit is used to obtain log-on message, and said log-on message is transferred to generation unit;
Generation unit is used to receive the log-on message that said acquiring unit obtains, and according to said log-on message, generates authorization information, and the authorization information that generates is transferred to first transmitting element;
First transmitting element is used to receive the authorization information that said generation unit transmits, and sends this authorization information to the receiving terminal of appointment, and is used to represent that to the second acquisition unit transmission said first transmitting element sends the notice of authorization information to the receiving terminal of appointment;
Second acquisition unit is used to receive the notice that said first transmitting element sends, and after receiving said notice, obtains authorization information from the receiving terminal of said appointment, and the authorization information of obtaining is transferred to verification unit;
Verification unit is used to receive the authorization information that said second acquisition unit transmits, and this authorization information is carried out verification, if verification is passed through, sends the registration indication to second transmitting element;
Second transmitting element is used to receive the registration indication that said verification unit is sent, and after receiving said registration indication, sends register requirement to operation system.
In the embodiment of the invention, client device replaces operation system to generate and the verification authorization information, after verification is passed through, send register requirement to operation system, and operation system only need accept request, and no longer bears the task of verification authorization information, has alleviated burden.
Embodiment
The embodiment of the invention provides a kind of register method based on cell-phone customer terminal, enumerates embodiment below the present invention is elaborated.
As shown in Figure 2, a kind of register method comprises:
201, client device is through obtaining log-on message with the operation system clients corresponding.
Said client device can obtain the log-on message of user's input, and said log-on message can comprise the sign of said client device, is mobile phone like said client device, and then the sign of said client device can be phone number.Said log-on message can also comprise the encrypted message of user name that the user inputs, registration mailbox, login etc.
202, said client device generates authorization information according to the log-on message that obtains.
For example, said client device can generate and the corresponding authorization information of said sign according to the sign that is used to represent said client device.If said client device is a mobile phone, said sign can be phone number.Concrete, said client device can generate the authorization information corresponding with this phone number according to the phone number of registration.In addition, said client device can also generate and the corresponding authorization information of this registration mailbox according to the registration mailbox.Said authorization information can be random string, like identifying code etc.
203, said client device sends through the carrier network of trusting the authorization information that generates to the receiving terminal of appointment.
The user can get access to authorization information through the receiving terminal of appointment.The receiving terminal of appointment is generally the receiving terminal that is used for Receipt Validation information in the log-on message.Therefore, the receiving terminal of appointment can be said client device, also can be other registration mailbox or mobile phones.
204, said client device with the authorization information that generates after the receiving terminal of appointment sends, said client device obtains authorization information from the receiving terminal of appointment.
If client device sends the authorization information that generates to the registration mailbox, then the user can obtain authorization information from the Email that mailbox receives, and with the authorization information input client device that obtains.
If client device sends the authorization information that generates to mobile phone, then the user can obtain authorization information from the note that mobile phone receives, and the user can import client device with authorization information.Certainly, if this client device is a mobile phone, the receiving terminal of appointment also is this mobile phone, and this mobile phone can obtain authorization information through the note that automatic parsing receives so.
205, said client device carries out verification to the authorization information of obtaining.
Concrete, said client device can judge whether the authorization information of obtaining is consistent with the authorization information of said client device generation, if consistent, the authorization information verification of then obtaining is passed through; If inconsistent, then verification failure.
206, after the authorization information verification of obtaining was passed through, said client device sent register requirement to operation system.
Verification is errorless through the expression log-on message, can register to operation system.Because client device has been accomplished the work of checking log-on message, operation system only need receive the register requirement of client device, accepts registration.Therefore, the burden of operation system is alleviated.In addition, bear the short-message fee of registration, reduced the expense that operation system need be sent the checking note to all registered users by client device oneself.
Below be example with mobile phone as client device, the inventive method is elaborated.
This mobile phone is equipped with client software, moves this client software, if the user registers, then directly selects login, if the user is also unregistered, the user can register through the register interface input log-on message of client.Log-on message comprises the phone number that is used to register, and generally also comprises information such as user name, login password.Mobile phone can generate the authorization information corresponding with the phone number that is used to register according to the phone number that is used to register.This authorization information can be random string, like identifying code.
Preferably, the phone number of registration is this hand set number.The user registers through the client on this mobile phone with this hand set number, and this mobile phone can be accomplished registration process automatically, and need not artificial input validation information.Concrete, this mobile phone generates after the authorization information obtaining log-on message, through the SMS transmission module of this mobile phone authorization information is outwards sent with the note form, and the destination address that note is sent is the number of this mobile phone.As shown in Figure 3, client device 301 sends note through carrier network 302 to client device 301, and promptly client device 301 is the sender of note, also is the recipient.
This mobile phone with the authorization information that generates with the form of note after this mobile phone sends, this mobile phone can be resolved the note that this mobile phone receives, and from the note that this mobile phone receives, obtains authorization information.This process need not the user and consults note, artificial input validation information.Optional, this mobile phone is resolved the note by this mobile phone transmission that receives within the Preset Time after sending authorization information, with the authorization information of this mobile phone transmission of quick acquisition.This Preset Time generally can be made as 10 seconds to 30 seconds.
Obviously, if the phone number that is used to register of input is not this phone number, this mobile phone can not obtain authorization information automatically, and log-on message can't obtain checking.
Mobile phone carries out verification to the authorization information of obtaining after the authorization information that obtains this mobile phone transmission, if the authorization information of obtaining is consistent with the authorization information that this mobile phone generates, the authorization information verification of then obtaining is passed through.As shown in Figure 3, after verification is passed through, client device 301 will send register requirement to operation system 304 through the Internet 303.Client device 301 is a mobile phone.304 need of operation system are accepted registration, and the log-on message that record client device 301 sends is accomplished user's registration.
Can find out that from above mobile phone has been accomplished the task of the generation and the verification of authorization information, and system does not bear this task.Therefore, the embodiment of the invention has alleviated the burden that network registry brings to system.
And introduction and the inventive method clients corresponding equipment.
As shown in Figure 4, a kind of client device 407 comprises:
First acquiring unit 401 is used to obtain log-on message, and said log-on message is transferred to generation unit 402;
Generation unit 402 is used to receive the log-on message that said acquiring unit obtains, and according to said log-on message, generates authorization information, and the authorization information that generates is transferred to first transmitting element 403;
First transmitting element 403; Be used to receive the authorization information of said generation unit 402 transmission; And send this authorization information, and send to second acquisition unit 404 and to be used to represent that said first transmitting element 403 sends the notice of authorization information to the receiving terminal of appointment to the receiving terminal of appointment;
Second acquisition unit 404 is used to receive the notice that said first transmitting element 403 sends, and after receiving said notice, obtains authorization information from the receiving terminal of said appointment, and the authorization information of obtaining is transferred to verification unit 405;
Verification unit 405 is used to receive the authorization information that said second acquisition unit 404 transmits, and this authorization information is carried out verification, if verification is passed through, sends the registration indication to second transmitting element 406;
Second transmitting element 406 is used to receive the registration indication that said verification unit 405 is sent, and after receiving said registration indication, sends register requirement to operation system.
The present embodiment client device can carry out in the network registration process on through client device the user, and the log-on message of user's input is confirmed that the affirmation process comprises the generation and the verification of authorization information.Therefore, the present embodiment client device can replace existing service system to confirm log-on message, alleviates the operation system burden.
Optional, said verification unit 405 is further used for judging whether the authorization information of obtaining is consistent with the authorization information of said generation unit 402 generations, if the authorization information verification of then obtaining is passed through.
Optional, said generation unit 402 is further used for representing according to being used in the log-on message sign of said client device, generates and the corresponding authorization information of said sign.This client device can be mobile phone, the said phone number that is designated.
Optional, said first transmitting element 403 is further used for sending this authorization information to the receiving terminal of appointment with the form of note, and the receiving terminal of said appointment is said client device.
Optional; Need not the artificial input validation information of user in order to realize client device to obtain authorization information automatically; Said second acquisition unit 404 is further used for after the notice that receives 403 transmissions of said first transmitting element; Resolve the note that said client device receives, from the note that said client device receives, obtain authorization information, and the authorization information of obtaining is transferred to verification unit 405.
Optional; For fast automatic acquisition authorization information; Said second acquisition unit 404 is further used for after the notice that receives 403 transmissions of said first transmitting element, resolves the note by said client device transmission that receives in the Preset Time of said client device after said first transmitting element 403 sends said authorization information.
More than through embodiment a kind of register method of the present invention and client device have been carried out detailed introduction, the explanation of above embodiment just is used for help understanding method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that on embodiment and range of application, all can change, in sum, this description should not be construed as limitation of the present invention.