A kind of unlocking method and system waiting for tripper
Technical field
The present invention relates to network intelligence applied technical field, more particularly to a kind of unlocking method waiting for tripper and it is
System.
Background technology
Traditional waits for that tripper (hereinafter referred to as safety box) generally can be divided into two kinds:Machine insurance case and electronic insurance
Case.For machine insurance case using coded lock come control machinery compass, when unlatching, needs multiple rotational password turntable, cumbersome, it is necessary to
Keep password firmly in mind, however, enriching constantly with people's life content, various fields, various forms of passwords also more to get up, and loses
Forget, to obscure the case where password inevitable;Electronic safe stores electronic cipher in the safe, and user can be with selection key
The modes such as input, brush IC card realize unlock, however, user must operate in front of safety box when opening, this limitation
Obviously the demand of certain customers is had been unable to meet.
With the arriving of the Internet of things era, the functions of various equipment is more and more intelligent, hommization, and control means are also therewith
Tend to diversification.WLAN (Wireless Local Area Networks;Referred to as:WLAN) entered comprehensively universal
Epoch realize that degree of safety is high, conveniently unlock operates in conjunction with the intelligent mobile terminal of almost human hand one, it has also become this
The hot issue of field concern.
Invention content
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of unlock sides waiting for tripper
Method and system are used to solve the problems, such as that cumbersome, place to be limited in the prior art, ensure the unlock operation of high security, and
Improve user experience.
In order to achieve the above objects and other related objects, the present invention provides a kind of unlocking method waiting for tripper, including:
Router receives the unlocking request information for waiting for tripper that mobile terminal is sent, and the solicited message is believed comprising ID
Breath;
The id information of reception is compared the router with first id information that prestores, if comparison result is consistent,
Then the id information is sent to and described waits for tripper;If comparison result is inconsistent, sends and match to the mobile terminal
Failure information, and prompt to reacquire the id information;
It is described to wait for that tripper receives the id information from the router, and compared with second id information that prestores
It is right, different information are fed back to the mobile terminal, so that the mobile terminal is confirmed whether to be unlocked behaviour according to comparison result
Make.
Optionally, the method includes initialization step, the initialization step includes:
It prestores id information when the router does not store described first, it is described to wait for that tripper does not store described second and prestores
When id information, the router by the id information from the mobile terminal of reception be stored as described first prestore ID believe
Breath, and be sent to and described wait for tripper;
It is described to wait for that tripper receives described first and prestores and id information and be stored as described second and prestore id information.
Optionally, the id information includes at least one set of finger print information and waits for that tripper is described correspondingly with described
The mac address information of mobile terminal.
Optionally, described to include according to the different information of comparison result feedback to the mobile terminal:
First situation:It is described to wait for that tripper is sent out by the router to the mobile terminal when comparison result is consistent
The prompting message whether unlocked is sent, is unlocked when receiving the when of confirming unlocking signal;
Second situation:It is described to wait for tripper by the router to the mobile terminal when comparison result is inconsistent
Failure prompting message is sent, and prompts to reacquire the id information.
In order to achieve the above objects and other related objects, the present invention also provides a kind of system for unlocking waiting for tripper, packets
It includes:
Mobile terminal, the mobile terminal include:
Id information acquisition module, for obtaining the id information, the id information includes at least one set of finger print information and institute
State the mac address information of mobile terminal;
Message processing module, for sending unlocking request to router side, the unlocking request includes the id information;It connects
It receives from router side, wait for the feedback information at tripper end, and to waiting for that tripper end sends feedback result;
Router side, the router side include:
Router services module, for receiving the unlocking request for including the id information from the mobile terminal;It deposits
Store up the id information and to wait for tripper end send;It receives from the feedback information for waiting for tripper end and is sent to institute
State mobile terminal;The feedback result of the mobile terminal is sent to and described waits for tripper end;
Module for processing routers, will if comparison result is consistent for comparing the id information and first prestoring id information
The id information waits for tripper end described in being sent to;If comparison result is inconsistent, sends matching to the mobile terminal and lose
Information is lost, and prompts to reacquire the id information;
Router initial module, for carrying out initialization operation to the router side, when the router side does not store
Described first prestores id information, then the id information from the mobile terminal of reception is stored as described first prestores ID
Information, and be sent to and described wait for tripper end;
Wait for tripper end, it is described to wait for that tripper end includes:
Tripper message processing module is waited for, for that will receive from the id information of the router side and second
Whether the id information that prestores is compared, when comparison result is consistent, unlocked to mobile terminal transmission by the router side
Prompting message, when receive confirm unlocking signal when unlock;When comparison result is inconsistent, by the router side to described
Mobile terminal sends failure prompting message, and prompts to reacquire the id information;
It waits for tripper initialization module, for waiting for that tripper end carries out initialization operation to described, waits solving when described
Locking device end do not store described second prestore id information when, by described first from the router side prestore id information storage
It prestores id information for described second.
In order to achieve the above objects and other related objects, the present invention also provides a kind of mobile terminal, the mobile terminal obtains
It takes id information and sends unlocking request information to external equipment, the solicited message includes id information.
Optionally, the mobile terminal further includes finger print collecting function.
Optionally, the mobile terminal further includes information process unit, and described information processing unit includes:It receives from institute
The feedback information of external equipment is stated, and sends feedback result, if feedback result is yes, is unlocked;If feedback result is no, no
Unlock.
Optionally, the id information includes at least one set of finger print information and mac address information.
In order to achieve the above objects and other related objects, the present invention also provides a kind of router, the router provides net
Network service, including:Router services unit, Route processing unit and router initial cell;
Router services unit:Receive the unlocking request information comprising id information from external equipment;Store the ID
Information is simultaneously sent to another external equipment;It receives the feedback information from another external equipment and is sent to the outside and set
It is standby, the feedback result that the external equipment is sent is sent to another external equipment;
Route processing unit:It compares the id information and first prestores id information, it, will be described if comparison result is consistent
Id information is sent to another external equipment;If comparison result is inconsistent, to the external equipment send it fails to match letter
Breath, and prompt to reacquire the id information;
Router initial cell:Initialization operation is carried out to the router, when the router does not store described first
Prestore id information, then the id information from the external equipment of reception is stored as described first prestores id information, and
It is sent to another external equipment.
Optionally, the id information includes at least one set of finger print information and mac address information.
In order to achieve the above objects and other related objects, the present invention also provides one kind waiting for tripper, described to wait for unlock dress
Set including:Information process unit, initialization unit;
Information process unit:Id information of the reception from external equipment is compared with second id information that prestores, than
When consistent to result, the prompting message whether unlocked is sent, is unlocked when receiving the when of confirming unlocking signal;Comparison result is inconsistent
When, failure prompting message is sent, and prompt to reacquire the id information;
Initialization unit:Wait for that tripper carries out initialization operation to described, to wait for that tripper does not store described when described
Second prestore id information when, first id information that prestores is stored as described second and prestores id information.
Optionally, described to wait for that tripper is safety box.
Optionally, the id information includes at least one set of finger print information and mac address information.
As described above, a kind of unlocking method and system waiting for tripper of the present invention, has the advantages that:
1, unlocking request includes id information, id information include finger print information and with mobile end for waiting for that tripper is uniquely bound
The mac address information at end ensure that the safety of unlocking request source side;
2, mobile terminal connect consolidated network with tripper is waited for by router, the mistake of the password of network entry to unlock
Journey provides a heavy safety guarantee again, and the place for unlocking operation at this time is no longer limited to wait in front of tripper, in the network coverage
It can be operated in range;
3, it router and waits for that tripper compares step, confirms the accuracy of unlocking request repeatedly, ensure unlock knot
Fruit is errorless;
What 4, feedback information mechanism compensated for that user generates by misoperation inputs id information by mistake or is assigned because of error
The problems such as unlocking command, designs more hommization, while also ensuring the safety of unlock.
Description of the drawings
Fig. 1 is shown as a kind of unlocking method flow chart waiting for tripper of the present invention;
Fig. 2 is shown as a kind of system for unlocking module map waiting for tripper of the present invention.
Component label instructions
1 waits for the system for unlocking of tripper
111 id information acquisition modules
112 message processing modules
121 router services modules
122 module for processing routers
123 router initial modules
131 wait for tripper message processing module
132 wait for tripper initialization module
S1~S10 steps
Specific implementation mode
Illustrate that embodiments of the present invention, those skilled in the art can be by this specification below by way of specific specific example
Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through in addition different specific realities
The mode of applying is embodied or practiced, the various details in this specification can also be based on different viewpoints with application, without departing from
Various modifications or alterations are carried out under the spirit of the present invention.It should be noted that in the absence of conflict, following embodiment and implementation
Feature in example can be combined with each other.
It should be noted that the diagram provided in following embodiment only illustrates the basic structure of the present invention in a schematic way
Think, component count, shape and size when only display is with related component in the present invention rather than according to actual implementation in schema then
Draw, when actual implementation kenel, quantity and the ratio of each component can be a kind of random change, and its assembly layout kenel
It is likely more complexity.
First embodiment
Referring to Fig. 1, the present embodiment provides a kind of unlocking method waiting for tripper, it is applied to that there is WLAN etc. can realize
In the releasing process of the devices such as safety box, the safe-guard door lock of network savvy.
Step S1:In the state of network connection, mobile terminal by wait for tripper unlocking request information and it includes
Id information be sent to router together.
It should be noted that network connection form here is connect preferably by the Wifi equipped with password with router;
Mobile terminal includes but not limited to the devices such as smart mobile phone, tablet computer;Id information includes that acquisition is able to demonstrate that identity
Information and MAC Address are able to demonstrate that the information of identity has finger print information, facial image or voice messaging etc., are preferably here
Finger print information;It waits for that tripper is set as being bound with unique mobile terminal, that is, waits for that tripper and mobile terminal are one by one
It is corresponding.For the mobile terminal that one group is waited for tripper and its binding, the MAC Address that includes in id information be it is fixed,
For waiting for that tripper identifies, prevent other users from being unlocked by mobile terminal from malicious, to improve unlock safety coefficient.
Step S2:For router after receiving the unlocking request information containing id information, whether first judgement itself is stored
First prestores id information, and waits for that tripper whether stored second prestores id information, it is therefore intended that router and waits unlocking
The Initialize installation of device.If not carrying out Initialize installation, S3 is thened follow the steps;If Initialize installation has been completed, execute
Step S5.
Step S3:The id information that mobile terminal is sent is carried out storage and prestored id information as first by router, at the beginning of completing
Beginningization is arranged, and is sent to and waits for tripper first id information that prestores.
Step S4:First is received after tripper to prestore after id information, is stored as second and is prestored id information, to complete
At Initialize installation.
As long as it should be noted that router and waiting for thering is one not complete initialization operation in tripper, all need same
Shi Jinhang Initialize installations have ensured the consistency of id information, so that subsequent comparison operates.
Step S5:Router id information carries out the id information that prestores of id information and first by by software programming function
It compares, if comparison result is inconsistent, thens follow the steps S6;If comparison result is consistent, S7 is thened follow the steps.
Step S6:Router sends to mobile terminal and compares failure information, and prompts to reacquire id information, presentation side
Formula can be short message prompt, can also be page screens etc..If short message prompt, then can be satisfied the need by inputting some instruction
Order is sent out by device;If page screens, then order can be sent out to router by directly doing corresponding operating on picture.
Step S7:Id information is sent to and waits for tripper by router.
Step S8:Wait for that tripper receives the id information from router, and by by software programming function and second
The id information that prestores is compared, if comparison result is inconsistent, thens follow the steps S9;If comparison result is consistent, then follow the steps
S10。
Step S9:It waits for that tripper sends failure prompting message by router to mobile terminal, and prompts to reacquire
Id information.Likewise, its presentation mode can be short message prompt, can also be page screens etc..It, then can be with if short message prompt
Order is sent out to router by inputting some instruction;It, then can be corresponding by directly being done on picture if page screens
It operates to send out order to router.It should be noted that waiting for that feedback information can be sent to another shifting by tripper here
Dynamic terminal, the not responsible transmission for completing id information and unlocking request information of the mobile terminal are only responsible for receiving feedback information, and will
Feedback result, which is sent to, waits for tripper.It is arranged purpose and is, has distinguished unlock operation user and unlock decision user, unlock
User is only responsible for completing unlock preparation, in the case where information matches are errorless, by whether the final permission unlocked is given certainly
Unlock work is completed in plan user, and design preferably completes the authority distribution in releasing process, increases unlock work
Safety.
Step S10:Wait for that tripper sends the prompting message that whether unlocks by router to mobile terminal, when receiving
It is unlocked when confirming unlocking signal.
Second embodiment
Referring to Fig. 2, similarly with embodiment of the method principle, the present invention provides a kind of unlock system waiting for tripper
System is can be applied to due to the technical characteristic in preceding method embodiment in the system embodiment of the present invention, is not repeating to go to live in the household of one's in-laws on getting married
It states.The system 1 includes:Mobile terminal 11, router side 12 and wait for tripper end 13.Mobile terminal 11 is to be mounted in movement
Software realization in end equipment, router side 12 are the software realizations being mounted on router device, wait for that tripper end 13 is
It is mounted in the software realization waited on tripper.System on chip (System on Chip can be passed through above;Referred to as:SOC) real
The function of now requiring.
Mobile terminal 11 includes id information acquisition module 111 and message processing module 112.Router side 12 includes router
Service module 121, module for processing routers 122 and router initial module 123.Wait for that tripper end 13 includes waiting for tripper
Message processing module 131 and wait for tripper initialization module 132.
Id information acquisition module 111 obtains id information, and id information includes at least one set of finger print information and mobile terminal 11
Mac address information.
Message processing module 112 sends the unlocking request information containing id information to router services module 121.
Router services module 121 receives the unlocking request information, by module for processing routers 122 by id information and the
One id information that prestores is compared.
If comparison result is consistent, id information is sent to and waits for tripper message processing module 131, waits for that tripper is believed
Breath processing module 131 receives id information and it is compared with second id information that prestores.If comparison result is inconsistent, lead to
It crosses router service module 121 and sends the information for comparing failure to message processing module 112, and prompt to reacquire id information;
If comparison result is consistent, the prompt whether unlocked is sent to message processing module 112 by router services module 121 and is disappeared
Breath completes unlock operation when tripper message processing module 131 receives the message for confirming unlock.
If comparison result is inconsistent, it fails to match information is sent to message processing module 112, and prompts to reacquire ID
Information continues to complete subsequent step after reacquisition.
In addition to this, module for processing routers 122 or tripper message processing module 131 is waited for during comparison,
Do not get first prestore id information or second prestore id information when, by router initial module 123 and wait for tripper
Initialization module 132 completes initial work.
Router services module 121 receives id information, and router initial module 123 carries out storage to id information and is used as first
It prestores and id information and is sent to and waits for tripper information initializing module 132.Wait for that tripper initialization module 132 will receive
First id information that prestores carry out storage and prestore id information as second.
It should be noted that waiting for tripper message processing module 131 by router 12 to mobile terminal feedback information
When, another mobile terminal (not shown) can also be fed back to, which, which is sent to feedback result, waits for tripper information
Processing module 131, to realize the operation for waiting for whether tripper 13 unlocks.
In conclusion the present invention provides a kind of unlocking method and system waiting for tripper, the prior art is effectively overcome
In various shortcoming and have high industrial utilization.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe
The personage for knowing this technology can all carry out modifications and changes to above-described embodiment without violating the spirit and scope of the present invention.Cause
This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as
At all equivalent modifications or change, should by the present invention claim be covered.