CN115810228A - Face recognition access control management method and device, electronic equipment and storage medium - Google Patents

Face recognition access control management method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115810228A
CN115810228A CN202111081076.8A CN202111081076A CN115810228A CN 115810228 A CN115810228 A CN 115810228A CN 202111081076 A CN202111081076 A CN 202111081076A CN 115810228 A CN115810228 A CN 115810228A
Authority
CN
China
Prior art keywords
activity
acquisition time
determining
time
personnel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111081076.8A
Other languages
Chinese (zh)
Inventor
刘常积
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN202111081076.8A priority Critical patent/CN115810228A/en
Publication of CN115810228A publication Critical patent/CN115810228A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Collating Specific Patterns (AREA)

Abstract

The embodiment of the invention discloses a face recognition access control management method and device, electronic equipment and a storage medium. The method comprises the following steps: when the update time of the end of the preset period is reached, determining a collection time set of face information collected by the entrance guard terminal by the candidate in the preset period; determining the attenuation activity of the target acquisition time according to the time distance difference between the target acquisition time and the update time in the acquisition time set; determining the periodic activity of the candidate personnel according to the attenuation activity of each acquisition time in the acquisition time set; and determining target personnel according to the periodic liveness of all the personnel, and storing the face template information of the target personnel in a local database of the access control terminal. According to the embodiment of the invention, the activity of the personnel is determined according to the time of the personnel entering and exiting the access control by combining the time attenuation factor, so that the personnel information stored on the access control terminal is adjusted according to the activity of the personnel, and the efficiency of the personnel passing through the access control terminal is improved.

Description

Face recognition access control management method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of entrance guard control, in particular to a face recognition entrance guard management method and device, electronic equipment and a storage medium.
Background
In the entrance guard machine based on face recognition, the entrance guard machine collects face images of users through a camera, and intelligently compares and recognizes the collected face images and face templates input in advance through a preset face recognition algorithm, so that a release action is executed according to a face comparison recognition result, and the entrance guard machine is very convenient for users to come in and go out.
In the existing access control system based on face recognition, especially when the access control system is arranged in a large-volume user scene such as a large-scale community, an office building and the like, the access control system is limited by the storage space and the operational capacity of an access control terminal, and usually adopts a networking recognition mode for judgment, namely, after the access control terminal collects the face image of the user, the process of face recognition comparison is completed by sending the face image to a background server, however, the mode is very dependent on the quality of network communication, once a network fault occurs, the recognition speed is slow, even the situation of incapability of recognition occurs, and the experience of the user is reduced.
Particularly, at present, the light-weight design pursuit of the face access control terminal causes the storage capacity of personnel on the access control terminal to be limited, when the number of personnel with access permission is large, a face comparison template which needs to be input in advance can exceed the upper limit of the storage capacity of the access control terminal, and when personnel whose face comparison template is not stored in the storage capacity of the access control terminal pass through the access control terminal, the collected face images need to be sent to a background server for comparison, so that the access efficiency of the personnel is influenced.
Disclosure of Invention
The embodiment of the invention provides a face recognition access control management method, a face recognition access control management device, electronic equipment and a storage medium, which improve the efficiency of personnel passing through an access control terminal, reduce the requirement on the local database capacity of the access control terminal and ensure the lightweight design of the face access control terminal.
In a first aspect, an embodiment of the present invention provides a face recognition access control management method, including:
when the update time of the end of the preset period is reached, determining an acquisition time set of face information acquired by the entrance guard terminal by the candidate in the preset period; the candidate personnel are any one of all personnel with access control authority;
determining the attenuation activity of the target acquisition time according to the time distance difference between the target acquisition time in the acquisition time set and the update time;
determining the activity of the acquisition time set according to the attenuation activity of each acquisition time in the acquisition time set, and taking the activity as the periodic activity of the candidate personnel;
and determining target personnel according to the periodic liveness of all the personnel, and storing the face template information of the target personnel in a local database of the access control terminal.
In a second aspect, an embodiment of the present invention further provides a face recognition access control management device, including:
the acquisition time set determining module is used for determining an acquisition time set of face information acquired by the entrance guard terminal by the candidate in a preset period when the update time of the preset period is up; the candidate personnel are any one of all personnel with access control authority;
the attenuation activity determining module is used for determining the attenuation activity of the target acquisition time according to the time distance difference between the target acquisition time and the update time in the acquisition time set;
the period activity determining module is used for determining the activity of the acquisition time set according to the attenuation activity of each acquisition time in the acquisition time set, and the activity is used as the period activity of the candidate personnel;
and the target person determining module is used for determining target persons according to the periodic liveness of all the persons and storing the face template information of the target persons in a local database of the access control terminal.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the face recognition access control method according to any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a face recognition access control management method according to any embodiment of the present invention.
When the updating time of the end of the preset period is reached, determining the acquisition time set of the face information acquired by the entrance guard terminal by the candidate in the preset period; determining the attenuation activity of the target acquisition time according to the time distance difference between the target acquisition time and the update time in the acquisition time set; determining the activity of the acquisition time set according to the attenuation activity of each acquisition time in the acquisition time set, and taking the activity as the periodic activity of candidate personnel; and determining target personnel according to the periodic liveness of all the personnel, and storing the face template information of the target personnel in a local database of the access control terminal. The method has the advantages that the activity of personnel is determined according to the time of the personnel entering and exiting the entrance guard by combining the time attenuation factor, and then the personnel information stored on the entrance guard terminal and the personnel information stored in the central server are adjusted according to the activity of the personnel, so that the efficiency of the personnel passing through the entrance guard terminal is improved, the requirement on the local database capacity of the entrance guard terminal is reduced, and the lightweight design of the human face entrance guard terminal is guaranteed.
Drawings
Fig. 1 is a flowchart of a face recognition access control management method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a face recognition access control management method in the second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a face recognition access control device in a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device in a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a face recognition access control management method according to a first embodiment of the present invention, which is applicable to a case of managing face template information stored in a local database in a lightweight access control terminal. The method can be executed by a face recognition access control management device, the device can be realized in a software and/or hardware mode, and can be configured in electronic equipment, for example, the electronic equipment can be equipment with communication and computing capabilities such as a background server. As shown in fig. 1, the method specifically includes:
step 101, when the update time of the end of the preset period is reached, determining an acquisition time set of face information acquired by the entrance guard terminal by the candidate in the preset period.
Wherein, the candidate is any one of all people with access control authority. Only the face information collected by the person with the access control authority when passing through the access control terminal can be successfully matched with the face template information which is input in advance. Illustratively, all people with access control authority are predetermined, face template information of each person is collected, wherein the face template information at least comprises a face template picture and also can comprise personnel identity information and the like, the face template information is pre-recorded into an access control terminal, if the face template information needing recording exceeds the upper limit of the storage capacity of the access control terminal, the face template information is stored in a central server, and only part of the face template information is stored in the access control terminal.
The preset period refers to a period for updating face template information stored in the access control terminal. If the face template information is stored in the local database of the access control terminal, when corresponding personnel pass through the access control terminal, the face pictures collected by the access control terminal only need to be compared locally to obtain a comparison result, and the comparison result does not need to be sent to a central server side for comparison, so that the efficiency of the personnel with the face template information stored in the local database passing through the access control terminal is higher than that of the personnel stored in the central database. Although all people have access control authority, the number of times and frequency that each person passes through the access control are different, so if the face template information of the person with lower activity passing through the access control is stored in the access control terminal, the waste of storage resources of the access control terminal can be caused. The liveness of the people can be influenced by various external factors and can change frequently, so that the face template information stored in the entrance guard terminal needs to be updated regularly to ensure that the face template information stored in the entrance guard terminal is the people with high liveness. For example, the preset period is one day or one week, and the update time of the end of the preset period is determined according to the start time of the preset period, for example, 24 points per day is determined as the update time of the end of the preset period corresponding to the case that the preset period is one day.
All the acquisition time included in the acquisition time set is the time recorded when the entrance guard terminal acquires the face information of the candidate when the candidate passes through the entrance guard. Specifically, in a preset period, when the entrance guard terminal collects the picture of the passerby, the picture is compared with the face template information of all the personnel, and if the comparison is successful, the identity information of the personnel and the collecting time T of the face picture are determined i Mapping and storing the acquisition time and the face template information of the personnel, acquiring the acquisition time of each face template information correlation mapping in all the personnel when the update time of the end of the preset period is reached, and determining the acquisition time set [ T ] of each candidate personnel 1 ,T 2 ,...,T i ,...,T n ]And the collection time set represents all time points when the candidate person passes through the entrance guard in a preset period.
And 102, determining the attenuation activity of the target acquisition time according to the time distance difference between the target acquisition time and the update time in the acquisition time set.
And the target acquisition time is any acquisition time in the acquisition time set. The attenuation activity of the target acquisition time represents the activity of the candidate person, which is increased to the candidate person by the candidate person appearing in the access control terminal in the target acquisition time.
Because the probability that the candidate person appears again is lower as the distance from the updating time is longer, the activity degree of the candidate person appearing at the target acquisition time is attenuated according to the time distance difference between the target acquisition time and the updating time of the candidate person so as to distinguish the increased value of the activity degree of the person represented by the acquisition time different from the updating time distance difference, and the accuracy of determining the activity degree of the candidate person according to the acquisition time is improved. For example, if the update time is 24 points, the first target acquisition time of the first candidate is 8 points, and the second target acquisition time of the second candidate is 16 points, the attenuation activity of the first target acquisition time of the first candidate is less than the attenuation activity of the second target acquisition time of the second candidate. When the collection time in the collection time set is more, the difference of the occurrence of the personnel at different collection times can be reflected according to the attenuation activity.
Specifically, a mapping relation between the time distance difference and the attenuation activity is established in advance, the attenuation activity associated with different time distance differences is determined according to the mapping relation and is used as the attenuation activity of the target acquisition time, and the attenuation activity of each acquisition time in the acquisition time set is determined according to the mapping relation.
In a specific example, the decay time T is preset a Every lapse of time T a Attenuating the activity value of the person appearing before by an attenuation coefficient alpha, wherein 0<α<1. And determining the attenuation activity of the target acquisition time according to the attenuation time, the attenuation coefficient and the time distance difference.
In one possible embodiment, step 102 includes:
determining the attenuation activity of the target acquisition time according to the following formula:
Figure BDA0003264050110000071
wherein S represents the attenuation activity of the target acquisition time, P represents a preset basic activity value, alpha represents a preset attenuation coefficient, and T represents now Representing update time, T representing target acquisition time, T a Indicating a preset decay time.
The decay time is set according to a preset period, wherein the decay time is less than the preset period, which means that the activity needs to be attenuated every time a decay time elapses within the preset period. The basic activity value represents the increased basic activity degree of the candidate acquired by the entrance guard terminal each time. The attenuation coefficient characterizes the degree of attenuation, 0< α <1.
Illustratively, if the target acquisition time is 8 points, the update time is 24 points, the decay time is set to one hour, the decay coefficient is set to 0.5, the basic activity is set to 10, and the decay activity of the target acquisition time is
Figure BDA0003264050110000072
And respectively determining the attenuation activity of each acquisition time in the acquisition time set according to the formula.
And 103, determining the activity of the acquisition time set according to the attenuation activity of each acquisition time in the acquisition time set, and taking the activity as the periodic activity of the candidate personnel.
And respectively determining the attenuation activity of each acquisition time in the acquisition time set, and taking the sum of the activity of all the acquisition times in the acquisition time set as the activity of the acquisition time set and the period activity of candidate personnel.
Illustratively, the collection of acquisition times for the candidate is [ T ] 1 ,T 2 ,...,T i ,...,T n ]Then the determined attenuation activity is [ S ] 1 ,S 2 ,...,S i ,...,S n ]Wherein S is i Is T i The decay activity of (2) is the activity of the collection time set
Figure BDA0003264050110000073
And step 104, determining target personnel according to the periodic activity of all the personnel, and storing the face template information of the target personnel in a local database of the access control terminal.
And determining the periodic activity of each person according to the steps, performing descending order on all the persons according to the periodic activity, taking a preset number of target persons with the activity order being in the front according to the upper limit of the storage capacity of the access control terminal, and storing the face template information of the preset number of target persons in a local database of the access control terminal. Illustratively, target face template information of the first X target persons with the highest activity values is taken, face template information which is not in the target face template information on the entrance guard terminal is deleted, and meanwhile, the target face template information which is not in the entrance guard terminal is issued to the entrance guard terminal from the central server.
According to the embodiment of the invention, the activity of the personnel is determined according to the time of the personnel entering and exiting the entrance guard by combining the time attenuation factor, and then the personnel information stored on the entrance guard terminal and the personnel information stored by the central service terminal are adjusted according to the activity of the personnel, so that the efficiency of the personnel passing through the entrance guard terminal is improved, the requirement on the local database capacity of the entrance guard terminal is reduced, and the lightweight design of the human face entrance guard terminal is ensured.
Example two
Fig. 2 is a flowchart of a face recognition access control management method in a second embodiment of the present invention, which is further optimized based on the above embodiment, and is preset in an abnormal time period within a preset period, as shown in fig. 2, the method specifically includes:
step 201, when the update time of the end of the preset period is reached, determining an acquisition time set of face information acquired by the access control terminal of the candidate person in the preset period and an information storage position identifier of the candidate person carried by the acquisition time set.
The information storage position identifier comprises an entrance guard terminal and a central server and is used for representing the position where the face template information of the candidate person is stored when the candidate person passes through the entrance guard terminal at the acquisition time, and if the face template information is stored in a local database of the entrance guard terminal, the information storage position identifier of the candidate person is the entrance guard terminal; and if the face template information is stored in a central server of the central server, identifying the information storage position of the candidate personnel as the central server.
Specifically, the information storage location identifier may be determined according to an address when face information of the candidate face is successfully matched.
In one possible embodiment, determining the information storage location identity of the candidate person carried by the collection time set includes:
determining a matching result of face acquisition information of the associated candidate persons in the acquisition time set;
if the matching result is that the face matching in the initial database is successful, determining that the information storage position mark is an entrance guard terminal;
and if the matching result is that the face matching is successful in the central database, determining that the information storage position is identified as the central server.
When the entrance guard terminal collects the face information of the candidate personnel, the face information is firstly matched with the face template information in the local database, and if the local similarity value with the maximum local matching similarity is larger than or equal to the preset similarity threshold, the matching result is determined to be that the face matching in the initial database is successful. And if the local similarity value with the maximum local matching similarity is smaller than a preset similarity threshold, sending the face information to a central server to be matched with the face template information in the central database, and if the central similarity value with the maximum central matching similarity is larger than or equal to the preset similarity threshold, determining that the matching result is that the face matching in the central database is successful. And if the central similarity value with the maximum central matching similarity is smaller than the preset similarity threshold, determining that the matching result is unsuccessful, and the person does not have the access right item, so that the access does not perform door opening treatment. Illustratively, the face information includes a face feature value, the face template information includes a face template feature value, and the face feature value is matched with the face template feature value when matching.
And determining a corresponding information storage position identifier according to the matching result of the face acquisition information of the candidate person so as to mark the storage position of the face template information of the candidate person.
In a feasible embodiment, the central database stores face template information of all persons with access control authority; and the initial database determines according to the image quality of the face template images in the face template information of all the personnel.
The face template information of all people with access control authority is stored in the central server, the initial database refers to the initial state in the local database of the access control terminal, and the initial database is determined according to the picture quality of the face template pictures.
Specifically, face template information of all people is determined in advance, picture quality scores representing picture quality are determined according to the definition of face template pictures, face angles and the proportion of faces in the face template pictures, all people are arranged in a descending order according to the picture quality scores, a preset number of target people with the picture quality scores in front are taken according to the storage capacity limit of the access control terminal, and the face template information of the preset number of target people is stored in a local database of the access control terminal, so that an initial database is obtained. Illustratively, the entrance guard storage capacity is X, and the face template information of the first X persons with the highest picture quality scores is issued to the front-end entrance guard terminal.
Step 202, determining whether the target acquisition time is within an abnormal time period.
The abnormal time indicates a special time period for the entrance guard to enter or exit, specifically, the abnormal time period includes a forward abnormal time period and a reverse abnormal time period, where the forward abnormal time period indicates that the person appearing in the time period has a high probability, that is, the probability of the next occurrence is high, for example, the forward abnormal time period may be set to an on-duty peak time period, and the probability of the next occurrence of the person appearing in the time period is high, and the person has a high probability of the next occurrence. The reverse direction abnormality period indicates that the person who appears in the period has a chance, that is, the probability of the next occurrence is low, for example, the reverse direction abnormality period may be set in the night period, for example, from 22 o 'clock to 6 o' clock on the next day, and the probability of the next occurrence of the person who appears in the period is low, and has a chance.
And determining whether the target acquisition time is within the abnormal time period or not. If the target acquisition time is not in the abnormal time period, the attenuation activity of the target acquisition time is directly determined according to the time distance difference, which may be specifically referred to in embodiment one.
And step 203, if so, determining the attenuation activity of the target acquisition time according to the preset abnormal coefficient and the time distance difference.
The preset abnormality coefficient is associated with the abnormality time period, for example, when the abnormality time period includes a forward abnormality time period and a reverse abnormality time period, the abnormality coefficient includes a forward abnormality coefficient and a reverse abnormality coefficient, the forward abnormality coefficient is associated with the forward abnormality time period, and the reverse abnormality coefficient is associated with the reverse abnormality time period.
Specifically, if the target acquisition time is within the forward abnormal time period, determining the attenuation activity of the target acquisition time according to the forward abnormal coefficient and the time distance difference; and if the target acquisition time is within the reverse abnormal time period, determining the attenuation activity of the target acquisition time according to the reverse abnormal coefficient and the time distance difference.
In one possible embodiment, determining the attenuation activity of the target acquisition time according to the preset abnormal coefficient and the time distance difference comprises:
determining the attenuation activity of the target acquisition time according to the following formula:
Figure BDA0003264050110000111
wherein S represents the attenuation activity of the target acquisition time, beta represents an abnormal coefficient, P represents a preset basic activity value, alpha represents a preset attenuation coefficient, and T represents now Representing update time, T representing target acquisition time, T a Indicating a preset decay time.
Specifically, β represents an abnormal coefficient, and β includes β 1 And beta 2 Wherein, β 1 Coefficient of positive anomaly, beta 2 A reverse abnormal coefficient, if the target acquisition time is in the forward abnormal time period, the beta is taken as beta 1 If the target acquisition time is in the reverse abnormal time period, taking beta as beta 2 . Exemplary, 1<β 1 ,0<β 2 <1。
And step 204, determining whether the information storage position identification of the candidate is an access control terminal.
And determining whether the information storage position identification of the candidate is an access control terminal, namely determining whether the storage position of the face template information of the candidate in the current preset period is in a local database.
If the information storage location identifier of the candidate is not an access control terminal but a central server, the periodic activity of the candidate may be determined directly according to the activity of the collection time set, which may be specifically referred to as embodiment one, and is not described herein again.
And step 205, if yes, determining the periodic activity of the candidate personnel according to the preset switching cost value for switching and storing the face template information from the central database to the local database and the activity of the acquisition time set.
Because it takes a certain time and occupies a certain resource to send the face template information from the central server to the front-end entrance guard terminal, if the difference between the activity of the personnel in the central server and the activity of the personnel in the entrance guard terminal is too small, it is not necessary to send the face template information from the central server to the entrance guard terminal, otherwise, the resource waste is more than the efficiency improvement brought by sending the face template information. Therefore, a switching cost value for switching and storing the face template information from the central database to the local database is set in advance to indicate that if the person with liveness determined according to the collection time set in the local database is smaller than the person in the central database within the switching cost value, the position of the face template information of the person is not moved.
Specifically, if the information storage location identifier of the candidate is an access control terminal, the periodic activity of the candidate is the activity of the collection time set
Figure BDA0003264050110000121
And a switching cost value P switch And (4) summing.
And step 206, determining target personnel according to the periodic liveness of all the personnel, and storing the face template information of the target personnel in a local database of the access control terminal.
According to the embodiment of the invention, the activity of the personnel is determined according to the time of the personnel entering and exiting the access control by combining the time attenuation and the abnormal time period, and the activity of the candidate personnel is adjusted according to the switching cost value, so that the personnel information stored on the access control terminal and the personnel information stored in the central server terminal are adjusted according to the activity of the personnel, and simultaneously, the resource waste caused by information adjustment is reduced. The activity of the personnel is calculated in a more comprehensive and scientific mode, so that the candidate personnel stored on the access control terminal have a higher probability of hit rate, and the passing efficiency of the personnel is improved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a face recognition access control management apparatus in a third embodiment of the present invention, which is applicable to a case of managing face template information stored in a local database in a lightweight access control terminal. As shown in fig. 3, the apparatus includes:
the acquisition time set determining module 310 is configured to determine an acquisition time set, in which face information is acquired by the access control terminal by a candidate person in a preset period, when an update time at which the preset period ends is reached; the candidate personnel are any one of all personnel with access control authority;
the attenuation activity determining module 320 is configured to determine an attenuation activity of the target acquisition time according to a time distance difference between the target acquisition time in the acquisition time set and the update time;
a cycle activity determining module 330, configured to determine, according to the decay activity of each acquisition time in the acquisition time set, an activity of the acquisition time set, where the activity is used as the cycle activity of the candidate person;
and the target person determining module 340 is configured to determine a target person according to the periodic activity of all the persons, and store the face template information of the target person in a local database of the access control terminal.
According to the embodiment of the invention, the activity of the personnel is determined according to the time of the personnel entering and exiting the entrance guard by combining the time attenuation factor, and then the personnel information stored on the entrance guard terminal and the personnel information stored by the central service terminal are adjusted according to the activity of the personnel, so that the efficiency of the personnel passing through the entrance guard terminal is improved, the requirement on the local database capacity of the entrance guard terminal is reduced, and the lightweight design of the human face entrance guard terminal is ensured.
Optionally, the attenuation activity determining module is specifically configured to:
determining the decay activity of the target acquisition time according to the following formula:
Figure BDA0003264050110000141
wherein S represents the attenuation activity of the target acquisition time, P represents a preset basic activity value, alpha represents a preset attenuation coefficient, and T represents now Representing the update time, T representing the target acquisition time, T a Indicating a preset decay time.
Optionally, an abnormal time period in the preset period is preset;
accordingly, an attenuation activity determination module comprising:
an abnormal time period judging unit, configured to determine whether the target acquisition time is within the abnormal time period;
and the attenuation activity determining unit is used for determining the attenuation activity of the target acquisition time according to a preset abnormal coefficient and the time distance difference if the target acquisition time is in an abnormal time period.
Optionally, the attenuation activity determination unit is specifically configured to:
determining the decay activity of the target acquisition time according to the following formula:
Figure BDA0003264050110000142
wherein S represents the attenuation activity of the target acquisition time, beta represents the abnormal coefficient, P represents a preset basic activity value, and alpha represents a preset valueAttenuation coefficient of T now Representing the update time, T representing the target acquisition time, T a Indicating a preset decay time.
Optionally, the acquisition time set determining module includes:
the information storage position identification determining unit is used for determining the information storage position identification of the candidate personnel carried by the acquisition time set; the information storage position identifier comprises an entrance guard terminal and a central server side;
correspondingly, the cycle activity determination module is specifically configured to:
determining whether the information storage position identification of the candidate personnel is an access control terminal;
and if so, determining the periodic activity of the candidate personnel according to a preset switching cost value for switching and storing the face template information from a central database to a local database and the activity of the acquisition time set.
Optionally, the information storage location identifier determining unit is specifically configured to:
determining a matching result of the face acquisition information of the associated candidate persons in the acquisition time set;
if the matching result is that the face matching is successful in the initial database, determining that the information storage position mark is an entrance guard terminal;
and if the matching result is that the face matching is successful in the central database, determining that the information storage position is identified as a central server.
Optionally, the central database stores face template information of all persons with access control authority; and the initial database is determined according to the image quality of the face template images in the face template information of all the personnel.
The face recognition access control management device provided by the embodiment of the invention can execute the face recognition access control management method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the face recognition access control management method.
Example four
Fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 4 is only an example and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
As shown in FIG. 4, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory device 28, and a bus 18 that couples various system components including the system memory device 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory device bus or memory device controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system storage 28 may include computer system readable media in the form of volatile storage, such as Random Access Memory (RAM) 30 and/or cache storage 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Storage 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in storage 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of embodiments of the invention as described.
Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with device 12, and/or with any devices (e.g., network card, modem, etc.) that enable device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown in FIG. 4, the network adapter 20 communicates with the other modules of the electronic device 12 via the bus 18. It should be understood that although not shown in FIG. 4, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, to name a few.
The processing unit 16 executes various functional applications and data processing by running the program stored in the system storage device 28, for example, implementing a face recognition access control management method provided by the embodiment of the present invention includes:
when the update time of the end of the preset period is reached, determining a collection time set of face information collected by the entrance guard terminal by the candidate in the preset period; the candidate personnel are any one of all personnel with access control authority;
determining the attenuation activity of the target acquisition time according to the time distance difference between the target acquisition time in the acquisition time set and the update time;
determining the activity of the acquisition time set according to the attenuation activity of each acquisition time in the acquisition time set, and taking the activity as the periodic activity of the candidate personnel;
and determining target personnel according to the periodic activity of all the personnel, and storing the face template information of the target personnel in a local database of the access control terminal.
EXAMPLE five
The fifth embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the method for implementing face recognition access control management provided by the embodiment of the present invention includes:
when the update time of the end of the preset period is reached, determining an acquisition time set of face information acquired by the entrance guard terminal by the candidate in the preset period; the candidate personnel are any one of all personnel with access control authority;
determining the attenuation activity of the target acquisition time according to the time distance difference between the target acquisition time in the acquisition time set and the update time;
determining the activity of the acquisition time set according to the attenuation activity of each acquisition time in the acquisition time set, and taking the activity as the periodic activity of the candidate personnel;
and determining target personnel according to the periodic activity of all the personnel, and storing the face template information of the target personnel in a local database of the access control terminal.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A face recognition access control management method is characterized by comprising the following steps:
when the update time of the end of the preset period is reached, determining an acquisition time set of face information acquired by the entrance guard terminal by the candidate in the preset period; the candidate personnel are any one of all personnel with access control authority;
determining the attenuation activity of the target acquisition time according to the time distance difference between the target acquisition time in the acquisition time set and the update time;
determining the activity of the acquisition time set according to the attenuation activity of each acquisition time in the acquisition time set, and taking the activity as the periodic activity of the candidate personnel;
and determining target personnel according to the periodic activity of all the personnel, and storing the face template information of the target personnel in a local database of the access control terminal.
2. The method of claim 1, wherein determining the decay activity of the target acquisition time as a function of a time distance difference between the target acquisition time and the update time in the set of acquisition times comprises:
determining the decay activity of the target acquisition time according to the following formula:
Figure FDA0003264050100000011
wherein S represents the attenuation activity of the target acquisition time, P represents a preset basic activity value, alpha represents a preset attenuation coefficient, and T represents now Representing the update time, T representing the target acquisition time, T a Indicating a preset decay time.
3. The method according to claim 1, characterized in that an abnormal time period within the preset period is preset;
correspondingly, determining the attenuation activity of the target acquisition time according to the time distance difference between the target acquisition time and the update time in the acquisition time set, including:
determining whether the target acquisition time is within the abnormal time period;
and if so, determining the attenuation activity of the target acquisition time according to a preset abnormal coefficient and the time distance difference.
4. The method according to claim 3, wherein determining the decay activity of the target acquisition time according to a preset anomaly coefficient and the time distance difference comprises:
determining the decay activity of the target acquisition time according to the following formula:
Figure FDA0003264050100000021
wherein S represents the time of the target acquisitionBeta represents the abnormal coefficient, P represents the preset basic activity value, alpha represents the preset attenuation coefficient, T represents the preset attenuation coefficient now Representing the update time, T representing the target acquisition time, T a Indicating a preset decay time.
5. The method according to claim 1, wherein determining the collection time set of the face information collected by the entrance guard terminal in the preset period for the candidate person comprises:
determining information storage position identification of the candidate personnel carried by the acquisition time set; the information storage position identifier comprises an entrance guard terminal and a central server side;
correspondingly, determining the activity of the collection time set according to the decay activity of each collection time in the collection time set, and taking the activity as the periodic activity of the candidate personnel, the method comprises the following steps:
determining whether the information storage position identification of the candidate personnel is an access control terminal;
if yes, determining the periodic activity of the candidate personnel according to a preset switching cost value for switching and storing the face template information from a central database to a local database and the activity of the acquisition time set.
6. The method of claim 5, wherein determining the information storage location identity of the candidate person carried by the collection time set comprises:
determining a matching result of the face acquisition information of the associated candidate persons of the acquisition time set;
if the matching result is that the face matching is successful in the initial database, determining that the information storage position mark is an entrance guard terminal;
and if the matching result is that the face matching is successful in the central database, determining that the information storage position is identified as a central server.
7. The method of claim 6, wherein the central database stores face template information of all persons with access control authority; and the initial database is determined according to the image quality of the face template images in the face template information of all the personnel.
8. The utility model provides a face identification entrance guard management device which characterized in that includes:
the acquisition time set determining module is used for determining an acquisition time set of face information acquired by the entrance guard terminal by the candidate in a preset period when the update time of the preset period is up; the candidate personnel are any one of all personnel with access control authority;
the attenuation activity determining module is used for determining the attenuation activity of the target acquisition time according to the time distance difference between the target acquisition time and the update time in the acquisition time set;
the period activity determining module is used for determining the activity of the acquisition time set according to the attenuation activity of each acquisition time in the acquisition time set, and the activity is used as the period activity of the candidate personnel;
and the target person determining module is used for determining target persons according to the periodic liveness of all the persons and storing the face template information of the target persons in a local database of the access control terminal.
9. An electronic device, comprising:
one or more processors;
a storage device to store one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the face recognition access control method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the face recognition access control method according to any one of claims 1 to 7.
CN202111081076.8A 2021-09-15 2021-09-15 Face recognition access control management method and device, electronic equipment and storage medium Pending CN115810228A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111081076.8A CN115810228A (en) 2021-09-15 2021-09-15 Face recognition access control management method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111081076.8A CN115810228A (en) 2021-09-15 2021-09-15 Face recognition access control management method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115810228A true CN115810228A (en) 2023-03-17

Family

ID=85481810

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111081076.8A Pending CN115810228A (en) 2021-09-15 2021-09-15 Face recognition access control management method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115810228A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116343387A (en) * 2023-05-30 2023-06-27 知鱼智联科技股份有限公司 Access authority classification management method and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116343387A (en) * 2023-05-30 2023-06-27 知鱼智联科技股份有限公司 Access authority classification management method and terminal
CN116343387B (en) * 2023-05-30 2023-09-08 知鱼智联科技股份有限公司 Access authority classification management method and terminal

Similar Documents

Publication Publication Date Title
CN111031348B (en) Video scrambling method, device, server and storage medium
CN109714636B (en) User identification method, device, equipment and medium
US11734954B2 (en) Face recognition method, device and electronic equipment, and computer non-volatile readable storage medium
JP2021034003A (en) Human object recognition method, apparatus, electronic device, storage medium, and program
WO2021217934A1 (en) Method and apparatus for monitoring number of livestock, and computer device and storage medium
EP3890312B1 (en) Distributed image analysis method and system, and storage medium
CN110879986A (en) Face recognition method, apparatus and computer-readable storage medium
CN116844094A (en) Personnel roll call method, equipment and medium based on real-time video stream
CN115810228A (en) Face recognition access control management method and device, electronic equipment and storage medium
CN112735015B (en) Community management method, device, machine-readable medium and equipment
WO2024046433A1 (en) Epidemic prevention supervision method and apparatus for realizing ia by combining rpa and ai, and electronic device
CN113434718A (en) Method and device for determining associated image, electronic equipment and storage medium
US20210374385A1 (en) System and method for face recognition
CN112751976B (en) Agent association method, system, equipment and storage medium based on authentication log
CN113159347A (en) Room state updating method, device, equipment and storage medium
CN112950438A (en) Data processing method and device, computer equipment and storage medium
CN114155578A (en) Portrait clustering method, device, electronic equipment and storage medium
CN112418062A (en) Face recognition method, face recognition system, electronic equipment and storage medium
CN114245232A (en) Video abstract generation method and device, storage medium and electronic equipment
CN112055013A (en) Automatic authentication method, device, equipment and storage medium
CN111985400A (en) Face living body identification method, device, equipment and storage medium
CN114972419B (en) Tumble detection method, tumble detection device, medium and electronic equipment
CN112052729B (en) Intelligent dynamic high-definition video detection method and system based on face recognition
CN109345748B (en) User equipment association method, device, server, detection equipment and medium
CN108989677A (en) A kind of automatic photographing method, device, server and storage medium

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