CN110782573A - Access control method, device and equipment - Google Patents
Access control method, device and equipment Download PDFInfo
- Publication number
- CN110782573A CN110782573A CN201911184204.4A CN201911184204A CN110782573A CN 110782573 A CN110782573 A CN 110782573A CN 201911184204 A CN201911184204 A CN 201911184204A CN 110782573 A CN110782573 A CN 110782573A
- Authority
- CN
- China
- Prior art keywords
- door
- opening
- access control
- terminal
- instruction
- 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
Links
Images
Landscapes
- Lock And Its Accessories (AREA)
Abstract
The embodiment of the application provides an access control method, a device and equipment, wherein the method comprises the following steps: when a door opening request from a terminal is received, acquiring identity authentication information of the terminal; comparing the identity authentication information with pre-stored user registration information, and judging whether the terminal has access control opening permission; if the terminal has the access control opening authority, generating an opening instruction; and opening the safety door according to the door opening instruction. This application has realized that the robot passes through entrance guard by oneself, has improved the work efficiency of robot.
Description
Technical Field
The application relates to the technical field of safety precaution, in particular to a method, a device and equipment for controlling an access control.
Background
With the rapid development of science and technology, more and more mobile intelligent robots are used to provide services for human beings. However, in the process of robot operation, often meet access control system, because traditional access control system adopts modes such as punching the card, fingerprint identification, button, triggers a outage or signal of circular telegram, just can open the lock, then manual push-open door business turn over. When the robot passes through, only the staff can be called to assist in opening the door, so that the robot can pass through smoothly, the time of the staff is greatly wasted, and the operation efficiency of the robot is also seriously influenced.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method, an apparatus, and a device for controlling an access control, so as to enable a robot to pass through an access control by itself without human intervention, improve the working efficiency of the robot, and save manpower.
A first aspect of the embodiments of the present application provides an access control method, including: when a door opening request from a terminal is received, acquiring identity authentication information of the terminal; comparing the identity authentication information with pre-stored user registration information, and judging whether the terminal has access control opening permission; if the terminal has the access control opening authority, generating an opening instruction; and opening the safety door according to the door opening instruction.
In one embodiment, the access control method further includes: and if the terminal does not have the access control opening permission, sending a door opening failure prompt to the terminal.
In one embodiment, the opening the security door according to the door opening command includes: unlocking the door lock of the safety door according to the door opening instruction; and opening the safety door.
In an embodiment, the unlocking the door lock of the security door according to the door opening instruction includes: detecting the voltage at two ends of the door lock; judging whether the voltage at two ends of the door lock is greater than a preset threshold value or not; and when the voltage at the two ends of the door lock is greater than the preset threshold value, opening the door lock.
In one embodiment, after the opening the safety door, the method further includes: acquiring the opening time of the safety door; judging whether the starting time length reaches a preset time length or not; generating a door closing instruction when the opening duration reaches the preset duration; and closing the safety door according to the door closing instruction, and closing the door lock.
A second aspect of the embodiments of the present application provides an access control apparatus, including: the first acquisition module is used for acquiring the identity authentication information of the terminal when receiving a door opening request from the terminal; the first judgment module is used for comparing the identity authentication information with pre-stored user registration information and judging whether the terminal has access control opening permission; the first generation module is used for generating a door opening instruction if the terminal has the access control opening authority; the first control module is used for opening the safety door according to the door opening instruction; and the sending module is used for sending a door opening failure prompt to the terminal if the terminal does not have the access control opening permission.
In one embodiment, the first control module includes: the unlocking unit is used for unlocking the door lock of the safety door according to the door opening instruction; and the control unit is used for opening the safety door.
In an embodiment, the unlocking unit is specifically configured to: detecting the voltage at two ends of the door lock; judging whether the voltage at two ends of the door lock is greater than a preset threshold value or not; and when the voltage at the two ends of the door lock is greater than the preset threshold value, opening the door lock.
In one embodiment, the access control device further comprises: the second acquisition module is used for acquiring the opening time of the safety door; the second judgment module is used for judging whether the starting time length reaches a preset time length or not; the second generation module is used for generating a door closing instruction when the opening duration reaches the preset duration; and the second control module is used for closing the safety door and closing the door lock according to the door closing instruction.
A third aspect of embodiments of the present application provides an electronic device, including: a memory to store a computer program; the processor is used for executing the method according to the first aspect and any embodiment of the application, so that the robot can pass through the entrance guard by self, and the working efficiency of the robot is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a door access control method according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a door access control method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a detection circuit according to an embodiment of the present application;
FIG. 5 is a flowchart illustrating the sub-steps of step 240 according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an access control device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an access control device according to an embodiment of the present application.
Reference numerals:
100-electronic equipment, 110-bus, 120-processor, 130-memory, 500-entrance guard control device, 510-first obtaining module, 520-first judging module, 530-first generating module, 540-first control module, 541-unlocking unit, 542-control unit, 550-sending module, 560-second obtaining module, 570-second judging module, 580-second generating module, 590-second control module.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
In the description of the present application, the terms "first," "second," and the like are used for distinguishing between descriptions and do not denote an order of magnitude, nor are they to be construed as indicating or implying relative importance.
Please refer to fig. 1, which is a schematic structural diagram of an electronic device 100 according to an embodiment of the present application, and includes at least one processor 120 and a memory 130, where fig. 1 illustrates one processor as an example. The processor 120 and the memory 130 are connected by a bus 110, and the memory 130 stores instructions executable by the at least one processor 120, and the instructions are executed by the at least one processor 120 to cause the at least one processor 120 to perform a door access control method as in the following embodiments.
As shown in fig. 2, which is a schematic flow chart of a door access control method according to an embodiment of the present application, the method may be executed by the electronic device 100 shown in fig. 1 to implement door access control, and the method includes the following steps:
step 210: and when a door opening request from the terminal is received, acquiring the authentication information of the terminal.
In the above steps, the terminal is any device that needs to pass through the access control, in one embodiment, the terminal is a robot, each terminal has unique corresponding authentication information, when receiving a door opening request from the terminal, the authentication information is obtained for authentication, and the access control can be opened only if the authentication is successfully passed, so that the safety and reliability of the access control are ensured.
Step 220: and judging whether the terminal has the access control opening authority.
In the above steps, the authentication information obtained in step 210 is compared with pre-stored user registration information, where the user registration information includes access control permission information, to determine whether the terminal has an access control opening permission, if the terminal has the access control opening permission, step 230 is executed, and if the terminal does not have the access control opening permission, step 250 is executed.
Step 230: and generating a door opening instruction.
Step 240: and opening the safety door according to the door opening instruction.
In the above steps, the door lock of the safety door is an electric lock, unlocking or locking is achieved by powering on or powering off the door lock, the door lock of the safety door is powered on according to the door opening instruction generated in step 230, unlocking is achieved, and then the safety door is opened.
In an embodiment, the unlocking or locking may also be implemented by outputting a high level or a low level to the door lock of the security door, and according to the door opening instruction generated in step 230, the high level is output to the door lock of the security door to implement unlocking, and then the security door is opened
Step 250: and sending a door opening failure prompt to the terminal.
In the above steps, because the terminal has no access control opening authority, the door opening instruction cannot be generated, the door lock is powered off, the door lock is kept in a locked state, the safety door is not opened, and a door opening failure prompt is sent to the terminal. In one embodiment, the lock may be kept locked by outputting a low level to the lock.
As shown in fig. 3, which is a schematic flow chart of a door access control method according to an embodiment of the present application, the method may be executed by the electronic device 100 shown in fig. 1 to implement door access control, and the method includes the following steps:
step 310: and when a door opening request from the terminal is received, acquiring the authentication information of the terminal. For details, refer to the description of step 210 in the above embodiment.
Step 320: and judging whether the terminal has the access control opening authority.
For details, refer to the description of step 220 in the above embodiment. If the terminal has the access control opening authority, step 330 is executed, and if not, step 390 is executed.
Step 330: and generating a door opening instruction.
Step 340: and opening the safety door according to the door opening instruction. For details, refer to the description of step 240 in the above embodiment.
Step 350: and acquiring the opening time of the safety door.
In the above steps, timing is started from the moment when the safety door is opened, and the opening duration of the safety door is obtained.
Step 360: and judging whether the starting time length reaches the preset time length.
In the above steps, after the preset time length is the preset time length for the emergency exit to be opened, the terminal determines whether the opening time length reaches the preset time length through the time required by the entrance guard, if the opening time length does not reach the preset time length, the emergency exit opening state is maintained, and the steps 350 and 360 are returned to be executed until the determination result is that the opening time length reaches the preset time length, and the process goes out of the loop and continues to execute the step 370.
Step 370: and generating a door closing instruction.
Step 380: and closing the safety door according to the door closing instruction, and closing the door lock.
In the above steps, the safety door is closed according to the door closing instruction, and then the door lock of the safety door is powered off to realize locking. In one embodiment, locking may also be achieved by outputting a low level to the door lock.
Step 390: and sending a door opening failure prompt to the terminal. For details, refer to the description of step 250 in the above embodiment.
As shown in fig. 4, which is a schematic diagram of a detection circuit according to an embodiment of the present application, a positive electrode V + of a door lock input voltage is connected to a positive input pin of an optocoupler U, a negative electrode V-of the door lock input voltage is connected to a negative input pin of the optocoupler U, a positive output pin of the optocoupler U is connected to one end of a resistor R and a detection pin TEST, respectively, the other end of the resistor R is connected to a power VCC, and the negative output pin of the optocoupler U is grounded. When the generation instruction of opening the door, the positive input pin of opto-coupler U is the high level, and the output pin of opto-coupler U is in the on-state, and detection pin TEST detects the low level, and the lock unblock, when the generation instruction of closing the door, the positive input pin of opto-coupler U is the low level, and the output pin of opto-coupler U is in the off-state, and detection pin TEST detects the high level, and the lock is locked.
As shown in fig. 5, which is a flow chart illustrating the sub-steps of step 240 in one embodiment of the present application,
step 240: according to the instruction of opening the door, open the emergency exit, can include:
step 241: detecting the voltage at two ends of the door lock according to the door opening instruction;
in the above step, the door lock is electrified, and the voltage change between the positive pole of the input voltage and the negative pole of the input voltage of the door lock is detected.
Step 242: judging whether the voltage at two ends of the door lock is greater than a preset threshold value or not;
in the above steps, the preset threshold is the unlocking voltage of the door lock, in an embodiment, the unlocking voltage of the door lock is 12 v to 14 v, if the voltage across the door lock is not greater than the preset threshold, the door lock keeps the locked state, and the steps 241 and 242 are executed again until the determination result is that the voltage across the door lock is greater than the preset threshold, the loop is skipped, and the step 243 is executed continuously.
Step 243: and (5) opening the door lock and opening the safety door.
As shown in fig. 6, which is a schematic structural diagram of an access control device 500 according to an embodiment of the present application, the access control device can be applied to the electronic device 100 shown in fig. 1, and includes: the first acquiring module 510, the first determining module 520, the first generating module 530, the first controlling module 540 and the sending module 550 are as follows:
the first obtaining module 510 is configured to obtain authentication information of the terminal when a door opening request is received from the terminal.
The first determining module 520 is configured to compare the authentication information with pre-stored user registration information, and determine whether the terminal has an access control opening permission.
The first generating module 530 is configured to generate a door opening instruction if the terminal has an access control opening permission.
And the first control module 540 is used for opening the safety door according to the door opening instruction.
And a sending module 550, configured to send a door opening failure prompt to the terminal if the terminal does not have the access control opening permission.
For details, refer to the descriptions of step 210 to step 250 in the above embodiments.
In one embodiment, the first control module 540 includes an unlocking unit 541 and a control unit 542. The unlocking unit 541 is configured to unlock a door lock of the emergency gate according to the door opening instruction, and the control unit 542 is configured to open the emergency gate.
In an embodiment, the unlocking unit 541 is specifically configured to: detecting the voltage at two ends of the door lock; judging whether the voltage at two ends of the door lock is greater than a preset threshold value or not; and when the voltage at the two ends of the door lock is greater than a preset threshold value, opening the door lock. For details, refer to the descriptions of steps 241 to 242 in the above embodiments.
As shown in fig. 7, which is a schematic structural diagram of an access control device 500 according to an embodiment of the present application, the access control device can be applied to the electronic device 100 shown in fig. 1, and includes: the device comprises a first obtaining module 510, a first judging module 520, a first generating module 530, a first control module 540, a sending module 550, a second obtaining module 560, a second judging module 570, a second generating module 580 and a second control module 590, wherein the principle relationship of the modules is as follows:
the first obtaining module 510 is configured to obtain authentication information of the terminal when a door opening request is received from the terminal.
The first determining module 520 is configured to compare the authentication information with pre-stored user registration information, and determine whether the terminal has an access control opening permission.
The first generating module 530 is configured to generate a door opening instruction if the terminal has an access control opening permission.
And the first control module 540 is used for opening the safety door according to the door opening instruction.
And a sending module 550, configured to send a door opening failure prompt to the terminal if the terminal does not have the access control opening permission.
A second obtaining module 560, configured to obtain an opening duration of the security gate;
the second judging module 570 is configured to judge whether the start-up duration reaches a preset duration;
a second generating module 580, configured to generate a door closing instruction when the opening duration reaches a preset duration;
and the second control module 590 is configured to close the emergency gate and close the door lock according to the door closing instruction.
For details, refer to the descriptions of step 310 to step 390 in the above embodiments.
An embodiment of the present invention further provides a storage medium readable by an electronic device, including: a program that, when run on an electronic device, causes the electronic device to perform all or part of the procedures of the methods in the above-described embodiments. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid-State Drive (SSD), or the like. The storage medium may also comprise a combination of memories of the kind described above.
The related description may be understood by referring to the related description and effects corresponding to the steps in fig. 2, fig. 3, and fig. 4, and redundant description is not repeated here.
The above are merely preferred embodiments of the present application and are not intended to limit the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims (10)
1. An access control method, comprising:
when a door opening request from a terminal is received, acquiring identity authentication information of the terminal;
comparing the identity authentication information with pre-stored user registration information, and judging whether the terminal has access control opening permission;
if the terminal has the access control opening authority, generating an opening instruction;
and opening the safety door according to the door opening instruction.
2. The door access control method according to claim 1, further comprising:
and if the terminal does not have the access control opening permission, sending a door opening failure prompt to the terminal.
3. The door access control method according to claim 1, wherein the opening of the security door according to the door opening instruction comprises:
unlocking the door lock of the safety door according to the door opening instruction;
and opening the safety door.
4. The door access control method according to claim 3, wherein the unlocking the door lock of the security door according to the door opening command includes:
detecting the voltage at two ends of the door lock;
judging whether the voltage at two ends of the door lock is greater than a preset threshold value or not;
and when the voltage at the two ends of the door lock is greater than the preset threshold value, opening the door lock.
5. The door access control method according to claim 3, further comprising, after the opening of the emergency gate:
acquiring the opening time of the safety door;
judging whether the starting time length reaches a preset time length or not;
generating a door closing instruction when the opening duration reaches the preset duration;
and closing the safety door according to the door closing instruction, and closing the door lock.
6. An access control device, comprising:
the first acquisition module is used for acquiring the identity authentication information of the terminal when receiving a door opening request from the terminal;
the first judgment module is used for comparing the identity authentication information with pre-stored user registration information and judging whether the terminal has access control opening permission;
the first generation module is used for generating a door opening instruction if the terminal has the access control opening authority;
the first control module is used for opening the safety door according to the door opening instruction;
and the sending module is used for sending a door opening failure prompt to the terminal if the terminal does not have the access control opening permission.
7. The access control device of claim 6, wherein the first control module comprises:
the unlocking unit is used for unlocking the door lock of the safety door according to the door opening instruction;
and the control unit is used for opening the safety door.
8. The door access control device of claim 7, wherein the unlocking unit is specifically configured to:
detecting the voltage at two ends of the door lock;
judging whether the voltage at two ends of the door lock is greater than a preset threshold value or not;
and when the voltage at the two ends of the door lock is greater than the preset threshold value, opening the door lock.
9. The access control device of claim 7, further comprising:
the second acquisition module is used for acquiring the opening time of the safety door;
the second judgment module is used for judging whether the starting time length reaches a preset time length or not;
the second generation module is used for generating a door closing instruction when the opening duration reaches the preset duration;
and the second control module is used for closing the safety door and closing the door lock according to the door closing instruction.
10. An electronic device, comprising:
a memory to store a computer program;
a processor to perform the method of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911184204.4A CN110782573A (en) | 2019-11-27 | 2019-11-27 | Access control method, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911184204.4A CN110782573A (en) | 2019-11-27 | 2019-11-27 | Access control method, device and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110782573A true CN110782573A (en) | 2020-02-11 |
Family
ID=69392827
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911184204.4A Pending CN110782573A (en) | 2019-11-27 | 2019-11-27 | Access control method, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110782573A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112168090A (en) * | 2020-09-02 | 2021-01-05 | 珠海格力电器股份有限公司 | Sweeper, control method thereof and control method of door control device |
CN113689590A (en) * | 2021-09-08 | 2021-11-23 | 北京京东乾石科技有限公司 | Access control system, method and device, and computer readable medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104314379A (en) * | 2014-08-26 | 2015-01-28 | 北京精密机电控制设备研究所 | Unlocking control circuit for locking mechanism |
CN205380658U (en) * | 2015-12-11 | 2016-07-13 | 国网山东省电力公司电力科学研究院 | Transformer station inspection robot and system with arm |
CN105869252A (en) * | 2015-09-29 | 2016-08-17 | 黄朝荣 | Full-automatic numerical control access control system |
CN106600776A (en) * | 2016-12-08 | 2017-04-26 | 宇龙计算机通信科技(深圳)有限公司 | Method and system of access control |
CN108166887A (en) * | 2017-11-16 | 2018-06-15 | 国网浙江省电力公司紧水滩水力发电厂 | A kind of intelligence coordinated with electric inspection process robot is opened flat door system |
CN108550202A (en) * | 2018-03-08 | 2018-09-18 | 芜湖泰领信息科技有限公司 | The system of the self-service gate inhibition that comes in and goes out of robot |
CN109961544A (en) * | 2019-01-23 | 2019-07-02 | 广东启正电子科技有限公司 | A kind of enabling control method and system |
-
2019
- 2019-11-27 CN CN201911184204.4A patent/CN110782573A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104314379A (en) * | 2014-08-26 | 2015-01-28 | 北京精密机电控制设备研究所 | Unlocking control circuit for locking mechanism |
CN105869252A (en) * | 2015-09-29 | 2016-08-17 | 黄朝荣 | Full-automatic numerical control access control system |
CN205380658U (en) * | 2015-12-11 | 2016-07-13 | 国网山东省电力公司电力科学研究院 | Transformer station inspection robot and system with arm |
CN106600776A (en) * | 2016-12-08 | 2017-04-26 | 宇龙计算机通信科技(深圳)有限公司 | Method and system of access control |
CN108166887A (en) * | 2017-11-16 | 2018-06-15 | 国网浙江省电力公司紧水滩水力发电厂 | A kind of intelligence coordinated with electric inspection process robot is opened flat door system |
CN108550202A (en) * | 2018-03-08 | 2018-09-18 | 芜湖泰领信息科技有限公司 | The system of the self-service gate inhibition that comes in and goes out of robot |
CN109961544A (en) * | 2019-01-23 | 2019-07-02 | 广东启正电子科技有限公司 | A kind of enabling control method and system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112168090A (en) * | 2020-09-02 | 2021-01-05 | 珠海格力电器股份有限公司 | Sweeper, control method thereof and control method of door control device |
CN113689590A (en) * | 2021-09-08 | 2021-11-23 | 北京京东乾石科技有限公司 | Access control system, method and device, and computer readable medium |
CN113689590B (en) * | 2021-09-08 | 2023-09-26 | 北京京东乾石科技有限公司 | Access control system, method and device and computer readable medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI532909B (en) | Electronic lock with power failure control circuit,system and method for shutting down and restarting electronic lock under failure conditions | |
US20180316180A1 (en) | Methods for detecting an imminent power failure in time to protect local design state | |
CN110782573A (en) | Access control method, device and equipment | |
WO2020078091A9 (en) | Method for anti-electromagnetic interference and intelligent lock | |
CN102339490A (en) | Fingerprint recognition system for intelligent garage door | |
CN108242096A (en) | Access control system based on face recognition technology | |
CN106097490A (en) | A kind of intelligent lock, the door-locking system being made up of lockset and method for unlocking | |
WO2020134525A1 (en) | Access control management method, apparatus and system | |
KR100838657B1 (en) | Digital door lock for breaking standby power and method thereof | |
CN110032251A (en) | Host system and its electronic lock unlocking method | |
CN102587734A (en) | Electromechanical dual-controlled intelligent lockset and door lock system | |
CN115942283A (en) | Switching system, method, device and medium for controlling starting of equipment | |
CN208156747U (en) | dynamic password access control system | |
CN114727062A (en) | Penetration detection method and device based on common security video monitoring | |
CN114187720A (en) | Monitoring method, monitoring device, electronic equipment and computer readable medium | |
CN109782163B (en) | Short circuit detection device and method for magnetic flux constraint type current limiting switch | |
CN109179117B (en) | Door lock short circuit detection method and device, computer equipment and storage medium | |
CN208073221U (en) | Function expanding device and automatic door control system | |
CN107274521B (en) | Safety control device for security | |
CN112419545A (en) | Power-taking control system and method for Internet of things door lock | |
CN201943456U (en) | Electronic-control lock with function of blackout delayed protection | |
CN107437039B (en) | Trusted platform control module based on ATX power supply and operation method thereof | |
Susilo et al. | Design and Build a Smart Door Lock Using Face Recognition | |
CN108305419A (en) | Anti-theft prewarning apparatus | |
CN112723074B (en) | Contact detection method, storage medium and elevator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200211 |
|
RJ01 | Rejection of invention patent application after publication |