Face privacy protection method and device, electronic equipment and storage medium

Through the end-side face recognition platform, face images are collected and stored at a single point in the pass authentication, and the point-to-point comparison technology is used to solve the privacy leakage problem of face privacy collected and stored multiple times in the pass authentication, and improve the verification accuracy and security.

CN118736684APending Publication Date: 2024-10-01GUANGZHOU GUANG RI CO LTD RESEARCH & DEVELOPMENT INSTITUTE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410824599.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Facial recognition is collected multiple times and stored by multiple parties during authentication, which leads to the risk of privacy leakage. Existing technologies mainly protect security by transforming facial image data and fail to fundamentally solve the problem.

Method used

Adopting a terminal-side face recognition platform and a decentralized system formed by service terminals, client terminals and edge servers, face images are collected and stored at a single point on the service terminal, and point-to-point technology is used for face image comparison to avoid Risk of leakage of face data during transmission and storage.

Benefits of technology

Effectively solves the risk of privacy leakage when faces are collected and stored multiple times during authentication, and improves the accuracy and security of face verification. Face images are only stored on the user side, avoiding data leakage in transmission and storage. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118736684A_ABST
    Figure CN118736684A_ABST
Patent Text Reader

Abstract

The invention relates to a face privacy protection method and device, electronic equipment and a storage medium. The face privacy protection method comprises the following steps: S1, equipment registration and feature database establishment: a service terminal and a client terminal perform equipment registration on an edge server and establish a database; the service terminal performs face acquisition and storage and face feature extraction, uploads extracted face feature vectors to an edge server, and establishes an edge-level face feature library; s2, human face recognition and comparison: when the client terminal carries out human face information comparison, firstly collecting human face information to be compared and carrying out feature extraction; and the extracted to-be-compared face feature vectors are uploaded to an edge server, and the edge server carries out face feature similarity measurement and then feeds back the face feature similarity to the client terminal. According to the decentralized face privacy protection method provided by the invention, the face image is collected and stored in a single point on the service terminal at one time, single-domain and cross-domain face authentication requirements are supported, and the problem of insecurity caused by multiple collection and multi-party storage can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communications, and in particular to a decentralized facial privacy protection method, device, electronic device and storage medium. Background Art

[0002] Face recognition is a biometric technology that identifies people based on their facial features. It has been widely used in daily life, such as security checks, payments, access, and attendance. Unlike serious scenes such as payment and security checks, the use of face recognition to facilitate access is becoming more common, such as in building access control, community entry and exit, and other scenes.

[0003] However, while building access control, community entry and exit, and other efficient access, facial data is collected multiple times and stored in multiple databases, which poses a high risk of privacy leakage and may be abused. There are many reasons for facial privacy and security issues, such as an imperfect network security mechanism, irregular facial use authorization, and deep facial forgery. In this regard, there are currently many methods that propose solutions for different reasons, mainly adding noise to the facial image data itself, protecting facial security from the transformation of facial image data, but cannot fundamentally solve the problem of facial privacy protection. Faces are collected multiple times and stored in multiple databases during access authentication, which poses a risk of privacy leakage.

[0004] Therefore, it is urgent to develop a facial privacy protection method that is different from protecting facial security through facial image data modification, and to solve the privacy leakage risk caused by multiple collections and storage of faces in multiple parties during pass authentication from a system perspective. Summary of the invention

[0005] The technical problem to be solved by the present invention is how to protect the privacy of human faces. Currently, the security of human faces is protected by modifying the facial image data. However, there is still a risk of privacy leakage when human faces are collected and stored by multiple parties multiple times during pass authentication.

[0006] To solve the above technical problems, according to one aspect of the present invention, a method for face privacy protection is provided, which is used for face recognition access in communities or office buildings. The method for face privacy protection is implemented based on an edge face recognition platform formed by a service terminal ST (Serve Terminal), a client terminal CT (Client Terminal) and an edge server ES (EdgeServer). The method comprises the following steps: S1, device registration and feature database building, the service terminal ST and the client terminal CT are connected to the edge server as devices, and the devices are registered on the edge server ES and a database is established; the service terminal ST performs face collection and storage; the service terminal ST performs face feature extraction, and uploads the extracted face feature vector to the edge server ES to establish an edge-level face feature library; S2, face recognition and comparison, when the client terminal CT needs to compare face information, the client terminal CT first collects the face information to be compared and extracts features; the extracted face feature vector to be compared is uploaded to the edge server ES, and the edge server ES performs face feature similarity measurement and then feeds back to the client terminal CT.

[0007] According to an embodiment of the present invention, step S1 may include the following steps: S11, device authentication. Both the service terminal ST and the client terminal CT need to be connected to and registered on the edge server ES to prove the legitimacy of the device. The device authentication database on the edge server ES records information including device type, device number, and family room number for each device including the service terminal ST or the client terminal CT, which is used to associate with other property management systems. S12, model distribution. The edge server ES receives the facial feature extraction and recognition model sent by the cloud server CS, and then the edge server ES updates the model on the service terminal ST and the client terminal CT to ensure that the model version is consistent across the entire cloud domain. S13, feature library construction. The service terminal ST collects faces and extracts facial features, and uploads them to the edge server ES for storage for subsequent facial legal authentication. Among them, the edge-level facial feature library maintains a facial database of a community or an office building.

[0008] According to an embodiment of the present invention, step S2 may include the following steps: S21, the client terminal CT collects the face and extracts the facial features, uploads the facial feature vector to the edge server ES, and initiates an authentication request; S22, the edge server ES receives the feature vector requested for authentication, measures it one by one with the features in the edge-level facial feature library, and calculates the similarity; if the similarity threshold reaches the expectation, the result of successful recognition is returned; if it does not reach the expectation, the 10 corresponding device numbers with the highest feature similarity are returned; S23, if the result returned by the edge server ES is the Top10 device number, the client terminal CT initiates a point-to-point face authentication request to these 10 devices respectively; in the request, the client terminal CT sends a single face image point-to-point to the service terminal; this request process does not pass through the edge server ES, avoiding the risk of leakage of the face image in communication transmission and edge service; S24, the service terminal ST receives the face image of the client terminal CT, compares it with the face image stored locally, and returns the result; wherein, this response process also does not pass through the edge server ES.

[0009] According to an embodiment of the present invention, the method for protecting face privacy is implemented based on an end-edge face recognition platform and also includes an end-edge cloud face recognition platform of a cloud server CS (Cloud Server). Multi-edge cross-domain face image recognition and comparison are implemented based on the end-edge platform. The method builds a face recognition platform on the cloud to support single-point collection and storage of face images on a service terminal ST including a home one. First, a device and feature library is established on the cloud server CS, including the following steps: device information aggregation, aggregating edge-level device information on each domain into a cloud-level database, and globally registering and accessing devices including service terminals ST and client terminals CT; face feature aggregation, establishing an edge-level global face feature library, which has a relatively large scale. The cloud server CS aggregates global information and is responsible for global feature matching, and the model is uniformly distributed, with the ability to quickly retrieve large-scale vectors and databases.

[0010] According to an embodiment of the present invention, based on cloud-level devices and feature libraries, as well as the A-end edge face recognition platform and the B-end edge face recognition platform, the process steps of cross-domain face recognition request and response are as follows: the B-domain client terminal CT extracts facial image features and initiates a verification request to the B-domain edge server ES. After the feature comparison and matching with the client CT in the B domain fail, it further initiates a verification request to the cloud server CS; after the cloud server CS receives the request from the B-domain edge server ES, it matches in the global edge-level face feature library. If the features match, a success result is returned to the B-domain edge server ES and the B-domain client terminal CT; if there is no match, 10 service terminals ST associated with the most similar features are returned, and these service terminals ST are distributed in different domains; the A-domain service terminal ST receives the facial image comparison request, performs a comparison and returns the comparison result, wherein the request received by the A-domain service terminal ST and the response of the A-domain service terminal ST to the B-domain client terminal CT are point-to-point, without passing through the A and B-domain edge servers ES and the cloud server CS.

[0011] According to an embodiment of the present invention, the end-edge-cloud face recognition platform includes a cross-domain access cloud server CS with multiple edges. The cloud server CS is used for device registration and face feature information aggregation. It does not store face images. Face images are still stored on the service terminals ST of each domain, which can solve the problems of multi-point collection and multi-point storage. Cross-domain face recognition is to go to the cloud server CS for further feature comparison when there is no match within the domain. If the feature comparison is fruitless, point-to-point communication between service terminals and client terminals in different domains is further initiated.

[0012] According to a second aspect of the present invention, a device for face privacy protection is provided, which includes an edge face recognition platform having a service terminal ST, a client terminal CT and an edge server ES, wherein the service terminal ST is used for face image verification response, local face feature extraction, and local face image storage; the client terminal CT is used for face feature and image verification request, local face feature extraction, and no face image storage; the edge server ES is used for face feature verification response, device registration access, model update and distribution, and edge-level face feature library maintenance, wherein the service terminal ST and the client terminal CT are used as device access edge servers. The service terminal ST performs face collection and storage; the service terminal ST extracts face features and uploads the extracted face feature vectors to the edge server ES to establish an edge-level face feature library, registers the device and builds a feature library; when the client terminal CT needs to compare face information, the client terminal CT first collects the face information to be compared and extracts features; uploads the extracted face feature vectors to be compared to the edge server ES, and the edge server ES performs face feature similarity measurement, face recognition and comparison, and then feeds back to the client terminal CT.

[0013] According to an embodiment of the present invention, the device for facial privacy protection may also include: an end-edge-cloud facial recognition platform having multiple end-edge facial recognition platforms and a cloud server CS, wherein the service terminal ST is a terminal including a video intercom or a home assistant, has computing power, supports Wifi and 5G network access; is deployed at home, collects and stores family facial data, and facial images are not uploaded but saved locally; can deploy lightweight models, extract facial features and facial recognition comparison; the client terminal CT is a terminal including a gate machine or access control, supports Wifi and 5G network access; is deployed at the entrance of a community or at the door of a home, is used to collect facial images and initiate facial recognition comparison requests, and does not store facial images; can deploy lightweight models to extract facial features; the edge server ES is a small edge server deployed at the community machine Room, supports high-bandwidth access to the public network; stores information of service terminals and supports terminal access and registration; stores facial feature data uploaded by service terminals, and does not store facial images; cloud server CS is a large cloud server, deployed on the cloud platform, on the core network; stores edge server ES, service terminal ST, and customer terminal CT information, and supports access and registration of the three; stores facial feature data uploaded by edge service ES, and supports rapid retrieval of large-scale vector data, among which cloud server CS aggregates edge-level device information on each domain into the cloud-level database, globally registers and accesses devices including service terminal ST and customer terminal CT, and aggregates device information; cloud server CS establishes an edge-level global facial feature library, aggregates facial features, and is responsible for global feature matching and unified model distribution.

[0014] According to a third aspect of the present invention, there is provided an electronic device, comprising: a memory, a processor, and a face privacy protection program stored in the memory and executable on the processor, wherein the face privacy protection program implements the steps of the above-mentioned face privacy protection method when executed by the processor.

[0015] According to a fourth aspect of the present invention, a computer storage medium is provided, wherein a face privacy protection program is stored on the computer storage medium, and when the face privacy protection program is executed by a processor, the steps of the above-mentioned face privacy protection method are implemented.

[0016] Compared with the prior art, the technical solution provided by the embodiments of the present invention can at least achieve the following beneficial effects:

[0017] The decentralized face privacy protection method of the present invention establishes a rich-end-thin-edge-weak cloud, decentralized face recognition system. Face images are not stored on edge and cloud servers, and face image feature extraction is not on edge and cloud servers, thereby avoiding the risk of face data leakage during transmission and multi-point storage.

[0018] The decentralized face privacy protection method of the present invention collects and stores face images once on a service terminal at a single point, supports single-domain and cross-domain face authentication requirements, and solves the efficiency and security issues of multiple collections and multi-party storage.

[0019] The decentralized facial privacy protection method of the present invention improves the accuracy of facial verification by using peer-to-peer technology to establish direct facial image comparison between the service terminal and the client terminal. This is an extra layer of guarantee based on facial feature matching and is also independent of edge and cloud servers, providing security.

[0020] The decentralized face privacy protection method of the present invention adopts a face recognition platform that collaborates with the end, cloud and edge. The constructed face recognition platform supports one-time collection and sharing by multiple parties, and the face image is only stored on the user side. The face recognition platform of the end-edge system effectively solves the privacy problem of face images in the community or building. The main application scenario is cross-domain, such as multiple communities, multiple office buildings, etc. Face images are collected multiple times and stored multiple times on different service provider platforms. There is a risk of privacy leakage for multiple collections and multi-party storage of face images. This proposal further proposes a cross-edge cloud-level face recognition platform, thereby avoiding the risk of privacy leakage when faces are collected multiple times and stored by multiple parties during pass authentication. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings of the embodiments will be briefly introduced below. Obviously, the drawings in the following description only relate to some embodiments of the present invention, but are not intended to limit the present invention.

[0022] Figure 1 is a schematic diagram illustrating a method for protecting privacy in edge face recognition according to an embodiment of the present invention;

[0023] Figure 2 It is a schematic diagram showing a privacy protection method for edge-cloud face recognition according to an embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the embodiment of the present invention clearer, the technical solution of the embodiment of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all of the embodiments. Based on the described embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0025] Unless otherwise defined, the technical or scientific terms used herein shall have the common meanings understood by persons with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in the patent application specification and claims of the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, words such as "one" or "a" do not indicate a quantity limitation, but indicate the existence of at least one.

[0026] Figure 1 is a schematic diagram illustrating a method for protecting privacy in edge face recognition according to an embodiment of the present invention;

[0027] The face privacy protection method is used for face recognition access in communities or office buildings. The face privacy protection method is implemented based on an end-to-end face recognition platform formed by a service terminal ST, a client terminal CT and an edge server ES. Figure 1 As shown, the method for face privacy protection includes the following steps:

[0028] S1. Device registration and feature database building. The service terminal ST and the client terminal CT are connected to the edge server as devices. The devices are registered and a database is established on the edge server ES. The service terminal ST collects and stores faces. The service terminal ST extracts face features and uploads the extracted face feature vectors to the edge server ES to establish an edge-level face feature library.

[0029] S2. Face recognition and comparison. When the client terminal CT needs to compare face information, the client terminal CT first collects the face information to be compared and extracts features; uploads the extracted face feature vector to be compared to the edge server ES, and the edge server ES measures the face feature similarity and then feeds back to the client terminal CT.

[0030] The decentralized face privacy protection method of the present invention collects and stores face images once on a service terminal at a single point, supports single-domain and cross-domain face authentication requirements, and solves the efficiency and security issues of multiple collections and multi-party storage.

[0031] According to one or some embodiments of the present invention, step S1 includes the following steps:

[0032] S11. Equipment authentication. Both the service terminal ST and the customer terminal CT need to be connected and registered on the edge server ES to prove the legitimacy of the equipment. The equipment authentication database on the edge server ES records information including equipment type, equipment number, and family room number for each equipment including the service terminal ST or the customer terminal CT, which is used to associate with other property management systems.

[0033] S12, model distribution, the edge server ES receives the face feature extraction and recognition model sent by the cloud server CS, and then the edge server ES updates the model on the service terminal ST and the customer terminal CT to ensure that the model version is consistent across the entire cloud domain.

[0034] S13, feature database construction. The service terminal ST collects faces and extracts facial features, and uploads them to the edge server ES for storage for subsequent face legal authentication. Among them, the edge-level facial feature database maintains a face database of a community or an office building.

[0035] This solution develops a set of standard service terminals ST based on video intercoms, which not only have home access control video intercom functions, but can also be seamlessly embedded in the end-edge-cloud collaborative face recognition platform designed in this proposal. The service terminal ST collects and stores facial images of its own family. This image data is not uploaded to the edge server or the cloud server, avoiding privacy leakage caused by multi-party storage and network transmission. On the client terminal CT, only faces are collected and verification requests are initiated, and facial images are not saved. In order to achieve this goal, this proposal will also launch standard gates, access control, etc. For the edge server ES, facial images are not saved or processed, only their corresponding features are saved, and the models are updated for the service terminal ST and the client terminal CT.

[0036] According to one or some embodiments of the present invention, step S2 includes the following steps:

[0037] S21. The client terminal CT collects the face and extracts the facial features, uploads the facial feature vector to the edge server ES, and initiates an authentication request.

[0038] S22. The edge server ES receives the feature vector requested for authentication, measures it one by one with the features in the edge-level face feature library, and calculates the similarity. If the similarity threshold reaches the expected value, it returns a successful recognition result. If it does not reach the expected value, it returns the 10 corresponding device numbers with the highest feature similarity.

[0039] S23. If the result returned by the edge server ES is the top 10 device numbers, the client terminal CT initiates point-to-point face authentication requests to these 10 devices respectively. In the request, the client terminal CT sends a single face image point-to-point to the service terminal. This request process does not go through the edge server ES, avoiding the risk of face image leakage in communication transmission and edge service.

[0040] S24. The service terminal ST receives the facial image from the client terminal CT, compares it with the facial image stored locally, and returns the result. This response process also does not go through the edge server ES.

[0041] In the face recognition and comparison process, the first step is feature measurement, which depends on the edge server ES, but the face image does not leave the service terminal ST. Secondly, through image comparison, this does not depend on the edge server ES, which is a decentralized idea. The task is completed point-to-point between the client terminal CT and the service terminal ST. Since the device is registered on the edge server ES, illegal terminals cannot directly establish point-to-point face authentication, avoiding the risk of data leakage.

[0042] Figure 2 It is a schematic diagram showing a privacy protection method for edge-cloud face recognition according to an embodiment of the present invention.

[0043] like Figure 2 As shown, the face privacy protection method is based on the end-edge face recognition platform and also includes the end-edge cloud face recognition platform of the cloud server CS, and realizes multi-edge cross-domain face image recognition and comparison based on the end-edge platform. The method builds a face recognition platform on the cloud, supports single-point collection and storage of face images on a service terminal ST including a home one, and first establishes a device and feature library on the cloud server CS, including the following steps:

[0044] Device information aggregation: aggregate edge-level device information on each domain into the cloud-level database, and globally register and access devices including service terminals ST and customer terminals CT.

[0045] Facial features are aggregated to establish an edge-level global facial feature database. The database is relatively large. The cloud server CS aggregates global information and is responsible for global feature matching and unified model distribution. It has the ability to quickly retrieve large-scale vectors and databases.

[0046] According to one or some embodiments of the present invention, based on cloud-level devices and feature libraries, as well as the A-side face recognition platform and the B-side face recognition platform, the process steps of cross-domain face recognition request and response are as follows:

[0047] The client terminal CT in domain B extracts facial image features and initiates a verification request to the edge server ES in domain B. After feature comparison and matching with the client CT in domain B fail, it further initiates a verification request to the cloud server CS.

[0048] After receiving the request from the edge server ES in domain B, the cloud server CS matches it in the global edge-level face feature library. If the features match, a success result is returned to the edge server ES in domain B and the client terminal CT in domain B. If there is no match, the 10 service terminals ST associated with the most similar features are returned. These service terminals ST are distributed in different domains.

[0049] The service terminal ST in domain A receives the face image comparison request, performs the comparison and returns the comparison result. Among them, the request received by the service terminal ST in domain A and the response of the service terminal ST in domain A to the client terminal CT in domain B are point-to-point, without passing through the edge servers ES in domain A and B and the cloud server CS.

[0050] According to one or some embodiments of the present invention, the edge-cloud face recognition platform includes a cross-domain access cloud server CS with multiple edges. The cloud server CS is used for device registration and facial feature information aggregation. It does not store facial images. Facial images are still stored on service terminals ST in each domain, which can solve the problems of multi-point collection and multi-point storage.

[0051] Cross-domain face recognition is when there is no match within the domain, and further feature comparison is performed on the cloud server CS; if the feature comparison fails, point-to-point communication between the service terminal and the client terminal in different domains is further initiated.

[0052] Point-to-point communication between cross-domain terminals requires high stability of terminal network access. However, in most cases, global feature matching can meet the requirements, especially as data continues to improve, and face image comparison for point-to-point communication is basically not required.

[0053] The decentralized facial privacy protection method of the present invention improves the accuracy of facial verification by using peer-to-peer technology to establish direct facial image comparison between the service terminal and the client terminal. This is an extra layer of guarantee based on facial feature matching and is also independent of edge and cloud servers, providing security.

[0054] According to a second aspect of the present invention, a device for facial privacy protection is provided, comprising an end-to-end facial recognition platform having a service terminal ST, a client terminal CT and an edge server ES, wherein the service terminal ST is used for facial image verification response, local facial feature extraction, and local facial image storage; the client terminal CT is used for facial feature and image verification requests, local facial feature extraction, and no facial image storage; the edge server ES is used for facial feature verification response, device registration access, model update and distribution, and edge-level facial feature library maintenance.

[0055] Among them, the service terminal ST and the client terminal CT are connected to the edge server as devices, and the devices are registered on the edge server ES and a database is established; the service terminal ST collects and stores faces; the service terminal ST extracts face features and uploads the extracted face feature vectors to the edge server ES, establishes an edge-level face feature library, and performs device registration and feature library construction; when the client terminal CT needs to compare face information, the client terminal CT first collects the face information to be compared and extracts features; the extracted face feature vectors to be compared are uploaded to the edge server ES, and the edge server ES performs face feature similarity measurement, face recognition and comparison, and then feeds back to the client terminal CT.

[0056] According to one or some embodiments of the present invention, the facial privacy protection device also includes: an edge-to-cloud facial recognition platform having multiple edge-to-edge facial recognition platforms and a cloud server CS.

[0057] The service terminal ST is a terminal that includes a video intercom or a home assistant. It has computing capabilities and supports Wifi and 5G network access. It is deployed at home to collect and store family facial data. Facial images are not uploaded but saved locally. It can deploy lightweight models to extract facial features and perform facial recognition comparisons.

[0058] The client terminal CT is a terminal that includes a gate or access control system and supports Wifi and 5G network access. It is deployed at the entrance of a residential area or at the doorstep of a home to collect facial images and initiate facial recognition comparison requests. It does not store facial images. It can deploy lightweight models to extract facial features.

[0059] The edge server ES is a small edge server deployed in a residential computer room that supports high-bandwidth access to the public network. It stores information about services and client terminals and supports terminal access and registration. It stores facial feature data uploaded by service terminals but does not store facial images.

[0060] The cloud server CS is a large cloud server deployed on the cloud platform and on the core network. It stores information about the edge server ES, the service terminal ST, and the client terminal CT, and supports access and registration of the three. It stores facial feature data uploaded by the edge service ES and supports rapid retrieval of large-scale vector data.

[0061] Among them, the cloud server CS aggregates the edge-level device information on each domain into the cloud-level database, globally registers and accesses devices including the service terminal ST and the customer terminal CT, and aggregates the device information; the cloud server CS establishes an edge-level global face feature library, aggregates face features, and is responsible for global feature matching and unified model distribution.

[0062] The decentralized face privacy protection method of the present invention establishes a rich-end-thin-edge-weak cloud, decentralized face recognition system. Face images are not stored on edge and cloud servers, and face image feature extraction is not on edge and cloud servers, thereby avoiding the risk of face data leakage during transmission and multi-point storage.

[0063] When in use, for example, Zhang San lives in community A and works in building B. He needs to collect his face once in A and B respectively, and the facial platforms where A and B are located are not linked, and are stored by both parties at the same time. Zhang San often visits other communities or buildings, and as a visitor he is also required to register his face. This is a simple task for Zhang San that is repeated many times, which is inefficient; and his own facial image data is stored and transmitted on different networks and platforms; this poses a major risk to the privacy of facial data. Although the current facial recognition platform encrypts or adds noise to facial images, this is only a protection for the image data itself, and does not solve the root cause of multiple collections and multi-party storage. In this regard, this proposal builds a face recognition platform that collaborates with the end, cloud and edge to achieve one-time face collection, single-point storage, and cross-domain comparison.

[0064] The main steps of the face recognition platform for end-to-end collaboration (within the domain) are as follows:

[0065] 1) Zhang San collects and stores facial images of his entire family on his own service terminal ST (such as a video intercom, home assistant, mobile phone, etc.);

[0066] 2) Zhang San's service terminal ST registers on the edge server ES of community A, maps the facial images of all his family members into vectors, and uploads them to the feature database on the edge server of community A;

[0067] 3) When Zhang San and his family enter and exit the client terminal CT (face gate, access control, etc.) of community A, CT compares the facial features with the feature library on the server ES at the edge of community A;

[0068] 4) If no match is found on the A-side server ES, point-to-point communication is established between the client terminal CT and the most similar service terminals ST to directly perform face image comparison.

[0069] In general, point-to-point communication is initiated only when there is a high similarity in the feature library but the threshold is not reached. Based on the above mechanism, Zhang San and his family only need to collect and store faces at their own service terminal ST, and the face images are not uploaded to the edge server ES. The face comparison initiated by the client terminal CT is first matched in the feature library on the edge server ES; if the similarity threshold is not reached, but there is a high similarity, point-to-point communication can be further established to perform face image comparison on the service terminal ST with high feature similarity.

[0070] The edge server ES only registers and authenticates the device. As long as the facial features belong to Zhang San's device, the user can enter the community through the facial features. This situation is also suitable for visitors. When Zhang San has a guest, Zhang San only needs to upload the guest's face on his own service terminal ST, without registering and reporting to the property management. The service terminal ST automatically extracts the guest's facial features and uploads them to the edge server ES. When the guest enters community A, the client terminal CT collects the guest's face (not stored), compares its features with the feature library on the edge server ES, and verifies the passage. For the property management, visitors, and Zhang San, it is very efficient, safe, and authorized by Zhang San. From this mechanism, as long as the face is collected and stored at Zhang San's home, it can legally pass through community A with the face under Zhang San's authorization.

[0071] The main steps of the end-edge-cloud collaborative (cross-domain) face recognition platform are as follows:

[0072] 1) Zhang San collects and stores his personal face image on his own service terminal ST (such as video intercom, home assistant, mobile phone, etc.). The service terminal ST extracts the features and uploads them to the edge server ES and cloud server CS of community A. At the same time, the service terminal ST device is also registered with the edge server ES and cloud server CS of community A.

[0073] 2) When Zhang San goes to building B to work and scans his face, the features of his face are extracted through the edge server ES in domain B and uploaded to the edge server ES in domain B for matching; if no match is found, it is further matched on the cloud server CS; the edge server ES in domain A has uploaded Zhang San’s service terminal ST device and its facial features to the cloud server CS, so it can be verified.

[0074] Cross-domain identification mainly relies on the cloud server CS, which is an upgraded version of the edge server ES, with a larger-scale feature library retrieval and matching. Under this mechanism, Zhang San only needs to collect and store facial photos on the service terminal ST at home, and he can also pass through when he works in building B by scanning his face; there is no need to collect and store the face again in building B. Of course, for cross-domain, the real-time performance is more concerned, so the retrieval capability of the cloud server CS is required to be able to cope with large-scale. Another more important issue is the point-to-point communication between the cross-domain client terminal CT and the service terminal ST. According to the design of this proposal, feature matching is mainly performed on the feature library of the cloud server CS, and face images are compared point-to-point in real time, mainly to further compare with several highly similar faces when the similarity threshold is not reached to improve the accuracy.

[0075] The decentralized face privacy protection method of the present invention adopts a face recognition platform that collaborates with the end, cloud and edge. The constructed face recognition platform supports one-time collection and sharing by multiple parties, and the face image is only stored on the user side. The face recognition platform of the end-edge system effectively solves the privacy problem of face images in the community or building. The main application scenario is cross-domain, such as multiple communities, multiple office buildings, etc. Face images are collected multiple times and stored multiple times on different service provider platforms. There is a risk of privacy leakage for multiple collections and multi-party storage of face images. This proposal further proposes a cross-edge cloud-level face recognition platform, thereby avoiding the risk of privacy leakage when faces are collected multiple times and stored by multiple parties during pass authentication.

[0076] According to another aspect of the present invention, there is provided a device for face privacy protection, comprising: a memory, a processor, and a face privacy protection program stored in the memory and executable on the processor, wherein the face privacy protection program implements the steps of the above-mentioned face privacy protection method when executed by the processor.

[0077] According to the present invention, a computer storage medium is also provided.

[0078] A face privacy protection program is stored on a computer storage medium, and when the face privacy protection program is executed by a processor, the steps of the above-mentioned face privacy protection method are implemented.

[0079] Among them, the method implemented when the face privacy protection program running on the processor is executed can refer to the various embodiments of the face privacy protection method of the present invention, and will not be repeated here.

[0080] The present invention also provides a computer program product.

[0081] The computer program product of the present invention includes a face privacy protection program, which, when executed by a processor, implements the steps of the face privacy protection method described above.

[0082] Among them, the method implemented when the face privacy protection program running on the processor is executed can refer to the various embodiments of the face privacy protection method of the present invention, and will not be repeated here.

[0083] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0084] The above description is merely an exemplary embodiment of the present invention and is not intended to limit the protection scope of the present invention. The protection scope of the present invention is determined by the appended claims.

Claims

1. A method for protecting face privacy, which is used for face recognition access in communities or office buildings. The method for protecting face privacy is implemented based on an edge face recognition platform formed by a service terminal ST, a client terminal CT and an edge server ES. The method comprises the following steps: S1, device registration and feature database building. The service terminal ST and the client terminal CT are connected to the edge server as devices, and the devices are registered and a database is established on the edge server ES. The service terminal ST collects and stores faces. The service terminal ST extracts face features and uploads the extracted face feature vectors to the edge server ES to establish an edge-level face feature database. S2. Face recognition and comparison. When the client terminal CT needs to compare face information, the client terminal CT first collects the face information to be compared and extracts features; uploads the extracted face feature vector to be compared to the edge server ES, and the edge server ES measures the face feature similarity and then feeds back to the client terminal CT.

2. The method for protecting face privacy as claimed in claim 1, in, The S1 step includes the following steps: S11, device authentication, both the service terminal ST and the customer terminal CT need to be connected and registered on the edge server ES to prove the legitimacy of the device; the device authentication database on the edge server ES records information including device type, device number, and family room number for each device including the service terminal ST or the customer terminal CT, which is used to associate with other property management systems; S12, model distribution, the edge server ES receives the face feature extraction and recognition model sent by the cloud server CS, and then updates the model on the service terminal ST and the customer terminal CT by the edge server ES to ensure that the model version is consistent across the entire cloud domain; S13, feature database construction. The service terminal ST collects faces and extracts facial features, and uploads them to the edge server ES for storage for subsequent face legal authentication. Among them, the edge-level facial feature database maintains a face database of a community or an office building.

3. The method for protecting face privacy as claimed in claim 1, in, The S2 step includes the following steps: S21, the client terminal CT collects the face and extracts the facial features, uploads the facial feature vector to the edge server ES, and initiates an authentication request; S22, the edge server ES receives the feature vector requested for authentication, measures it one by one with the features in the edge-level face feature library, and calculates the similarity; if the similarity threshold reaches the expected value, it returns the result of successful recognition; if it does not reach the expected value, it returns the 10 corresponding device numbers with the highest feature similarity; S23. If the result returned by the edge server ES is the top 10 device numbers, the client terminal CT initiates point-to-point face authentication requests to these 10 devices respectively; in the request, the client terminal CT sends a single face image point-to-point to the service terminal; This request process does not go through the edge server ES, avoiding the risk of facial image leakage during communication transmission and edge service; S24. The service terminal ST receives the facial image from the client terminal CT, compares it with the facial image stored locally, and returns the result. This response process also does not go through the edge server ES.

4. The method for protecting face privacy as claimed in claim 1, in, The face privacy protection method is based on the end-edge face recognition platform and also includes the end-edge cloud face recognition platform of the cloud server CS. Multi-edge cross-domain face image recognition and comparison are realized based on the end-edge platform. The method builds a face recognition platform on the cloud to support single-point collection and storage of face images on a service terminal ST including a home one. First, a device and feature library are established on the cloud server CS, including the following steps: Device information aggregation: aggregate edge-level device information on each domain into a cloud-level database, and globally register and access devices including service terminals ST and customer terminals CT; Facial features are aggregated to establish an edge-level global facial feature database. The database is relatively large. The cloud server CS aggregates global information and is responsible for global feature matching and unified model distribution. It has the ability to quickly retrieve large-scale vectors and databases.

5. The method for protecting face privacy as claimed in claim 4, in, Based on cloud-level devices and feature libraries, as well as the A-side face recognition platform and the B-side face recognition platform, the process steps of cross-domain face recognition request and response are as follows: The client terminal CT in domain B extracts facial image features and initiates a verification request to the edge server ES in domain B. After feature comparison and matching with the client CT in domain B fails, it further initiates a verification request to the cloud server CS. After receiving the request from the edge server ES in domain B, the cloud server CS matches it in the global edge-level face feature library. If the features match, it returns a success result to the edge server ES in domain B and the client terminal CT in domain B. If not, it returns the 10 service terminals ST associated with the most similar features, which are distributed in different domains. The service terminal ST in domain A receives the face image comparison request, performs the comparison and returns the comparison result. Among them, the request received by the service terminal ST in domain A and the response of the service terminal ST in domain A to the client terminal CT in domain B are point-to-point and do not pass through the edge servers ES in domain A and B and the cloud server CS.

6. The method for protecting face privacy as claimed in claim 4, in, The edge-cloud face recognition platform includes a multi-edge cross-domain access cloud server CS, which is used for device registration and face feature information aggregation. It does not store face images, which are still stored on the service terminals ST in each domain, and can solve the multi-point collection and multi-point storage problems. Cross-domain face recognition is to go to the cloud server CS for further feature comparison when there is no match within the domain; If the feature comparison fails, point-to-point communication between service terminals and client terminals in different domains will be further initiated.

7. A face privacy protection device, comprising an end-to-end face recognition platform having a service terminal ST, a client terminal CT and an edge server ES, in, The service terminal ST is used for face image verification response, local face feature extraction, and local face image storage; the client terminal CT is used for face feature and image verification requests, local face feature extraction, and no face image storage; the edge server ES is used for face feature verification response, device registration access, model update and distribution, and edge-level face feature library maintenance. Among them, the service terminal ST and the client terminal CT are connected to the edge server as devices, and the devices are registered on the edge server ES and a database is established; the service terminal ST collects and stores faces; the service terminal ST extracts face features and uploads the extracted face feature vectors to the edge server ES, establishes an edge-level face feature library, and performs device registration and feature library construction; when the client terminal CT needs to compare face information, the client terminal CT first collects the face information to be compared and extracts features; the extracted face feature vectors to be compared are uploaded to the edge server ES, and the edge server ES performs face feature similarity measurement, face recognition and comparison, and then feeds back to the client terminal CT.

8. The face privacy protection device as claimed in claim 7, further comprising: include: An edge-cloud face recognition platform with multiple edge-end face recognition platforms and a cloud server CS, where: The service terminal ST is a terminal including a video intercom or a home assistant, with computing capabilities and support for Wifi and 5G network access. It is deployed at home to collect and store family face data. Face images are not uploaded but saved locally. It can deploy lightweight models to extract face features and compare face recognition. The client terminal CT is a terminal including a gate or access control, supporting Wifi and 5G network access; it is deployed at the entrance of the community or the door of the house, used to collect face pictures and initiate face recognition comparison requests, and does not store face images; it can deploy lightweight models to extract face features; The edge server ES is a small edge server deployed in a residential computer room. It supports high-bandwidth access to the public network. It stores information about services and client terminals, supports terminal access and registration, and stores facial feature data uploaded by service terminals, but does not store facial images. The cloud server CS is a large cloud server deployed on the cloud platform and on the core network. It stores information about the edge server ES, the service terminal ST, and the client terminal CT, and supports access and registration of the three. It stores facial feature data uploaded by the edge service ES, and supports rapid retrieval of large-scale vector data. Among them, the cloud server CS aggregates the edge-level device information on each domain into the cloud-level database, globally registers and accesses devices including the service terminal ST and the customer terminal CT, and aggregates the device information; the cloud server CS establishes an edge-level global face feature library, aggregates face features, and is responsible for global feature matching and unified model distribution.

9. An electronic device, include: A memory, a processor, and a face privacy protection program stored in the memory and executable on the processor, wherein the face privacy protection program, when executed by the processor, implements the steps of the face privacy protection method as described in any one of claims 1 to 6.

10. A computer storage medium, in, The computer storage medium stores a face privacy protection program, which, when executed by the processor, implements the steps of the face privacy protection method according to any one of claims 1 to 6.