CN114613056A - Gate control method, device, equipment and computer readable storage medium - Google Patents

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

Info

Publication number
CN114613056A
CN114613056A CN202210267203.1A CN202210267203A CN114613056A CN 114613056 A CN114613056 A CN 114613056A CN 202210267203 A CN202210267203 A CN 202210267203A CN 114613056 A CN114613056 A CN 114613056A
Authority
CN
China
Prior art keywords
gate
face information
passing
time period
matching
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
CN202210267203.1A
Other languages
Chinese (zh)
Other versions
CN114613056B (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.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics 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 Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202210267203.1A priority Critical patent/CN114613056B/en
Publication of CN114613056A publication Critical patent/CN114613056A/en
Application granted granted Critical
Publication of CN114613056B publication Critical patent/CN114613056B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/30Individual registration on entry or exit not involving the use of a pass
    • G07C9/32Individual registration on entry or exit not involving the use of a pass in combination with an identity check
    • G07C9/37Individual registration on entry or exit not involving the use of a pass in combination with an identity check using biometric data, e.g. fingerprints, iris scans or voice recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)

Abstract

The invention discloses a gate control method, a gate control device, gate control equipment and a computer readable storage medium, wherein the gate control method comprises the steps of acquiring collected face information collected by a gate; matching the collected face information with a first priority database corresponding to the current passing time period, wherein different passing time periods correspond to different first priority databases, and the first priority data corresponding to the current passing time period store initial face information of a passer with a passing probability greater than a preset value in the current passing time period; and if the matching is successful in the first priority database corresponding to the current passing time period, controlling the gate to be opened. The invention improves the efficiency of face recognition brake passing.

Description

Gate control method, device, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of gate control technologies, and in particular, to a gate control method, device, and apparatus, and a computer-readable storage medium.
Background
With the continuous progress of science and technology, more and more schools, communities, enterprises, tourist attractions and other places with dense personnel use the gate for traffic control, and the face recognition gate is one of the places. In the prior art, a gate with a face recognition function records face information of a user with a pass authorization permission into a database in advance, when the user passes through the gate, the face information acquired currently is used for matching with the face information stored in the database, and if the face information is matched successfully, the gate is opened.
Because the face information of storage in the face information database is too much, when the user passes through the floodgate at every turn, all face information in the total database need be traversed, the face information of utilizing current collection carries out the one-to-one matching with the face information of prestoring in the total database, it is consuming time longer, the efficiency of face identification floodgate has been reduced, especially enterprise's staff, the district owner, school student and sight spot visitor etc. need use the user volume of floodgate when great, lower current efficiency of floodgate, user experience has seriously been influenced.
Disclosure of Invention
The invention mainly aims to provide a gate control method, a gate control device, gate control equipment and a computer readable storage medium, and aims to solve the technical problem that the gate passing efficiency is low in the prior art.
In order to achieve the above object, the present invention provides a gate control method, including the steps of:
acquiring collected face information collected by a gate;
matching the collected face information with a first priority database corresponding to the current passing time period, wherein different passing time periods correspond to different first priority databases, and the first priority data corresponding to the current passing time period store initial face information of a passer with a passing probability greater than a preset value in the current passing time period;
and if the matching is successful in the first priority database corresponding to the current passing time period, controlling the gate to be opened.
Optionally, after the step of matching the collected face information with the first priority database corresponding to the current passing time period, the method further includes:
if the matching fails in a first priority database corresponding to the current passing time period, matching the collected face information in a second priority database, wherein all initial face information with passing authorization permission is stored in the second priority database;
and if the matching in the second priority database is successful, controlling the gate to be opened.
Optionally, the gate control method further includes:
acquiring first passing data of a preset period of the gate, and analyzing a frequent passing time period corresponding to a person passing in the first passing data;
inputting the initial face information of the passer in the first passing data into a data statistical library corresponding to the frequent passing time period;
and if the frequent passing time interval is matched with the current passing time interval, taking the data statistical base corresponding to the frequent passing time interval as a first priority database corresponding to the current passing time interval.
Optionally, the gate control method further includes:
acquiring a pre-stored passage aging node corresponding to the initial face information in a second priority database, and determining a specified passage time period corresponding to the passage aging node;
inputting the initial face information in the second priority database into a data statistical database corresponding to the specified passing time period;
and if the specified passing time interval is matched with the current passing time interval, taking the data statistical base corresponding to the specified passing time interval as a first priority database corresponding to the current passing time interval.
Optionally, the gate control method further includes:
collecting second passing data of the gate at preset intervals, wherein the second passing data comprise a plurality of passing persons passing through the gate and passing moments corresponding to the plurality of passing persons;
and performing self-adaptive adjustment on the first priority database according to the acquired second through data.
Optionally, the first priority database includes a pre-entry database and a pre-exit database, the passage time period includes a gate entry time period and a gate exit time period, different gate entry time periods correspond to different pre-entry databases, different gate exit time periods correspond to different pre-exit databases, and the face recognition module of the gate includes a gate entry recognition module arranged on one side of the gate and a gate exit recognition module arranged on the other side of the gate; the step of matching the collected face information with a first priority database corresponding to the current passing time period comprises the following steps:
if the face recognition module which collects the face information is a gate entry recognition module, matching the collected face information in a pre-gate entry database corresponding to the current gate entry time period;
and if the face recognition module for collecting the face information is the gate-out recognition module, matching the collected face information in a gate-out pre-database corresponding to the current gate-out time period.
Optionally, the step of acquiring the collected face information collected by the gate includes:
acquiring traffic environment information acquired by a monitoring module of a gate;
judging whether a plurality of current persons to be passed are present or not according to the passing environment information;
if the number of the persons to be passed is multiple, monitoring face information of each person to be passed in advance based on the monitoring module, and verifying whether the monitored face information has permission of passing authorization in advance;
if the face information has the permission of passing authorization, the face information with the permission of passing authorization is input into a pre-passing database;
the step of acquiring the collected face information collected by the gate comprises the following steps:
matching the collected face information in the pre-passing database;
if the matching in the pre-passing database is successful, controlling the gate to be opened;
if the matching in the pre-passing database fails, executing: and matching the acquired face information with a first priority database corresponding to the current passing time period.
In addition, to achieve the above object, the present invention provides a gate control device, including:
the acquisition unit is used for acquiring the acquired face information acquired by the gate;
the matching unit is used for matching the collected face information with a first priority database corresponding to the current passing time period, wherein different passing time periods correspond to different first priority databases, and the first priority data corresponding to the current passing time period store initial face information of a passer, the passing probability of which is greater than a preset value in the current passing time period;
and the control unit is used for controlling the gate to be opened if the matching is successful in the first priority database corresponding to the current passing time period.
Further, to achieve the above object, the present invention also provides a gate control apparatus including: the system comprises a memory, a processor and a gate control program stored on the memory and capable of running on the processor, wherein the gate control program realizes the steps of the gate control method when being executed by the processor.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium having a gate control program stored thereon, which, when executed by a processor, implements the steps of the gate control method as described above.
The invention acquires the collected face information collected by the gate and matches the collected face information with a first priority database corresponding to the current passing time period, wherein different passing time periods correspond to different first priority databases, the first priority data corresponding to the current passing time period stores the initial face information of passers with the passing probability being greater than the preset value in the current passing time period, if the matching is successful in the first priority database corresponding to the current passing time period, the gate is controlled to be opened, so that the initial face information of each passer is divided into the first priority databases in different passing time periods based on the passing habits or passing rules of each passer, when a user needs to pass, a face recognition module of the gate collects the face information of the user and matches the face information of the user in the first priority database corresponding to the current passing time period, therefore, the number of the face information to be subjected to polling matching is reduced, the situation that when the face identification module collects the face information every time, all the face information in the total database needs to be traversed is avoided, the currently collected face information and the face information in the total database do not need to be matched one by one, the total database is divided into a plurality of different passing time periods, the first priority database with less face information is provided, when a user needs to pass, the system can be positioned to the first priority database corresponding to the current time period, the face information is subjected to polling matching, the data compared at each time are more accurate, the data compared at each time is smaller, the polling matching time is reduced, and the face identification passing efficiency is improved.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present application;
FIG. 2 is a schematic flow chart illustrating a gate control method according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a gate control method according to a second embodiment of the present invention;
fig. 4 is a schematic diagram of device modules of a gate control device according to an embodiment of the invention.
The objects, features and advantages of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention is gate control equipment.
As shown in fig. 1, the terminal may include: a processor 1001, e.g. a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that turns off the display screen and/or the backlight when the terminal device is moved to the ear. Of course, the terminal device may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a gate control program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the gate control program stored in the memory 1005 and perform the following operations:
acquiring collected face information collected by a gate;
matching the collected face information with a first priority database corresponding to the current passing time period, wherein different passing time periods correspond to different first priority databases, and the first priority data corresponding to the current passing time period store initial face information of a passer with a passing probability greater than a preset value in the current passing time period;
and if the matching is successful in the first priority database corresponding to the current passing time period, controlling the gate to be opened.
Because the face information of storage in the face information database is too much, every time when the user passes through the gate, all face information in the total database need to be traversed, the face information of utilizing current collection is matched with the face information prestored in the total database one by one, the time consumption is long, the efficiency of face identification gate crossing is reduced, especially enterprise staff, the community owner, school students and scenic spot visitors and the like need to use the gate, the user quantity is large, when a large number of users need to go out in a short time, such as on-duty rush hours, the condition of queuing before the gate is easily caused due to the fact that the identification speed is not rapid enough, and therefore the user experience is reduced. Therefore, the user experience is seriously influenced by the low passing efficiency of the brake.
Based on this, referring to fig. 2, the present invention provides a gate control method, which in a first embodiment of the gate control method comprises the steps of:
step S100, acquiring collected face information collected by the gate
In this embodiment, the gate can be applied to an enterprise park, a residential quarter, a school gate, a scenic spot entrance, and the like, and this embodiment is not particularly limited. The face information of this collection is gathered to the face identification module of accessible floodgate machine, and this face identification module can be for the camera that has face identification function.
Step S200, matching the collected face information with a first priority database corresponding to the current passing time period;
in this embodiment, the current passing time period refers to a passing time period in which the current time is.
The first priority data corresponding to the current passing time period is stored with the initial face information of the passer of which the passing probability is greater than a preset value in the current passing time period. Because different passers-by often have different laws of passage or habits of passage, therefore, each passer-by often comes in and goes out at the floodgate machine regularly in a certain period of passage. For example, passer a typically passes through gates at 18:00 to 19:00 of the day, and passer B typically passes through gates at 19:00 to 20:00 of the day. Therefore, the face information of each passer can be divided into the first priority databases of a plurality of different passing time periods based on the passing habits or passing rules of each passer, wherein the dividing manner of each passing time period is not specifically limited in the embodiment, so that the passing habits or the passing rules of each passer can be better distinguished, for example, the passing time periods are divided by taking the average one hour as the interval size, for example, the passing time periods can be divided by taking the average half hour as the interval size in the passing peak period, and the passing time periods are divided by taking the average two hours as the interval size in the usual.
It can be understood that, in the first priority database corresponding to the same passing time period, passers-by corresponding to the stored face information should have the same passing rules or passing habits, that is, passers-by corresponding to the face information often pass in and out at the gate regularly in the same passing time period.
And step S300, if the matching is successful in the first priority database corresponding to the current passing time period, controlling the gate to be opened.
In this embodiment, it can be understood that, if the acquired face information is successfully matched in the first priority database corresponding to the current passing time period, it is indicated that the initial face information matched with the acquired face information is stored in the first priority database.
In the embodiment, collected face information collected by a gate is obtained, and the collected face information is matched with a first priority database corresponding to a current passing time period, wherein different passing time periods correspond to different first priority databases, initial face information of passers with passing probability greater than a preset value in the current passing time period is stored in first priority data corresponding to the current passing time period, if the matching is successful in the first priority database corresponding to the current passing time period, the gate is controlled to be opened, so that the initial face information of each passer is divided into the first priority databases in different passing time periods based on the passing habits or passing rules of each passer, when a user needs to pass, a face recognition module of the gate collects the face information of the user, and the face information of the user is matched in the first priority database corresponding to the current passing time period, therefore, the number of polling matching on the face information is reduced, the face identification module is prevented from traversing all the face information in the total database every time the face information is acquired, the face information acquired currently and the face information in the total database are not required to be matched one by one, but the total database is divided into a plurality of different passing time periods, a first priority database with less face information is provided, when a user needs to pass, the system can be positioned to the first priority database corresponding to the current time period, the face information is polled and matched, the data compared at each time is more accurate, the data compared at each time is smaller, the polling matching time is reduced, and the face identification lockage efficiency is improved.
In an implementation manner, after the step of matching the collected face information with the first priority database corresponding to the current passing time period, the method further includes:
step A10, if the matching fails in the first priority database corresponding to the current passing time period, matching the collected face information in the second priority database;
and all initial face information with the permission of passing authorization is stored in the second priority database. This second priority data is the aforementioned total database.
And step A20, if the matching is successful in the second priority database, controlling the gate to be opened.
In this embodiment, if the matching fails in the second priority database, it indicates that the collected face information does not have permission of pass authorization, and therefore, the face information is not processed.
Because there often exists some passers-by and has irregular passing habit, that is to say, this part of passers-by often can be irregular and pass in and out at the floodgate machine in arbitrary passage period, can't accurately carry out the division of passage period to this part of passers-by to the first priority database of corresponding passage period can't be typeeed. Therefore, even if the current collected face information has permission of passing authorization, matching may still fail in the first priority database corresponding to the current passing time period.
Therefore, in the embodiment, if the matching fails in the first priority database corresponding to the current passing time period, the collected face information is matched in the second priority database, and if the matching succeeds in the second priority database, the gate is controlled to be opened, so that when the matching fails in the first priority database corresponding to the current passing time period, the current collected face information is further matched in the total database with a larger data volume, and whether the current collected face information has the passing authorization permission or not can be accurately judged as much as possible while the face identification passing efficiency is improved.
In the embodiment, the face information of the user is stored in the multiple databases, and is sequentially compared in the databases with different priorities when the face information is collected, so that the method has the advantages that compared with the mode of directly traversing all the face information in the total database in the prior art, the efficiency of face recognition passing is improved, and the passing experience of the user is improved.
In one possible embodiment, the gate control method further includes:
step B10, acquiring first passing data of the gate in a preset period, and analyzing frequent passing time periods corresponding to passing persons in the first passing data;
in this embodiment, the first traffic data includes a plurality of traffic persons who pass through the gate and a plurality of traffic times corresponding to the traffic persons. It can be understood that, the longer the preset period is, the more comprehensive the traffic data statistics is, but at the same time, the statistical efficiency is lower, the preset period may be 1 month, two months or 3 months, so as to better balance the statistical comprehensiveness and the statistical efficiency of the traffic data, and the embodiment is not particularly limited.
In this embodiment, it should be noted that the frequent passage time period is a passage time period in which the passage frequency or the communication probability of the passage person is greater than a preset value. It can be understood that, since the first passing data includes the passing time corresponding to each passing person every day in the preset period, the frequent passing time period of each passing person can be analyzed according to the passing time counted by each passing person every day.
Step B20, inputting the initial face information of the passer in the first passing data into a data statistical base corresponding to the frequent passing time period;
and step B30, if the frequent passing time interval is matched with the current passing time interval, taking the data statistics base corresponding to the frequent passing time interval as a first priority database corresponding to the current passing time interval.
In the embodiment, the first passing data of the preset period of the gate is acquired, the frequent passing time period corresponding to the passer in the first passing data is analyzed, the initial face information of the passer in the first passing data is recorded into the data statistical library corresponding to the frequent passing time period, if the frequent passing time period is matched with the current passing time period, the data statistical library corresponding to the frequent passing time period is used as the first priority database corresponding to the current passing time period, so that the passing habits or passing rules of the passer are accurately analyzed, the initial face information of the passer is accurately divided into the first priority databases corresponding to the frequent passing time periods, the current collected face information is conveniently and directly positioned to the corresponding first priority databases subsequently, the face information is compared, the compared data of each time is more accurate, and the compared data volume of each time is smaller, the efficiency of face identification passing brake is further improved.
In another possible embodiment, the gate control method further includes:
step C10, acquiring a passage aging node corresponding to the initial face information in the second priority database, and determining a specified passage time period corresponding to the passage aging node;
step C20, inputting the initial face information in the second priority database into a data statistical base corresponding to the specified passing time period;
and step C30, if the specified passing time interval is matched with the current passing time interval, taking the data statistics base corresponding to the specified passing time interval as a first priority database corresponding to the current passing time interval.
To assist in understanding the embodiments of the present application, for example, in one embodiment, where gates are applied to a corporate campus and there may be different batches of work hours for employees, the transit time node may be the time of work or work hours for employees, since employees typically pass through the gates of the corporate campus around the time of work or work hours. Thus, the prescribed passage period may be a first preset duration around the time of work-on, or a first preset duration around the time of work-off.
In another embodiment, the gate is applied to a school gate, school students may have different batches of school time, and the passing time node may be the school time or the school leaving time of the students, since the students in the schools all pass through the gate of the school gate at the school time or around the school time. Thus, the prescribed passage period may be a second preset duration around the time of last school, or a second preset duration around the time of last school.
In another embodiment, the gate is applied to a residential area, and the residents in the residential area may also have different working hours, and the transit time node may be the working time or the working time of the residents, and since it takes a certain time for the residents to arrive at the company from the residential area or arrive at the residential area from the company, the residents generally pass through the gate of the residential area in a third preset time period before the working time or in a third preset time period after the working time. Thus, the prescribed passage period may be a third preset time period before the working hour or a third preset time period after the working hour.
In another embodiment, the gates are applied to the scenic spot entrance/exit, and the scenic spot tickets purchased by the tourists may have different batches of viewing time periods, and the transit time-efficient node may be the viewing starting time or the viewing ending time corresponding to the scenic spot tickets purchased by the tourists, since the general employees are all concentrated on the gates passing through the scenic spot entrance/exit around the viewing starting time or around the viewing ending time. Thus, the specified passage time period may be a fourth preset time period around the view starting time or a fourth preset time period around the view ending time.
In the embodiment, the pre-stored passage aging node corresponding to the initial face information in the second priority database is obtained, the specified passage time period corresponding to the passage aging node is determined, the initial face information in the second priority database is recorded into the data statistical library corresponding to the specified passage time period, if the specified passage time period is matched with the current passage time period, the data statistical library corresponding to the specified passage time period is used as the first priority database corresponding to the current passage time period, so that the passage rule of the passers is accurately evaluated, the face information of each passer is accurately divided into the first priority databases corresponding to the specified passage time periods, the collected current face information is conveniently and directly positioned to the corresponding first priority databases subsequently, the face information is compared, the compared data in each time is more accurate, and the compared data volume in each time is smaller, the efficiency of face identification passing brake is further improved.
Further, the gate control method further includes:
step D10, collecting second traffic data of the gate at preset intervals, wherein the second traffic data comprises a plurality of traffic personnel passing through the gate and traffic time corresponding to the traffic personnel;
and D20, performing adaptive adjustment on the first priority database according to the collected second traffic data.
Specifically, the first priority database corresponding to each passing time period can be adaptively adjusted at intervals of a preset period according to the second passing data of the latest continuous third preset period at the gate. The longer the third preset period is, the more comprehensive the traffic data statistics is, but the statistical efficiency is lower, and the third preset period may be 1 month, two months or 3 months, so as to better balance the statistical comprehensiveness and statistical efficiency of the traffic data, which is not specifically limited in this embodiment. It is understood that the preset period may be the same as the preset period or different from the preset period. It should be noted that the preset period should be greater than or equal to a third preset period.
As the passing habits or passing rules of the passers may dynamically change with the lapse of time, in order to more accurately obtain the passing habits or passing rules of the passers, the embodiment collects the second passing data of the gate at preset intervals, and performs adaptive adjustment on the first priority database according to the collected second passing data, so as to dynamically roll and update the data in the first priority data, so that the compared data at each time is more accurate, and the efficiency of face recognition gating is further improved.
In a possible implementation manner, the first priority database includes a pre-entry database and a pre-exit database, the passage time period includes a gate entry time period and a gate exit time period, different gate entry time periods correspond to different pre-entry databases, different gate exit time periods correspond to different pre-exit databases, and the face recognition module of the gate includes a gate entry recognition module arranged on one side of the gate and a gate exit recognition module arranged on the other side of the gate; the step of matching the collected face information with a first priority database corresponding to the current passing time period comprises the following steps:
step E10, if the face recognition module for collecting the face information is a gate entry recognition module, matching the collected face information in a pre-gate entry database corresponding to the current gate entry time period;
and E20, if the face recognition module for collecting the face information is the gate-out recognition module, matching the collected face information in a gate-out pre-database corresponding to the current gate-out time period.
In the embodiment, the passing authorization permission authentication is performed on a user entering a gate through the pre-gate entering database, the passing authorization permission authentication is performed on a user exiting the gate through the pre-gate exiting database, the gate entering identification module and the gate exiting identification module are respectively arranged on the two sides of the gate, the face information of the user entering the gate and the face information of the user exiting the gate are respectively collected, when the face identification module detects that the user exits the gate, the system can move the face information of the user from the pre-gate exiting database to the pre-gate entering database, and when the face identification module detects that the user enters the gate, the system can move the face information of the user from the pre-gate entering database to the pre-gate exiting database. The method can distinguish the users who enter and exit, so that the database quantity of the face information needing to be compared is reduced, the data quantity of the face information needing to be compared at each time is less, the face information comparison efficiency is higher, the compared data are more accurate, and the face identification lockage efficiency is further improved.
Referring to fig. 3, a second embodiment of the gate control method according to the present application is proposed based on the first embodiment, in the second embodiment, step S100, before the step of acquiring the face information collected by the face recognition module of the gate, includes:
step S410, obtaining traffic environment information collected by a monitoring module of a gate;
in this embodiment, the monitoring module may be a monitoring camera, and may capture environmental information around the gate. The traffic environment information refers to the traffic condition of the person to be trafficked in the current environment of the gate, for example, the number information of the person to be trafficked. As will be appreciated by those skilled in the art, the monitoring module of the gate should have a wider and wider viewing angle than the face recognition module of the gate. The monitoring module of the gate may be set at a higher height than the face recognition module of the gate. For example, when there are a plurality of persons to be passed and the gate is used for face recognition in queue, the monitoring module of the gate can monitor the face information of each person to be passed in queue, and the face recognition module of the gate can only collect the face information of the first person to be passed in queue.
Step S420, judging whether a plurality of current persons to be passed are present according to the passing environment information;
step S430, if the number of the persons to be passed is multiple, monitoring face information of each person to be passed in advance based on the monitoring module, and verifying whether the monitored face information has pass authorization permission in advance;
in this embodiment, whether the person to be passed has permission for passing authorization may be verified by matching the monitored face information of the person to be passed in the second priority database. Whether the person to be cleared has the permission of the passage authorization can be verified by matching the monitored face information of the person to be cleared in the first priority database corresponding to the current passage time period, which is the same as the method described in the above embodiment to verify whether the person to be cleared has the permission of the passage authorization, and the details are not repeated here.
Step S440, if the person has the permission of passing authorization, the monitoring face information with the permission of passing authorization is input into a pre-passing database;
in the step S100, the step of acquiring the face information acquired by the gate includes:
step S510, matching the collected face information in the pre-passing database;
if the matching is successful in the pre-passage database, step S520 is executed: controlling the gate to be opened;
if the matching fails in the pre-passing database, executing step S200: and matching the acquired face information with a first priority database corresponding to the current passing time period.
In this embodiment, because the monitoring module of the gate may also have the face information of the passer who cannot be monitored to be blocked by other passers or whose face does not face the monitoring module, the face information of this part is not smoothly entered into the pre-passing database. Therefore, even if the currently acquired face information has the pass authorization permission, matching failure in the pre-pass database still may still occur, and therefore, in the embodiment, if matching failure occurs in the pre-pass database, a subsequent step of matching the acquired face information with the first priority database corresponding to the current pass time period is performed, so that when matching failure occurs in the pre-pass database, the currently acquired face information is further matched in the first priority database with a larger data volume, and whether the currently acquired face information has the pass authorization permission or not can be accurately judged while the face identification passing efficiency is improved.
In the embodiment, the face information of a plurality of persons to be passed is pre-collected by a monitoring module of a gate, whether the pre-collected monitoring face information has the permission of the permission is pre-verified, if the pre-collected monitoring face information has the permission of the permission, the monitoring face information of the persons to be passed with the permission of the permission is input into a pre-passing database, the collected face information collected by a face recognition module of the gate is obtained, the collected face information is matched in the pre-passing database, if the pre-passing database is successfully matched, the gate is controlled to be opened, so that the face information of the plurality of persons to be passed who are currently queued is pre-collected, the face information of the persons to be passed with the permission of the permission is put into the pre-passing database with less data volume, when the user needs to pass, the face recognition module collects the face information of the user, and preferentially matches the face information of the user in the pre-passing database, therefore, the data matched with the face information is more accurate, the matched data volume is smaller, the polling matching time is further reduced, and the efficiency of face identification lockage is improved.
In addition, referring to fig. 4, an embodiment of the present invention further provides a gate control device, where the gate control device includes:
the acquiring unit 10 is used for acquiring the collected face information collected by the gate;
the matching unit 20 is configured to match the acquired face information with a first priority database corresponding to a current passing time period, where different passing time periods correspond to different first priority databases, and the first priority data corresponding to the current passing time period stores initial face information of a passer whose passing probability is greater than a preset value at the current passing time period;
and the control unit 30 is configured to control the gate to be opened if the matching is successful in the first priority database corresponding to the current passing time period.
Optionally, the matching unit 20 is further configured to:
if the matching fails in a first priority database corresponding to the current passing time period, matching the collected face information in a second priority database, wherein all initial face information with passing authorization permission is stored in the second priority database;
a control unit 30, further configured to:
and if the matching in the second priority database is successful, controlling the gate to be opened.
Optionally, the obtaining unit 10 is further configured to:
acquiring first passing data of a preset period of the gate, and analyzing a frequent passing time period corresponding to a person passing in the first passing data;
inputting the initial face information of the passer in the first passing data into a data statistical library corresponding to the frequent passing time period;
and if the frequent passing time interval is matched with the current passing time interval, taking the data statistical base corresponding to the frequent passing time interval as a first priority database corresponding to the current passing time interval.
Optionally, the obtaining unit 10 is further configured to:
acquiring a passage time efficiency node corresponding to the initial face information in a second priority database, and determining a specified passage time period corresponding to the passage time efficiency node;
inputting the initial face information in the second priority database into a data statistical database corresponding to the specified passing time period;
and if the specified passing time interval is matched with the current passing time interval, taking the data statistical base corresponding to the specified passing time interval as a first priority database corresponding to the current passing time interval.
Optionally, the obtaining unit 10 is further configured to:
collecting second traffic data of the gate at preset intervals, wherein the second traffic data comprise a plurality of traffic personnel passing through the gate and traffic moments corresponding to the traffic personnel;
and performing self-adaptive adjustment on the first priority database according to the acquired second through data.
Optionally, the first priority database includes a pre-entry database and a pre-exit database, the passage time period includes a gate entry time period and a gate exit time period, different gate entry time periods correspond to different pre-entry databases, different gate exit time periods correspond to different pre-exit databases, and the face recognition module of the gate includes a gate entry recognition module arranged on one side of the gate and a gate exit recognition module arranged on the other side of the gate; the matching unit 20 is further configured to:
if the face recognition module which collects the face information is a gate entry recognition module, matching the collected face information in a pre-gate entry database corresponding to the current gate entry time period;
and if the face recognition module for collecting the face information is the gate-out recognition module, matching the collected face information in a gate-out pre-database corresponding to the current gate-out time period.
Optionally, the obtaining unit 10 is further configured to:
acquiring traffic environment information acquired by a monitoring module of a gate;
judging whether a plurality of current persons to be passed are present or not according to the passing environment information;
if the number of the persons to be passed is multiple, monitoring face information of each person to be passed in advance based on the monitoring module, and verifying whether the monitored face information has permission of passing authorization in advance;
if the face information has the permission of passing authorization, the face information with the permission of passing authorization is input into a pre-passing database;
the matching unit 20 is further configured to:
matching the collected face information in the pre-passing database;
if the matching in the pre-passing database is successful, controlling the gate to be opened;
if the matching fails in the pre-passing database, executing: and matching the acquired face information with a first priority database corresponding to the current passing time period.
The steps implemented by each functional module of the gate control device can refer to each embodiment of the gate control method of the present invention, and are not described herein again.
In addition, the present invention also provides a gate control apparatus, including: the system comprises a memory, a processor and a gate control program stored on the memory and capable of running on the processor, wherein the gate control program realizes the steps of the gate control method when being executed by the processor.
The present invention also provides a computer readable storage medium storing one or more programs which are also executable by one or more processors for implementing the steps of the embodiments of the gate control method described above.
The specific implementation of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the gate control method described above, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal gate control device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network gate control device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A gate control method is characterized by comprising the following steps:
acquiring collected face information collected by a gate;
matching the collected face information with a first priority database corresponding to the current passing time period, wherein different passing time periods correspond to different first priority databases, and the first priority data corresponding to the current passing time period store initial face information of a passer with a passing probability greater than a preset value in the current passing time period;
and if the matching is successful in the first priority database corresponding to the current passing time period, controlling the gate to be opened.
2. The gate control method according to claim 1, wherein after the step of matching the collected face information with the first priority database corresponding to the current passage time period, the method further comprises:
if the matching fails in a first priority database corresponding to the current passing time period, matching the collected face information in a second priority database, wherein all initial face information with passing authorization permission is stored in the second priority database;
and if the matching is successful in the second priority database, controlling the gate to be opened.
3. The gate control method of claim 1, further comprising:
acquiring first passing data of a preset period of the gate, and analyzing a frequent passing time period corresponding to a person passing in the first passing data;
inputting the initial face information of the passer in the first passing data into a data statistical library corresponding to the frequent passing time period;
and if the frequent passing time interval is matched with the current passing time interval, taking the data statistical base corresponding to the frequent passing time interval as a first priority database corresponding to the current passing time interval.
4. The gate control method of claim 1, further comprising:
acquiring a passage time efficiency node corresponding to the initial face information in a second priority database, and determining a specified passage time period corresponding to the passage time efficiency node;
inputting the initial face information in the second priority database into a data statistical database corresponding to the specified passing time period;
and if the specified passing time interval is matched with the current passing time interval, taking the data statistical base corresponding to the specified passing time interval as a first priority database corresponding to the current passing time interval.
5. The gate control method according to claim 3 or 4, further comprising:
collecting second traffic data of the gate at preset intervals, wherein the second traffic data comprise a plurality of traffic personnel passing through the gate and traffic moments corresponding to the traffic personnel;
and performing self-adaptive adjustment on the first priority database according to the collected second through data.
6. The gate control method according to claim 1, wherein the first priority database comprises a pre-entry gate database and a pre-exit gate database, the passage time interval comprises a gate entry time interval and a gate exit time interval, different gate entry time intervals correspond to different pre-entry gate databases, different gate exit time intervals correspond to different pre-exit gate databases, and the face recognition module of the gate comprises a gate entry recognition module arranged on one side of the gate and a gate exit recognition module arranged on the other side of the gate; the step of matching the collected face information with a first priority database corresponding to the current passing time period comprises the following steps:
if the face recognition module which collects the face information is a gate entry recognition module, matching the collected face information in a pre-gate entry database corresponding to the current gate entry time period;
and if the face recognition module for collecting the face information is the gate-out recognition module, matching the collected face information in a gate-out pre-database corresponding to the current gate-out time period.
7. The gate control method according to claim 1, wherein the step of acquiring the collected face information collected by the gate is preceded by:
acquiring traffic environment information acquired by a monitoring module of a gate;
judging whether a plurality of current persons to be passed are present or not according to the passing environment information;
if the number of the persons to be passed is multiple, monitoring face information of each person to be passed in advance based on the monitoring module, and verifying whether the monitored face information has permission of passing authorization in advance;
if the face information has the permission of passing authorization, the face information with the permission of passing authorization is input into a pre-passing database;
the step of acquiring the collected face information collected by the gate comprises the following steps:
matching the collected face information in the pre-passing database;
if the matching in the pre-passing database is successful, controlling the gate to be opened;
if the matching fails in the pre-passing database, executing: and matching the acquired face information with a first priority database corresponding to the current passing time period.
8. A gate control apparatus, comprising:
the acquisition unit is used for acquiring the acquired face information acquired by the gate;
the matching unit is used for matching the collected face information with a first priority database corresponding to the current passing time period, wherein different passing time periods correspond to different first priority databases, and the first priority data corresponding to the current passing time period store initial face information of a passer, the passing probability of which is greater than a preset value in the current passing time period;
and the control unit is used for controlling the gate to be opened if the matching is successful in the first priority database corresponding to the current passing time period.
9. A gate control apparatus, comprising: memory, a processor and a gate control program stored on the memory and executable on the processor, the gate control program when executed by the processor implementing the steps of the gate control method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a gate control program is stored thereon, which, when being executed by a processor, carries out the steps of the gate control method according to any one of claims 1 to 7.
CN202210267203.1A 2022-03-17 2022-03-17 Gate control method, device, equipment and computer readable storage medium Active CN114613056B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210267203.1A CN114613056B (en) 2022-03-17 2022-03-17 Gate control method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210267203.1A CN114613056B (en) 2022-03-17 2022-03-17 Gate control method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114613056A true CN114613056A (en) 2022-06-10
CN114613056B CN114613056B (en) 2024-03-12

Family

ID=81865737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210267203.1A Active CN114613056B (en) 2022-03-17 2022-03-17 Gate control method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114613056B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105184873A (en) * 2015-08-17 2015-12-23 深圳北斗应用技术研究院有限公司 Intelligent parking lot management system
CN109447597A (en) * 2018-12-27 2019-03-08 深圳市沃特沃德股份有限公司 More people carry out the method, apparatus and face identification system of attendance jointly
CN110032967A (en) * 2019-04-10 2019-07-19 深圳市万睿智能科技有限公司 A method of trailing personnel are identified under the current scene of more people
CN110910550A (en) * 2019-10-12 2020-03-24 浙江大华技术股份有限公司 Gate passing method, gate, system, computer device and storage medium
CN111292460A (en) * 2020-02-27 2020-06-16 广州羊城通有限公司 Control method and device based on subway face brushing authentication
US20200349346A1 (en) * 2019-05-01 2020-11-05 EMC IP Holding Company LLC Facial recognition for multi-stream video using high probability group and facial network of related persons
CN112488078A (en) * 2020-12-23 2021-03-12 浙江大华技术股份有限公司 Face comparison method and device and readable storage medium
CN112580553A (en) * 2020-12-25 2021-03-30 深圳市商汤科技有限公司 Switch control method, device, computer equipment and storage medium
CN113034771A (en) * 2021-03-12 2021-06-25 浙江大华技术股份有限公司 Gate passing method, device and equipment based on face recognition and computer storage medium
CN113255536A (en) * 2021-06-01 2021-08-13 浙江宇视科技有限公司 Face comparison method, device and storage medium
CN113487784A (en) * 2021-06-16 2021-10-08 浙江大华技术股份有限公司 Gate passing system and method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105184873A (en) * 2015-08-17 2015-12-23 深圳北斗应用技术研究院有限公司 Intelligent parking lot management system
CN109447597A (en) * 2018-12-27 2019-03-08 深圳市沃特沃德股份有限公司 More people carry out the method, apparatus and face identification system of attendance jointly
CN110032967A (en) * 2019-04-10 2019-07-19 深圳市万睿智能科技有限公司 A method of trailing personnel are identified under the current scene of more people
US20200349346A1 (en) * 2019-05-01 2020-11-05 EMC IP Holding Company LLC Facial recognition for multi-stream video using high probability group and facial network of related persons
CN110910550A (en) * 2019-10-12 2020-03-24 浙江大华技术股份有限公司 Gate passing method, gate, system, computer device and storage medium
CN111292460A (en) * 2020-02-27 2020-06-16 广州羊城通有限公司 Control method and device based on subway face brushing authentication
CN112488078A (en) * 2020-12-23 2021-03-12 浙江大华技术股份有限公司 Face comparison method and device and readable storage medium
CN112580553A (en) * 2020-12-25 2021-03-30 深圳市商汤科技有限公司 Switch control method, device, computer equipment and storage medium
CN113034771A (en) * 2021-03-12 2021-06-25 浙江大华技术股份有限公司 Gate passing method, device and equipment based on face recognition and computer storage medium
CN113255536A (en) * 2021-06-01 2021-08-13 浙江宇视科技有限公司 Face comparison method, device and storage medium
CN113487784A (en) * 2021-06-16 2021-10-08 浙江大华技术股份有限公司 Gate passing system and method

Also Published As

Publication number Publication date
CN114613056B (en) 2024-03-12

Similar Documents

Publication Publication Date Title
CN103473826B (en) Register method, system and server automatically in a kind of classroom based on wifi
CN109088940A (en) Parking stall reserving method, device and computer readable storage medium
US9405978B2 (en) Prioritization of facial recognition matches based on likely route
CN103473827B (en) Register method, system and server automatically in a kind of classroom
CN109544737A (en) User's passing method and system
US20200134947A1 (en) Security system with person of interest user interface notifications
CN109360305B (en) Library management method and system based on face recognition
CN114546486A (en) Method and device for recommending instruction to user, storage medium and electronic device
CN111191805A (en) Station management method and device, electronic equipment and computer readable storage medium
CN109559110A (en) Noninductive method of payment and system
CN112907801A (en) Access control management method and device, electronic equipment and storage medium
CN110472162A (en) Appraisal procedure, system, terminal and readable storage medium storing program for executing
CN115457675A (en) Safety inspection method, equipment and storage medium
CN106156207A (en) Reminder time amending method and device
JP2004126829A (en) Visitor management system and its program
CN110992707A (en) Vehicle parking management method, system and computer readable storage medium
JP2018151840A (en) System, method and program for collation
CN113487055A (en) Intelligent ticket pre-selling method and device
CN114613056A (en) Gate control method, device, equipment and computer readable storage medium
CN112884332A (en) Intelligent terminal management system based on integrated circuit perception technology
JP5501948B2 (en) Congestion information management server, congestion status providing system, and congestion status providing program
CN114333133A (en) Entrance guard-based commuting authentication method, device, equipment and storage medium
CN111063072B (en) Information sharing type access control system
CN113095155A (en) Check-in management method, device, system and computer readable storage medium
CN109247029A (en) Intelligence, which is shared, to be lined up

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