CN115080775A - Access control equipment face data storage method and device, server and storage medium - Google Patents

Access control equipment face data storage method and device, server and storage medium Download PDF

Info

Publication number
CN115080775A
CN115080775A CN202211015854.8A CN202211015854A CN115080775A CN 115080775 A CN115080775 A CN 115080775A CN 202211015854 A CN202211015854 A CN 202211015854A CN 115080775 A CN115080775 A CN 115080775A
Authority
CN
China
Prior art keywords
access control
control equipment
face
characteristic value
target
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
CN202211015854.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.)
Shenzhen Qinlin Science & Technology Co ltd
Original Assignee
Shenzhen Qinlin Science & Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Qinlin Science & Technology Co ltd filed Critical Shenzhen Qinlin Science & Technology Co ltd
Priority to CN202211015854.8A priority Critical patent/CN115080775A/en
Publication of CN115080775A publication Critical patent/CN115080775A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • 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
    • 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/38Individual registration on entry or exit not involving the use of a pass with central registration

Abstract

The embodiment of the invention discloses a method and a device for storing face data of access control equipment, a server and a storage medium. The method comprises the following steps: receiving a face photo uploaded by a user; issuing the face photos to at least one type of target access control equipment according to a preset scheduling rule; extracting an exclusive characteristic value of the face photo corresponding to the type of the target access control equipment, returning the exclusive characteristic value, and deleting the local face photo; and storing the received exclusive characteristic value, and deleting the face photo when the exclusive characteristic value returned by all types of target access control equipment is received. The technical scheme provided by the embodiment of the invention realizes the adaptation to all types of access control equipment, can realize the utilization of the characteristic value aiming at any access control equipment, and simultaneously well avoids the risk of face privacy disclosure.

Description

Access control equipment face data storage method and device, server and storage medium
Technical Field
The embodiment of the invention relates to the technical field of data storage, in particular to a method and a device for storing face data of access control equipment, a server and a storage medium.
Background
With the use of face photos, the security of face privacy becomes an increasing problem. At present, in access control equipment, more and more operations such as face recognition are carried out by using face information. In order to realize the function, a user photo is stored in a cloud terminal in a traditional mode, and in order to prevent the device from being newly added, damaged or changed in scene, the photo is not deleted in the cloud terminal, but when the user photo is attacked by a hacker or internally leaked, a large area of privacy is leaked.
At present, some manufacturers adopt a mode of extracting a characteristic value of a photo from a cloud, so that only the characteristic value is issued to equipment to realize the non-storage of the photo, but in the mode, when the hardware models are more, each manufacturer cannot meet the requirement of cloud extraction at the same time, and if one model does not support, the mode cannot be realized.
Disclosure of Invention
The embodiment of the invention provides a method and a device for storing face data of access control equipment, a server and a storage medium, which are used for avoiding the influence of the hardware model of the equipment on the implementation of a scheme under the condition of effectively avoiding the privacy disclosure of the face.
In a first aspect, an embodiment of the present invention provides a method for storing face data of an access control device, where the method includes:
receiving a face photo uploaded by a user;
the face photos are issued to at least one type of target access control equipment according to a preset scheduling rule;
extracting an exclusive characteristic value of the face photo corresponding to the type of the target access control equipment, returning the exclusive characteristic value, and deleting the local face photo;
and storing the received exclusive characteristic value, and deleting the face photo when the exclusive characteristic value returned by all types of target access control equipment is received.
Optionally, the issuing the face picture to at least one type of target access control device according to a preset scheduling rule includes:
determining a scheduling weight score according to one or more of signal quality between the current online access control equipment, load state of the current online access control equipment, real-time task state and geographic position, and determining each type of target access control equipment in the current online access control equipment according to the scheduling weight score.
Optionally, before issuing the face picture to at least one type of target access control device according to a preset scheduling rule, the method further includes:
receiving the heartbeat signal intensity sent by the access control equipment to detect whether the access control equipment is on line or not and the signal quality; and/or the presence of a gas in the gas,
and receiving the load state and/or the real-time task state sent by the access control equipment at regular time.
Optionally, the number of each type of the target access control device is multiple;
correspondingly, the storing the received exclusive characteristic value includes:
for each type, only the first returned target-specific feature value is received and stored.
Optionally, after receiving and storing the first returned target-specific feature value, the method further includes:
and informing other target access control devices of the same type as the target access control device returning the target exclusive characteristic value to stop the current characteristic value extraction task.
Optionally, the method further includes:
and if the result returned by receiving one type of target access control equipment is extraction failure, judging that the results of the current characteristic value extraction tasks of all types of target access control equipment are failure.
Optionally, the method further includes:
if the received result returned by the target type of the target access control equipment is extraction overtime, determining new target access control equipment in the target type of the access control equipment again according to the preset scheduling rule;
and if the retry times reach the preset retry upper limit and the returned result is still the overtime extraction, judging that the result of the target access control equipment of the target type is overtime failure, and judging that the results of the current characteristic value extraction tasks of all types of target access control equipment are failure.
In a second aspect, an embodiment of the present invention further provides a device for storing face data of an access control device, where the device includes:
the face photo receiving module is used for receiving a face photo uploaded by a user;
the face photo issuing module is used for issuing the face photos to at least one type of target access control equipment according to a preset scheduling rule;
the picture characteristic value extraction module is used for extracting an exclusive characteristic value of the face picture corresponding to the type of the target access control device through the target access control device, returning the exclusive characteristic value and deleting the local face picture;
and the picture characteristic value storage module is used for storing the received exclusive characteristic value and deleting the face picture when the exclusive characteristic value returned by all types of target access control equipment is received.
In a third aspect, an embodiment of the present invention further provides a server, where the server includes:
one or more processors;
a memory 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 method for storing the face data of the access control device provided by any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method for storing face data of an access control device according to any embodiment of the present invention is implemented.
The embodiment of the invention provides a storage method of face data of access control equipment, which comprises the steps of firstly receiving a face photo uploaded by a user, then issuing the face photo to at least one type of target access control equipment according to a preset scheduling rule, extracting an exclusive characteristic value of the face photo through the target access control equipment, returning the exclusive characteristic value, deleting a local face photo, finally storing the received exclusive characteristic value returned by the target access control equipment, and deleting the face photo when receiving the exclusive characteristic values returned by all types of target access control equipment. According to the method for storing the face data of the access control equipment, the face photos are issued to the access control equipment to extract the characteristic values, and then the characteristic values are returned to the server to be stored, so that adaptation of all types of access control equipment is realized, the characteristic values can be utilized for any access control equipment, meanwhile, the face photos used locally are deleted after the characteristic values are extracted by local equipment, and the face photos used at the cloud end are deleted after the cloud end server receives the exclusive characteristic values returned by all types of target access control equipment, so that the risk of face privacy disclosure is well avoided.
Drawings
Fig. 1 is a flowchart of a method for storing face data of an access control device according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a storage device for face data of an access control device according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a server according to 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.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a method for storing face data of an access control device according to an embodiment of the present invention. The embodiment is applicable to the condition that the face data of the user is pre-stored before the face recognition is carried out by the access control equipment, the method can be executed by the storage device of the face data of the access control equipment provided by the embodiment of the invention, the device can be realized by a hardware and/or software mode, and the device can be generally integrated in a server. As shown in fig. 1, the method specifically comprises the following steps:
and S11, receiving the face picture uploaded by the user.
Specifically, when a user has a demand for face recognition, if the user becomes a resident of a certain cell, the user needs to enter the cell through the face recognition function of the access control device, the storage of face data can be completed in advance, so that the face data can be compared during face recognition, the user can upload a face picture of the user to a server, the server can process and store the face picture, and the server can be specifically a characteristic value scheduling server. After receiving the face photos, the server can firstly detect the quality of the face photos, if the quality is unqualified, the server can directly judge that the current task fails, and can prompt the user so that the user can upload the photos again, and if the quality is qualified, the server can perform subsequent steps.
And S12, issuing the face photos to at least one type of target access control equipment according to a preset scheduling rule.
Specifically, the method adopts a distributed scheduling algorithm, after receiving a face photo uploaded by a user, a server can issue the face photo to various access control devices, and the edge access control devices complete subsequent characteristic value extraction. The target access control device to be issued may be determined according to a preset scheduling rule, and then the face photos may be issued respectively. Before determining the target access control device, the access control devices managed by the server may be first classified according to information such as different manufacturers and/or different chip models used, so as to obtain the at least one type. After the classification is finished, the target access control equipment to be issued can be determined in each type of access control equipment according to the preset scheduling rule, and the face photos can be issued to each type of target access control equipment, so that each type of actually used access control equipment can realize the face recognition function by applying the feature values obtained by subsequent extraction.
Optionally, the issuing the face picture to at least one type of target access control device according to a preset scheduling rule includes: determining a scheduling weight score according to one or more of signal quality between the current online access control equipment, load state of the current online access control equipment, real-time task state and geographic position, and determining each type of target access control equipment in the current online access control equipment according to the scheduling weight score. Specifically, when a photo is required to be issued, the current online access control device may be determined in the access control devices managed by the server, and then the scheduling weight score of each access control device may be determined according to one or more factors of the load state, the real-time task state, the geographic position of each current online access control device and the signal quality between the server, so that a target access control device may be selected in each type according to the scheduling weight score of each access control device, and specifically, the higher the scheduling weight score is, the priority is, the selection is made. The load state may include a processor utilization rate, a memory utilization rate, and the like, and may reflect a capability of the access control device to process a new task, and during scheduling, the access control device with a lower load state may be preferentially selected, that is, a higher load weight score may be set for the access control device with a lower load state. The real-time task state can include whether the access control equipment is currently carrying out face recognition, audio and video conversation, characteristic value extraction and other tasks, the task weight score can be adjusted for each task, the real-time task state can reflect the speed of the access control equipment for processing a new task, and during scheduling, the access control equipment with the idle real-time task state can be preferentially selected, so that the access control equipment with the idle real-time task state can be set with a higher task weight score. The geographical position can be a city, a community or a specific position where the access control equipment is installed, the position relation of a user uploading the face photos can be reflected, when the access control equipment located in the same community or the same city with the user can be selected preferentially, a higher position weight score can be set for the access control equipment in the same community or the same city, and a higher position weight score can also be set for the access control equipment closer to the user according to the distance between the access control equipment and the user. The signal quality can be the heartbeat signal intensity between entrance guard's equipment and the server, can reflect the signal transmission efficiency between entrance guard's equipment and the server, and when the dispatch, can the higher entrance guard's equipment of preferred selection signal quality, can set up higher signal weight score for the higher entrance guard's equipment of signal quality. When the scheduling weight score is determined according to the signal quality, the load state, the real-time task state and the geographic position, the required scheduling weight score can be obtained by adding the load weight score, the task weight score, the position weight score and the signal weight score.
Further optionally, before the sending the face photos to at least one type of target access control device according to the preset scheduling rule, the method further includes: receiving the heartbeat signal intensity sent by the access control equipment to detect whether the access control equipment is on line or not and the signal quality; and/or receiving the load state and/or the real-time task state sent by the access control equipment at regular time. Specifically, keep the heartbeat between each entrance guard's equipment and the server, detect and send heartbeat signal intensity for the server, when the server received the heartbeat signal intensity that entrance guard's equipment sent, can confirm that the entrance guard's equipment that corresponds is currently in the on-line condition according to this heartbeat signal intensity to can judge obtain with the signal quality between the entrance guard's equipment that corresponds, corresponding, if do not receive the heartbeat signal intensity that entrance guard's equipment sent, then can think that the entrance guard's equipment that corresponds is not online at present. On the other hand, each access control device can also send the load state and/or the real-time task state of the access control device to the server at regular time, so that the server obtains the load state and/or the real-time task state used for current access control device scheduling. In addition, the geographical position of each access control device can be stored in the server in advance for use.
And S13, extracting the exclusive characteristic value of the face photo corresponding to the type of the target access control device, returning the exclusive characteristic value, and deleting the local face photo.
Specifically, after the face photos are issued according to the preset scheduling rules, the target access control device receiving the face photos can extract the exclusive characteristic value of the type of the target access control device through the chip and the algorithm used by the target access control device, and return the exclusive characteristic value to the server, so that the local face photos of the target access control device can be deleted immediately, and leakage is avoided.
And S14, storing the received exclusive characteristic value, and deleting the face photo when the exclusive characteristic value returned by all types of target access control equipment is received.
Specifically, the server can store the exclusive characteristic value after receiving the exclusive characteristic value, when all types of target access control devices return the exclusive characteristic value, namely the server obtains the exclusive characteristic value of all types which can be used for face recognition, the current characteristic value extraction task can be considered to be successfully completed, and the face picture in the server can be deleted to avoid leakage.
Optionally, the number of each type of the target access control device is multiple; correspondingly, the storing the received exclusive characteristic value includes: for each type, only the first returned target-specific feature value is received and stored. Specifically, when determining each type of target access control device, multiple target access control devices (e.g., more than three) may be determined according to a preset scheduling rule, and for example, the first access control devices with larger scheduling weight scores may be used as the target access control devices, so as to improve the success rate of feature value extraction. Correspondingly, the server only needs to store the first returned target-specific characteristic value. Furthermore, the target access control device can upload the exclusive characteristic value to the temporary object storage server at first, when the corresponding exclusive characteristic value is obtained for each type in the temporary object storage server, the first target exclusive characteristic value successfully extracted in each type can be dumped to the characteristic value scheduling server, and other characteristic values received later can be directly discarded, and the method can be realized by regularly cleaning the temporary data in the temporary object storage server. By determining a plurality of target access control devices and only receiving the target exclusive characteristic value returned fastest, the distributed scheduling algorithm provided by the method is more efficient and stable.
Further optionally, after receiving and storing the first returned target-specific feature value, the method further includes: and informing other target access control devices of the same type as the target access control device returning the target exclusive characteristic value to stop the current characteristic value extraction task. Specifically, for a certain type, after the target exclusive eigenvalue which is returned firstly is obtained, other target access control devices can be informed to stop the current eigenvalue extraction task, and therefore resource waste is reduced.
On the basis of the above technical solution, optionally, the method further includes: and if the result returned by receiving one type of target access control equipment is extraction failure, judging that the results of the current characteristic value extraction tasks of all types of target access control equipment are failure. Specifically, the method can provide a quick error mechanism, when all the results returned by any type of target access control equipment are extraction failures, the results of the current characteristic value extraction tasks of all types of target access control equipment can be directly judged to be failures without waiting for the results returned by all types of target access control equipment, the current characteristic value extraction tasks can be ended, and the result failure indicates that the characteristic value extraction of the currently processed face photos fails, so that the face recognition requirements of all the access control equipment cannot be met, and a user can be prompted to upload again or corresponding staff can be notified to maintain.
On the basis of the above technical solution, optionally, the method further includes: if the received result returned by the target type of the target access control equipment is extraction overtime, determining new target access control equipment in the target type of the access control equipment again according to the preset scheduling rule; and if the retry times reach the preset retry upper limit and the returned result is still the overtime extraction, judging that the result of the target access control equipment of the target type is overtime failure, and judging that the results of the current characteristic value extraction tasks of all types of target access control equipment are failure. Specifically, the method may further provide a retry mechanism, when a result returned by a target access control device of any target type is extraction timeout, re-determining access control devices except for the scheduled access control device as the target access control devices to extract the exclusive feature value in the corresponding target type of access control devices according to a preset scheduling rule, and if the extraction timeout is still returned, re-determining the target access control devices again until the retry number reaches a preset retry upper limit, determining that the result of the target type is timeout failure, and directly determining that the result of the current feature value extraction task of the target access control devices of all types is failure, without waiting for the results returned by the target access control devices of all types, the current feature value extraction task may be ended. If the overtime failure indicates that the corresponding access control equipment is possibly busy or fails, the user can be prompted to retry later or corresponding staff is notified to perform maintenance.
According to the technical scheme provided by the embodiment of the invention, firstly, a face photo uploaded by a user is received, then the face photo is issued to at least one type of target access control equipment according to a preset scheduling rule, so that an exclusive characteristic value of the face photo is extracted through the target access control equipment, the exclusive characteristic value is returned, then the local face photo is deleted, finally, the received exclusive characteristic value returned by the target access control equipment is stored, and the face photo is deleted when the exclusive characteristic values returned by all types of target access control equipment are received. Carry out the extraction of eigenvalue through issuing entrance guard's equipment with the face photo, return the eigenvalue to the server and save again, realized the adaptation to all types of entrance guard's equipment, to arbitrary entrance guard's equipment, all can realize the utilization to the eigenvalue, simultaneously through accomplish the face photo that deletes local used after the extraction of eigenvalue at local equipment promptly, and delete the face photo that high in the clouds used promptly after the exclusive eigenvalue that all types of target entrance guard's equipment returned at high in the clouds server, fine has avoided the risk that face privacy revealed.
Example two
Fig. 2 is a schematic structural diagram of a storage apparatus for face data of an access control device according to a second embodiment of the present invention, where the storage apparatus may be implemented in a hardware and/or software manner, and may be generally integrated in a server, so as to execute the storage method for face data of an access control device according to any embodiment of the present invention. As shown in fig. 2, the apparatus includes:
the face photo receiving module 21 is used for receiving a face photo uploaded by a user;
the face photo issuing module 22 is configured to issue the face photos to at least one type of target access control device according to a preset scheduling rule;
the photo feature value extraction module 23 is configured to extract an exclusive feature value of the face photo corresponding to the type of the target access control device, return the exclusive feature value, and delete the local face photo;
and the photo feature value storage module 24 is configured to store the received exclusive feature value, and delete the face photo when receiving the exclusive feature value returned by all types of the target access control devices.
According to the technical scheme provided by the embodiment of the invention, firstly, a face photo uploaded by a user is received, then the face photo is issued to at least one type of target access control equipment according to a preset scheduling rule, so that an exclusive characteristic value of the face photo is extracted through the target access control equipment, the exclusive characteristic value is returned, then the local face photo is deleted, finally, the received exclusive characteristic value returned by the target access control equipment is stored, and the face photo is deleted when the exclusive characteristic values returned by all types of target access control equipment are received. Carry out the extraction of eigenvalue through issuing entrance guard's equipment with the face photo, return the eigenvalue to the server and save again, realized the adaptation to all types of entrance guard's equipment, to arbitrary entrance guard's equipment, all can realize the utilization to the eigenvalue, simultaneously through accomplish the face photo that deletes local used after the extraction of eigenvalue at local equipment promptly, and delete the face photo that high in the clouds used promptly after the exclusive eigenvalue that all types of target entrance guard's equipment returned at high in the clouds server, fine has avoided the risk that face privacy revealed.
On the basis of the above technical solution, optionally, the face photograph issuing module 22 is specifically configured to:
determining a scheduling weight score according to one or more of signal quality between the current online access control equipment, load state of the current online access control equipment, real-time task state and geographic position, and determining each type of target access control equipment in the current online access control equipment according to the scheduling weight score.
On the basis of the above technical solution, optionally, the storage device for face data of the access control device further includes:
the signal intensity receiving module is used for receiving the heartbeat signal intensity sent by the entrance guard equipment before the face picture is issued to at least one type of target entrance guard equipment according to the preset scheduling rule so as to detect whether the entrance guard equipment is on line or not and detect the signal quality; and/or the presence of a gas in the gas,
and the state receiving module is used for receiving the load state and/or the real-time task state sent by the access control equipment at regular time.
On the basis of the technical scheme, optionally, the number of each type of the target access control equipment is multiple;
correspondingly, the photo feature value storage module 24 is specifically configured to:
for each type, only the first returned target-specific feature value is received and stored.
On the basis of the above technical solution, optionally, the storage device for face data of the access control device further includes:
and the task stop notification module is used for notifying other target access control devices of the same type as the target access control device returning the target exclusive characteristic value to stop the current characteristic value extraction task after receiving and storing the first returned target exclusive characteristic value.
On the basis of the above technical solution, optionally, the storage device for face data of the access control device further includes:
and the quick error judgment module is used for judging that the results of the current characteristic value extraction tasks of all types of target access control equipment are failed if the results returned by receiving one type of target access control equipment are extraction failures.
On the basis of the above technical solution, optionally, the storage device for face data of the access control device further includes:
the equipment rescheduling module is used for determining new target access control equipment in the target type of access control equipment again according to the preset scheduling rule if the received result returned by the target type of target access control equipment is extraction overtime;
and the overtime error determination module is used for determining that the result of the target type of target access control equipment is overtime failure and determining that the result of the current characteristic value extraction task of all types of target access control equipment is failure if the retry number reaches the preset retry upper limit and the returned result is extraction overtime.
The storage device for the face data of the access control equipment provided by the embodiment of the invention can execute the storage method for the face data of the access control equipment provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that, in the embodiment of the storage device for face data of the access control device, the included units and modules are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a server provided in the third embodiment of the present invention, and shows a block diagram of an exemplary server suitable for implementing the embodiment of the present invention. The server shown in fig. 3 is only an example, and should not bring any limitation to the function and the use range of the embodiment of the present invention. As shown in fig. 3, the server includes a processor 31, a memory 32, an input device 33, and an output device 34; the number of the processors 31 in the server may be one or more, one processor 31 is taken as an example in fig. 3, the processors 31, the memory 32, the input device 33 and the output device 34 in the server may be connected by a bus or other means, and the connection by the bus is taken as an example in fig. 3.
The memory 32 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the storage method of face data of the access control device in the embodiment of the present invention (for example, the face photograph receiving module 21, the face photograph issuing module 22, the photograph feature value extracting module 23, and the photograph feature value storing module 24 in the storage device of face data of the access control device). The processor 31 executes various functional applications and data processing of the server by running software programs, instructions and modules stored in the memory 32, that is, the above-mentioned storage method of face data of the access control device is realized.
The memory 32 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the server, and the like. Further, the memory 32 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 32 may further include memory located remotely from the processor 31, which may be connected to a server over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 33 may be used to receive a face picture uploaded by a user and a feature value returned by the access control device, and generate key signal inputs related to user settings and function control of the server, and the like. The output device 34 may be used to issue face photos, control signals, and the like to the access control device.
Example four
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the computer-executable instructions are executed by a computer processor to perform a method for storing face data of an access control device, where the method includes:
receiving a face photo uploaded by a user;
issuing the face photos to at least one type of target access control equipment according to a preset scheduling rule;
extracting an exclusive characteristic value of the face photo corresponding to the type of the target access control equipment, returning the exclusive characteristic value, and deleting the local face photo;
and storing the received exclusive characteristic value, and deleting the face photo when the exclusive characteristic value returned by all types of target access control equipment is received.
The storage medium may be any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lambda (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the computer system in which the program is executed, or may be located in a different second computer system connected to the computer system through a network (such as the internet). The second computer system may provide the program instructions to the computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present invention is not limited to the above-described method operations, and may also perform related operations in the storage method of face data of an access control device provided in any embodiment of the present invention.
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.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
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 method for storing face data of access control equipment is characterized by comprising the following steps:
receiving a face photo uploaded by a user;
issuing the face photos to at least one type of target access control equipment according to a preset scheduling rule;
extracting an exclusive characteristic value of the face photo corresponding to the type of the target access control equipment, returning the exclusive characteristic value, and deleting the local face photo;
and storing the received exclusive characteristic value, and deleting the face photo when the exclusive characteristic value returned by all types of target access control equipment is received.
2. The method for storing the face data of the access control equipment according to claim 1, wherein the step of issuing the face picture to at least one type of target access control equipment according to a preset scheduling rule comprises the following steps:
determining a scheduling weight score according to one or more of signal quality between the current online access control equipment, load state of the current online access control equipment, real-time task state and geographic position, and determining each type of target access control equipment in the current online access control equipment according to the scheduling weight score.
3. The method for storing the face data of the access control equipment according to claim 2, wherein before the sending the face picture to at least one type of target access control equipment according to the preset scheduling rule, the method further comprises:
receiving the heartbeat signal intensity sent by the access control equipment to detect whether the access control equipment is on line or not and the signal quality; and/or the presence of a gas in the gas,
and receiving the load state and/or the real-time task state sent by the access control equipment at regular time.
4. The method for storing the face data of the access control equipment according to claim 1, wherein the number of each type of target access control equipment is multiple;
correspondingly, the storing the received exclusive characteristic value includes:
for each type, only the first returned target-specific feature value is received and stored.
5. The method for storing face data of access control equipment according to claim 4, wherein after receiving and storing the first returned target-specific feature value, the method further comprises:
and informing other target access control devices of the same type as the target access control device returning the target exclusive characteristic value to stop the current characteristic value extraction task.
6. The method for storing the face data of the access control equipment according to claim 1, further comprising the following steps:
and if the result returned by receiving one type of target access control equipment is extraction failure, judging that the results of the current characteristic value extraction tasks of all types of target access control equipment are failure.
7. The method for storing the face data of the access control equipment according to claim 1, further comprising the following steps:
if the received result returned by the target type of the target access control equipment is extraction overtime, determining new target access control equipment in the target type of the access control equipment again according to the preset scheduling rule;
and if the retry times reach the preset retry upper limit and the returned result is still the extraction overtime, judging that the result of the target entrance guard equipment of the target type is overtime failure, and judging that the results of the current characteristic value extraction tasks of all types of target entrance guard equipment are failure.
8. An apparatus for storing face data of an access control device, comprising:
the face photo receiving module is used for receiving a face photo uploaded by a user;
the face photo issuing module is used for issuing the face photos to at least one type of target access control equipment according to a preset scheduling rule;
the picture characteristic value extraction module is used for extracting an exclusive characteristic value of the face picture corresponding to the type of the target access control device through the target access control device, returning the exclusive characteristic value and deleting the local face picture;
and the picture characteristic value storage module is used for storing the received exclusive characteristic value and deleting the face picture when the exclusive characteristic value returned by all types of target access control equipment is received.
9. A server, comprising:
one or more processors;
a memory 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 method for storing face data of the entrance guard device according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, wherein the program, when executed by a processor, implements a method for storing face data of a door access device according to any one of claims 1 to 7.
CN202211015854.8A 2022-08-24 2022-08-24 Access control equipment face data storage method and device, server and storage medium Pending CN115080775A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211015854.8A CN115080775A (en) 2022-08-24 2022-08-24 Access control equipment face data storage method and device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211015854.8A CN115080775A (en) 2022-08-24 2022-08-24 Access control equipment face data storage method and device, server and storage medium

Publications (1)

Publication Number Publication Date
CN115080775A true CN115080775A (en) 2022-09-20

Family

ID=83245384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211015854.8A Pending CN115080775A (en) 2022-08-24 2022-08-24 Access control equipment face data storage method and device, server and storage medium

Country Status (1)

Country Link
CN (1) CN115080775A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115238257A (en) * 2022-09-26 2022-10-25 深圳市亲邻科技有限公司 Access control face permission updating method and device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110866443A (en) * 2019-10-11 2020-03-06 厦门身份宝网络科技有限公司 Portrait storage method, face recognition equipment and storage medium
CN112950833A (en) * 2019-12-11 2021-06-11 浙江宇视科技有限公司 Authorization method, device, equipment and storage medium of access control equipment
CN113192250A (en) * 2021-04-22 2021-07-30 北京澎思科技有限公司 Access control image processing method and device and storage medium
CN113516807A (en) * 2021-05-18 2021-10-19 深圳市亲邻科技有限公司 Access control management method and device based on block chain and access control equipment
CN113643470A (en) * 2021-07-21 2021-11-12 广东省安心加科技有限公司 Batch authorization method and system for face access control and computer readable storage medium
CN114333005A (en) * 2021-12-27 2022-04-12 深圳市商汤科技有限公司 Object recognition method, system and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110866443A (en) * 2019-10-11 2020-03-06 厦门身份宝网络科技有限公司 Portrait storage method, face recognition equipment and storage medium
CN112950833A (en) * 2019-12-11 2021-06-11 浙江宇视科技有限公司 Authorization method, device, equipment and storage medium of access control equipment
CN113192250A (en) * 2021-04-22 2021-07-30 北京澎思科技有限公司 Access control image processing method and device and storage medium
CN113516807A (en) * 2021-05-18 2021-10-19 深圳市亲邻科技有限公司 Access control management method and device based on block chain and access control equipment
CN113643470A (en) * 2021-07-21 2021-11-12 广东省安心加科技有限公司 Batch authorization method and system for face access control and computer readable storage medium
CN114333005A (en) * 2021-12-27 2022-04-12 深圳市商汤科技有限公司 Object recognition method, system and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115238257A (en) * 2022-09-26 2022-10-25 深圳市亲邻科技有限公司 Access control face permission updating method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111526201B (en) Robot management method, system and edge server
CN110210845B (en) Method, apparatus, medium, and computing device for blockchain data migration
CN112672440A (en) Instruction execution method, system, network device and storage medium
CN105516086A (en) Service processing method and apparatus
CN115080775A (en) Access control equipment face data storage method and device, server and storage medium
CN106034113A (en) Data processing method and data processing device
CN113791792B (en) Method, device and storage medium for acquiring application call information
CN111367934A (en) Data consistency checking method, device, server and medium
CN115249190A (en) Asynchronous posting dynamic early warning method and system, electronic equipment and storage medium
CN114564211A (en) Cluster deployment method, cluster deployment device, equipment and medium
CN112738153A (en) Gateway selection method, system, device, server and medium in service system
CN109379449B (en) Data connection method, device, terminal and storage medium
CN113721938A (en) Edge-edge cooperative task processing method, device and system suitable for power Internet of things
CN113590308A (en) Workflow processing method, device, equipment and medium for applying for cloud resources
CN102932176B (en) Background program log tracking method, tracking side, service side and system
CN112561264A (en) Service method, service system and storage medium for enterprise content
CN106789746B (en) Method and device for managing software data flow
CN112148429A (en) Information processing method and device for managing container arrangement engine cluster
CN113419880B (en) Cloud mobile phone root authority acquisition method, related device and computer program product
CN111026048B (en) Data processing method, device and storage medium
CN116820658B (en) Cloud application page rendering method, device, equipment and storage medium
CN111179097B (en) Method, device, electronic equipment and storage medium for modifying warranty
CN117675910A (en) Task management method, device, equipment and medium based on proxy bus
CN114168285A (en) Data recovery drilling method, device, server and storage medium
CN115114008A (en) Edge program processing method and device and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220920