A kind of unlock method and system treating tripper
Technical field
The present invention relates to network intelligence applied technical field, particularly a kind of unlock method and system treating tripper.
Background technology
Traditional treats that tripper (hereinafter referred to as safety box) generally can be divided into two kinds: machine insurance case and electronic safe.Machine insurance case utilizes coded lock to control mechanical compass, needs repeatedly rotational password rotating disk, complex operation during unlatching, must password be kept firmly in mind, but, along with enriching constantly of people's life content, various field, various forms of password also more gets up, and the situation forgeing, obscure password is inevitable; Electronic cipher stores in the safe by electronic safe, and user the mode such as selection key input, brush IC-card can realize unblock, but during unlatching, user must operate in front of safety box, and this limitation obviously can not meet the demand of certain customers.
Along with the arriving in Internet of Things epoch, the function of various equipment is more and more intelligent, hommization, and control device also tends to variation thereupon.WLAN (wireless local area network) (WirelessLocalAreaNetworks; Be called for short: WLAN) now entered the comprehensively universal epoch, in conjunction with the intelligent mobile terminal of almost staff one, realize that degree of safety is high, conveniently unlocking operation, become the hot issue that this area is paid close attention to.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of unlock method and the system for the treatment of tripper, for solving the limited problem in complex operation in prior art, place, ensureing the unlocking operation of high security, and improving Consumer's Experience.
For achieving the above object and other relevant objects, the invention provides a kind of unlock method treating tripper, comprising:
The unlocking request information treating tripper that router mobile terminal receive sends, described request packets of information is containing id information;
Described id information and first id information that prestores received is compared by described router, if comparison result unanimously, then treats tripper described in being sent to by described id information; If comparison result is inconsistent, then to the described mobile terminal information that sends that it fails to match, and prompting obtains described id information again;
Describedly treat that tripper receives the described id information from described router, and compare with second id information that prestores, feed back different information to described mobile terminal according to comparison result, be confirmed whether to carry out unlocking operation for described mobile terminal.
Optionally, described method comprises initialization step, and described initialization step comprises:
To prestore id information when described router does not store described first, described until tripper do not store described second prestore id information time, the described id information from described mobile terminal received is stored as described first and prestores id information by described router, and treats tripper described in being sent to;
Describedly treat that tripper receives described first and to prestore id information be stored as described second and prestore id information.
Optionally, described id information comprise at least one group of finger print information and with the described mac address information treating tripper described mobile terminal one to one.
Optionally, describedly feed back different information to described mobile terminal according to comparison result and comprise:
First situation: when comparison result is consistent, described in treat that tripper sends the prompting message whether unlocked to described mobile terminal by described router, unlock when receiving the confirmation unlocking signal;
Second situation: when comparison result is inconsistent, described in treat that tripper sends failed prompting message by described router to described mobile terminal, and prompting again obtain described id information.
For achieving the above object and other relevant objects, the present invention also provides a kind of system for unlocking treating tripper, comprising:
Mobile terminal, described mobile terminal comprises:
Id information acquisition module, for obtaining described id information, described id information comprises the mac address information of at least one group of finger print information and described mobile terminal;
Message processing module, for sending unlocking request to router side, described unlocking request comprises described id information; Receive from router side, the feedback information treating tripper end, and to treating that tripper end sends feedback result;
Router side, described router side comprises:
Router services module, for receiving the unlocking request comprising described id information from described mobile terminal; Store described id information and to treating that tripper end sends; Receive and treat the feedback information of tripper end from described and be sent to described mobile terminal; Tripper end is treated described in the feedback result of described mobile terminal being sent to;
Module for processing routers, to prestore id information for id information described in comparison and first, if comparison result is consistent, then treats tripper end described in being sent to by described id information; If comparison result is inconsistent, then to the described mobile terminal information that sends that it fails to match, and prompting obtains described id information again;
Router initial module, for carrying out initialization operation to described router side, to prestore id information when described router side does not store described first, then the described id information from described mobile terminal received is stored as described first and prestores id information, and described in being sent to, treat tripper end;
Treat tripper end, described in treat that tripper end comprises:
Treat tripper message processing module, compare for id information that the described id information from described router side and second received is prestored, when comparison result is consistent, being sent the prompting message whether unlocked by described router side to described mobile terminal, unlocking when receiving the confirmation unlocking signal; When comparison result is inconsistent, send failed prompting message by described router side to described mobile terminal, and prompting obtains described id information again;
Treat tripper initialization module, for treating that tripper end carries out initialization operation to described, when described until tripper end do not store described second prestore id information time, the id information that prestores from described first of described router side is stored as described second and prestores id information.
For achieving the above object and other relevant objects, the present invention also provides a kind of mobile terminal, described acquisition for mobile terminal id information external device sends unlocking request information, and described request packets of information is containing id information.
Optionally, described mobile terminal also comprises finger print collecting function.
Optionally, described mobile terminal also comprises information process unit, and described information process unit comprises: receive the feedback information from described external equipment, and send feedback result, if feedback result is yes, then unlocks; If feedback result is no, then do not unlock.
Optionally, described id information comprises at least one group of finger print information and mac address information.
For achieving the above object and other relevant objects, the present invention also provides a kind of router, and described router is provided services on the Internet, and comprising: 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 described id information and send to another external equipment; Receive the feedback information from another external equipment described and be sent to described external equipment, the feedback result that described external equipment sends being sent to another external equipment described;
Route processing unit: id information described in comparison and first prestores id information, if comparison result is consistent, is then sent to another external equipment described by described id information; If comparison result is inconsistent, then to the described external equipment information that sends that it fails to match, and prompting obtains described id information again;
Router initial cell: initialization operation is carried out to described router, to prestore id information when described router does not store described first, then the described id information from described external equipment received is stored as described first to prestore id information, and is sent to another external equipment described.
Optionally, described id information comprises at least one group of finger print information and mac address information.
For achieving the above object and other relevant objects, the present invention also provides one to treat tripper, described in treat that tripper comprises: information process unit, initialization unit;
Information process unit: the id information that prestored by the id information from external equipment and second received is compared, and when comparison result is consistent, sends the prompting message whether unlocked, unlocking when receiving the confirmation unlocking signal; When comparison result is inconsistent, send failed prompting message, and prompting obtains described id information again;
Initialization unit: treat that tripper carries out initialization operation to described, when described until tripper do not store described second prestore id information time, the id information that prestores first is stored as described second and prestores id information.
Optionally, treat described in that tripper is safety box.
Optionally, described id information comprises at least one group of finger print information and mac address information.
As mentioned above, a kind of unlock method and system treating tripper of the present invention, has following beneficial effect:
1, unlocking request comprises id information, id information comprise finger print information and with the mac address information treating the mobile terminal that tripper is uniquely bound, ensure that unlocking request carrys out the fail safe of source side;
2, mobile terminal with treat that tripper is connected consolidated network by router, the process that the codon pair of network entry unlocks further provides a heavy safety guarantee, now the place of unlocking operation is no longer confined to treat in front of tripper, can operate in network coverage;
3, router and treat that tripper all has comparison step, confirms the accuracy of unlocking request repeatedly, ensures to unlock result errorless;
What 4, feedback information mechanism compensate for that user produces because of misoperation inputs id information by mistake or has assigned the problems such as unlock command because of error, designs hommization more, also ensure that the fail safe of unblock simultaneously.
Accompanying drawing explanation
Fig. 1 is shown as a kind of unlock method flow chart treating tripper of the present invention;
Fig. 2 is shown as a kind of system for unlocking module map treating tripper of the present invention.
Element numbers explanation
1 system for unlocking treating tripper
111ID data obtaining module
112 message processing modules
121 router services modules
122 module for processing routers
123 router initial module
131 treat tripper message processing module
132 treat tripper initialization module
S1 ~ S10 step
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this specification can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.It should be noted that, when not conflicting, the feature in following examples and embodiment can combine mutually.
It should be noted that, the diagram provided in following examples only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
first embodiment
Refer to Fig. 1, the present embodiment provides a kind of unlock method treating tripper, is applied to have WLAN etc. and can realize in the releasing process of the device such as safety box, safe-guard door lock of network savvy.
Step S1: under the state that network connects, the unlocking request information treating tripper and the id information that comprises thereof are sent to router by mobile terminal in the lump.
It should be noted that, network type of attachment is here connected with router preferably by the Wifi being provided with password; Mobile terminal includes but not limited to the device such as smart mobile phone, panel computer; Id information includes the information that can prove identity and the MAC Address of collection, can prove that the information of identity has finger print information, facial image or voice messaging etc., here preferably finger print information; Treat that tripper is set to bind with unique mobile terminal, namely treat that tripper and mobile terminal are one to one.Treat that the mobile terminal of tripper and binding thereof, the MAC Address comprised in id information is fixing, for treating tripper identification, prevents other users from being unlocked by mobile terminal from malicious, to improve unlock coefficient to one group.
Step S2: router is after receiving the unlocking request information containing id information, first judge itself whether to have stored first to prestore id information, and treat whether tripper has stored second and to have prestored id information, and object is router and treats the Initialize installation of tripper.If do not carry out Initialize installation, then perform step S3; If Initialize installation completes, then perform step S5.
Step S3: the id information that mobile terminal is sent by router carries out being stored as first and to prestore id information, completes Initialize installation, and the id information that prestores first is sent to and treats tripper.
Step S4: receive first until tripper and prestore after id information, is stored as second and is prestored id information, thus completed Initialize installation.
It should be noted that, as long as router and treat have one not complete initialization operation in tripper, all need to carry out Initialize installation simultaneously, ensured the consistency of id information, operate for follow-up comparison.
Step S5: router id information, by by software programming function, the id information that id information and first prestored is compared, if comparison result is inconsistent, then performs step S6; If comparison result is consistent, then perform step S7.
Step S6: router sends comparison failure information to mobile terminal, and prompting obtains id information again, its presentation mode can be short message prompt, also can be page screens etc.If short message prompt, then can carry out routers and give an order by inputting certain instruction; If page screens, then can carry out routers and give an order by directly doing corresponding operating on picture.
Step S7: id information is sent to and treats tripper by router.
Step S8: treat that tripper receives the id information from router, and compared by the id information that prestores by software programming function and second, if comparison result is inconsistent, then perform step S9; If comparison result is consistent, then perform step S10.
Step S9: treat that tripper sends failed prompting message by router to mobile terminal, and prompting obtains id information again.Same, its presentation mode can be short message prompt, also can be page screens etc.If short message prompt, then can carry out routers and give an order by inputting certain instruction; If page screens, then can carry out routers and give an order by directly doing corresponding operating on picture.It should be noted that, treat that feedback information can be sent to another mobile terminal by tripper here, the not responsible transmission completing id information and unlocking request information of this mobile terminal, only responsible receiving feedback information, and feedback result is sent to treats tripper.It arranges object and is, distinguish unlocking operation user and unlocked decision-making user, unlock user has only been responsible for unblock preparation, when information matches is errorless, decision-making user is given by the final authority whether unlocked, completed unblock work, it designs the right assignment completed preferably in releasing process, adds the fail safe of unblock work.
Step S10: treating that tripper sends the prompting message whether unlocked to mobile terminal by router, unlocking when receiving the confirmation unlocking signal.
second embodiment
Refer to Fig. 2, similar to embodiment of the method principle, the invention provides a kind of system for unlocking treating tripper, because the technical characteristic in preceding method embodiment can be applicable in system embodiment of the present invention, therefore do not repeating to repeat.Described system 1 comprises: mobile terminal 11, router side 12 and treat tripper end 13.Mobile terminal 11 is mounted in the software simulating on the equipment of mobile terminal, and router side 12 is the software simulating be mounted on router device, treats that tripper end 13 is mounted in the software simulating treated on tripper.More than SOC (system on a chip) (SystemonChip can be passed through; Be called for short: SOC) realize the function required.
Mobile terminal 11 comprises id information acquisition module 111 and message processing module 112.Router side 12 comprises router services module 121, module for processing routers 122 and router initial module 123.Treat that tripper end 13 comprises treat tripper message processing module 131 and treat tripper initialization module 132.
Id information acquisition module 111 obtains id information, and id information comprises the mac address information of at least one group of finger print information and mobile terminal 11.
Message processing module 112 sends the unlocking request information containing id information to router services module 121.
Router services module 121 receives this unlocking request information, is compared by module for processing routers 122 id information that id information and first to be prestored.
If comparison result is consistent, then id information is sent to and treats tripper message processing module 131, treat that tripper message processing module 131 receives id information and the id information that itself and second prestored is compared.If comparison result is inconsistent, then sent the information of comparison failure to message processing module 112 by router services module 121, and prompting obtains id information again; If comparison result is consistent, is then sent the prompting message whether unlocked by router services module 121 to message processing module 112, when tripper message processing module 131 receives the confirmation the message of unblock, complete unlocking operation.
If comparison result is inconsistent, then send to message processing module 112 it fails to match information, and prompting obtains id information again, after again obtaining, continue subsequent step.
In addition, module for processing routers 122 or treat that tripper message processing module 131 is in the process of comparison, do not get first prestore id information or second prestore id information time, by router initial module 123 and treat that tripper initialization module 132 completes initial work.
Router services module 121 receives id information, and router initial module 123 pairs of id informations are stored as first and prestore id information be sent to and treat tripper information initializing module 132.Treat that tripper initialization module 132 id information that prestores receive first carries out being stored as second and to prestore id information.
It should be noted that, until tripper message processing module 131 by router one 2 to mobile terminal feedback information time, another mobile terminal (not shown) can also be fed back to, feedback result is sent to and treats tripper message processing module 131 by this mobile terminal, to realize the operation treating whether tripper 13 unlocks.
In sum, the invention provides a kind of unlock method and the system for the treatment of tripper, effectively overcome various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.