CN105894624A - Method, device and system for controlling opening of gate - Google Patents

Method, device and system for controlling opening of gate Download PDF

Info

Publication number
CN105894624A
CN105894624A CN201610179261.3A CN201610179261A CN105894624A CN 105894624 A CN105894624 A CN 105894624A CN 201610179261 A CN201610179261 A CN 201610179261A CN 105894624 A CN105894624 A CN 105894624A
Authority
CN
China
Prior art keywords
gate
terminal
mark
list
static keys
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610179261.3A
Other languages
Chinese (zh)
Inventor
宋宇宁
王松
曹少山
陶锋
范卫营
黄锐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zhida Hongtu Data Technology Co Ltd
Original Assignee
Beijing Zhida Hongtu Data Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zhida Hongtu Data Technology Co Ltd filed Critical Beijing Zhida Hongtu Data Technology Co Ltd
Priority to CN201610179261.3A priority Critical patent/CN105894624A/en
Publication of CN105894624A publication Critical patent/CN105894624A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass
    • G07C9/21Individual registration on entry or exit involving the use of a pass having a variable access code
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass
    • G07C9/27Individual registration on entry or exit involving the use of a pass with central registration

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention discloses a method, device and system for controlling opening of a gate. According to the method, a terminal sends a dynamic secret key generated by a server to the gate and then to a host, a generated dynamic secret key is stored in a cache device of the server by the server, then whether the dynamic secret key sent to the host by the terminal and gate in sequence is identical with the dynamic secret key stored in the cache device of the server is judged by the host, whether the identification of the gate is in an identification list of the terminal is also judged, and then the gate is opened. In this way, inconvenience caused when a user forgets to or is unwilling to bring an entrance guard card can be avoided.

Description

Control method, Apparatus and system that gate is opened
Technical field
The present invention relates to safety check technical field, control, in particular it relates to a kind of, method, the dress that gate is opened Put and system.
Background technology
At present, it is contemplated that the safety of community, being both provided with gate on the doorway of community, people can be led to Cross brush access card and enter community.Should one wish to entrance community, then people are when by gate, by door Prohibiting card to be placed on the induction region of gate, the induction region of gate gathers the information stored in access card also Contrasting with the information prestored in access card, if both couplings, be then verified, gate is just Can open, people just can enter community.
But, along with the card carried required in the life of people gets more and more, there will be people unavoidably Forgetting band access card or the situation of band card of being unwilling, in this case, people cannot conveniently enter Community.Visible, access card makes troubles or perplexs can to a certain extent the life of people.
Summary of the invention
It is an object of the invention to provide a kind of control gate open method, Apparatus and system, the method, Apparatus and system can avoid user forget band access card or be reluctant the inconvenience that band access card brings.
To achieve these goals, first aspect present invention provides a kind of method controlling gate unlatching, institute The method of stating includes:
Obtaining mark and first dynamic key of the first gate, described first dynamic key is described first lock The dynamic key forwarded via terminal that machine receives, and described first dynamic key is that described terminal is from clothes Business device obtains;
Obtaining the second dynamic key and the identification list of described terminal, described second dynamic key is server The dynamic key generated, described identification list is included as the access entitlements that have of the user setup of described terminal The mark of gate;
Mark at described first gate is positioned in described identification list, and described first dynamic key and institute State the second dynamic key identical time, to described first gate send control message, described control message is used for Control described first gate to open.
Alternatively, described method also includes:
Detect whether described server is in normal operating conditions;
When described server is in abnormal operating state, it is thus achieved that the mark of the second gate and the first static state Key, described first static keys is that the static state via terminal forwarding that described first gate receives is close Key;
Obtain static keys list and the identification list of described terminal of described terminal, described identification list bag Containing the mark of the gate having access entitlements of the user setup for described terminal, described static keys list bag The mark one_to_one corresponding that the static keys contained and described identification list comprise;
It is positioned in described identification list in described first mark, and described first static keys is positioned at described quiet Time in state cipher key list, sending to described second gate and control message, described control message is used for controlling institute State the second gate to open.
Alternatively, described after described first gate sends control message, described method also includes:
Create the static keys list of described terminal, the static keys list of described terminal comprise with described The static keys that the mark of the first gate is corresponding is described second dynamic key;
The static keys list of described terminal is sent to described server.
Alternatively, described after described first gate sends control message, described method also includes:
By static keys corresponding with the mark of described first gate in the static keys list of described terminal It is updated to described second dynamic key, the static keys that described static keys list comprises and described terminal The mark one_to_one corresponding that identification list comprises, described identification list is included as the user setup of described terminal There is the mark of the gate of access entitlements;
The static keys list of the described terminal after updating is sent to described server.
Second aspect present invention provides a kind of and controls the method that gate is opened, and described method includes:
Receiving the logging request that terminal sends, described logging request carries the mark of described terminal;
Determine that the identification list of described terminal, described identification list are included as the user setup of described terminal There is the mark of the gate of access entitlements;
Receive the key request that described terminal sends;
Dynamic key is generated for described terminal;
Described identification list and described dynamic key are sent to main frame, and described dynamic key is sent to Described terminal, described identification list and described dynamic key are for judging whether to control gate for described main frame Open.
Third aspect present invention provides a kind of and controls the device that gate is opened, and described device includes:
First obtains module, and for obtaining mark and first dynamic key of the first gate, described first moves State key is the dynamic key forwarded via terminal that described first gate receives, and described first dynamic Key is that described terminal obtains from server;
Second obtains module, for obtaining the second dynamic key and the identification list of described terminal, and described the Two dynamic key are the dynamic key that server generates, and described identification list is included as the user of described terminal The mark of the gate having access entitlements arranged;
First sending module, is positioned in described identification list for the mark at described first gate, and institute State the first dynamic key identical with described second dynamic key time, to described first gate send control disappear Breath, described control message is used for controlling described first gate and opens.
Alternatively, described device also includes:
Detection module, is used for detecting whether described server is in normal operating conditions;
3rd obtains module, for when described server is in abnormal operating state, it is thus achieved that the second lock The mark of machine and the first static keys, described first static keys be described first gate receive via The static keys that terminal forwards;
4th obtains module, for obtaining static keys list and the identity column of described terminal of described terminal Table, described identification list is included as the mark of the gate having access entitlements of the user setup of described terminal, The mark one_to_one corresponding that the static keys that described static keys list comprises and described identification list comprise;
Second sending module, for being positioned in described identification list in described first mark, and described first When static keys is positioned in described static keys list, sends to described second gate and control message, described Control message to be used for controlling described second gate unlatching.
Alternatively, described device also includes:
Creation module, is used for described after described first gate sends control message, creates described end The static keys list of end, the mark with described first gate that the static keys list of described terminal comprises Corresponding static keys is described second dynamic key;
3rd sending module, for being sent to described server by the static keys list of described terminal.
Alternatively, described device also includes:
More new module, is used for described after described first gate sends control message, by described terminal Static keys list in be updated to described second with the static keys corresponding to mark of described first gate The identification list of dynamic key, the static keys that described static keys list comprises and described terminal comprises Mark one_to_one corresponding, described identification list is included as the lock having access entitlements of the user setup of described terminal The mark of machine;
4th sending module, the static keys list of the described terminal after updating is sent to described clothes Business device.
Fourth aspect present invention provides a kind of and controls the device that gate is opened, and described device includes:
First receiver module, for receiving the logging request that terminal sends, described logging request is carried described The mark of terminal;
Determining module, for determining the identification list of described terminal, described identification list is included as described end The mark of the gate having access entitlements of the user setup of end;
Second receiver module, for receiving the key request that described terminal sends;
Generation module, for generating dynamic key for described terminal;
Sending module, for being sent to main frame by described identification list and described dynamic key, and by described Dynamic key is sent to described terminal, described identification list and described dynamic key for sentencing for described main frame The disconnected gate that whether controls is opened.
Fifth aspect present invention provides a kind of and controls the system that gate is opened, and described system includes: main frame, Server, gate and terminal;
Described main frame includes the device for controlling gate unlatching described in the third aspect;
Described server includes the device for controlling gate unlatching described in fourth aspect;
Being provided with gate controller in described gate, described gate controller is for controlling opening of described gate Open or close;
Described terminal is for obtaining key and being transmitted to described gate from described server;
Wherein, described gate is all connected with described main frame and described terminal, described terminal and described server Connecting, described main frame is connected with described server.
By technique scheme, the dynamic key that server generates is transmitted to gate and then transmission by terminal To main frame, and the dynamic key of generation is stored in the buffer storage of server by server, then profit It is transmitted to dynamic key and the buffer storage of server of main frame after relatively first through terminal and gate with main frame The dynamic key of middle storage is the most identical, and compares the identification list identifying whether to be positioned at terminal of gate In, and then realize opening gate.User can be avoided to forget band access card or be reluctant that band access card brings Inconvenience.
Other features and advantages of the present invention will be described in detail in detailed description of the invention part subsequently.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and constitutes the part of description, with Detailed description below is used for explaining the present invention together, but is not intended that limitation of the present invention.? In accompanying drawing:
Fig. 1 is the schematic diagram of the system that control gate disclosed by the invention is opened;
Fig. 2 is the interaction in the system that control gate disclosed by the invention is opened between each equipment Schematic diagram;
Fig. 3 is the flow chart of the method that control gate disclosed by the invention is opened;
Fig. 4 is another flow chart of the method that control gate disclosed by the invention is opened;
Fig. 5 is the another flow chart of the method that control gate disclosed by the invention is opened;
Fig. 6 is a kind of schematic diagram controlling the device that gate is opened disclosed by the invention;
Fig. 7 is the another kind of schematic diagram controlling the device that gate is opened disclosed by the invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, the detailed description of the invention of the present invention is described in detail.It should be appreciated that Detailed description of the invention described herein is merely to illustrate and explains the present invention, is not limited to this Bright.
Refer to the schematic diagram that Fig. 1, Fig. 1 are the system that control gate disclosed by the invention is opened, including: 111 gates, 112 terminals, 113 main frames, 114 servers.Gate is all connected with main frame and terminal, eventually End is connected with server, and main frame is connected with server.In the system that control gate disclosed by the invention is opened Connection between each equipment can be to be connected by cable network, it is also possible to is connected by wireless network, Or it is in same LAN between each equipment.Connection between gate and main frame can also is that serial ports Communication, now, it is desirable in gate and main frame, be both provided with serial ports.
In the system opened control gate disclosed by the invention below, each equipment illustrates.
1) gate
Being provided with gate controller in gate, gate controller is used for controlling being turned on and off of gate, for Guaranteeing the safety of community, under default situations, gate is to close, and receives, at gate, the use that main frame sends After controlling the control message that gate is opened, gate controller controls gate and opens.In gate all right Arranging induction apparatus, induction apparatus comes from the signal of terminal for gathering, and induction apparatus can be optical inductor. Bar code decoding device, two-dimensional code decoder etc. can also be set in gate.Input can also be set in gate Device, input equipment inputs the password entered needed for gate for user.Can arrange in gate induction apparatus, One or more in bar code decoding device, two-dimensional code decoder, input equipment, the present invention does not limits.
The function that gate has includes:
A) key that terminal sends is received.
B) mark sending gate self to main frame and the key sent by terminal received.
2) terminal
On the one hand terminal connects gate, on the other hand Connection Service device.Terminal may is that smart mobile phone, Intelligent bracelet, intelligent glasses, panel computer etc..The function that terminal has includes:
A) mark of terminal self is sent to server.A kind of possible being achieved in that: install in terminal Client, registers the account of the system that a control gate disclosed by the invention is opened, then uses this account Number login service device, if terminal logins successfully, then server can obtain the mark of terminal.
B) ask to server key, and receive the key response that server sends, obtain from key response Take key.Wherein, when server is in normal operating conditions, the key that terminal gets is server The dynamic key generated, when server is in abnormal operating state, the key that terminal gets is to deposit Static keys in storage local data base in server.
A kind of possible implementation is: after terminal login service device, the display screen of client can show The virtual key of " transmission key request ", presses the virtual key of " transmission key request ", Ji Keshi Now send key request to server.Certainly, " transmission key request " virtual key can also replace with The physical button of " transmission key request " is set in terminal.
C) OID signal, bar code, Quick Response Code, password etc. are generated according to the key got.At gate When the induction apparatus of interior setting is optical inductor, terminal generates OID signal according to the key got;At lock When being provided with bar code decoding device or two-dimensional code decoder in machine, terminal generates bar according to the key got Shape code or Quick Response Code;When being provided with input equipment in gate, terminal generates close according to the key got Code also shows on the display screen of terminal.
D) key of terminal acquisition is forwarded to gate.If user wants to enter into community, gate is needed to open, The induction apparatus that then terminal is arranged in gate by user, can realize forwarding the close of terminal acquisition to gate Key.The induction apparatus arranged in gate is when being optical inductor, terminal by the OID signal that generates near light sensation Answer device, it is achieved forward the key of terminal acquisition to gate;The induction apparatus arranged in gate is bar code solution When code device or two-dimensional code decoder, terminal is incited somebody to action and is generated bar code or Quick Response Code near bar code decoding device, reality The key of terminal acquisition is now forwarded to gate;When being provided with input equipment in gate, user is needed to pass through The password of the display screen display of input equipment input terminal, it is achieved forward the close of terminal acquisition to gate Key.
3) server
Being provided with local data base in server, in local data base, storage has terminal, gate, static state close Corresponding relation between key.Buffer storage can also be set in server, in buffer storage storage have terminal, Corresponding relation between the dynamic key that server generates.Server can be notebook computer, flat board electricity Brain etc..
The quantity of the gate being likely to be of access entitlements in view of the user holding terminal is one or more, For terminal user setup the gate having access entitlements mark compositing terminal identification list.Terminal The corresponding static keys of each gate on identification list, and then the static keys list of compositing terminal. Refer to table 1, table 1 is the schematic diagram of the corresponding relation between terminal, gate, static keys.
The schematic diagram of the corresponding relation between table 1 terminal, gate, static keys
The function that server has includes:
A) identification list of terminal and the static keys list of terminal are determined.Local data base at server In prestore the mark of each terminal likely needing to enter the community of gate administration, and be each The access entitlements of the user setup of terminal or the mark of off-limits gate, the use of each terminal the most promising The static keys that the gate of access entitlements that family is arranged is corresponding.The identification list of terminal and the static state of terminal are close Key list is that server is according to the mark of terminal after terminal to server sends the mark of terminal self Extract from local data base.
B) receive the key request that terminal sends, and generate when being in normal work the closeest Key, the key request then on the one hand sent from terminal obtains the mark of terminal, the dynamic key that will generate And the mark of the terminal obtained is stored in the buffer storage of server;On the other hand dynamic by generate Key is sent to terminal, and extracts the mark of terminal from local data base according to the mark of the terminal obtained Know list, by the dynamic key generated by server stored and the mark of terminal extracted by server Know list and be sent to main frame.
C) receive the key request that terminal sends, and when being in non-normal working, on the one hand from The key request that terminal sends obtains the mark of terminal, obtains from local data base according to the mark of terminal The static keys list of terminal and the identification list of terminal;On the other hand in the static keys list that will obtain A static keys be sent to terminal, and by the identification list of terminal extracted by server and terminal Static keys list be sent to main frame.
4) main frame
Main frame is for performing the method that control gate disclosed by the invention is opened.Judged to hold terminal by main frame User whether can enter the community that gate is administered.Main frame may is that notebook computer, flat board electricity Brain etc..The function that main frame has includes:
A) receive the mark of gate self that gate sends and gate receives via terminal forward close Key.
B) dynamic key generated by server and the end extracted by server that server sends is received The identification list of end, or receive identification list and the static keys of terminal of the terminal extracted by server List.
C) whether detection server is in normal operating conditions, under server is in normal operating conditions, Judge gate self identify whether be positioned in the identification list of terminal, and judge that gate receives via The dynamic key that terminal forwards is the most identical with the dynamic key generated by server that server sends;? Server is under abnormal operating state, it is judged that gate self identify whether to be positioned at the identity column of terminal In table, and judge that the static keys via terminal forwarding that gate receives is positioned at the static keys row of terminal In table.
D) mark at gate self is positioned in the identification list of terminal, and gate receive via terminal When the dynamic key generated by server that sends with server of dynamic key that forwards is identical, send out to gate Send control message;Or be positioned in the identification list of terminal in the mark of gate self, and gate receives When the static keys forwarded via terminal is positioned in the static keys list of terminal, sends control to gate and disappear Breath.Wherein, control message to be used for controlling gate unlatching.
E) establishment or the static keys list of more new terminal.
The static keys list of terminal can be the process of the local data base of server initiation server Middle setting, it is also possible to created by main frame.Under server is in normal operating conditions, main frame exists Send to gate and control after message, forward what the mark of gate self and gate received via terminal Dynamic key and the mark of terminal add in the static keys list of terminal.Then will create The static keys list of terminal is sent to server.
Main frame can also the static keys list of more new terminal.At main frame, the static keys list of terminal is entered Before row updates, the static keys list of terminal is the process of the local data base of server initiation server Middle setting, under server is in normal operating conditions, main frame controls after message sending to gate, Mark according to gate self and the mark of terminal, extract the static state of correspondence from the static list of terminal Key, is then updated to dynamic key or the server life forwarded via terminal by the static keys extracted The dynamic key become.Then the static keys list of the terminal updated is sent to server.
Interaction between each equipment in the system below control gate disclosed by the invention opened Illustrate.
Refer to Fig. 2, Fig. 2 is in the system opened of control gate disclosed by the invention between each equipment The schematic diagram of interaction.In the system that control gate disclosed by the invention is opened between each equipment Interaction comprises the following steps:
1, terminal login service device;
2, server obtains the mark of terminal, and obtains the identification list of terminal according to the mark of terminal;
3, terminal to server sends key request;
4a, when server is in normal work, generate dynamic key, and by the mark of terminal The dynamic key generated with server device stores in the buffer storage of server;
4b, when server is in non-normal working, server obtains quiet from local data base The static keys list of state key and terminal;
5, server sends key response to terminal, and the key in key response is for be just at server The dynamic key often generated by server under the state of work, or, it is in non-normal working at server Under state, the static keys that server obtains from local data base;
6, terminal is near gate, by the key forwarding in key response to gate;
7, the key in the mark of gate self and key response is sent to main frame by gate;
8a, server are by the dynamic key generated by server stored and the terminal obtained by server Identification list be sent to main frame;
The static keys obtained and the static keys list of terminal obtained are sent to by 8b, server Main frame;
9a, main frame judge gate self identify whether be positioned in the identification list of terminal, and main frame receives Dynamic key the most identical with the dynamic key generated by server that server has stored;
9b, main frame judge gate self identify whether be positioned in the identification list of terminal, and main frame receives Static keys whether be positioned in the static keys list of the terminal obtained by server;
10A, be positioned in the identification list of terminal in the mark of gate self, and main frame receive the closeest When the dynamic key generated by server that key has stored with server is identical, or, at the mark of gate self Know in the identification list being positioned at terminal, and the static keys that main frame receives is positioned at the terminal obtained by server Static keys list in time, main frame sends to gate and controls message, controls message and be used for controlling gate and open Open;
10B, be not located in the identification list of terminal in the mark of gate self, or main frame receive dynamic When the dynamic key generated by server that key has stored from server is different, or, at gate self Mark is not located in the identification list of terminal, or the static keys that main frame receives is not located at being obtained by server Terminal static keys list in time, main frame to gate send remain turned-off message, remain turned-off message Remain turned-off for controlling gate.
The method opened control gate disclosed by the invention from host computer side below illustrates.
Refer to the flow chart that Fig. 3, Fig. 3 are the method that control gate disclosed by the invention is opened.This The bright disclosed method controlling gate unlatching comprises the following steps.
In step S31, it is thus achieved that the mark of the first gate and the first dynamic key, described first the closeest Key is the dynamic key forwarded via terminal that described first gate receives, and described first dynamic key Described terminal obtains from server;
In step s 32, it is thus achieved that the second dynamic key and the identification list of described terminal, described second move State key is the dynamic key that server generates, and described identification list is included as the user setup of described terminal The mark of the gate having access entitlements;
In step S33, the mark at described first gate is positioned in described identification list, and described When one dynamic key is identical with described second dynamic key, sends to described first gate and control message, institute State control message and open for controlling described first gate.
It is to illustrate as a example by the first gate by gate below.
First, in step S31, main frame receive first gate send the first gate self mark and The first dynamic key that first gate receives, the first dynamic key is that server generates, and server sends To terminal, it is transmitted to the first gate through terminal.
Then, in step s 32, main frame receives the second dynamic key and the mark of terminal that server sends Knowing list, the second dynamic key is the first dynamic key that will generate after server generates the first dynamic key Be stored in the buffer storage of server, already mentioned above, the identification list of terminal be server from Local data base extracts.
Finally, in step S33, main frame judges the identity column identifying whether to be positioned at terminal of the first gate In table, and the first dynamic key and the second dynamic key the most identical, the mark at the first gate is positioned at end In the identification list of end, and when the first dynamic key and the second dynamic key are identical, to the first gate transmission Control message, control message and open for controlling the first gate.
In the method that control gate disclosed by the invention is opened, the dynamic key that server generates is turned by terminal Issue gate and then be sent to main frame, and the dynamic key of generation is stored in the slow of server by server In cryopreservation device, after then utilizing main frame relatively first, it is transmitted to the dynamic key kimonos of main frame through terminal and gate Business device buffer storage in storage dynamic key the most identical, and compare gate identify whether be positioned at In the identification list of terminal, and then realize opening gate.User can be avoided to forget band access card or not It is willing to the inconvenience that band access card brings.
Main frame disclosed by the invention is after execution of step S33, it is also possible to perform following steps.
Create the static keys list of described terminal, the static keys list of described terminal comprise with described The static keys that the mark of the first gate is corresponding is described second dynamic key;
The static keys list of described terminal is sent to described server.
In the preceding article it is stated that the static keys list of terminal can be created by main frame.Main frame exists Send to the first gate after controlling message, the mark of terminal, the second dynamic key and first can be extracted The mark of gate, then using the second dynamic key as the static keys corresponding with the mark of the first gate. Finally between mark, the second dynamic key and the mark of the first gate of terminal, set up corresponding relation, profit Create the static keys list of terminal with corresponding relation, and the static keys list of the terminal created is sent To server.
In the method that control gate disclosed by the invention is opened, gate can be opened by what server generated Dynamic key is as the static keys of terminal, it is achieved that changes the static keys of terminal, improves the present invention The disclosed safety controlling the method that gate is opened.
Main frame disclosed by the invention is after execution of step S33, it is also possible to perform following steps.
By static keys corresponding with the mark of described first gate in the static keys list of described terminal It is updated to described second dynamic key, the static keys that described static keys list comprises and described terminal The mark one_to_one corresponding that identification list comprises, described identification list is included as the user setup of described terminal There is the mark of the gate of access entitlements;
The static keys list of the described terminal after updating is sent to described server.
In the preceding article it is stated that the static keys list of terminal can be server initiation server Arrange during local data base.Main frame controls after message sending to the first gate, Ke Yiti Take static keys corresponding with the mark of the first gate in the static keys list of terminal, then by extraction Static keys is updated to the second dynamic key, forms the static keys list after updating, and after updating The static keys list of terminal be sent to server.
In the method that control gate disclosed by the invention is opened, gate can be opened by what server generated Dynamic key is as the static keys of terminal, it is achieved that changes the static keys of terminal, improves the present invention The disclosed safety controlling the method that gate is opened.
For improving the reliability of the method that control gate disclosed by the invention is opened, control disclosed by the invention The method that gate is opened is further comprising the steps of.Refer to Fig. 4, Fig. 4 is control lock disclosed by the invention Another flow chart of the method that machine is opened.
It is that the second gate illustrates with gate below.
In step S41, detect whether described server is in normal operating conditions.
In step S42, when described server is in abnormal operating state, it is thus achieved that the second gate Mark and the first static keys, described first static keys be described first gate receive via terminal The static keys forwarded.
In step S43, it is thus achieved that the static keys list of described terminal and the identification list of described terminal, Described identification list is included as the mark of the gate having access entitlements of the user setup of described terminal, described The mark one_to_one corresponding that the static keys that static keys list comprises and described identification list comprise.
In step S44, it is positioned in described identification list in described first mark, and described first is static When key is positioned in described static keys list, controls described second gate and open.
It is likely to occur fault, so in step S41, Host Detection server is in view of server No it is in normal operating conditions, if server is in normal operating conditions, then between main frame and server Communication be continuous print;If server is in abnormal operating state, then between main frame and server Communication is to interrupt.
In step S42, main frame determines that server is in abnormal operating state, then enable server Local data base, main frame receives the mark of the second gate self that the second gate sends and the second gate receives The first static keys, the first static keys be from the local data base of server extract, server It is sent to terminal, is transmitted to the second gate through terminal.
In step S43, main frame obtains the static keys list of terminal from the local data base of server Identification list with terminal.
In step S44, main frame judge the second gate identify whether to be positioned in the identification list of terminal, And first static keys whether be positioned in the static keys list of terminal, the mark at the second gate is positioned at end In the identification list of end, and when the first static keys is positioned in the static keys list of terminal, to the second lock Machine sends and controls message, controls message and opens for controlling the second gate.
In the method that control gate disclosed by the invention is opened, it is in abnormal operating state at server Time, it is possible to use local data base replaces server, improves what control gate disclosed by the invention was opened The reliability of method.
The method opened control gate disclosed by the invention from server side below illustrates.
Refer to the another flow chart that Fig. 5, Fig. 5 are the method that control gate disclosed by the invention is opened. The method of management key disclosed by the invention comprises the following steps.
In step s 51, receiving the logging request that terminal sends, described logging request carries described terminal Mark.
In step S52, determine that the identification list of described terminal, described identification list are included as described end The mark of the gate having access entitlements of the user setup of end.
In step S53, receive the key request that described terminal sends.
In step S54, generate dynamic key for described terminal.
In step S55, described identification list and described dynamic key are sent to main frame, and by described Dynamic key is sent to described terminal.
In the preceding article it is stated that terminal is for the mark of notification server terminal self, can first exist Client is installed in terminal, then registers, then send logging request, therefore, server to server Can receive the logging request that terminal sends, after terminal logins successfully, server can be from logging request Obtain the mark of terminal, then determine the identification list of terminal according to the mark of terminal, i.e. determine there is which The gate of a little marks be the user setup for terminal have access entitlements.
Additionally, the most also it is stated that want to enter into what gate was administered the user holding terminal During community, terminal to server can be used to send key request, then server generates dynamic key.? The dynamic key of generation and the identification list of terminal are sent to main frame by rear server, and dynamic by generate Key issues terminal, in order to main frame judges whether the user holding terminal can enter what gate was administered Community.
Based on same inventive concept, the invention also discloses a kind of device controlling gate unlatching.Refer to Fig. 6, Fig. 6 are a kind of schematic diagram controlling the device that gate is opened disclosed by the invention.This device 100 Including: first obtains module 121, second obtains module 122 and the first sending module 123.
First obtains module 121, for obtaining the mark of the first gate and the first dynamic key, and described the One dynamic key is the dynamic key forwarded via terminal that described first gate receives, and described first Dynamic key is that described terminal obtains from server;
Second obtains module 122, for obtaining the second dynamic key and the identification list of described terminal, institute Stating the second dynamic key is the dynamic key that server generates, and described identification list is included as described terminal The mark of the gate having access entitlements of user setup;
First sending module 123, is positioned in described identification list for the mark at described first gate, And described first dynamic key identical with described second dynamic key time, send to described first gate and control Message, described control message is used for controlling described first gate and opens.
Alternatively, described device also includes:
Detection module, is used for detecting whether described server is in normal operating conditions;
3rd obtains module, for when described server is in abnormal operating state, it is thus achieved that the second lock The mark of machine and the first static keys, described first static keys be described first gate receive via The static keys that terminal forwards;
4th obtains module, for obtaining static keys list and the identity column of described terminal of described terminal Table, described identification list is included as the mark of the gate having access entitlements of the user setup of described terminal, The mark one_to_one corresponding that the static keys that described static keys list comprises and described identification list comprise;
Second sending module, for being positioned in described identification list in described first mark, and described first When static keys is positioned in described static keys list, sends to described second gate and control message, described Control message to be used for controlling described second gate unlatching.
Alternatively, described device also includes:
Creation module, is used for described after described first gate sends control message, creates described end The static keys list of end, the mark with described first gate that the static keys list of described terminal comprises Corresponding static keys is described second dynamic key;
3rd sending module, for being sent to described server by the static keys list of described terminal.
Alternatively, described device also includes:
More new module, is used for described after described first gate sends control message, by described terminal Static keys list in be updated to described second with the static keys corresponding to mark of described first gate The identification list of dynamic key, the static keys that described static keys list comprises and described terminal comprises Mark one_to_one corresponding, described identification list is included as the lock having access entitlements of the user setup of described terminal The mark of machine;
4th sending module, the static keys list of the described terminal after updating is sent to described clothes Business device.
About the device in above-described embodiment, the concrete mode that wherein modules performs to operate is having Close in the embodiment of the method and be described in detail, explanation will be not set forth in detail herein.
Based on same inventive concept, the invention also discloses the another kind of device controlling gate unlatching.Please join Examining Fig. 7, Fig. 7 is the another kind of schematic diagram controlling the device that gate is opened disclosed by the invention.This device 200 include: the first receiver module 221, determine module the 222, second receiver module 223, generation module 224 and sending module 225.
First receiver module 221, for receiving the logging request that terminal sends, described logging request is carried The mark of described terminal;
Determining module 222, for determining the identification list of described terminal, described identification list is included as institute State the mark of the gate having access entitlements of the user setup of terminal;
Second receiver module 223, for receiving the key request that described terminal sends;
Generation module 224, for generating dynamic key for described terminal;
Sending module 225, for described identification list and described dynamic key being sent to main frame, and will Described dynamic key is sent to described terminal, described identification list and described dynamic key for for described master Machine judges whether that controlling gate opens.
About the device in above-described embodiment, the concrete mode that wherein modules performs to operate is having Close in the embodiment of the method and be described in detail, explanation will be not set forth in detail herein.
Based on same inventive concept, the invention also discloses the another kind of system controlling gate unlatching.Please join Examine Fig. 1.Main frame in Fig. 1 includes the device for controlling gate unlatching shown in Fig. 6;In Fig. 1 Server includes the device for controlling gate unlatching shown in Fig. 7;Gate and terminal in Fig. 1 please be joined Literary composition, just repeats no more at this before examination.
The preferred embodiment of the present invention is described in detail above in association with accompanying drawing, but, the present invention does not limit Detail in above-mentioned embodiment, in the technology concept of the present invention, can be to the present invention Technical scheme carry out multiple simple variant, these simple variant belong to protection scope of the present invention.
It is further to note that each the concrete technology described in above-mentioned detailed description of the invention is special Levy, in the case of reconcilable, can be combined by any suitable means, in order to avoid need not The repetition wanted, various possible compound modes are illustrated by the present invention the most separately.
Additionally, combination in any can also be carried out between the various different embodiment of the present invention, as long as its Without prejudice to the thought of the present invention, it should be considered as content disclosed in this invention equally.

Claims (11)

1. one kind controls the method that gate is opened, it is characterised in that described method includes:
Obtaining mark and first dynamic key of the first gate, described first dynamic key is described first lock The dynamic key forwarded via terminal that machine receives, and described first dynamic key is that described terminal is from clothes Business device obtains;
Obtaining the second dynamic key and the identification list of described terminal, described second dynamic key is server The dynamic key generated, described identification list is included as the access entitlements that have of the user setup of described terminal The mark of gate;
Mark at described first gate is positioned in described identification list, and described first dynamic key and institute State the second dynamic key identical time, to described first gate send control message, described control message is used for Control described first gate to open.
Method the most according to claim 1, it is characterised in that described method also includes:
Detect whether described server is in normal operating conditions;
When described server is in abnormal operating state, it is thus achieved that the mark of the second gate and the first static state Key, described first static keys is that the static state via terminal forwarding that described first gate receives is close Key;
Obtain static keys list and the identification list of described terminal of described terminal, described identification list bag Containing the mark of the gate having access entitlements of the user setup for described terminal, described static keys list bag The mark one_to_one corresponding that the static keys contained and described identification list comprise;
It is positioned in described identification list in described first mark, and described first static keys is positioned at described quiet Time in state cipher key list, sending to described second gate and control message, described control message is used for controlling institute State the second gate to open.
Method the most according to claim 1, it is characterised in that described to described first gate Sending after controlling message, described method also includes:
Create the static keys list of described terminal, the static keys list of described terminal comprise with described The static keys that the mark of the first gate is corresponding is described second dynamic key;
The static keys list of described terminal is sent to described server.
Method the most according to claim 1, it is characterised in that described to described first gate Sending after controlling message, described method also includes:
By static keys corresponding with the mark of described first gate in the static keys list of described terminal It is updated to described second dynamic key, the static keys that described static keys list comprises and described terminal The mark one_to_one corresponding that identification list comprises, described identification list is included as the user setup of described terminal There is the mark of the gate of access entitlements;
The static keys list of the described terminal after updating is sent to described server.
5. one kind controls the method that gate is opened, it is characterised in that described method includes:
Receiving the logging request that terminal sends, described logging request carries the mark of described terminal;
Determine that the identification list of described terminal, described identification list are included as the user setup of described terminal There is the mark of the gate of access entitlements;
Receive the key request that described terminal sends;
Dynamic key is generated for described terminal;
Described identification list and described dynamic key are sent to main frame, and described dynamic key is sent to Described terminal, described identification list and described dynamic key are for judging whether to control gate for described main frame Open.
6. one kind controls the device that gate is opened, it is characterised in that described device includes:
First obtains module, and for obtaining mark and first dynamic key of the first gate, described first moves State key is the dynamic key forwarded via terminal that described first gate receives, and described first dynamic Key is that described terminal obtains from server;
Second obtains module, for obtaining the second dynamic key and the identification list of described terminal, and described the Two dynamic key are the dynamic key that server generates, and described identification list is included as the user of described terminal The mark of the gate having access entitlements arranged;
First sending module, is positioned in described identification list for the mark at described first gate, and institute State the first dynamic key identical with described second dynamic key time, to described first gate send control disappear Breath, described control message is used for controlling described first gate and opens.
Device the most according to claim 6, it is characterised in that described device also includes:
Detection module, is used for detecting whether described server is in normal operating conditions;
3rd obtains module, for when described server is in abnormal operating state, it is thus achieved that the second lock The mark of machine and the first static keys, described first static keys be described first gate receive via The static keys that terminal forwards;
4th obtains module, for obtaining static keys list and the identity column of described terminal of described terminal Table, described identification list is included as the mark of the gate having access entitlements of the user setup of described terminal, The mark one_to_one corresponding that the static keys that described static keys list comprises and described identification list comprise;
Second sending module, for being positioned in described identification list in described first mark, and described first When static keys is positioned in described static keys list, sends to described second gate and control message, described Control message to be used for controlling described second gate unlatching.
Device the most according to claim 6, it is characterised in that described device also includes:
Creation module, is used for described after described first gate sends control message, creates described end The static keys list of end, the mark with described first gate that the static keys list of described terminal comprises Corresponding static keys is described second dynamic key;
3rd sending module, for being sent to described server by the static keys list of described terminal.
Device the most according to claim 6, it is characterised in that described device also includes:
More new module, is used for described after described first gate sends control message, by described terminal Static keys list in be updated to described second with the static keys corresponding to mark of described first gate The identification list of dynamic key, the static keys that described static keys list comprises and described terminal comprises Mark one_to_one corresponding, described identification list is included as the lock having access entitlements of the user setup of described terminal The mark of machine;
4th sending module, the static keys list of the described terminal after updating is sent to described clothes Business device.
10. one kind controls the device that gate is opened, it is characterised in that described device includes:
First receiver module, for receiving the logging request that terminal sends, described logging request is carried described The mark of terminal;
Determining module, for determining the identification list of described terminal, described identification list is included as described end The mark of the gate having access entitlements of the user setup of end;
Second receiver module, for receiving the key request that described terminal sends;
Generation module, for generating dynamic key for described terminal;
Sending module, for being sent to main frame by described identification list and described dynamic key, and by described Dynamic key is sent to described terminal, described identification list and described dynamic key for sentencing for described main frame The disconnected gate that whether controls is opened.
11. 1 kinds control the system that gate is opened, it is characterised in that described system includes: main frame, clothes Business device, gate and terminal;
Described main frame includes the arbitrary described device for controlling gate unlatching of claim 6-9;
Described server includes the device for controlling gate unlatching described in claim 10;
Being provided with gate controller in described gate, described gate controller is for controlling opening of described gate Open or close;
Described terminal is for obtaining key and being transmitted to described gate from described server;
Wherein, described gate is all connected with described main frame and described terminal, described terminal and described server Connecting, described main frame is connected with described server.
CN201610179261.3A 2016-03-25 2016-03-25 Method, device and system for controlling opening of gate Pending CN105894624A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610179261.3A CN105894624A (en) 2016-03-25 2016-03-25 Method, device and system for controlling opening of gate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610179261.3A CN105894624A (en) 2016-03-25 2016-03-25 Method, device and system for controlling opening of gate

Publications (1)

Publication Number Publication Date
CN105894624A true CN105894624A (en) 2016-08-24

Family

ID=57014325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610179261.3A Pending CN105894624A (en) 2016-03-25 2016-03-25 Method, device and system for controlling opening of gate

Country Status (1)

Country Link
CN (1) CN105894624A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222464A (en) * 2017-05-11 2017-09-29 深圳赛飞百步印社科技有限公司 Method for unlocking and device
CN108846939A (en) * 2018-09-10 2018-11-20 苏州奥腾电子科技有限公司 Unmanned intelligence security check passage system and application method
CN112396745A (en) * 2019-07-30 2021-02-23 中移物联网有限公司 Gate control method and electronic equipment
CN113223224A (en) * 2021-05-12 2021-08-06 支付宝(杭州)信息技术有限公司 Traffic processing method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222464A (en) * 2017-05-11 2017-09-29 深圳赛飞百步印社科技有限公司 Method for unlocking and device
CN108846939A (en) * 2018-09-10 2018-11-20 苏州奥腾电子科技有限公司 Unmanned intelligence security check passage system and application method
CN112396745A (en) * 2019-07-30 2021-02-23 中移物联网有限公司 Gate control method and electronic equipment
CN112396745B (en) * 2019-07-30 2023-09-19 中移物联网有限公司 Gate control method and electronic equipment
CN113223224A (en) * 2021-05-12 2021-08-06 支付宝(杭州)信息技术有限公司 Traffic processing method and device
CN113223224B (en) * 2021-05-12 2023-10-24 支付宝(杭州)信息技术有限公司 Traffic processing method and device

Similar Documents

Publication Publication Date Title
CN103971435B (en) Method for unlocking, server, mobile terminal, electronic lock and unlocking system
CN105321240B (en) The control method and device and Intelligent door control system of intelligent door lock
CN103679860B (en) Household burglary-resisting system and method for work thereof
CN103441986B (en) Data resource security control method in thin client mode
KR100331671B1 (en) Personal device, terminal, server and methods for establishing a trustworthy connection between a user and a terminal
CN105894624A (en) Method, device and system for controlling opening of gate
CN105118127A (en) Visiting system and control method thereof
CN105118125B (en) A kind of intelligent unlocking method and system of electronic lock
CN107113613B (en) Server, mobile terminal, network real-name authentication system and method
CN107483547A (en) Anti-loss method, server, mobile terminal and the storage medium of user terminal
CN104050510A (en) Intelligent room reservation system based on mobile terminal
CN104954506B (en) A kind of account management method, terminal device and system
CN101232509A (en) Equipment, system and method for supporting insulation mode network access control
CN101256906A (en) Electric operating ticket synthetic anti-mistaken closedown system and operation method
US20070250709A1 (en) Methods, apparatus, and computer programs for automatic detection and registration of IP multimedia devices situated in a customer device zone
CN109905312A (en) Information push method, apparatus and system
CN205354152U (en) Intelligent gate inhibition system
CN106170793A (en) System, method and apparatus for secure log
CN205080626U (en) Intelligence lock system based on thing networking
CN106716503A (en) A safety verification method, device and server
CN108833710A (en) Anti-theft protection method and mobile terminal
CN102932365A (en) Device control method and system based on mobile phone camera
CN103427999A (en) User authentication method and system
CN105913513A (en) Control method and system for door lock system
CN104598836A (en) Method and device for managing communication content on mobile terminal as well as mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160824

WD01 Invention patent application deemed withdrawn after publication