CN110910556A - Gate control method and device, readable storage medium and electronic equipment - Google Patents

Gate control method and device, readable storage medium and electronic equipment Download PDF

Info

Publication number
CN110910556A
CN110910556A CN201911089897.9A CN201911089897A CN110910556A CN 110910556 A CN110910556 A CN 110910556A CN 201911089897 A CN201911089897 A CN 201911089897A CN 110910556 A CN110910556 A CN 110910556A
Authority
CN
China
Prior art keywords
gate
door opening
image
identifier
time information
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.)
Granted
Application number
CN201911089897.9A
Other languages
Chinese (zh)
Other versions
CN110910556B (en
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.)
Taikang Insurance Group Co Ltd
Original Assignee
Taikang Insurance Group 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 Taikang Insurance Group Co Ltd filed Critical Taikang Insurance Group Co Ltd
Priority to CN201911089897.9A priority Critical patent/CN110910556B/en
Publication of CN110910556A publication Critical patent/CN110910556A/en
Application granted granted Critical
Publication of CN110910556B publication Critical patent/CN110910556B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention provides a gate control method, a gate control device, a readable storage medium and electronic equipment, wherein the method comprises the following steps: the method comprises the steps of receiving a first door opening request sent by a server, determining first time information associated with the first door opening request, determining a second image identifier and a second gate identifier associated with each second door opening request when second door opening requests in a preset time period exist before the first time information in a time sequence, and forbidding sending a door opening signal to a target gate when door opening requests in which the second image identifiers are matched with the first image identifiers and the second gate identifiers are matched with the first gate identifiers exist in all the second door opening requests, so that the problem that multiple door opening operations are executed by the target gate in the preset time period, and the risk that people are pinched or tailing is caused can be avoided.

Description

Gate control method and device, readable storage medium and electronic equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a gate control method and apparatus, a readable storage medium, and an electronic device.
Background
With the rapid development of artificial intelligence and internet of things, personal safety control equipment with a face recognition function, such as a gate, is widely used in commercial buildings, airports, railway stations, and the like.
For example, in a business office building provided with a gate, a person needs to pass through the gate before entering the office building, before the person passes through the gate, a panel connected with the gate can collect a face image of the person and send the face image to a server, the server compares the face image with a registered face image, if the comparison is successful, a door opening signal is sent to the gate, and the gate receives the door opening signal to execute door opening operation.
If the face is brushed for a plurality of times on a panel machine within a short time (for example, several seconds), the panel machine sends a plurality of times of same face images to a server, the server can carry out comparison for a plurality of times, and the comparison is successful each time, then a door opening signal can be sent to a gate connected with the panel machine, so that the gate can receive a plurality of door opening signals in a short time to open the door for a plurality of times. And because the door opening signal in the same direction is carried out for a plurality of times, the risk of personnel tailing can be caused.
Disclosure of Invention
The embodiment of the invention provides a gate control method, a gate control device, a readable storage medium and electronic equipment, and aims to solve the problems of personnel clamping risk and trailing risk caused by triggering a multiple-time door opening signal in a short time by the conventional gate.
In a first aspect of the embodiments of the present invention, a gate control method is provided, which is applied to a control device, and includes:
receiving a first door opening request sent by a server, wherein the first door opening request comprises a first image identifier of a current face image and a first gate identifier of a target gate;
determining first time information associated with the first door open request; each door opening request is associated with an image identifier, a gate identifier and time information;
when second door opening requests which are located before the first time information in time sequence and exist in a preset time period exist, determining a second image identifier and a second gate identifier which are associated with each second door opening request;
and when the door opening request with the second image identifier matched with the first image identifier and the second gate identifier matched with the first gate identifier exists in all the second door opening requests, forbidding sending a door opening signal to the target gate.
In a second aspect of the embodiments of the present invention, a gate control method is provided, which is applied to a server, and includes:
receiving a first door opening request sent by a camera device, wherein the first door opening request comprises a current face image collected by the camera device and a first gate identifier of a target gate, and the current face image is connected with the target gate;
under the condition that the comparison between the current face image and a target face image in the stored face images is successful, determining a first image identifier of the current face image, and determining first time information associated with the first door opening request; each door opening request is associated with an image identifier, a gate identifier and time information;
when second door opening requests which are located before the first time information in time sequence and exist in a preset time period exist, determining a second image identifier and a second gate identifier which are associated with each second door opening request;
and when the door opening request with the second image identifier matched with the first image identifier and the second gate identifier matched with the first gate identifier exists in all the second door opening requests, forbidding sending a door opening signal to the target gate.
In a third aspect of the embodiments of the present invention, there is provided a gate control device, disposed in a control device, including:
the system comprises a receiving module, a first door opening request and a second door opening request, wherein the receiving module is used for receiving the first door opening request sent by a server, and the first door opening request comprises a first image identifier of a current face image and a first gate identifier of a target gate;
a first determining module for determining first time information associated with the first door opening request; each door opening request is associated with an image identifier, a gate identifier and time information;
the second determining module is used for determining a second image identifier and a second gate identifier associated with each second door opening request when the second door opening request is located before the first time information in a time sequence and within a preset time period;
and the forbidding module is used for forbidding sending a door opening signal to the target gate when the door opening request with the second image identifier matched with the first image identifier and the second gate identifier matched with the first gate identifier exists in all the second door opening requests.
In a fourth aspect of the embodiments of the present invention, there is provided a gate control device, which is disposed in a server, and includes:
the system comprises a receiving module, a first gate opening module and a second gate opening module, wherein the receiving module is used for receiving a first gate opening request sent by a camera device, and the first gate opening request comprises a current face image collected by the camera device and connected with a target gate and a first gate identifier of the target gate;
the information determining module is used for determining a first image identifier of the current face image and determining first time information associated with the first door opening request under the condition that the comparison between the current face image and a target face image in the stored face images is successful; each door opening request is associated with an image identifier, a gate identifier and time information;
the identification determining module is used for determining a second image identification and a second gate identification which are associated with each second door opening request when the second door opening request is located before the first time information in a time sequence and within a preset time period;
and the forbidding module is used for forbidding sending a door opening signal to the target gate when the door opening request with the second image identifier matched with the first image identifier and the second gate identifier matched with the first gate identifier exists in all the second door opening requests.
In a fifth aspect of the embodiments of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program, when executed by a processor, implements the gate control method described above.
In a fifth aspect of the embodiments of the present invention, there is provided an electronic device, including:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the gate control method described above via execution of the executable instructions.
The embodiment of the invention has the following advantages:
according to the gate control method provided by the embodiment of the invention, first time information associated with a first gate opening request is determined by receiving the first gate opening request sent by a server, when second gate opening requests which are positioned before the first time information in time sequence and within a preset time period exist, a second image identifier and a second gate identifier associated with each second gate opening request are determined, and in all the second gate opening requests, when the second image identifier is matched with the first image identifier and the second gate identifier is matched with the first gate identifier, the gate opening signals are forbidden to be sent to a target gate. Therefore, the target gate is controlled within a preset time period without triggering multiple door opening operations, and the problems of the risk of clamping and the risk of trailing personnel are solved.
Drawings
FIG. 1 is a block diagram of a gate control system provided in the prior art;
FIG. 2 is an architecture diagram of a gate control system according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps of a gate control method according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating steps of another gate control method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a gate control device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another gate control device according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 1, fig. 1 is a schematic diagram of a gate control system provided in the prior art. The system comprises gates, camera devices connected with the gates and a server, the number of the gates can be one or more, the number of the camera devices connected with each gate can be one or two, and only 2 gates and 1 camera device connected with each gate are exemplarily illustrated in fig. 1. As shown in fig. 1, the gate shown in fig. 1 includes a gate 1 and a gate 2, and the image pickup apparatus connected to the gate 1 is an image pickup apparatus 1, and the image pickup apparatus connected to the gate 2 is an image pickup apparatus 2. In the prior art, before a person passes through a gate, a camera device connected with the gate can collect a face image of the person and send the face image to a server, the server compares the face image with a registered face image, if the comparison is successful (namely, the person swipes the face successfully), a door opening signal is sent to the gate, and the gate receives the door opening signal to execute door opening operation. For example, before the person 1 passes through the gate 1, the device 1 collects the face image 1 of the person 1, compares the face image 1 with a face image (i.e., a registered face image) stored in a database, and if the face image 1 is successfully compared with a stored face image, sends a door opening signal to the gate 1, and the gate 1 performs a door opening operation after receiving the door opening signal.
However, at present, if the same face is brushed on the same camera device for multiple times in a short time (for example, several seconds), the camera device sends the same face image for multiple times to the server, the server performs multiple times of comparison, and the comparison succeeds each time, a door opening signal is sent to a gate connected with the camera device, so that the gate receives multiple door opening signals in a short time, and the problem of multiple door opening is caused. If the door opening signals are all door opening signals in the same direction, the gate will perform a door closing operation if another person enters or exits the gate from the opposite direction of the direction, thereby causing a risk that the person is caught by the gate. For example, the person 1 needs to enter an office area through the gate passageway 1 corresponding to the gate 1, the camera device 1 collects the face image of the person 1 for 3 times within 5 seconds, and each time the face image is collected, the camera device 1 sends the face image and the identifier 1 of the gate 1 to the server, the server compares the received face image with the stored face image, and if the comparison is successful, the server sends a door opening signal to the gate 1. All compare successfully 3 times, the server has sent 3 times signal of opening the door to floodgate machine 1, personnel 1 if pass through floodgate machine passageway 1 and get into the office area when the operation of opening the door that the signal corresponds is opened to the 2 nd time, and personnel 2 need go out from the office area through floodgate machine passageway 1 again this moment, personnel 2 carry out brush face and pass through floodgate machine passageway 1 after successful at camera equipment 2, because the third time signal of opening the door that personnel 1 correspond is before the signal of opening the door that personnel 2 correspond, floodgate machine 1 allows personnel to pass through floodgate machine passageway 1 this moment and get into the office area, and do not allow personnel to go out from the office area through floodgate machine passageway 1. The person 2 may thus be caught by the gate of the gate 1. And due to the door opening signal in the same direction being multiple times, there may be a risk that a person may enter the office area following the person 1.
Further, in the case where 2 image pickup apparatuses are connected to one gate, there is also a risk that a person is caught. For example, the person 1 needs to enter an office area through the gate channel 1 corresponding to the gate 1, and when the person 1 passes through the gate channel 1 after the face brushing of the camera device 1 is successful, the person accidentally turns back or turns around, and when the camera device 3 connected to the gate 1 (the camera device 3 provides a face brushing device when going out from the office area) brushes the face successfully, a door opening signal is triggered. If the person 2 behind the person 1 swipes the face of the image pickup apparatus 1 successfully, a door opening signal is triggered once, but since the door opening signal triggered successfully by the person 1 swipes the face of the image pickup apparatus 3 is opposite to the door opening signal triggered successfully by the person 2 swipes the face of the image pickup apparatus 1 and is before the door opening signal triggered by the person 2, the person 2 runs the risk that the person 2 is caught by the door closing operation performed by the gate 1 when passing through the gate passage 1. Therefore, it is desirable to provide a gate control scheme to control the gate not to trigger multiple gate opening operations in a short time, which results in the risk of people being caught and followed.
In order to solve the above technical problem, an embodiment of the present invention provides an architecture diagram of a gate control system. Referring to fig. 2, fig. 2 is an architecture diagram of a gate control system according to an embodiment of the present invention. The system comprises a gate, a camera device connected with the gate, a control device and a server. The number of the gates can be one or more, the number of the camera devices connected with each gate can be one or two, and only two gates and one camera device connected with each gate are exemplarily illustrated in fig. 2. As shown in fig. 2, the gate shown in fig. 2 includes a gate 1 and a gate 2, the image pickup apparatus connected to the gate 1 is the image pickup apparatus 1, and the image pickup apparatus connected to the gate 2 is the image pickup apparatus 2.
Based on fig. 2, an embodiment of the present invention provides a gate control method. Referring to fig. 3, fig. 3 is a flowchart illustrating steps of a gate control method according to an embodiment of the present invention, where the method according to this embodiment is suitable for controlling a gate, so as to avoid a situation where a person is caught or the person trails due to multiple times of opening the gate in a short time. The method provided by the embodiment is applied to control equipment, and the control equipment can be electronic equipment such as a notebook computer and a desktop computer. The gate control method provided by the embodiment comprises the following steps:
step 301, receiving a first door opening request sent by a server, where the first door opening request includes a first image identifier of a current face image and a first gate identifier of a target gate.
When a person is located in a certain distance in front of the gate channel, the camera device connected with the gate corresponding to the gate channel can collect the current face image of the person and send the collected current face image and the gate identifier of the gate to the server, the server compares the current face image with the stored face image, if the comparison is consistent with the stored face image, the server can determine the image identifier of the current face image according to the image identifier associated with the stored face image, the image identifier of the current face image is the first image identifier, the target gate is the gate connected with the camera device, and the first gate identifier is the identifier of the target gate. For example, as shown in table 1 below, the laterally associated face image, the image identification associated with the face image stored in the server are exemplarily shown in table 1. If the camera device 1 sends the current face image of a certain person and the identifier of the gate 1 to the server, the server compares the current face image with the stored face image, if the current face image is consistent with the face image 3 in comparison, the server can determine that the image identifier 3 is the first image identifier of the current face image, the gate 1 is the target gate, the identifier of the gate 1 is the gate identifier 1, and the gate identifier 1 is the first gate identifier.
Face image Image identification associated with facial images
Face image 1 Image identification 1
Face image 2 Image identification 2
Face image 3 Image identification 3
Face image 4 Image identification 4
TABLE 1
After determining a first image identifier of the current face image, the server sends a first door opening request to the control device, wherein the first door opening request comprises the first image identifier and a first gate identifier. Correspondingly, the control equipment receives a first door opening request sent by the server.
It should be noted that the server may be a different system server providing a facial image recognition function, for example, the server may be a system server for recognizing facial images developed by company a or a system server for recognizing facial images developed by company B, so that the different system servers can all interface with the control device, i.e., can communicate with the control device, and the control device provides a uniform interface for the different system servers
Step 302, determining first time information associated with a first door opening request; and each door opening request is associated with an image identifier, a gate identifier and time information.
The control device may use time information corresponding to when the first door opening request is received as first time information associated with the first door opening request. Or when the server sends the door opening request to the control device, the server also sends a piece of time information to the control device, that is, the door opening request includes a piece of time information, and the control device may use the received time information sent by the server as the time information associated with the door opening request. It should be noted that, if the time information associated with each door opening request is the time information corresponding to the control device when receiving the door opening request, the control device uses the time information corresponding to the first door opening request as the first time information associated with the first door opening request. And if the time information associated with each door opening request is the time information received by the control equipment and sent by the server, the control equipment takes the time information included in the first door opening request sent by the received server as the first time information.
And when the control equipment receives a door opening request, the image identifier, the gate identifier and the time information corresponding to the door opening request are stored.
And step 303, when second door opening requests which are located before the first time information in time sequence and within a preset time period exist, determining a second image identifier and a second gate identifier which are associated with each second door opening request.
It should be noted that the preset time period may be set according to actual requirements, for example, the preset time period is set to 5 seconds.
After the control device determines the first time information, a second door opening request which is located before the first time information in time sequence and is within a preset time period is found from the stored time information associated with each door opening request, and if the second door opening request is found, a second image identifier and a second gate identifier associated with the second door opening request can be determined according to the image identifier and the gate identifier associated with each door opening request. For example, as shown in table 2 below, table 2 illustrates that there is a horizontal association between the door open request, the time information, the image identification, and the gate identification stored in the control device. The gate identifier 1 is an identifier of the gate 1, and the gate identifier 2 is an identifier of the gate 2.
Door open request Time information Image identification Gate mark
Door opening request 1 Time information 1(10 o' clock 1 min) Image identification 1 Gate mark 1
Door open request 2 Time information 2(10 o' clock 3 min.) Image identification 2 Gate identification 2
Door open request 3 Time information 3(10 o' clock 5 min 10 sec) Image identification 3 Gate mark 1
Door open request 4 Time information 4(10 o' clock, 5 min, 12 sec) Image identification 4 Gate mark 1
TABLE 2
And if the first time information is 10 points, 5 minutes and 15 seconds and the preset time period is 5 seconds, the second door opening request comprises a door opening request 3 and a door opening request 4. Since the image identifier associated with the door opening request 3 is the image identifier 3, the gate identifier associated with the door opening request 3 is the gate identifier 3; as can be seen from table 2, the second image identifier associated with the door opening request 3 is the image identifier 3, and the door opening request 3 is associated with the second gate identifier 3. The second image identifier associated with the door opening request 4 is the image identifier 4, and the door opening request 4 is associated with the second gate identifier as the gate identifier 4.
And step 304, when the door opening request with the second image identifier matched with the first image identifier and the second gate identifier matched with the first gate identifier exists in all the second door opening requests, forbidding sending a door opening signal to the target gate.
In conjunction with the above example, since the first image identifier is the image identifier 3, the first gate identifier is the gate identifier 1. All the second door opening requests comprise door opening requests 3 and door opening requests 4, and since the second image identifier (image identifier 3) associated with the door opening request 3 in the second door opening requests is matched with the first image identifier and the second gate identifier (gate identifier 1) associated with the door opening request 3 is matched with the first gate identifier, the door opening signals are forbidden to be sent to the gate 1. That is, at the time of 10 o 'clock, 5 min and 10 sec, the gate 1 already performs the over-opening operation for the person corresponding to the image identifier 3, the control device considers that the opening signal triggered again by the person corresponding to the icon identifier 3 at 10 o' clock, 5 min and 15 sec is the opening signal triggered by the misoperation, the control device does not send the opening signal to the gate 1, and the gate 1 is prevented from performing multiple opening operations within 5 sec, so that the risk of the person being caught or followed is avoided.
According to the gate control method provided by the embodiment, when the gate opening request that the second image identifier is matched with the first image identifier and the second gate identifier is matched with the first gate identifier exists in all the second gate opening requests, the gate opening signal is forbidden to be sent to the target gate, so that the target gate can be prevented from executing multiple gate opening operations in a short time, and the risk that personnel are clamped or followed is caused.
Optionally, when there is no door opening request in which the second image identifier matches the first image identifier and the second gate identifier matches the first gate identifier in all the second door opening requests, a door opening signal is sent to the target gate.
For example, as described in connection with the above embodiment by way of example, if the image identifier associated with the door opening request 3 in table 2 is the image identifier 2, the second image identifier (image identifier 2) associated with the door opening request 3 does not match the first image identifier (image identifier 3). And the second image identifier (image identifier 4) associated with the door opening request 4 is not matched with the first image identifier, that is, in all the second door opening requests, there is no door opening request in which the second image identifier is matched with the first image identifier and the second gate identifier is matched with the first gate identifier, so that a door opening signal can be sent to the target gate, and the target gate can execute a door opening operation according to the door opening signal, so that a person who succeeds in brushing a face on the camera device connected with the target gate at present can pass through the gate channel of the target gate.
Similarly, the second gate identifier associated with each second door opening request is not matched with the first gate identifier, which indicates that the second gate corresponding to the second gate identifier included in each second door opening request is not the same gate as the target gate. That is, in all the second door opening requests, there is no door opening request in which the second image identifier matches the first image identifier and the second gate identifier matches the first gate identifier, so that a door opening signal can also be sent to the target gate, and the target gate can execute a door opening operation according to the door opening signal, so that a person who has succeeded in brushing a face on the camera device connected to the target gate at present can pass through the gate channel of the target gate.
Optionally, the first door opening request may further include second time information marked by the server for the first door opening request, where the second time information is time information corresponding to the server comparing the current face image with the stored face image successfully, or the second time information is time information corresponding to the server receiving the current face image sent by the camera device connected to the target gate.
Accordingly, the step 302 of determining the first time information associated with the first door open request may be implemented by:
and using the second time information as the first time information associated with the first door opening request.
It should be noted that the server may mark the first door opening request with time information (i.e., second time information) corresponding to when the comparison between the current face image and the stored face image is successful, or mark the first door opening request with time information (i.e., second time information) corresponding to when the server receives the current face image sent by the image capturing device connected to the target gate. The server may mark the first door opening request with time information corresponding to the current face image and the stored face image when the comparison is successful, may store the first door opening request, and simultaneously store the second time information, and store an association relationship between the first door opening request and the second time information, that is, the server may store the first door opening request, the second time information associated with the first door opening request, the first image identifier, and the first gate identifier. The server may send the first door opening request, the second time information associated with the first door opening request, the first image identifier, and the first gate identifier to the control device, where the control device may store the first door opening request, the second time information associated with the first door opening request, the first image identifier, and the first gate identifier, and may compare the first door opening request with the stored first door opening request to determine whether to send a door opening signal to the gate for another door opening request when the control device receives another door opening request.
Optionally, when there is no second door opening request located before the first time information in time sequence and within a preset time period, a door opening signal is sent to the target gate.
And under the condition that a second door opening request which is located before the first time information in time sequence and is within a preset time period does not exist in all the door opening requests, namely the condition that the door opening signal is forbidden to be sent to the target gate does not exist, the door opening signal can be sent to the target gate under the condition, so that the target gate executes the door opening operation according to the door opening signal, and therefore people who brush the face of the camera equipment connected with the target gate successfully can pass through a gate channel of the target gate.
Optionally, sending the door opening signal to the target gate may be implemented by:
determining a gate type of the target gate;
and sending the door opening signal corresponding to the type of the target gate to the target gate.
The gate types associated with gates of different brands can be stored in the control equipment, so that the gate type of the target gate can be determined according to the stored gate types associated with the gates of different brands, and a door opening signal corresponding to the gate type of the target gate is sent to the target gate. Therefore, the control equipment can be used for butt joint of gates with different brands and different protocols, namely the control equipment can provide uniform interfaces for the gates with different gate types, butt joint of the gates with different gate types is realized, a server does not need to care about the gate protocols with different gate types, and development efficiency of service programs deployed on the server can be improved.
Referring to fig. 4, fig. 4 is a flowchart illustrating steps of another gate control method according to an embodiment of the present invention, where the method provided in this embodiment is different from the above embodiment in that: the gate control method provided in this embodiment is applied to a server. The method provided by the embodiment can be implemented based on fig. 1. The gate control method provided by the embodiment comprises the following steps:
step 401, receiving a first door opening request sent by the camera device, where the first door opening request includes a current face image collected by the camera device connected to the target gate and a first gate identifier of the target gate.
Step 402, under the condition that the comparison between the current face image and a target face image in the stored face images is successful, determining a first image identifier of the current face image, and determining first time information associated with a first door opening request; and each door opening request is associated with an image identifier, a gate identifier and time information.
And step 403, when second door opening requests which are located before the first time information in time sequence and exist within a preset time period exist, determining a second image identifier and a second gate identifier which are associated with each second door opening request.
And step 404, when there is a door opening request in which the second image identifier matches the first image identifier and the second gate identifier matches the first gate identifier in all the second door opening requests, prohibiting sending a door opening signal to the target gate.
The gate control method provided by this embodiment is applied to the server, that is, the server may determine whether to send a gate opening signal to the target gate. The method provided by this embodiment is similar to the above embodiments, and is not described herein again to avoid repetition.
According to the gate control method provided by the embodiment, when the gate opening request that the second image identifier is matched with the first image identifier and the second gate identifier is matched with the first gate identifier exists in all the second gate opening requests, the gate opening signal is forbidden to be sent to the target gate, so that the target gate can be prevented from executing multiple gate opening operations in a short time, and the risk that personnel are clamped or followed is caused.
Optionally, when there is no door opening request in which the second image identifier matches the first image identifier and the second gate identifier matches the first gate identifier in all the second door opening requests, the door opening signal is sent to the target gate.
Optionally, in step 402, when the comparison between the current face image and the stored face image is successful, determining a first image identifier of the current face image, and determining first time information associated with the first door opening request, may be implemented by the following steps:
under the condition that the comparison between the current face image and the target face image is successful, determining a target image identifier associated with the target face image according to the face image and the image identifier associated with the face image, and taking the target image identifier as a first image identifier;
taking time information corresponding to the successful comparison between the current face image and the target face image as first time information; alternatively, the first and second electrodes may be,
and taking time information corresponding to the time when the server receives the current face image transmitted by the camera equipment as the first time information.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a gate control device according to an embodiment of the present invention, where the gate control device 500 is disposed in a control apparatus, and includes:
a receiving module 510, configured to receive a first door opening request sent by a server, where the first door opening request includes a first image identifier of a current face image and a first gate identifier of a target gate;
a first determining module 520 for determining first time information associated with the first door open request; each door opening request is associated with an image identifier, a gate identifier and time information;
a second determining module 530, configured to determine, when there are second door opening requests located in time sequence before the first time information and within a preset time period, a second image identifier and a second gate identifier associated with each of the second door opening requests;
a prohibiting module 530, configured to prohibit sending a door opening signal to the target gate when there is a door opening request that the second image identifier matches the first image identifier and the second gate identifier matches the first gate identifier in all the second door opening requests.
Optionally, the method may further include:
and the sending module is used for sending the door opening signal to the target gate when the door opening request that the second image identifier is matched with the first image identifier and the second gate identifier is matched with the first gate identifier does not exist in all the second door opening requests.
Optionally, the first door opening request further includes second time information marked by the server for the first door opening request, where the second time information is time information corresponding to the server comparing the current face image with the stored face image successfully, or the second time information is time information corresponding to the server receiving the current face image sent by the camera device connected to the target gate;
the first determination information is used as first time information associated with the first door opening request.
Optionally, the sending module is further configured to send the door opening signal to the target gate when there is no second door opening request located before the first time information in the time sequence and within the preset time period.
Optionally, the sending module is specifically configured to determine a gate type of the target gate; and sending the door opening signal corresponding to the type of the target gate to the target gate.
Referring to fig. 6, fig. 6 is a schematic structural diagram of another gate control device according to an embodiment of the present invention, where the device 600 is disposed in a server, and includes:
the system comprises a receiving module 610, a first gate opening request module, a second gate opening request module and a second gate opening module, wherein the first gate opening request module is used for receiving a first gate opening request sent by a camera device, and the first gate opening request comprises a current face image collected by the camera device and connected with a target gate and a first gate identifier of the target gate;
an information determining module 620, configured to determine a first image identifier of the current face image and determine first time information associated with the first door opening request if the comparison between the current face image and a target face image in stored face images is successful; each door opening request is associated with an image identifier, a gate identifier and time information;
an identifier determining module 630, configured to determine, when there are second door opening requests located before the first time information in time sequence and within a preset time period, a second image identifier and a second gate identifier associated with each of the second door opening requests;
and a prohibiting module 640, configured to prohibit sending a door opening signal to the target gate when there is a door opening request that the second image identifier matches the first image identifier and the second gate identifier matches the first gate identifier in all the second door opening requests.
Optionally, the method may further include:
and the sending module is used for sending the door opening signal to the target gate when the door opening request that the second image identifier is matched with the first image identifier and the second gate identifier is matched with the first gate identifier does not exist in all the second door opening requests.
Optionally, the information determining module is specifically configured to, under the condition that the comparison between the current face image and the target face image is successful, determine a target image identifier associated with the target face image according to the face image and an image identifier associated with the face image, and use the target image identifier as the first image identifier;
taking the time information corresponding to the successful comparison between the current face image and the target face image as the first time information; alternatively, the first and second electrodes may be,
and taking time information corresponding to the time when the server receives the current face image transmitted by the camera equipment as the first time information.
In addition, an embodiment of the present invention further provides an electronic device, where the electronic device includes a processor and a memory, and the memory is used for storing executable instructions of the processor, where the processor is configured to execute each process of the embodiment of the gate control method provided in the foregoing embodiment by executing the executable instructions, and the same technical effects can be achieved, and are not described herein again to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the gate control method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
The embodiment of the invention also provides a computer program, and the computer program can be stored on a cloud or a local storage medium. When being executed by a computer or a processor, for performing the corresponding steps of the gate control method according to an embodiment of the present invention, and for implementing the corresponding modules in the gate control device according to an embodiment of the present invention.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As is readily imaginable to the person skilled in the art: any combination of the above embodiments is possible, and thus any combination between the above embodiments is an embodiment of the present invention, but the present disclosure is not necessarily detailed herein for reasons of space.
The gate control methods provided herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The structure required to construct a system incorporating aspects of the present invention will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the gate control method according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (12)

1. A gate control method is applied to control equipment and comprises the following steps:
receiving a first door opening request sent by a server, wherein the first door opening request comprises a first image identifier of a current face image and a first gate identifier of a target gate;
determining first time information associated with the first door open request; each door opening request is associated with an image identifier, a gate identifier and time information;
when second door opening requests which are located before the first time information in time sequence and exist in a preset time period exist, determining a second image identifier and a second gate identifier which are associated with each second door opening request;
and when the door opening request with the second image identifier matched with the first image identifier and the second gate identifier matched with the first gate identifier exists in all the second door opening requests, forbidding sending a door opening signal to the target gate.
2. The method of claim 1, further comprising:
and when the door opening request that the second image identifier is matched with the first image identifier and the second gate identifier is matched with the first gate identifier does not exist in all the second door opening requests, sending the door opening signal to the target gate.
3. The method according to claim 2, wherein the first door opening request further includes second time information marked by the server for the first door opening request, the second time information is corresponding time information when the server successfully compares the current facial image with a stored facial image, or the second time information is corresponding time information when the server receives the current facial image sent by a camera device connected to the target gate;
the determining first time information associated with the first door open request includes:
and taking the second time information as first time information associated with the first door opening request.
4. The method of claim 3, further comprising:
and when a second door opening request which is positioned before the first time information in a time sequence and in the preset time period does not exist, sending the door opening signal to the target gate.
5. The method of any of claims 2-4, wherein said sending said door open signal to said target gate comprises:
determining a gate type of the target gate;
and sending the door opening signal corresponding to the type of the target gate to the target gate.
6. A gate control method is applied to a server and comprises the following steps:
receiving a first door opening request sent by a camera device, wherein the first door opening request comprises a current face image collected by the camera device and a first gate identifier of a target gate, and the current face image is connected with the target gate;
under the condition that the comparison between the current face image and a target face image in the stored face images is successful, determining a first image identifier of the current face image, and determining first time information associated with the first door opening request; each door opening request is associated with an image identifier, a gate identifier and time information;
when second door opening requests which are located before the first time information in time sequence and exist in a preset time period exist, determining a second image identifier and a second gate identifier which are associated with each second door opening request;
and when the door opening request with the second image identifier matched with the first image identifier and the second gate identifier matched with the first gate identifier exists in all the second door opening requests, forbidding sending a door opening signal to the target gate.
7. The method of claim 6, further comprising:
and when the door opening request that the second image identifier is matched with the first image identifier and the second gate identifier is matched with the first gate identifier does not exist in all the second door opening requests, sending the door opening signal to the target gate.
8. The method of claim 6 or 7, wherein determining a first image identifier of the current facial image and determining first time information associated with the first door open request if the current facial image is successfully compared to a stored facial image comprises:
under the condition that the comparison between the current face image and the target face image is successful, determining a target image identifier associated with the target face image according to the face image and an image identifier associated with the face image, and taking the target image identifier as the first image identifier;
taking the time information corresponding to the successful comparison between the current face image and the target face image as the first time information; alternatively, the first and second electrodes may be,
and taking time information corresponding to the time when the server receives the current face image transmitted by the camera equipment as the first time information.
9. The gate control device is characterized by being arranged on a control device and comprising:
the system comprises a receiving module, a first door opening request and a second door opening request, wherein the receiving module is used for receiving the first door opening request sent by a server, and the first door opening request comprises a first image identifier of a current face image and a first gate identifier of a target gate;
a first determining module for determining first time information associated with the first door opening request; each door opening request is associated with an image identifier, a gate identifier and time information;
the second determining module is used for determining a second image identifier and a second gate identifier associated with each second door opening request when the second door opening request is located before the first time information in a time sequence and within a preset time period;
and the forbidding module is used for forbidding sending a door opening signal to the target gate when the door opening request with the second image identifier matched with the first image identifier and the second gate identifier matched with the first gate identifier exists in all the second door opening requests.
10. The gate control device is characterized by being arranged on a server and comprising:
the system comprises a receiving module, a first gate opening module and a second gate opening module, wherein the receiving module is used for receiving a first gate opening request sent by a camera device, and the first gate opening request comprises a current face image collected by the camera device and connected with a target gate and a first gate identifier of the target gate;
the information determining module is used for determining a first image identifier of the current face image and determining first time information associated with the first door opening request under the condition that the comparison between the current face image and a target face image in the stored face images is successful; each door opening request is associated with an image identifier, a gate identifier and time information;
the identification determining module is used for determining a second image identification and a second gate identification which are associated with each second door opening request when the second door opening request is located before the first time information in a time sequence and within a preset time period;
and the forbidding module is used for forbidding sending a door opening signal to the target gate when the door opening request with the second image identifier matched with the first image identifier and the second gate identifier matched with the first gate identifier exists in all the second door opening requests.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the gate control method according to any one of claims 1 to 5 or the gate control method according to any one of claims 6 to 8.
12. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the gate control method of any one of claims 1 to 5 or the gate control method of any one of claims 6 to 8 via execution of the executable instructions.
CN201911089897.9A 2019-11-08 2019-11-08 Gate control method and device, readable storage medium and electronic equipment Active CN110910556B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911089897.9A CN110910556B (en) 2019-11-08 2019-11-08 Gate control method and device, readable storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911089897.9A CN110910556B (en) 2019-11-08 2019-11-08 Gate control method and device, readable storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN110910556A true CN110910556A (en) 2020-03-24
CN110910556B CN110910556B (en) 2022-02-18

Family

ID=69817220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911089897.9A Active CN110910556B (en) 2019-11-08 2019-11-08 Gate control method and device, readable storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN110910556B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111599064A (en) * 2020-05-29 2020-08-28 武汉虹信技术服务有限责任公司 Bidirectional access control method, system, terminal and computer readable medium

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4511946A (en) * 1983-01-14 1985-04-16 Schlage Lock Company Programmable combination electronic lock
CN201562305U (en) * 2009-07-30 2010-08-25 潍坊凌讯智能科技有限公司 Multi-mode door control device for office
CN103985171A (en) * 2014-05-12 2014-08-13 深圳市威富多媒体有限公司 Cloud entrance guard barrier gate management method and device
CN104167039A (en) * 2014-08-27 2014-11-26 西安全星智能电子有限责任公司 Access control system
CN104217484A (en) * 2014-09-19 2014-12-17 西安凯虹电子科技有限公司 Single-recognizer multi-gate access control device and method based on iris recognition
KR101719511B1 (en) * 2016-08-04 2017-04-05 주식회사 에어큐브 Method for approving access to gate through network, and server and computer-readable recording media using the same
CN107274532A (en) * 2017-07-11 2017-10-20 广东能兴科技发展有限公司 The temporary password gate control system that encryption parameter dynamically updates
CN107590891A (en) * 2017-09-26 2018-01-16 四川仪岛科技有限公司 A kind of recognition of face access control system of residential community and control method
US20180082503A1 (en) * 2016-09-20 2018-03-22 Schlage Lock Company Llc Networked door closer and auto-operator
EP3300039A1 (en) * 2016-09-26 2018-03-28 ABUS Seccor GmbH Electronic access control system
CN108022335A (en) * 2016-10-31 2018-05-11 杭州海康威视数字技术股份有限公司 A kind of access control method, device and access control system
CN108197450A (en) * 2017-12-28 2018-06-22 广东欧珀移动通信有限公司 Face identification method, face identification device, storage medium and electronic equipment
CN109410347A (en) * 2018-10-18 2019-03-01 深圳晟道科技有限公司 A kind of high-speed rail gate passing method and system
CN109830009A (en) * 2019-01-18 2019-05-31 深圳壹账通智能科技有限公司 Gate inhibition's unlocking method, device, computer equipment and storage medium
KR20190083713A (en) * 2018-01-05 2019-07-15 (주) 솔리티 Slim Type Digital Doorlock having Fingerprint Recognition Module
CN110211270A (en) * 2019-06-17 2019-09-06 李国强 A kind of efficient secret laboratory access control system

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4511946A (en) * 1983-01-14 1985-04-16 Schlage Lock Company Programmable combination electronic lock
CN201562305U (en) * 2009-07-30 2010-08-25 潍坊凌讯智能科技有限公司 Multi-mode door control device for office
CN103985171A (en) * 2014-05-12 2014-08-13 深圳市威富多媒体有限公司 Cloud entrance guard barrier gate management method and device
CN104167039A (en) * 2014-08-27 2014-11-26 西安全星智能电子有限责任公司 Access control system
CN104217484A (en) * 2014-09-19 2014-12-17 西安凯虹电子科技有限公司 Single-recognizer multi-gate access control device and method based on iris recognition
KR101719511B1 (en) * 2016-08-04 2017-04-05 주식회사 에어큐브 Method for approving access to gate through network, and server and computer-readable recording media using the same
US20180082503A1 (en) * 2016-09-20 2018-03-22 Schlage Lock Company Llc Networked door closer and auto-operator
EP3300039A1 (en) * 2016-09-26 2018-03-28 ABUS Seccor GmbH Electronic access control system
CN108022335A (en) * 2016-10-31 2018-05-11 杭州海康威视数字技术股份有限公司 A kind of access control method, device and access control system
CN107274532A (en) * 2017-07-11 2017-10-20 广东能兴科技发展有限公司 The temporary password gate control system that encryption parameter dynamically updates
CN107590891A (en) * 2017-09-26 2018-01-16 四川仪岛科技有限公司 A kind of recognition of face access control system of residential community and control method
CN108197450A (en) * 2017-12-28 2018-06-22 广东欧珀移动通信有限公司 Face identification method, face identification device, storage medium and electronic equipment
KR20190083713A (en) * 2018-01-05 2019-07-15 (주) 솔리티 Slim Type Digital Doorlock having Fingerprint Recognition Module
CN109410347A (en) * 2018-10-18 2019-03-01 深圳晟道科技有限公司 A kind of high-speed rail gate passing method and system
CN109830009A (en) * 2019-01-18 2019-05-31 深圳壹账通智能科技有限公司 Gate inhibition's unlocking method, device, computer equipment and storage medium
CN110211270A (en) * 2019-06-17 2019-09-06 李国强 A kind of efficient secret laboratory access control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111599064A (en) * 2020-05-29 2020-08-28 武汉虹信技术服务有限责任公司 Bidirectional access control method, system, terminal and computer readable medium
CN111599064B (en) * 2020-05-29 2022-02-18 武汉虹信技术服务有限责任公司 Bidirectional access control method, system, terminal and computer readable medium

Also Published As

Publication number Publication date
CN110910556B (en) 2022-02-18

Similar Documents

Publication Publication Date Title
CN105139470B (en) Work attendance method, apparatus and system based on recognition of face
CN106504353B (en) Vehicle charging method and device
DE102012220130B4 (en) Procedure and system for granting access to secure facilities
JP6406246B2 (en) Object identification device, object identification method, and object identification program
CN105989263A (en) Method for authenticating identities, method for opening accounts, devices and systems
CN109243026A (en) A kind of caller management method and system
WO2020164273A1 (en) Conference management method and related device based on voiceprint recognition
CN104021467A (en) Method and device for protecting payment security of mobile terminal and mobile terminal
CN110910556B (en) Gate control method and device, readable storage medium and electronic equipment
CN107452116A (en) A kind of method of personnel identity and quantity in identification specific region
CN106228135A (en) The warning of a kind of identity-based identification/report danger method and system
CN108122314A (en) A kind of doorbell call processing method, Cloud Server, medium and system
CN108764153A (en) Face identification method, device, system and storage medium
CN108022338A (en) The control method of access control system and access control system
CN111275873A (en) Passage control management method and device, electronic equipment and storage medium
TWM565361U (en) Fraud detection system for financial transaction
CN106888204A (en) Implicit identity identifying method based on natural interaction
US20200228648A1 (en) Method and apparatus for detecting abnormality of caller
CN110930569A (en) Security check control method and system
CN107967743A (en) A kind of personal identification method being applied in e-bidding and system
CN110276617A (en) Unmanned convenience store enters recognition methods, device, equipment and storage medium
CN110084213A (en) Face image processing process and device
CN108647613B (en) Examinee examination method applied to examination room
CN113487784A (en) Gate passing system and method
CN109544751A (en) A kind of Door-access control method and device

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
GR01 Patent grant
GR01 Patent grant