Summary of the invention
The object of the present invention is to provide a kind of system and method realizing long-range enabling based on SMS, with solve current user forget or lose key when, directly realizing auto-unlocking by SMS, avoiding the problem because not having key to enter.
The object of the invention is to be achieved through the following technical solutions.
Realizing a system for long-range enabling based on SMS, comprising the mobile phone terminal for sending note and the gate terminal for receiving note, the note that described gate end-on receives is carried out analysis and is judged, and controls to unblank according to judged result.
Preferably, be built-in with CPU, SIM card, microprocessor and module of unblanking in described gate terminal, described SIM card, microprocessor are connected with CPU respectively, and CPU is by microprocessor and model calling of unblanking.
Preferably, described gate terminal also includes a storer, and in this storer, corresponding stored is unblanked short-message instruction.
Preferably, described gate terminal also includes the note receiver module be connected with CPU, receives the note from mobile phone terminal by this note receiver module correspondence.
In addition, present invention also offers a kind of method realizing long-range enabling based on SMS, specifically comprise step:
A, gate terminal CPU receive the note from mobile phone terminal by note receiver module;
B, gate terminal CPU carry out parsing checking to the short message content obtained;
C, parsing are verified, then gate terminal CPU correspondence controls to carry out unlock operation.
Preferably, comprise before steps A:
Setting gate terminal unlock instruction, and corresponding stored is in memory, and this unlock instruction includes unlocking authority phone number and unlocking authority password.
Preferably, step B comprises:
Gate terminal CPU corresponding call gate control terminal unlock instruction, compares the short message content of acquisition and this unlock instruction, if unanimously, then resolves and is verified; Otherwise, just terminate.
Preferably, step C comprises:
Parsing is verified, then gate terminal CPU correspondence produces unlock instruction to microprocessor, and microprocessor controls according to this unlock instruction module of unblanking and carries out unlock operation.
The present invention compared with prior art, beneficial effect is: the system and method realizing long-range enabling based on SMS provided by the invention, by being provided with SIM card and note receiver module in gate terminal, receive the short message content from mobile phone terminal, and by carrying out dissection process to this short message content, pass through if resolved, then the corresponding module control gate that controls to unblank is opened, thus avoid the problem cannot entered because leaving behind key, ensure that the home safety of user simultaneously.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to shown in Fig. 1, Fig. 1 is system principle diagram of the present invention.The present invention is to provide a kind of system realizing long-range enabling based on SMS, be mainly used in solving the problem that cannot enter that current user causes because forgetting or lose key, only need to send one by mobile phone and identify that note is to gate terminal, after this note is identified by, automatic door opening, greatly convenient for users to use, for the life of user brings great convenience.
Wherein this system mainly includes one for sending the mobile phone terminal of note and one for receiving the gate terminal of note, described mobile phone terminal is necessary for the householder with enabling authority, gate terminal then judges for carrying out analysis to the note received, and controls to unblank according to judged result.
Be built-in with CPU, SIM card, microprocessor, storer, module of unblanking and note receiver module in gate terminal, described note receiver module, SIM card, microprocessor, storer are connected with CPU respectively, and CPU is by microprocessor and model calling of unblanking.
SIM card corresponds to the unique identities identification code of gate terminal, and it includes the phone number of corresponding reception note; Microprocessor is connected with CPU, and the instruction according to CPU operates control accordingly; Storer is used for storage unblanks short-message instruction, and this short-message instruction of unblanking sets according to oneself requirement for householder, and it generally includes the phone number information of householder, encrypted message and format information, only has when above-mentioned information meets the requirements completely, just can unblank; Note receiver module is connected with SIM card by CPU, and it is actually used in the note received from mobile phone terminal, and this short message content transmission CPU is carried out parsing checking.
In native system when user because of forget or lose key cause entering time, if user itself has SMS unlocking authority, then direct by the machine send unblank note to gate terminal; If user does not have unlocking authority, then correspondence is called to the user with unlocking authority, and after this user passes through incoming person's identification, a corresponding transmission note of unblanking is to gate terminal.
After gate terminal receives said short message by note receiver module, first the short-message instruction of unblanking in storer is called by CPU, and by received note and this, phone number information, encrypted message and the format information of unblanking in short-message instruction carries out comparison one by one, if all consistent, then represent that this note is legal unlock instruction, and correspondence produces unlock instruction by CPU, send to microprocessor, microprocessor controls according to this instruction module of unblanking and unblanks.
In addition, gate terminal of the present invention is when frequently receiving the mobile phone not having unlocking authority, and what meeting was corresponding sends information to the cellphone subscriber with unlocking authority, with call user's attention, and selects to report to the police, prevents stolen situation and occur.
Be more than to a kind of explanation realizing the system of long-range enabling based on SMS of the present invention, be further described below in conjunction with a kind of method realizing long-range enabling based on SMS of accompanying drawing 2 couples of the present invention.
Shown in Figure 2, Fig. 2 is principle of work process flow diagram of the present invention.Present invention also offers a kind of method realizing long-range enabling based on SMS, concrete steps are as follows:
First set gate terminal unlock instruction, and corresponding stored in memory, and this unlock instruction includes the form of the number of unlocking authority mobile phone, unlocking authority password and information of unblanking.
A, gate terminal CPU receive the note from mobile phone terminal by note receiver module;
B, gate terminal CPU carry out parsing checking to the short message content obtained;
Gate terminal CPU corresponding call gate control terminal unlock instruction, compares the short message content of acquisition and this unlock instruction, if unanimously, then resolves and is verified; Otherwise, just terminate.
C, parsing are verified, then gate terminal CPU correspondence controls to carry out unlock operation.
Parsing is verified, then gate terminal CPU correspondence produces unlock instruction to microprocessor, and microprocessor controls according to this unlock instruction module of unblanking and carries out unlock operation.
The system and method realizing long-range enabling based on SMS provided by the invention, by being provided with SIM card and note receiver module in gate terminal, receive the short message content from mobile phone terminal, and by carrying out dissection process to this short message content, pass through if resolved, then the corresponding module control gate that controls to unblank is opened, thus avoids the problem cannot entered because leaving behind key, ensure that the home safety of user simultaneously.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.