WO2021047664A1 - Biometric feature recognition method and related device - Google Patents

Biometric feature recognition method and related device Download PDF

Info

Publication number
WO2021047664A1
WO2021047664A1 PCT/CN2020/114975 CN2020114975W WO2021047664A1 WO 2021047664 A1 WO2021047664 A1 WO 2021047664A1 CN 2020114975 W CN2020114975 W CN 2020114975W WO 2021047664 A1 WO2021047664 A1 WO 2021047664A1
Authority
WO
WIPO (PCT)
Prior art keywords
edge node
information
edge
biometric
feature
Prior art date
Application number
PCT/CN2020/114975
Other languages
French (fr)
Chinese (zh)
Inventor
曹俊
刘芬
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021047664A1 publication Critical patent/WO2021047664A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • 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/161Detection; Localisation; Normalisation

Definitions

  • This application relates to the field of biometric identification technology, and in particular to a method and related equipment for biometric identification.
  • Biometric recognition such as face recognition, iris recognition, gait recognition, etc.
  • face recognition is an important biometric recognition technology, which is a general term for technologies that automatically determine the similarity of two face images through a computer.
  • face recognition is widely used in various industries and scenarios such as security, retail, finance, and office.
  • To realize face recognition it is first necessary to build a face database, which is completed through the steps of camera shooting, capturing face images, face comparison, and identity recognition. It has high requirements for real-time and stability, and usually requires less than 1 second for response time.
  • the scale of the biometric database (such as the face database) is generally large and requires large storage resources.
  • the amount of calculation for biometric comparison requires large computing resources.
  • the biometric database is generally established in a cloud environment, and biometric identification is also performed in the cloud environment.
  • the cloud environment is far away from terminal devices (such as cameras, sensors, etc.), the time delay for transmitting biometric information to the cloud environment is relatively large, and it is easily affected by factors such as network fluctuations, and cannot meet the requirements of real-time and stability.
  • This application provides a biometric identification method and related equipment, which can ensure the real-time and stability requirements of biometric identification, and improve the response speed of biometric identification.
  • a method for biometric identification including: a first edge node receives broadcast information sent by a second edge node, the broadcast information includes the first biometric feature, and the first edge node stores the first edge biometric A feature library, the first edge biometric feature library includes at least one biometric feature; the first edge node determines that the probability value of the first biometric feature appearing in the management range of the first edge node is greater than or equal to a preset threshold, the The first edge node stores the first biometric feature in the first edge biometric database; the first edge node uses the first edge biometric database to analyze the biometric features collected within the management range of the first edge node Identify it.
  • the first edge node judges the received first biological feature broadcast by the second edge node, and the probability value of the first biological feature appearing in the management range of the first edge node is greater than or If it is equal to the preset threshold, store it in the first biometric database, and use the first biometric database to perform biometric identification, which can improve the response speed of biometric identification and ensure the real-time and stability of biometric identification.
  • the first edge node queries a cloud manager for social relationship information corresponding to the first biometric feature, and the cloud manager includes a social relationship database, so
  • the social relationship database includes social relationship information corresponding to biological characteristics;
  • the first edge node calculates the degree of association between the first biological characteristics and the first edge node according to the social relationship information corresponding to the first biological characteristics,
  • the degree of association is used to indicate the probability that the first biological feature appears within the management range of the first edge node; the first edge node determines that the value of the degree of association is greater than or equal to the preset threshold.
  • the first edge node uses the social relationship information corresponding to the first biometric feature to calculate the degree of association between the first edge node and the first biometric feature, and determines whether to store the relationship based on the relationship between the degree of association and a preset threshold.
  • the first biological feature can ensure that the stored first biological feature has a high degree of association with the first edge node, that is, the first biological feature has a greater probability of appearing in the management range of the first edge node, which can improve the first biological feature.
  • the recognition speed of features ensures the real-time and stability of recognition.
  • the first edge node reads the biological characteristics in the first edge biometric database, and queries the cloud manager for the first The social relationship intimacy between the biological feature and the biological feature in the first edge biological feature database; the first edge node queries the cloud manager for personal tag information and activity track information corresponding to the first biological feature.
  • the first edge node queries the social relationship intimacy between the first biometric feature and the biometric feature in the first edge biometric database, and the personal tag information and activity track information corresponding to the first biometric feature.
  • Obtaining the social relationship information corresponding to the first biometric feature ensures the comprehensiveness of the obtained social relationship information, and ensures the reliability of the calculated association degree.
  • the broadcast information further includes geographic location information of the second edge node and label information of the second edge node; the first edge node According to the label information of the first edge node and the label information of the second edge node, the first label similarity is calculated, and the label information of the first edge node is used to indicate the type of the first edge node, so The label information of the second edge node is used to indicate the type of the second edge node; the first edge node calculates the The distance between the first edge node and the second edge node is calculated based on the distance and the activity track information; the first edge node is based on the label information of the first edge node and the first edge node.
  • the personal tag information corresponding to a biological feature is calculated, and the second tag similarity is calculated; the first edge node is based on the social relationship intimacy, the first tag similarity, the second tag similarity, and the geographic location Any one or more of the similarities is calculated, and the degree of association between the first biological feature and the first edge node is calculated.
  • the first edge node calculates the first edge similarity, the second tag similarity, the geographic location similarity, and the social relationship intimacy first, and then further calculates the first edge based on one or more of them.
  • the degree of association between the node and the first biological feature can ensure that the value of the degree of association can be calculated freely and flexibly, thereby improving the real-time and stability of biometric identification.
  • the first edge node when the storage resource of the first edge node is less than a preset storage threshold, deletes the biometric feature according to a preset rule;
  • the preset rules include: deleting the biometrics whose appearance times are less than the first threshold; or, deleting the biometrics whose similarity with the label information of the first edge node is less than the second threshold; or, if the biometrics appearing last The biological features whose time distance exceeds the third threshold from the current time are deleted.
  • the first edge node when the storage resources are insufficient, deletes some biometrics according to preset rules, which can ensure that the first edge node can reserve enough storage resources to store the biometrics broadcast by other edge nodes.
  • the real-time and stability of biometrics are insufficient.
  • the first edge node queries the cloud manager for address information of a third edge node whose distance from the first edge node is less than a preset distance
  • the cloud manager includes an edge node information database, and the edge node information database includes geographic location information and address information of the edge node; the first edge node sends the information to the first edge node according to the address information of the third edge node.
  • the three-edge node sends second broadcast information, where the second broadcast information includes the second biometric feature.
  • the first edge node not only receives the biological characteristics broadcast by other neighboring edge nodes, but the first edge node can also obtain the address information of other neighboring edge nodes through query, and then broadcast the collected data to other edge nodes.
  • the second biometric feature ensures that other edge nodes can judge and store the second biometric feature, thereby improving the real-time and stability of biometric identification.
  • the present application provides an edge node, including: an edge biometrics database for storing at least one biometric; a biometric extraction unit for receiving broadcast information from a second edge node and extracting the broadcast information including A first biological feature; a biological feature management unit for determining that the probability value of the first biological feature appearing in the range managed by the edge node is greater than or equal to a preset threshold, and storing the first biological feature in the Edge biometric database; a biometric identification unit for identifying biometrics collected within the management range of the edge node by using the edge biometric database.
  • the biometrics management unit is further configured to query the cloud manager for social relationship information corresponding to the first biometric, and the cloud management
  • the device includes a social relationship database, which includes social relationship information corresponding to biological characteristics; according to the social relationship information corresponding to the first biological characteristics, the degree of association between the first biological characteristics and the edge node is calculated, so The degree of association is used to indicate the probability that the first biological feature appears within the management range of the edge node; it is determined that the value of the degree of association is greater than or equal to the preset threshold.
  • the biometrics management unit is further configured to: read the biometrics in the edge biometric database, and query the cloud manager for all the biometrics.
  • the broadcast information further includes geographic location information of the second edge node and label information of the second edge node;
  • the biometric management unit Is also used to: calculate a first label similarity according to the label information of the edge node and the label information of the second edge node, the label information of the edge node is used to indicate the type of the edge node, the The label information of the second edge node is used to indicate the type of the second edge node;
  • the edge node and the second edge are calculated according to the geographic location information of the edge node and the geographic location information of the second edge node
  • the distance of the node is calculated based on the distance and the activity trajectory information;
  • the second tag similarity is calculated based on the tag information of the edge node and the personal tag information corresponding to the first biological feature; Any one or more of the social relationship intimacy, the first tag similarity, the second tag similarity, and the geographic location similarity, and the association between the first biological feature and the edge node is calculated degree.
  • the biometrics management unit is further configured to: when the storage resource of the edge node is less than a preset storage threshold, delete the biometrics according to a preset rule
  • the preset rule includes: deleting the biometrics whose appearance times are less than the first threshold; or, deleting the biometrics whose similarity with the label information of the edge node is less than the second threshold; or, The biological features whose last appearance time exceeds the third threshold from the current time are deleted.
  • the biometric management unit is further configured to query the cloud manager for the address of a third edge node whose distance from the edge node is less than a preset distance Information, the cloud manager includes an edge node information database, the edge node information database includes geographic location information and address information of the edge node; the biometric management unit is further configured to Information, sending second broadcast information to the third edge node, where the second broadcast information includes a second biological feature.
  • the present application provides a computing device cluster.
  • the computing device cluster includes at least one computing device, each computing device includes a processor and a memory, and the processor of the at least one computing device is used to call the at least one computing device.
  • the program code in the memory of the computing device executes the above-mentioned first aspect and the method in combination with any one of the above-mentioned first aspect.
  • the present application provides a computer storage medium, the computer storage medium stores a computer program, and when the computer program is executed by a processor, the above first aspect is implemented and any one of the above first aspect is implemented.
  • the flow of the method provided by the method is not limited to a processor.
  • the present application provides a computer program, the computer program includes instructions, when the computer program is executed by a computer, the computer can execute the above-mentioned first aspect and any one of the above-mentioned implementation methods of the first aspect.
  • the flow of the provided method is a computer program, the computer program includes instructions, when the computer program is executed by a computer, the computer can execute the above-mentioned first aspect and any one of the above-mentioned implementation methods of the first aspect.
  • FIG. 1 is a schematic diagram of a flow of biometric identification according to an embodiment of this application.
  • FIG. 2 is a schematic structural diagram of a face recognition system provided by an embodiment of the application.
  • FIG. 3 is a schematic structural diagram of a biometric identification system provided by an embodiment of this application.
  • FIG. 4 is a schematic diagram of a system architecture provided by an embodiment of the application.
  • FIG. 5 is a schematic structural diagram of another biometric identification system provided by an embodiment of this application.
  • FIG. 6 is a schematic flowchart of a method for biometric identification according to an embodiment of this application.
  • FIG. 7 is a schematic structural diagram of a computing device provided by an embodiment of this application.
  • FIG. 8 is a schematic structural diagram of a computing device cluster provided by an embodiment of this application.
  • Biometric identification technology refers to the close combination of computers and high-tech means such as optics, acoustics, biosensors, and biostatistics principles, and the use of inherent physiological and behavioral characteristics of the human body to identify personal identity. It has been used in biometrics. Biological characteristics include hand shape, fingerprint, face shape, iris, retina, pulse, auricle, etc.
  • the information collection module 110 first needs to perform information collection, for example, using a camera or infrared camera to collect a face image, and then the preprocessing module 120 performs preprocessing.
  • the data containing biometric information is processed to determine the area where the biometrics are located.
  • the feature processing module 130 performs feature processing, and further processes the pre-processed information, that is, converts the biometric information into a string of "digital codes" that characterize its characteristics, and stores the finally obtained biometrics in the biometric database 140, In order to facilitate subsequent comparison and identification.
  • the biometric database 140 can be used to identify the biometric to be recognized.
  • the information collection module 110 collects data including biometric information to be identified, the preprocessing module 120 preprocesses the data, and then the feature processing module 130 performs feature processing to obtain the biometric features to be identified, and then the feature comparison module 150 will The obtained biological characteristic is compared with the biological characteristic stored in the biological characteristic database 140 to identify the identity of the biological characteristic.
  • biometric identification it is necessary to construct a biometric database and conduct biometric comparison in advance.
  • the scale of the biometric database is relatively large, ranging from one million to one hundred million, which requires a large storage space for storage; in addition, because the biometric database is large, the amount of calculation is also large when comparing biometrics. That is, the required computing resources are relatively large.
  • Cloud environment refers to the central computing equipment cluster owned by cloud service providers to provide computing, storage, and communication resources. It has large storage resources and computing resources to meet the requirements of biometric identification. Therefore, the establishment of biometric databases and The comparison of biological characteristics is carried out in the cloud environment.
  • the cloud environment can meet the storage and calculation requirements of biometrics, the cloud environment is far away from terminal devices (such as cameras, sensors, etc.).
  • the biometrics need to be uploaded to the cloud environment.
  • the cloud environment will return the recognition result.
  • the camera 210 collects a face image and sends it to the edge node 220.
  • the face feature extraction module 221 in the edge node 220 processes the received face image to extract the face.
  • Then upload the facial features to the central computing device 230 in the cloud environment.
  • the central computing device 230 compares the received facial features with the facial features in the face database 231 one by one.
  • the identity information corresponding to the facial feature is returned to the edge node 220; if there is no facial feature matching the received facial feature in the face database 231 If the matching facial feature is matched, then a message that the facial feature does not exist is returned to the edge node 220.
  • face recognition can be completed by the above method, it takes a long time to transmit facial features to the cloud environment and return the recognition result from the cloud environment, and the time delay is large, and it is easily affected by factors such as network fluctuations during the transmission process.
  • the edge nodes in the edge environment ie, the edge computing device cluster that is close to the terminal device in the geographical position and used to provide computing, storage, and communication resources
  • the task and function of the central computing device in the central computing device is to build an edge biometric database in the edge node.
  • the edge biometric database contains some of the biometric data in the central biometric database (the biometric database stored in the cloud environment) , And use the edge biometric database to complete biometric identification. As shown in FIG.
  • the edge node 320 receives the biometric data collected by the biometric data collection device 310, the biometric extraction module 321 in the edge node 320 processes the data, extracts the biometrics, and then compares the biometrics with the biometrics.
  • the biological characteristics in the edge biological characteristic database 322 are compared one by one to obtain the result of the biological characteristic recognition.
  • biometric identification methods can enable the biometric identification process to be completed locally, but due to the limited storage and computing resources of edge nodes, it can only support small-scale edge biometric databases, which cannot meet large-scale biometric identification scenarios. Demand. In addition, if no matching biometric is found in the edge database, it still needs to be uploaded to the cloud environment, and the cloud environment completes the biometric identification process.
  • the present application provides a method and related equipment for biometric identification, which can improve the real-time performance and stability of biometric identification, and improve the response speed of biometric identification.
  • the biometric identification system can be deployed in a cloud environment and an edge environment, specifically one or more computing devices (such as a central server) in the cloud environment and one of the edge environments. Or on multiple computing devices (edge computing devices), the edge computing device may be a server.
  • the original data collection equipment collects biometric data required for biometric identification, including but not limited to cameras, infrared cameras, etc.
  • the biometric identification system includes multiple parts (for example, multiple subsystems, each of which includes multiple units), and each part can be deployed in different environments in a distributed manner. For example, a part of the biometric recognition system can be separately deployed in three of the cloud environment, the edge environment, the original data collection device, or any two of them.
  • the biometric identification system is used to perform biometric identification based on the biometric data collected by the original data collection device.
  • the internal units of the biometric identification system can be divided into multiple ways, which is not limited in this application.
  • FIG. 5 is an exemplary division method. As shown in FIG. 5, the biometric identification system 500 includes a plurality of edge nodes 510 and a central node 520. The functions of each device and its functional units are briefly described below.
  • the edge node 510 shown is used to receive biometric data collected by at least one original data collection device.
  • the edge node 510 includes multiple functional units. Among them, the edge biometric database 511 is used to store the biometrics cached by the edge node; the biometric extraction unit 512 is used to extract biometrics in the biometric data; the biometric identification unit 513 , Used to compare the biological characteristics obtained by the biological characteristic extraction unit 512 with the biological characteristics stored in the edge biological characteristic database 511 to complete the biological characteristic identification; the biological characteristic management unit 514 is used to compare the edge biological characteristic database 511 Manage the stored biological characteristics, such as broadcasting biological characteristics to neighboring edge nodes, broadcasting the node information of the edge node (such as geographic location information, label information, etc.), and whether to broadcast to other neighboring edge nodes received Biometrics are stored.
  • the edge biometric database 511 is used to store the biometrics cached by the edge node
  • the biometric extraction unit 512 is used to extract biometrics in the biometric data
  • the edge node 510 further includes a service processing unit 515, configured to perform corresponding service processing (for example, a stranger alarm is recognized, etc.) after the biometric recognition unit 513 completes biometric recognition.
  • a service processing unit 515 configured to perform corresponding service processing (for example, a stranger alarm is recognized, etc.) after the biometric recognition unit 513 completes biometric recognition.
  • the central node 520 shown is used to communicate with the edge node 510 and assist the edge node 510 to complete biometric identification.
  • the central node 520 includes multiple functional units.
  • the central biometric database 521 is used to store all facial features in an area, that is, the central biometric database 521 stores all the biometrics stored in the edge biometric database 511;
  • the relationship database 522 is used to store the social relationship information corresponding to each biological feature, such as other biological characteristics, personal tags, activity trajectories, etc.
  • the edge node location information management unit 523 is used to store and manage all edges The geographic location information (such as latitude and longitude, etc.) and address information (such as IP address, etc.) corresponding to the edge node label of the node.
  • the biometric identification system 500 may be a software system.
  • the various parts and functional units included in it are deployed on hardware devices in a flexible manner. As shown in FIG. 4, the entire system can be deployed in two or three distributed ways. One or more computing devices in one environment.
  • FIG. 6 is a schematic flowchart of a method for biometric identification according to an embodiment of this application. As shown in Figure 6, the method includes but is not limited to the following steps:
  • the first edge node receives broadcast information sent by the second edge node.
  • the first edge node and the second edge node may be computing devices in an edge environment, and the broadcast information sent by the first edge node includes a first biometric feature.
  • the biometric feature may be a face feature, a fingerprint feature, or an iris feature. Wait.
  • first edge node and the second edge node are each bound with one or more cameras, and the biometric data (for example, a face image) can be collected by using the cameras.
  • they each include an edge biometric database, which may be the edge biometric database 511 shown in FIG. 5, the edge biometric database stores a plurality of biometrics, and after the biometric data is collected,
  • the biological feature extraction unit 512 can be used to perform feature extraction on the biological feature data to obtain the corresponding biological features, and then the biological feature recognition unit 513 compares it with the biological features in the edge biological feature database 511 to complete the extraction. Recognition of biological characteristics, and corresponding processing according to the recognition results.
  • edge biometric database can be used to complete the identification of the biometrics to be identified, it is not necessary to send the biometrics to be identified to the central node 520 in the cloud environment, which reduces the time delay of the biometric identification process and improves the biometric identification. speed.
  • the second edge node uses the second edge biometric database to perform biometric identification after collecting the biometric data through the bound camera. If there is a biometric matching the biometric feature to be identified in the second edge biometric database, the identification is indicated If successful, the second edge node needs to broadcast the biometric feature to the adjacent first edge node, so that the first edge node can receive the biometric feature and decide whether to store it; if it does not exist in the second edge biometric database
  • the biological characteristics that match the biological characteristics to be recognized indicate that the recognition has failed.
  • the second edge node needs to send the biological characteristics to the central node 520 in the cloud environment and request access to the central biological characteristic database 521 deployed in the cloud environment.
  • the feature database 521 stores all the facial features in the edge biometric database 511 in an area.
  • each edge biometric database is equivalent to a subset of the central biometric database. If the central biometric database 521 is If there is a biological feature that matches the biological feature to be recognized collected by the second edge node, then the matched biological feature is returned to the second edge node, and the second edge node stores it in the second edge biological feature database and then forwards adjacent ones.
  • the first edge node broadcasts the biological characteristic; if there is no biological characteristic matching the biological characteristic to be recognized collected by the second edge node in the central biological characteristic database 521, it means that the biological characteristic appears for the first time and needs to be supplemented To the central biometric database 521.
  • the edge node location information management unit 523 in the central node 520 stores the geographic location information and address information of all edge nodes, the second edge node sends a request message to the central node 520, and the central node 520 receives the request After the message, the edge node whose geographic location distance from the second edge node is less than the preset distance is queried, and the corresponding address information is returned to the second edge node.
  • the second edge node After receiving the address information returned by the central computing device, the second edge node sends broadcast information to the adjacent edge node (for example, the first edge node) corresponding to the address information, where the geographic location information may be the latitude and longitude of each edge node
  • the geographic location information may be the latitude and longitude of each edge node
  • the preset distance can be set as required, and this application is not limited to this, and the address information can include an IP address or other information required for sending broadcast information to edge nodes.
  • each edge node stores the geographic location information and corresponding address information of all other edge nodes in the area to which it belongs, and the second edge node directly queries and determines the edge node whose distance is less than the preset distance and sends broadcast information to it.
  • the first edge node judges whether the first edge biometrics database includes the biometrics in the broadcast information, if it does, execute step S606; if it does not include it, execute step S603.
  • the first edge node After receiving the biological characteristics broadcast by the second edge node, the first edge node queries the first edge biological characteristic database. If the biological characteristic is already stored in the first edge biological characteristic database, it means that when the biological characteristic appears When within the management range of the first edge node, the first edge node can recognize the biometrics locally, and determine the identity corresponding to the biometrics. There is no need to send the biometrics to the cloud environment for identification, which can improve The response speed of biometric identification reduces the time delay of biometric identification; if the biometric feature is not stored in the first edge biometric database, the first edge node needs further processing to determine whether it is necessary to store the biometric feature in the first edge biometric Feature database.
  • the first edge node judges whether the probability value of the biometric feature in the broadcast information appearing in the management range of the first edge node is greater than or equal to a preset threshold, if yes, execute step S604; otherwise, execute step S606.
  • the first edge node needs to further determine whether the probability value of the biological feature appearing within the management range of the first edge node is greater than or equal to the preset threshold after receiving the biological feature broadcast by the second edge node, and the probability value If it is greater than or equal to the preset threshold, the biometric feature is stored in the first marginal biometric feature database.
  • the preset threshold can be set according to actual needs, for example, it can be set to 0.5, which is not limited in this application.
  • the first edge node queries the cloud manager for the social relationship information corresponding to the first biometric feature (that is, the biometric feature broadcast by the second edge node); the first edge node corresponds to the first biometric feature Calculate the degree of association between the first biometric feature and the first edge node; the first edge node determines whether the value of the degree of association is greater than or equal to a preset threshold.
  • the cloud manager deployed in the cloud environment includes a social relationship library
  • the social relationship library may be the social relationship library storage unit 522 shown in FIG. 5.
  • the social relationship database 522 stores the social relationship information corresponding to all the biological characteristics, and the first edge node can calculate the correlation degree indicating the probability that the first biological characteristic appears within the management range of the first edge node according to the social relationship information. , And finally make judgments and follow-up processing based on the calculation results.
  • the first edge node reads the biometric features in the first edge face database, and the first edge node can read all or part of the biometric features stored in the first edge biometric database, and Query the cloud manager for the social relationship intimacy between the first biological feature and the biological feature in the first edge biological feature database; the first edge node queries the cloud manager for personal tag information and activity track information corresponding to the first biological feature.
  • the interaction between it and other biological features, friendships, etc. can be represented by the intimacy of social relations, and the value of intimacy can be a value between 0-1 .
  • the value of intimacy is closer to 1, it means that the interaction between the two biological features is more frequent, and the more likely to be friends; when the value of intimacy is closer to 0, it means that there is almost no interaction between the two biological features. The more likely it is a stranger.
  • there is a corresponding personal tag for each biological feature which is used to indicate the hobby corresponding to the biological feature. For example, when the personal tag corresponding to a certain biological feature is coffee, it means that the biological feature prefers to drink.
  • each biological feature has an activity trajectory, that is, the geographic range of the biological feature's activity (appearance).
  • the general activity trajectory means that the biological feature moves within a range with a certain geographic location as the center and a fixed radius.
  • the broadcast information sent by the second edge node also includes geographic location information of the second edge node and label information of the second edge node.
  • the geographic location information of the second edge node may be the latitude and longitude of the geographic location where the second edge node is located; the label information of the second edge node is used to indicate the type of the second edge node, for example, it may be western restaurant, steak, coffee, etc.
  • the first edge node calculates the first label similarity according to the label information of the first edge node and the label information of the second edge node.
  • the first edge node calculates the distance between the two edge nodes according to the geographic location information of the first edge node and the geographic location information of the second edge node, and then the activity radius corresponding to the first biological feature obtained by the query according to the distance, Calculate geographic similarity.
  • the first edge node calculates the second label similarity according to the label information of the first edge node and the personal label information corresponding to the first biological feature obtained by the query.
  • the first edge node calculates the first biological feature and the first edge according to any one or more of the social relationship intimacy corresponding to the first biological feature, the first tag similarity, the second tag similarity, and the geographic location similarity. The degree of relevance of the node.
  • the first edge node when the first edge node’s The label is a western restaurant, and the label of the second edge node is steak, then the first biological feature that appears in the management range of the second edge node is very likely to appear in the management range of the first edge node; when the label of the first edge node The higher the similarity between the information and the personal tag information corresponding to the first biometric feature, the greater the probability that the first biometric feature appears within the management range of the first edge node; when the first edge node and the second edge node are between The higher the similarity between the distance of and the radius of activity corresponding to the first biological feature, the greater the probability that the first biological feature appears within the management range of the first edge node.
  • the first edge node uses a weighted average algorithm to weight the calculated social relationship intimacy, first label similarity, second label similarity, and geographic location similarity corresponding to the first biological feature. The sum is obtained to obtain the degree of association between the first biological feature and the first edge node.
  • the weight of each dimension can be set according to actual needs, and the sum of all weight factors is 1.
  • the correlation between the first biological feature and the first edge node can be calculated by the following formula 1:
  • I represents the degree of association between the first biological feature and the first edge node
  • D represents the similarity of geographic location
  • S represents the degree of intimacy of social relationships
  • P represents the similarity of the second label
  • L represents the similarity of the first label.
  • the value of D can be calculated using the following formula 2:
  • A represents the distance between the first edge node and the second edge node
  • R represents the radius of activity corresponding to the first biological feature. It should be understood that the value of D can also be calculated in other ways, which is not limited in this application.
  • the value of S can be calculated in the following way: sort the intimacy between the biometric feature in the first edge biometric database and the first biometric feature according to the value; according to the intimacy value, from high to low Select a fixed number of intimacy values; average the selected fixed number of intimacy values, and finally get S.
  • the fixed number can be set according to needs. If the number of face features in the first edge biometric database is less than the fixed number to be selected, it will be less than part of the intimacy with the first biometric.
  • the value of is recorded as 0. For example, there are 5 biological characteristics in the first edge biological characteristic database, and the fixed number of intimacy values that need to be selected is 6, then when calculating S, the 5 biological characteristics need to be intimacy with the first biological characteristic. Add the values of degrees, and then divide by 6 to get S. It should be understood that the value of S can also be calculated in other ways, which is not limited in this application.
  • L and P can be cosine similarity, that is, the label information of the first edge node is calculated by converting the label information of the first edge node and the second edge node and the personal label information corresponding to the first biometric into a vector The cosine value of the angle between the corresponding vector and the vector corresponding to the label information of the second edge node to obtain L; calculate the angle between the vector corresponding to the label information of the first edge node and the vector corresponding to the personal label The cosine value, so as to get P.
  • the value range of cosine similarity is ⁇ -1,1 ⁇ .
  • the above embodiment comprehensively considers multiple factors, thereby calculating the intimacy between the first biological feature and the first edge node, that is, multi-dimensional calculation of intimacy, of course, it is also possible to consider only one or part of the dimensions ( That is, a combination of several dimensions), for example, only one of geographic location similarity, first tag similarity, second tag similarity, and social relationship intimacy is considered, or any combination of them.
  • the specific implementation process and logic are the same as the above Consistent, for the sake of brevity, I will not repeat them here.
  • the first edge node stores the biological feature in the first edge biological feature database.
  • the first edge node calculates the degree of association between the first biological feature and the first edge node, it determines the relationship between the value of the degree of association and the preset threshold. If the value of the degree of association is greater than or equal to the preset threshold, then It shows that the probability that the first biological feature appears in the management range of the first edge node is relatively large, and the first edge node needs to store it in the first edge biological feature database.
  • the preset threshold can be set as required, for example, it can be set to 0.5. When I is greater than or equal to 0.5, the first edge node needs to store the first biological feature.
  • the first edge node when the storage resource of the first edge node is less than a preset storage threshold, the first edge node deletes part of the biological characteristics according to a preset rule.
  • the storage resources of the first edge node are limited and cannot store too many biometrics.
  • the storage resources are less than the preset storage threshold, some biometrics need to be deleted to ensure that sufficient storage resources are reserved for storing new biometrics. (For example, the first biological feature broadcast by the second edge node).
  • the first edge node can also consider the above multiple factors at the same time to decide which biometrics to delete, for example, consider the number of appearances and the last time of each biometric at the same time; consider the number of appearances of each biometric and the first The similarity of the label information of the edge node; also consider the number of appearances of each biological feature, the last appearance time and the similarity with the label information of the first edge node.
  • the preset rules can be set as required, and this application does not limit which rules are specifically selected by the first edge node.
  • the first threshold, the second threshold, and the third threshold are also set as needed.
  • the first edge node deletes part of the biometrics according to a preset rule, ensuring that the first biometrics broadcast by the second edge node can be stored, and improving the recognition speed of the first biometrics.
  • the first edge node uses the first edge biological feature database to identify the biological features collected within the management range of the first edge node.
  • the first edge node can use the first edge biometric database to manage the first edge node Recognize the biometrics collected within the range.
  • the first edge node can complete the first biological feature locally.
  • a biometric identification does not need to upload the first biometric to the cloud environment again. The identification is completed by the central node in the cloud environment, which greatly improves the response speed of biometric identification and shortens the time delay of biometric identification. Ensure the real-time and stability of biometric identification.
  • the first edge node queries the cloud manager for address information of a third edge node whose distance from the first edge node is less than a preset distance.
  • the first edge node sends a request message to the edge node location information management unit 523 to request the address information of the third edge node, and the first edge node sends to the third edge node according to the address information of the third edge node.
  • the second broadcast information, the second broadcast information includes a second biological feature.
  • the first edge node not only needs to receive the biometrics broadcast by neighboring edge nodes and determine whether it needs to be stored in the first edge biometric database, at the same time, the first edge node also needs to broadcast the collected biometrics to other neighboring edge nodes.
  • the second biometric feature so that other adjacent edge nodes can receive the second biometric feature broadcast by the first edge node, and determine whether it needs to be stored in the edge biometric database.
  • the first edge node may obtain the address information of the third edge node from the edge node location information management unit 523, or the first edge node itself may store the geographic location information and address information of the third edge node, and directly query to obtain the third edge node. Address information of the edge node.
  • Other adjacent edge nodes are similar to the first edge node, and the processing flow after receiving the second biological feature is the same as that of the first edge node. For the sake of brevity, it will not be repeated here.
  • the embodiment of the present application also provides an edge node, such as the edge node 510 in FIG. 5, which is used to perform the aforementioned biometric identification method.
  • This application does not limit the division of the functional units of the edge node, and each unit in the edge node can be added, reduced, or merged as required.
  • Figure 5 exemplarily provides a division of functional units:
  • the edge node 510 includes an edge biometric database 511, a biometric extraction unit 512, a biometric recognition unit 513, and a biometric management unit 514.
  • the biological feature extraction unit 512 is configured to perform the foregoing step S601, and optionally perform optional methods in the foregoing steps, to obtain the first biological feature.
  • the biometrics management unit 514 is used to perform the foregoing steps S602-S604 and step S606, and optionally perform optional methods in the foregoing steps, to calculate the degree of association between the first biometrics and the edge node, and to determine whether to store it In the marginal biometric database 511.
  • the biometric identification unit 513 is configured to perform the foregoing step S605, and optionally perform optional methods in the foregoing steps, using the edge biometric database 511 to recognize the biometrics collected within the management range of the edge node.
  • each unit included in the edge node 510 can be a software unit, a hardware unit, or a part of a software unit and a part of a hardware unit.
  • FIG. 7 is a schematic structural diagram of a computing device provided by an embodiment of the present application.
  • the computing device 700 includes a processor 710, a communication interface 720, and a memory 730.
  • the processor 710, the communication interface 720, and the memory 730 are connected to each other through an internal bus 740.
  • the computing device may be a general-purpose server.
  • the processor 710 may be composed of one or more general-purpose processors, such as a central processing unit (CPU), or a combination of a CPU and a hardware chip.
  • the aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof.
  • ASIC application-specific integrated circuit
  • PLD programmable logic device
  • the above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a general array logic (generic array logic, GAL), or any combination thereof.
  • the bus 740 may be a peripheral component interconnect standard (PCI) bus or an extended industry standard architecture (EISA) bus, etc.
  • PCI peripheral component interconnect standard
  • EISA extended industry standard architecture
  • the bus 740 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is used in FIG. 7, but it does not mean that there is only one bus or one type of bus.
  • the memory 730 may include a volatile memory (volatile memory), such as a random access memory (random access memory, RAM); the memory 730 may also include a non-volatile memory (non-volatile memory), such as a read-only memory (read-only memory). Only memory, ROM, flash memory, hard disk drive (HDD), or solid-state drive (SSD); the memory 730 may also include a combination of the above types.
  • the program code may be used to implement the functional modules shown in the edge node 510, or to implement the method steps in the method embodiment shown in FIG. 6 with the first edge node as the execution subject.
  • the embodiments of the present application also provide a computer-readable storage medium on which a computer program is stored.
  • the program When the program is executed by a processor, it can implement part or all of the steps of any one of the above method embodiments, and realize the above The function of any one of the functional modules described in Figure 5.
  • the present application also provides a computing device cluster, and the computing device cluster includes a plurality of computing devices 800.
  • the organizational structure of each computing device 800 is the same as that of the computing device 700, and includes a processor 810, a communication interface 820, and a memory 830.
  • the processor 810, the communication interface 820, and the memory 830 are connected to each other through an internal bus 840.
  • Each computing device 800 establishes a communication path through a communication network.
  • Each computing device 800 runs any one or more of the edge biometric database 511, the biometric extraction unit 512, the biometric identification unit 513, and the biometric management unit 514.
  • Any computing device 800 may be a computing device in an edge computing device system, or a terminal computing device.
  • the embodiments of the present application also provide a computer program product, which when it runs on a computer or a processor, enables the computer or the processor to execute one or more steps in any of the foregoing methods. If each component module of the aforementioned equipment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in the computer readable storage medium.
  • the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not be implemented in this application.
  • the implementation process of the example constitutes any limitation.
  • the disclosed system, device, and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .
  • the modules in the devices in the embodiments of the present application may be combined, divided, and deleted according to actual needs.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Computing Systems (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Collating Specific Patterns (AREA)

Abstract

A biometric feature recognition method and a related device. The method comprises: a first edge node receiving broadcast information that is sent by a second edge node and includes a first biometric feature; the first edge node determining that the probability value of the first biometric feature appearing in a management range of the first edge node is greater than or equal to a preset threshold value, and the first edge node storing the first biometric feature in a first edge biometric feature database; and the first edge node recognizing, by using the first edge biometric feature database, biometric features collected from within the management range of the first edge node. By means of the method, the response speed of biometric feature recognition can be improved, thereby ensuring the real-time performance and the stability of biometric feature recognition.

Description

一种生物特征识别的方法及相关设备Method and related equipment for biometric identification 技术领域Technical field
本申请涉及生物特征识别技术领域,尤其涉及一种生物特征识别的方法及相关设备。This application relates to the field of biometric identification technology, and in particular to a method and related equipment for biometric identification.
背景技术Background technique
生物特征识别,例如人脸识别、虹膜识别、步态识别等,是利用人的生理特征或行为特征来进行个人身份的鉴定。其中,人脸识别是一种重要的生物特征识别技术,是通过计算机自动判断两幅人脸图像相似度的技术统称。目前人脸识别广泛应用于安防、零售、金融、办公等各个行业和场景。要实现人脸识别首先需要构建人脸库,通过摄像头拍摄、抓取人脸图像、人脸对比、身份识别等步骤完成,对实时性和稳定性要求较高,通常响应时间要求小于1秒。Biometric recognition, such as face recognition, iris recognition, gait recognition, etc., is the use of human physiological or behavioral characteristics to identify personal identity. Among them, face recognition is an important biometric recognition technology, which is a general term for technologies that automatically determine the similarity of two face images through a computer. At present, face recognition is widely used in various industries and scenarios such as security, retail, finance, and office. To realize face recognition, it is first necessary to build a face database, which is completed through the steps of camera shooting, capturing face images, face comparison, and identity recognition. It has high requirements for real-time and stability, and usually requires less than 1 second for response time.
而生物特征库(例如人脸库)的规模一般较大,需要较大的存储资源,此外,生物特征对比的计算量较大,需要较大的计算资源。为了满足生物特征识别所需要的存储资源和计算资源,一般将生物特征库建立在云环境中,生物特征识别也在云环境中进行。但是云环境离终端设备(例如摄像头、传感器等)较远,传输生物特征信息到云环境中的时延较大,且容易受到网络波动等因素的影响,不能满足实时性和稳定性的要求。However, the scale of the biometric database (such as the face database) is generally large and requires large storage resources. In addition, the amount of calculation for biometric comparison requires large computing resources. In order to meet the storage resources and computing resources required for biometric identification, the biometric database is generally established in a cloud environment, and biometric identification is also performed in the cloud environment. However, the cloud environment is far away from terminal devices (such as cameras, sensors, etc.), the time delay for transmitting biometric information to the cloud environment is relatively large, and it is easily affected by factors such as network fluctuations, and cannot meet the requirements of real-time and stability.
因此,如何减小生物特征识别的时延,保证生物特征识别的实时性和稳定性的要求是目前亟待解决的技术问题。Therefore, how to reduce the time delay of biometric identification and ensure the requirements of real-time and stability of biometric identification are technical problems to be solved urgently.
发明内容Summary of the invention
本申请提供了一种生物特征识别的方法及相关设备,可以保证生物特征识别的实时性和稳定性要求,提高生物特征识别的响应速度。This application provides a biometric identification method and related equipment, which can ensure the real-time and stability requirements of biometric identification, and improve the response speed of biometric identification.
第一方面,提供了一种生物特征识别的方法,包括:第一边缘节点接收第二边缘节点发送的广播信息,所述广播信息包括第一生物特征,该第一边缘节点存储第一边缘生物特征库,所述第一边缘生物特征库包括至少一个生物特征;第一边缘节点确定所述第一生物特征出现在所述第一边缘节点管理范围的概率值大于或等于预设阈值,所述第一边缘节点将所述第一生物特征存储于所述第一边缘生物特征库;第一边缘节点利用所述第一边缘生物特征库对在所述第一边缘节点管理范围内采集的生物特征进行识别。In a first aspect, a method for biometric identification is provided, including: a first edge node receives broadcast information sent by a second edge node, the broadcast information includes the first biometric feature, and the first edge node stores the first edge biometric A feature library, the first edge biometric feature library includes at least one biometric feature; the first edge node determines that the probability value of the first biometric feature appearing in the management range of the first edge node is greater than or equal to a preset threshold, the The first edge node stores the first biometric feature in the first edge biometric database; the first edge node uses the first edge biometric database to analyze the biometric features collected within the management range of the first edge node Identify it.
在本申请实施例中,第一边缘节点通过对接收到的由第二边缘节点广播的第一生物特征进行判断,在该第一生物特征出现在第一边缘节点管理范围内的概率值大于或等于预设阈值的情况下将其存储于第一生物特征库,并利用该第一生物特征库进行生物特征识别,可以提高生物特征识别的响应速度,保证生物特征识别的实时性和稳定性。In the embodiment of the present application, the first edge node judges the received first biological feature broadcast by the second edge node, and the probability value of the first biological feature appearing in the management range of the first edge node is greater than or If it is equal to the preset threshold, store it in the first biometric database, and use the first biometric database to perform biometric identification, which can improve the response speed of biometric identification and ensure the real-time and stability of biometric identification.
结合第一方面,在第一方面一种可能的实现方式中,第一边缘节点向云端管理器 查询与所述第一生物特征对应的社交关系信息,所述云端管理器包括社交关系库,所述社交关系库包括生物特征对应的社交关系信息;所述第一边缘节点根据所述第一生物特征对应的社交关系信息,计算所述第一生物特征与所述第一边缘节点的关联度,所述关联度用于指示所述第一生物特征出现在所述第一边缘节点所管理范围内的概率;所述第一边缘节点确定所述关联度的值大于或等于所述预设阈值。With reference to the first aspect, in a possible implementation of the first aspect, the first edge node queries a cloud manager for social relationship information corresponding to the first biometric feature, and the cloud manager includes a social relationship database, so The social relationship database includes social relationship information corresponding to biological characteristics; the first edge node calculates the degree of association between the first biological characteristics and the first edge node according to the social relationship information corresponding to the first biological characteristics, The degree of association is used to indicate the probability that the first biological feature appears within the management range of the first edge node; the first edge node determines that the value of the degree of association is greater than or equal to the preset threshold.
在本申请实施例中,第一边缘节点利用第一生物特征对应的社交关系信息计算第一边缘节点和第一生物特征的关联度,通过该关联度与预设阈值的大小关系确定是否存储该第一生物特征,可以保证所存储的第一生物特征与第一边缘节点的关联度较高,即该第一生物特征出现在第一边缘节点管理范围内的概率较大,可以提高第一生物特征的识别速度,保证识别的实时性和稳定性。In the embodiment of the present application, the first edge node uses the social relationship information corresponding to the first biometric feature to calculate the degree of association between the first edge node and the first biometric feature, and determines whether to store the relationship based on the relationship between the degree of association and a preset threshold. The first biological feature can ensure that the stored first biological feature has a high degree of association with the first edge node, that is, the first biological feature has a greater probability of appearing in the management range of the first edge node, which can improve the first biological feature. The recognition speed of features ensures the real-time and stability of recognition.
结合第一方面,在第一方面一种可能的实现方式中,所述第一边缘节点读取所述第一边缘生物特征库中的生物特征,并向所述云端管理器查询所述第一生物特征与所述第一边缘生物特征库中的生物特征的社交关系亲密度;所述第一边缘节点向所述云端管理器查询所述第一生物特征对应的个人标签信息和活动轨迹信息。With reference to the first aspect, in a possible implementation of the first aspect, the first edge node reads the biological characteristics in the first edge biometric database, and queries the cloud manager for the first The social relationship intimacy between the biological feature and the biological feature in the first edge biological feature database; the first edge node queries the cloud manager for personal tag information and activity track information corresponding to the first biological feature.
在本申请实施例中,第一边缘节点通过查询第一生物特征与第一边缘生物特征库中的生物特征的社交关系亲密度,以及该第一生物特征对应的个人标签信息和活动轨迹信息从而得到第一生物特征对应的社交关系信息,保证所获取的社交关系信息的全面性,保证计算得到的关联度的可靠性。In the embodiment of the present application, the first edge node queries the social relationship intimacy between the first biometric feature and the biometric feature in the first edge biometric database, and the personal tag information and activity track information corresponding to the first biometric feature. Obtaining the social relationship information corresponding to the first biometric feature ensures the comprehensiveness of the obtained social relationship information, and ensures the reliability of the calculated association degree.
结合第一方面,在第一方面一种可能的实现方式中,所述广播信息还包括所述第二边缘节点的地理位置信息和所述第二边缘节点的标签信息;所述第一边缘节点根据所述第一边缘节点的标签信息和所述第二边缘节点的标签信息,计算第一标签相似度,所述第一边缘节点的标签信息用于指示所述第一边缘节点的类型,所述第二边缘节点的标签信息用于指示所述第二边缘节点的类型;所述第一边缘节点根据第一边缘节点的地理位置信息和所述第二边缘节点的地理位置信息,计算所述第一边缘节点与所述第二边缘节点的距离,根据所述距离和所述活动轨迹信息计算地理位置相似度;所述第一边缘节点根据所述第一边缘节点的标签信息和所述第一生物特征对应的个人标签信息,计算第二标签相似度;所述第一边缘节点根据所述社交关系亲密度、所述第一标签相似度、所述第二标签相似度和所述地理位置相似度中的任意一个或多个,计算所述第一生物特征与所述第一边缘节点的关联度。With reference to the first aspect, in a possible implementation of the first aspect, the broadcast information further includes geographic location information of the second edge node and label information of the second edge node; the first edge node According to the label information of the first edge node and the label information of the second edge node, the first label similarity is calculated, and the label information of the first edge node is used to indicate the type of the first edge node, so The label information of the second edge node is used to indicate the type of the second edge node; the first edge node calculates the The distance between the first edge node and the second edge node is calculated based on the distance and the activity track information; the first edge node is based on the label information of the first edge node and the first edge node. The personal tag information corresponding to a biological feature is calculated, and the second tag similarity is calculated; the first edge node is based on the social relationship intimacy, the first tag similarity, the second tag similarity, and the geographic location Any one or more of the similarities is calculated, and the degree of association between the first biological feature and the first edge node is calculated.
在本申请实施例中,第一边缘节点通过先计算第一标签相似度、第二标签相似度、地理位置相似度以及社交关系亲密度,从而根据它们其中的一个或多个进一步计算第一边缘节点与第一生物特征的关联度,可以保证自由灵活的计算得到关联度的值,进而提高生物特征识别的实时性和稳定性。In the embodiment of this application, the first edge node calculates the first edge similarity, the second tag similarity, the geographic location similarity, and the social relationship intimacy first, and then further calculates the first edge based on one or more of them. The degree of association between the node and the first biological feature can ensure that the value of the degree of association can be calculated freely and flexibly, thereby improving the real-time and stability of biometric identification.
结合第一方面,在第一方面一种可能的实现方式中,当所述第一边缘节点的存储资源小于预设存储阈值时,所述第一边缘节点按照预设规则删除生物特征;所述预设规则包括:将出现次数小于第一阈值的生物特征进行删除;或者是,将与所述第一边缘节点标签信息的相似度小于第二阈值的生物特征进行删除;或者是,将最后出现时间距离当前时间超过第三阈值的生物特征进行删除。With reference to the first aspect, in a possible implementation of the first aspect, when the storage resource of the first edge node is less than a preset storage threshold, the first edge node deletes the biometric feature according to a preset rule; The preset rules include: deleting the biometrics whose appearance times are less than the first threshold; or, deleting the biometrics whose similarity with the label information of the first edge node is less than the second threshold; or, if the biometrics appearing last The biological features whose time distance exceeds the third threshold from the current time are deleted.
在本申请实施例中,第一边缘节点在存储资源不足时,按照预设规则删除部分生 物特征,可以保证第一边缘节点能够预留足够的存储资源来存储其它边缘节点广播的生物特征,保证生物识别的实时性和稳定性。In the embodiment of the present application, when the storage resources are insufficient, the first edge node deletes some biometrics according to preset rules, which can ensure that the first edge node can reserve enough storage resources to store the biometrics broadcast by other edge nodes. The real-time and stability of biometrics.
结合第一方面,在第一方面一种可能的实现方式中,所述第一边缘节点向云端管理器查询与所述第一边缘节点的距离小于预设距离的第三边缘节点的地址信息,所述云端管理器包括边缘节点信息库,所述边缘节点信息库中包括边缘节点的地理位置信息和地址信息;所述第一边缘节点根据所述第三边缘节点的地址信息,向所述第三边缘节点发送第二广播信息,所述第二广播信息包括第二生物特征。With reference to the first aspect, in a possible implementation of the first aspect, the first edge node queries the cloud manager for address information of a third edge node whose distance from the first edge node is less than a preset distance, The cloud manager includes an edge node information database, and the edge node information database includes geographic location information and address information of the edge node; the first edge node sends the information to the first edge node according to the address information of the third edge node. The three-edge node sends second broadcast information, where the second broadcast information includes the second biometric feature.
在本申请实施例中,第一边缘节点不仅接收其它相邻边缘节点广播的生物特征,第一边缘节点还可以通过查询得到其它相邻边缘节点的地址信息,从而向其它边缘节点广播采集得到的第二生物特征,保证其它边缘节点可以对第二生物特征进行判断并存储,从而提高生物特征识别的实时性和稳定性。In the embodiment of this application, the first edge node not only receives the biological characteristics broadcast by other neighboring edge nodes, but the first edge node can also obtain the address information of other neighboring edge nodes through query, and then broadcast the collected data to other edge nodes. The second biometric feature ensures that other edge nodes can judge and store the second biometric feature, thereby improving the real-time and stability of biometric identification.
第二方面,本申请提供了一种边缘节点,包括:边缘生物特征数据库,用于存储至少一个生物特征;生物特征提取单元,用于接收第二边缘节点广播信息并提取所述广播信息中包括第一生物特征;生物特征管理单元,用于确定所述第一生物特征出现在所述边缘节点所管理范围的概率值大于或等于预设阈值,并将所述第一生物特征存储于所述边缘生物特征数据库;生物特征识别单元,用于利用所述边缘生物特征数据库对在所述边缘节点管理范围内采集的生物特征进行识别。In a second aspect, the present application provides an edge node, including: an edge biometrics database for storing at least one biometric; a biometric extraction unit for receiving broadcast information from a second edge node and extracting the broadcast information including A first biological feature; a biological feature management unit for determining that the probability value of the first biological feature appearing in the range managed by the edge node is greater than or equal to a preset threshold, and storing the first biological feature in the Edge biometric database; a biometric identification unit for identifying biometrics collected within the management range of the edge node by using the edge biometric database.
结合第二方面,在第二方面一种可能的实现方式中,所述生物特征管理单元,还用于:向云端管理器查询与所述第一生物特征对应的社交关系信息,所述云端管理器包括社交关系库,所述社交关系库包括生物特征对应的社交关系信息;根据所述第一生物特征对应的社交关系信息,计算所述第一生物特征与所述边缘节点的关联度,所述关联度用于指示所述第一生物特征出现在所述边缘节点所管理范围内的概率;确定所述关联度的值大于或等于所述预设阈值。With reference to the second aspect, in a possible implementation of the second aspect, the biometrics management unit is further configured to query the cloud manager for social relationship information corresponding to the first biometric, and the cloud management The device includes a social relationship database, which includes social relationship information corresponding to biological characteristics; according to the social relationship information corresponding to the first biological characteristics, the degree of association between the first biological characteristics and the edge node is calculated, so The degree of association is used to indicate the probability that the first biological feature appears within the management range of the edge node; it is determined that the value of the degree of association is greater than or equal to the preset threshold.
结合第二方面,在第二方面一种可能的实现方式中,所述生物特征管理单元,还用于:读取所述边缘生物特征库中的生物特征,并向所述云端管理器查询所述第一生物特征与所述边缘生物特征库中的生物特征的社交关系亲密度;向所述云端管理器查询所述第一生物特征对应的个人标签信息和活动轨迹信息。With reference to the second aspect, in a possible implementation of the second aspect, the biometrics management unit is further configured to: read the biometrics in the edge biometric database, and query the cloud manager for all the biometrics. The social relationship intimacy between the first biological feature and the biological feature in the edge biological feature database; and query the cloud manager for personal tag information and activity track information corresponding to the first biological feature.
结合第二方面,在第二方面一种可能的实现方式中,所述广播信息还包括所述第二边缘节点的地理位置信息和所述第二边缘节点的标签信息;所述生物特征管理单元,还用于:根据所述边缘节点的标签信息和所述第二边缘节点的标签信息,计算第一标签相似度,所述边缘节点的标签信息用于指示所述边缘节点的类型,所述第二边缘节点的标签信息用于指示所述第二边缘节点的类型;根据所述边缘节点的地理位置信息和所述第二边缘节点的地理位置信息计算所述边缘节点与所述第二边缘节点的距离,根据所述距离和所述活动轨迹信息计算地理位置相似度;根据所述边缘节点的标签信息和所述第一生物特征对应的个人标签信息,计算第二标签相似度;根据所述社交关系亲密度、所述第一标签相似度、所述第二标签相似度和所述地理位置相似度中的任意一个或多个,计算所述第一生物特征与所述边缘节点的关联度。With reference to the second aspect, in a possible implementation of the second aspect, the broadcast information further includes geographic location information of the second edge node and label information of the second edge node; the biometric management unit , Is also used to: calculate a first label similarity according to the label information of the edge node and the label information of the second edge node, the label information of the edge node is used to indicate the type of the edge node, the The label information of the second edge node is used to indicate the type of the second edge node; the edge node and the second edge are calculated according to the geographic location information of the edge node and the geographic location information of the second edge node The distance of the node is calculated based on the distance and the activity trajectory information; the second tag similarity is calculated based on the tag information of the edge node and the personal tag information corresponding to the first biological feature; Any one or more of the social relationship intimacy, the first tag similarity, the second tag similarity, and the geographic location similarity, and the association between the first biological feature and the edge node is calculated degree.
结合第二方面,在第二方面一种可能的实现方式中,所述生物特征管理单元,还用于:当所述边缘节点的存储资源小于预设存储阈值时,按照预设规则删除生物特征; 所述预设规则包括:将出现次数小于第一阈值的生物特征进行删除;或者是,将与所述边缘节点的标签信息的相似度小于第二阈值的生物特征进行删除;或者是,将最后出现时间距离当前时间超过第三阈值的生物特征进行删除。With reference to the second aspect, in a possible implementation of the second aspect, the biometrics management unit is further configured to: when the storage resource of the edge node is less than a preset storage threshold, delete the biometrics according to a preset rule The preset rule includes: deleting the biometrics whose appearance times are less than the first threshold; or, deleting the biometrics whose similarity with the label information of the edge node is less than the second threshold; or, The biological features whose last appearance time exceeds the third threshold from the current time are deleted.
结合第二方面,在第二方面一种可能的实现方式中,所述生物特征管理单元,还用于向云端管理器查询与所述边缘节点的距离小于预设距离的第三边缘节点的地址信息,所述云端管理器包括边缘节点信息库,所述边缘节点信息库中包括边缘节点的地理位置信息和地址信息;所述生物特征管理单元,还用于根据所述第三边缘节点的地址信息,向所述第三边缘节点发送第二广播信息,所述第二广播信息包括第二生物特征。With reference to the second aspect, in a possible implementation of the second aspect, the biometric management unit is further configured to query the cloud manager for the address of a third edge node whose distance from the edge node is less than a preset distance Information, the cloud manager includes an edge node information database, the edge node information database includes geographic location information and address information of the edge node; the biometric management unit is further configured to Information, sending second broadcast information to the third edge node, where the second broadcast information includes a second biological feature.
第三方面,本申请提供了一种计算设备集群,所述计算设备集群包括至少一个计算设备,每个计算设备包括处理器和存储器,所述至少一个计算设备的处理器用于调用所述至少一个计算设备的存储器中的程序代码以执行上述第一方面以及结合上述第一方面中的任意一种实现方式的方法。In a third aspect, the present application provides a computing device cluster. The computing device cluster includes at least one computing device, each computing device includes a processor and a memory, and the processor of the at least one computing device is used to call the at least one computing device. The program code in the memory of the computing device executes the above-mentioned first aspect and the method in combination with any one of the above-mentioned first aspect.
第四方面,本申请提供了一种计算机存储介质,所述计算机存储介质存储有计算机程序,当该计算机程序被处理器执行时实现上述第一方面以及结合上述第一方面中的任意一种实现方式所提供的方法的流程。In a fourth aspect, the present application provides a computer storage medium, the computer storage medium stores a computer program, and when the computer program is executed by a processor, the above first aspect is implemented and any one of the above first aspect is implemented. The flow of the method provided by the method.
第五方面,本申请提供了一种计算机程序,该计算机程序包括指令,当该计算机程序被计算机执行时,使得计算机可以执行上述第一方面以及结合上述第一方面中的任意一种实现方式所提供的方法的流程。In a fifth aspect, the present application provides a computer program, the computer program includes instructions, when the computer program is executed by a computer, the computer can execute the above-mentioned first aspect and any one of the above-mentioned implementation methods of the first aspect. The flow of the provided method.
附图说明Description of the drawings
图1为本申请实施例提供的一种生物特征识别的流程示意图;FIG. 1 is a schematic diagram of a flow of biometric identification according to an embodiment of this application;
图2为本申请实施例提供的一种人脸识别系统的结构示意图;2 is a schematic structural diagram of a face recognition system provided by an embodiment of the application;
图3为本申请实施例提供的一种生物特征识别系统的结构示意图;FIG. 3 is a schematic structural diagram of a biometric identification system provided by an embodiment of this application;
图4为本申请实施例提供的一种系统架构示意图;FIG. 4 is a schematic diagram of a system architecture provided by an embodiment of the application;
图5为本申请实施例提供的又一种生物特征识别系统的结构示意图;FIG. 5 is a schematic structural diagram of another biometric identification system provided by an embodiment of this application;
图6为本申请实施例提供的一种生物特征识别的方法的流程示意图;FIG. 6 is a schematic flowchart of a method for biometric identification according to an embodiment of this application;
图7为本申请实施例提供的一种计算设备的结构示意图;FIG. 7 is a schematic structural diagram of a computing device provided by an embodiment of this application;
图8为本申请实施例提供的一种计算设备集群的结构示意图。FIG. 8 is a schematic structural diagram of a computing device cluster provided by an embodiment of this application.
具体实施方式detailed description
下面结合附图对本申请实施例中的技术方案进行清楚、完整的描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。The following describes the technical solutions in the embodiments of the present application clearly and completely with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments.
首先,结合附图对本申请中所涉及的部分用语和相关技术进行解释说明,以便于本领域技术人员理解。First of all, some terms and related technologies involved in this application will be explained in conjunction with the accompanying drawings, so as to facilitate the understanding of those skilled in the art.
生物特征识别技术是指通过计算机与光学、声学、生物传感器和生物统计学原理等高科技手段密切结合,利用人体固有的生理特征和行为特征来进行个人身份的鉴定,已被用于生物识别的生物特征有手形、指纹、脸形、虹膜、视网膜、脉搏、耳廓等。Biometric identification technology refers to the close combination of computers and high-tech means such as optics, acoustics, biosensors, and biostatistics principles, and the use of inherent physiological and behavioral characteristics of the human body to identify personal identity. It has been used in biometrics. Biological characteristics include hand shape, fingerprint, face shape, iris, retina, pulse, auricle, etc.
参见图1,图1是一种生物特征识别的流程示意图。如图1所示,信息采集模块 110首先需要进行信息采集,例如利用摄像头或红外相机等光学传感设备采集人脸图像,然后由预处理模块120进行预处理,预处理是指将采集得到的包含生物特征信息的数据进行处理,确定生物特征所在的区域。接着特征处理模块130进行特征处理,将预处理后的信息进行进一步处理,即将生物特征信息转换为表征其特性的一串“数字码”,将最终得到的生物特征存储在生物特征数据库140中,以便于后续进行比对和识别。在生物特征数据库140建立完成后,可以利用该生物特征数据库140对待识别的生物特征进行识别。具体的,信息采集模块110采集包括待识别生物特征信息的数据,预处理模块120对该数据进行预处理,然后特征处理模块130进行特征处理,得到待识别生物特征,之后特征比对模块150将得到的生物特征与生物特征数据库140中所存储的生物特征进行比对,识别出该生物特征的身份。Refer to Figure 1, which is a schematic diagram of a flow of biometric identification. As shown in Figure 1, the information collection module 110 first needs to perform information collection, for example, using a camera or infrared camera to collect a face image, and then the preprocessing module 120 performs preprocessing. The data containing biometric information is processed to determine the area where the biometrics are located. Then the feature processing module 130 performs feature processing, and further processes the pre-processed information, that is, converts the biometric information into a string of "digital codes" that characterize its characteristics, and stores the finally obtained biometrics in the biometric database 140, In order to facilitate subsequent comparison and identification. After the establishment of the biometric database 140 is completed, the biometric database 140 can be used to identify the biometric to be recognized. Specifically, the information collection module 110 collects data including biometric information to be identified, the preprocessing module 120 preprocesses the data, and then the feature processing module 130 performs feature processing to obtain the biometric features to be identified, and then the feature comparison module 150 will The obtained biological characteristic is compared with the biological characteristic stored in the biological characteristic database 140 to identify the identity of the biological characteristic.
需要说明的是,要完成生物特征识别,需要事先构建生物特征数据库以及进行生物特征比对。而生物特征数据库的规模比较大,从百万级到亿级,需要较大的存储空间进行存储;此外,由于生物特征数据库较大,因此在进行生物特征比对时,计算量也较大,即需要的计算资源较大。云环境是指云服务提供商拥有的,用于提供计算、存储、通信资源的中心计算设备集群,具备较大的存储资源和计算资源,满足生物特征识别的要求,因此生物特征数据库的建立以及生物特征的比对都是在云环境中进行的。It should be noted that to complete biometric identification, it is necessary to construct a biometric database and conduct biometric comparison in advance. The scale of the biometric database is relatively large, ranging from one million to one hundred million, which requires a large storage space for storage; in addition, because the biometric database is large, the amount of calculation is also large when comparing biometrics. That is, the required computing resources are relatively large. Cloud environment refers to the central computing equipment cluster owned by cloud service providers to provide computing, storage, and communication resources. It has large storage resources and computing resources to meet the requirements of biometric identification. Therefore, the establishment of biometric databases and The comparison of biological characteristics is carried out in the cloud environment.
应理解,云环境虽然可以满足生物特征识别的存储和计算要求,但是云环境离终端设备(例如摄像头、传感器等)较远,在进行生物特征识别时,需要先把生物特征上传到云环境中,待识别完成后,再由云环境返回识别结果。如图2所示,在人脸识别中,摄像头210采集到人脸图像之后发送给边缘节点220,边缘节点220中的人脸特征提取模块221对接收到的人脸图像进行处理,提取人脸特征,然后将该人脸特征上传至云环境中的中心计算设备230,中心计算设备230将接收到的人脸特征与人脸数据库231中人脸特征进行一一比对,若在人脸数据库231中存在与该接收到的人脸特征匹配的人脸特征,则将该人脸特征对应的身份信息返回给边缘节点220;若在人脸数据库231中不存在与该接收到的人脸特征匹配的人脸特征,则返回不存在该人脸特征的消息给边缘节点220。通过上述方式虽然可以完成人脸识别,但是传输人脸特征至云环境,以及从云环境返回识别结果耗时较长,时延较大,而且在传输过程中容易遭受网络波动等因素的影响。It should be understood that although the cloud environment can meet the storage and calculation requirements of biometrics, the cloud environment is far away from terminal devices (such as cameras, sensors, etc.). When performing biometrics, the biometrics need to be uploaded to the cloud environment. After the recognition is completed, the cloud environment will return the recognition result. As shown in FIG. 2, in face recognition, the camera 210 collects a face image and sends it to the edge node 220. The face feature extraction module 221 in the edge node 220 processes the received face image to extract the face. Then upload the facial features to the central computing device 230 in the cloud environment. The central computing device 230 compares the received facial features with the facial features in the face database 231 one by one. If there is a facial feature matching the received facial feature in 231, the identity information corresponding to the facial feature is returned to the edge node 220; if there is no facial feature matching the received facial feature in the face database 231 If the matching facial feature is matched, then a message that the facial feature does not exist is returned to the edge node 220. Although face recognition can be completed by the above method, it takes a long time to transmit facial features to the cloud environment and return the recognition result from the cloud environment, and the time delay is large, and it is easily affected by factors such as network fluctuations during the transmission process.
为了减小生物特征识别的时延,可以利用边缘环境(即在地理位置上距离终端设备较近的,用于提供计算、存储、通信资源的边缘计算设备集群)中的边缘节点分担一部分云环境中的中心计算设备的任务和功能,即在边缘节点中构建一个边缘生物特征数据库,该边缘生物特征数据库中包含部分中心生物特征数据库(云环境中所存储的生物特征数据库)中的生物特征数据,并利用该边缘生物特征数据库完成生物特征识别。如图3所示,边缘节点320接收生物特征数据采集设备310采集的包含生物特征的数据,边缘节点320中的生物特征提取模块321对该数据进行处理,提取生物特征,然后将该生物特征与边缘生物特征数据库322中的生物特征进行一一比对,得到生物特征识别的结果。In order to reduce the time delay of biometric identification, the edge nodes in the edge environment (ie, the edge computing device cluster that is close to the terminal device in the geographical position and used to provide computing, storage, and communication resources) can be used to share part of the cloud environment. The task and function of the central computing device in the central computing device is to build an edge biometric database in the edge node. The edge biometric database contains some of the biometric data in the central biometric database (the biometric database stored in the cloud environment) , And use the edge biometric database to complete biometric identification. As shown in FIG. 3, the edge node 320 receives the biometric data collected by the biometric data collection device 310, the biometric extraction module 321 in the edge node 320 processes the data, extracts the biometrics, and then compares the biometrics with the biometrics. The biological characteristics in the edge biological characteristic database 322 are compared one by one to obtain the result of the biological characteristic recognition.
上述生物特征识别方式可以使得生物特征识别过程在本地就可以完成,但是由于 边缘节点的存储资源和计算资源有限,因此只能支持较小规模的边缘生物特征数据库,不能满足大规模生物特征识别场景的需求。此外,若在边缘数据库中没有找到匹配的生物特征,还是需要上传至云环境,由云环境完成生物特征识别过程。The above-mentioned biometric identification methods can enable the biometric identification process to be completed locally, but due to the limited storage and computing resources of edge nodes, it can only support small-scale edge biometric databases, which cannot meet large-scale biometric identification scenarios. Demand. In addition, if no matching biometric is found in the edge database, it still needs to be uploaded to the cloud environment, and the cloud environment completes the biometric identification process.
综上所述,本申请提供了一种生物特征识别的方法及相关设备,可以提高生物特征识别的实时性和稳定性,提高生物特征识别的响应速度。In summary, the present application provides a method and related equipment for biometric identification, which can improve the real-time performance and stability of biometric identification, and improve the response speed of biometric identification.
本申请实施例的技术方案可以应用于各种生物特征识别的场景,包括但不限于人脸识别、指纹识别、虹膜识别等。The technical solutions of the embodiments of the present application can be applied to various biometric recognition scenarios, including but not limited to face recognition, fingerprint recognition, iris recognition, and the like.
在一个具体的实施例中,如图4所示,生物特征识别系统可以部署在云环境和边缘环境,具体为云环境上的一个或多个计算设备(例如中心服务器)和边缘环境中的一个或多个计算设备(边缘计算设备)上,边缘计算设备可以为服务器。原始数据采集设备采集生物特征识别所需要的生物特征数据,包括但不限于摄像头、红外相机等。此外,生物特征识别系统包括多个部分(例如包括多个子系统,每个子系统包括多个单元),各个部分可以分布式部署在不同的环境中。例如,可以在云环境、边缘环境、原始数据采集设备中的三个,或其中任意两个环境上分别部署生物特征识别系统的一部分。In a specific embodiment, as shown in FIG. 4, the biometric identification system can be deployed in a cloud environment and an edge environment, specifically one or more computing devices (such as a central server) in the cloud environment and one of the edge environments. Or on multiple computing devices (edge computing devices), the edge computing device may be a server. The original data collection equipment collects biometric data required for biometric identification, including but not limited to cameras, infrared cameras, etc. In addition, the biometric identification system includes multiple parts (for example, multiple subsystems, each of which includes multiple units), and each part can be deployed in different environments in a distributed manner. For example, a part of the biometric recognition system can be separately deployed in three of the cloud environment, the edge environment, the original data collection device, or any two of them.
生物特征识别系统用于根据原始数据采集设备采集到的生物特征数据进行生物特征识别,生物特征识别系统内部的单元可以有多种划分方式,本申请对此不作限制。图5为一种示例性的划分方式,如图5所示,生物特征识别系统500包括多个边缘节点510和中心节点520。下面分别简述每个设备及其包括的功能单元的功能。The biometric identification system is used to perform biometric identification based on the biometric data collected by the original data collection device. The internal units of the biometric identification system can be divided into multiple ways, which is not limited in this application. FIG. 5 is an exemplary division method. As shown in FIG. 5, the biometric identification system 500 includes a plurality of edge nodes 510 and a central node 520. The functions of each device and its functional units are briefly described below.
所示边缘节点510用于接收至少一个原始数据采集设备采集到的生物特征数据。边缘节点510中包括多个功能单元,其中,边缘生物特征数据库511,用于存储边缘节点缓存的生物特征;生物特征提取单元512,用于提取生物特征数据中的生物特征;生物特征识别单元513,用于将生物特征提取单元512得到的生物特征与边缘生物特征数据库511中所存储的生物特征进行一一比对,完成生物特征识别;生物特征管理单元514,用于对边缘生物特征数据库511所存储的生物特征进行管理,例如向相邻的边缘节点广播生物特征、广播本边缘节点的节点信息(例如地理位置信息、标签信息等),以及是否对接收到的其它相邻边缘节点广播的生物特征进行存储。The edge node 510 shown is used to receive biometric data collected by at least one original data collection device. The edge node 510 includes multiple functional units. Among them, the edge biometric database 511 is used to store the biometrics cached by the edge node; the biometric extraction unit 512 is used to extract biometrics in the biometric data; the biometric identification unit 513 , Used to compare the biological characteristics obtained by the biological characteristic extraction unit 512 with the biological characteristics stored in the edge biological characteristic database 511 to complete the biological characteristic identification; the biological characteristic management unit 514 is used to compare the edge biological characteristic database 511 Manage the stored biological characteristics, such as broadcasting biological characteristics to neighboring edge nodes, broadcasting the node information of the edge node (such as geographic location information, label information, etc.), and whether to broadcast to other neighboring edge nodes received Biometrics are stored.
可选的,边缘节点510还包括业务处理单元515,用于在生物特征识别单元513完成生物特征识别之后进行相应的业务处理(例如识别到陌生人告警等)。Optionally, the edge node 510 further includes a service processing unit 515, configured to perform corresponding service processing (for example, a stranger alarm is recognized, etc.) after the biometric recognition unit 513 completes biometric recognition.
所示中心节点520用于与边缘节点510进行通信,协助边缘节点510完成生物特征识别。中心节点520包括多个功能单元,其中,中心生物特征数据库521,用于存储一个区域内的所有人脸特征,即中心生物特征数据库521存储了所有边缘生物特征数据库511所存储的生物特征;社交关系库522,用于存储每一个生物特征对应的社交关系信息,例如每个生物特征关联的其它生物特征、个人标签、活动轨迹等;边缘节点位置信息管理单元523,用于存储和管理所有边缘节点的边缘节点标签所对应的地理位置信息(例如经纬度等)和地址信息(例如IP地址等)。The central node 520 shown is used to communicate with the edge node 510 and assist the edge node 510 to complete biometric identification. The central node 520 includes multiple functional units. Among them, the central biometric database 521 is used to store all facial features in an area, that is, the central biometric database 521 stores all the biometrics stored in the edge biometric database 511; The relationship database 522 is used to store the social relationship information corresponding to each biological feature, such as other biological characteristics, personal tags, activity trajectories, etc. associated with each biological feature; the edge node location information management unit 523 is used to store and manage all edges The geographic location information (such as latitude and longitude, etc.) and address information (such as IP address, etc.) corresponding to the edge node label of the node.
本申请中,生物特征识别系统500可以为软件系统,其内部包括的各部分以及功能单元部署在硬件设备上的形式比较灵活,如图4所示,整个系统可以分布式部署在 两个或三个环境中的一台或多台计算设备中。In this application, the biometric identification system 500 may be a software system. The various parts and functional units included in it are deployed on hardware devices in a flexible manner. As shown in FIG. 4, the entire system can be deployed in two or three distributed ways. One or more computing devices in one environment.
请参见图6,图6为本申请实施例提供的一种生物特征识别的方法的流程示意图。如图6所示,该方法包括但不限于以下步骤:Please refer to FIG. 6, which is a schematic flowchart of a method for biometric identification according to an embodiment of this application. As shown in Figure 6, the method includes but is not limited to the following steps:
S601:第一边缘节点接收第二边缘节点发送的广播信息。S601: The first edge node receives broadcast information sent by the second edge node.
具体地,第一边缘节点和第二边缘节点可以是边缘环境中的计算设备,第一边缘节点所发送的广播信息包括第一生物特征,该生物特征可以是人脸特征、指纹特征、虹膜特征等。Specifically, the first edge node and the second edge node may be computing devices in an edge environment, and the broadcast information sent by the first edge node includes a first biometric feature. The biometric feature may be a face feature, a fingerprint feature, or an iris feature. Wait.
进一步的,第一边缘节点和第二边缘节点各自绑定了一个或多个摄像头,利用该摄像头可以采集生物特征数据(例如人脸图像)。此外,它们各自包括一个边缘生物特征数据库,该边缘生物特征数据库可以是图5中所示的边缘生物特征数据库511,该边缘生物特征数据库存储了多个生物特征,在采集到生物特征数据之后,可以利用生物特征提取单元512对生物特征数据进行特征提取得到相应的生物特征,然后生物特征识别单元513将其与边缘生物特征数据库511中的生物特征进行一一比对,从而可以完成对提取得到的生物特征的识别,并根据识别结果进行相应的处理。Further, the first edge node and the second edge node are each bound with one or more cameras, and the biometric data (for example, a face image) can be collected by using the cameras. In addition, they each include an edge biometric database, which may be the edge biometric database 511 shown in FIG. 5, the edge biometric database stores a plurality of biometrics, and after the biometric data is collected, The biological feature extraction unit 512 can be used to perform feature extraction on the biological feature data to obtain the corresponding biological features, and then the biological feature recognition unit 513 compares it with the biological features in the edge biological feature database 511 to complete the extraction. Recognition of biological characteristics, and corresponding processing according to the recognition results.
可以理解,若利用边缘生物特征数据库能够完成对待识别生物特征的识别,可以不必将该待识别生物特征发送至云环境中的中心节点520,减小生物特征识别过程的时延,提高生物特征识别速度。It can be understood that if the edge biometric database can be used to complete the identification of the biometrics to be identified, it is not necessary to send the biometrics to be identified to the central node 520 in the cloud environment, which reduces the time delay of the biometric identification process and improves the biometric identification. speed.
第二边缘节点在通过绑定的摄像头采集到生物特征数据之后利用第二边缘生物特征数据库进行生物特征识别,若第二边缘生物特征数据库中存在与待识别生物特征匹配的生物特征,则说明识别成功,第二边缘节点需要向相邻的第一边缘节点广播该生物特征,以使得第一边缘节点可以接收到该生物特征并决定是否对其进行存储;若第二边缘生物特征数据库中不存在与待识别生物特征匹配的生物特征,则说明识别失败,第二边缘节点需要向云环境中的中心节点520发送该生物特征并请求访问部署于云环境中的中心生物特征数据库521,该中心生物特征数据库521中存储了一个区域内的所有边缘生物特征数据库511中的人脸特征,换句话说,每一个边缘生物特征数据库相当于中心生物特征数据库的一个子集,若中心生物特征数据库521中存在与第二边缘节点采集到的待识别生物特征匹配的生物特征,则向第二边缘节点返回该匹配的生物特征,第二边缘节点将其存储至第二边缘生物特征数据库后向相邻的第一边缘节点广播该生物特征;若中心生物特征数据库521中不存在与第二边缘节点采集到的待识别生物特征匹配的生物特征,则说明该生物特征是第一次出现,需要将其补充至中心生物特征数据库521。The second edge node uses the second edge biometric database to perform biometric identification after collecting the biometric data through the bound camera. If there is a biometric matching the biometric feature to be identified in the second edge biometric database, the identification is indicated If successful, the second edge node needs to broadcast the biometric feature to the adjacent first edge node, so that the first edge node can receive the biometric feature and decide whether to store it; if it does not exist in the second edge biometric database The biological characteristics that match the biological characteristics to be recognized indicate that the recognition has failed. The second edge node needs to send the biological characteristics to the central node 520 in the cloud environment and request access to the central biological characteristic database 521 deployed in the cloud environment. The feature database 521 stores all the facial features in the edge biometric database 511 in an area. In other words, each edge biometric database is equivalent to a subset of the central biometric database. If the central biometric database 521 is If there is a biological feature that matches the biological feature to be recognized collected by the second edge node, then the matched biological feature is returned to the second edge node, and the second edge node stores it in the second edge biological feature database and then forwards adjacent ones. The first edge node broadcasts the biological characteristic; if there is no biological characteristic matching the biological characteristic to be recognized collected by the second edge node in the central biological characteristic database 521, it means that the biological characteristic appears for the first time and needs to be supplemented To the central biometric database 521.
需要说明的是,中心生物特征数据库521的建立以及将新出现的生物特征补充至中心生物特征数据库521都可以通过人为的手动输入至云环境中的中心节点中。It should be noted that the establishment of the central biometric database 521 and the addition of newly emerging biometrics to the central biometric database 521 can be manually input into the central node in the cloud environment.
此外,第二边缘节点在向相邻的边缘节点发送广播信息之前,需要先获取与该第二边缘节点距离小于预设距离的边缘节点的地址信息。可选的,中心节点520中的边缘节点位置信息管理单元523中存储了所有边缘节点的地理位置信息和地址信息,第二边缘节点向中心节点520发送请求消息,中心节点520在接收到该请求消息之后查询与第二边缘节点的地理位置距离小于预设距离的边缘节点,并将其对应的地址信息 返回给第二边缘节点。第二边缘节点在接收到中心计算设备返回的地址信息之后,向该地址信息对应的相邻边缘节点(例如第一边缘节点)发送广播信息,其中,地理位置信息可以是每个边缘节点的经纬度,预设距离可以根据需要进行设置,本申请对此不作限定,地址信息可以包括IP地址或其他用于将广播信息发送至边缘节点所需的信息。或者是,每个边缘节点存储了自身所属区域的所有其它边缘节点的地理位置信息和对应的地址信息,第二边缘节点直接查询并确定距离小于预设距离的边缘节点并向其发送广播信息。In addition, before the second edge node sends broadcast information to an adjacent edge node, it needs to obtain address information of an edge node whose distance from the second edge node is less than a preset distance. Optionally, the edge node location information management unit 523 in the central node 520 stores the geographic location information and address information of all edge nodes, the second edge node sends a request message to the central node 520, and the central node 520 receives the request After the message, the edge node whose geographic location distance from the second edge node is less than the preset distance is queried, and the corresponding address information is returned to the second edge node. After receiving the address information returned by the central computing device, the second edge node sends broadcast information to the adjacent edge node (for example, the first edge node) corresponding to the address information, where the geographic location information may be the latitude and longitude of each edge node The preset distance can be set as required, and this application is not limited to this, and the address information can include an IP address or other information required for sending broadcast information to edge nodes. Alternatively, each edge node stores the geographic location information and corresponding address information of all other edge nodes in the area to which it belongs, and the second edge node directly queries and determines the edge node whose distance is less than the preset distance and sends broadcast information to it.
S602:第一边缘节点判断第一边缘生物特征数据库是否包括广播信息中的生物特征,若包括,执行步骤S606;若不包括,执行步骤S603。S602: The first edge node judges whether the first edge biometrics database includes the biometrics in the broadcast information, if it does, execute step S606; if it does not include it, execute step S603.
具体地,第一边缘节点在接收到第二边缘节点广播的生物特征之后,查询第一边缘生物特征数据库,若第一边缘生物特征数据库中已经存储了该生物特征,则说明当该生物特征出现在第一边缘节点所管理范围内时,第一边缘节点在本地即可以对该生物特征进行识别,确定该生物特征对应的身份,不需要再将该生物特征发送至云环境进行识别,可以提高生物特征识别响应速度,减小生物特征识别的时延;若第一边缘生物特征数据库未存储该生物特征,则第一边缘节点需要进一步处理,判断是否需要将该生物特征存储至第一边缘生物特征数据库。Specifically, after receiving the biological characteristics broadcast by the second edge node, the first edge node queries the first edge biological characteristic database. If the biological characteristic is already stored in the first edge biological characteristic database, it means that when the biological characteristic appears When within the management range of the first edge node, the first edge node can recognize the biometrics locally, and determine the identity corresponding to the biometrics. There is no need to send the biometrics to the cloud environment for identification, which can improve The response speed of biometric identification reduces the time delay of biometric identification; if the biometric feature is not stored in the first edge biometric database, the first edge node needs further processing to determine whether it is necessary to store the biometric feature in the first edge biometric Feature database.
S603:第一边缘节点判断广播信息中的生物特征出现在所述第一边缘节点所管理范围的概率值是否大于或等于预设阈值,若是,执行步骤S604;否则执行步骤S606。S603: The first edge node judges whether the probability value of the biometric feature in the broadcast information appearing in the management range of the first edge node is greater than or equal to a preset threshold, if yes, execute step S604; otherwise, execute step S606.
容易理解,每个地点出现的生物特征有很大一部分是固定的,若将这部分生物特征存储至边缘生物特征数据库,则可以在本地实现生物识别的过程,提高响应速度。因此,第一边缘节点需要在接收到第二边缘节点广播的生物特征之后,进一步判断该生物特征出现在第一边缘节点所管理范围内的概率值是否大于或等于预设阈值,并在概率值大于或等于预设阈值的情况下,将该生物特征存储至第一边缘生物特征数据库。其中,预设阈值可以根据实际需要进行设置,例如可以设置为0.5,本申请对此不作限定。It is easy to understand that a large part of the biometrics appearing in each location is fixed. If this part of the biometrics is stored in the edge biometric database, the process of biometric identification can be realized locally and the response speed can be improved. Therefore, the first edge node needs to further determine whether the probability value of the biological feature appearing within the management range of the first edge node is greater than or equal to the preset threshold after receiving the biological feature broadcast by the second edge node, and the probability value If it is greater than or equal to the preset threshold, the biometric feature is stored in the first marginal biometric feature database. The preset threshold can be set according to actual needs, for example, it can be set to 0.5, which is not limited in this application.
在一种可能的实现方式中,第一边缘节点向云端管理器查询与第一生物特征(即第二边缘节点广播的生物特征)对应的社交关系信息;第一边缘节点根据第一生物特征对应的社交关系信息,计算第一生物特征与第一边缘节点的关联度;第一边缘节点判断该关联度的值是否大于或等于预设阈值。In a possible implementation, the first edge node queries the cloud manager for the social relationship information corresponding to the first biometric feature (that is, the biometric feature broadcast by the second edge node); the first edge node corresponds to the first biometric feature Calculate the degree of association between the first biometric feature and the first edge node; the first edge node determines whether the value of the degree of association is greater than or equal to a preset threshold.
具体地,部署在云环境中的云端管理器包括社交关系库,该社交关系库可以是图5中所示的社交关系库存储单元522。该社交关系库522中存储了所有生物特征对应的社交关系信息,第一边缘节点根据该社交关系信息可以计算出用于指示第一生物特征出现在第一边缘节点管理范围内的概率的关联度,最终根据计算结果进行判断和后续处理。Specifically, the cloud manager deployed in the cloud environment includes a social relationship library, and the social relationship library may be the social relationship library storage unit 522 shown in FIG. 5. The social relationship database 522 stores the social relationship information corresponding to all the biological characteristics, and the first edge node can calculate the correlation degree indicating the probability that the first biological characteristic appears within the management range of the first edge node according to the social relationship information. , And finally make judgments and follow-up processing based on the calculation results.
在一具体的实施例中,第一边缘节点读取第一边缘人脸数据库中的生物特征,第一边缘节点可以读取第一边缘生物特征数据库所存储的所有生物特征或者部分生物特征,并向云端管理器查询第一生物特征与第一边缘生物特征数据库中的生物特征的社交关系亲密度;第一边缘节点向云端管理器查询该第一生物特征对应的个人标签信息和活动轨迹信息。In a specific embodiment, the first edge node reads the biometric features in the first edge face database, and the first edge node can read all or part of the biometric features stored in the first edge biometric database, and Query the cloud manager for the social relationship intimacy between the first biological feature and the biological feature in the first edge biological feature database; the first edge node queries the cloud manager for personal tag information and activity track information corresponding to the first biological feature.
需要说明的是,对于每一个生物特征来说,它与其它的生物特征之间的互动、好友关系等可以用社交关系亲密度进行表示,亲密度的值可以是0-1之间的一个值,当亲密度的值越接近于1,则说明两个生物特征之间互动越频繁、越可能是好友;当亲密度的值越接近于0,则说明两个生物特征之间几乎没有互动、越可能是陌生人。此外,每一个生物特征都存在一个对应的个人标签,该个人标签用于指示该生物特征对应的爱好,例如,当某个生物特征对应的个人标签是咖啡时,则说明该生物特征比较喜欢喝咖啡,可能会经常出入咖啡厅;当某个生物特征对应的个人标签是红酒时,则说明该生物特征比较喜欢喝红酒,可能会经常出入酒庄。另外,每个生物特征都存在一个活动轨迹,即该生物特征活动(出现)的地理范围,一般活动轨迹是指该生物特征在以某一个地理位置为中心,半径为固定值的范围内活动。It should be noted that, for each biological feature, the interaction between it and other biological features, friendships, etc. can be represented by the intimacy of social relations, and the value of intimacy can be a value between 0-1 , When the value of intimacy is closer to 1, it means that the interaction between the two biological features is more frequent, and the more likely to be friends; when the value of intimacy is closer to 0, it means that there is almost no interaction between the two biological features. The more likely it is a stranger. In addition, there is a corresponding personal tag for each biological feature, which is used to indicate the hobby corresponding to the biological feature. For example, when the personal tag corresponding to a certain biological feature is coffee, it means that the biological feature prefers to drink. Coffee may frequent the coffee shop; when the personal label corresponding to a certain biometric is red wine, it means that the biometric prefers to drink red wine and may frequent the winery. In addition, each biological feature has an activity trajectory, that is, the geographic range of the biological feature's activity (appearance). The general activity trajectory means that the biological feature moves within a range with a certain geographic location as the center and a fixed radius.
应理解,每个生物特征与其它生物特征的社交关系亲密度、个人标签以及活动轨迹等在构建中心生物特征数据库时也一并缓存至云环境中,可以是人工手动录入,也可以是通过其它方式获取并存储,本申请对此不作限定。It should be understood that the social relationship intimacy, personal tags, and activity trajectories of each biometric feature with other biometrics are also cached in the cloud environment when the central biometric database is constructed, which can be manually entered or through other biometrics. The method of obtaining and storing is not limited in this application.
进一步的,第二边缘节点所发送的广播信息中除了第一生物特征之外,还包括第二边缘节点的地理位置信息以及第二边缘节点的标签信息。第二边缘节点的地理位置信息可以是第二边缘节点所处地理位置的经纬度;第二边缘节点的标签信息用于表示第二边缘节点的类型,例如,可以是西餐厅、牛排、咖啡等。第一边缘节点在接收到第二边缘节点发送的广播信息之后,根据第一边缘节点的标签信息和第二边缘节点的标签信息,计算得到第一标签相似度。第一边缘节点根据第一边缘节点的地理位置信息和第二边缘节点的地理位置信息计算得到两个边缘节点之间的距离,然后根据该距离与查询得到的第一生物特征对应的活动半径,计算地理位置相似度。第一边缘节点根据第一边缘节点的标签信息和查询得到的第一生物特征对应的个人标签信息,计算得到第二标签相似度。第一边缘节点根据第一生物特征对应的社交关系亲密度、第一标签相似度、第二标签相似度和地理位置相似度中的任意一个或多个,计算出第一生物特征与第一边缘节点的关联度。Further, in addition to the first biological feature, the broadcast information sent by the second edge node also includes geographic location information of the second edge node and label information of the second edge node. The geographic location information of the second edge node may be the latitude and longitude of the geographic location where the second edge node is located; the label information of the second edge node is used to indicate the type of the second edge node, for example, it may be western restaurant, steak, coffee, etc. After receiving the broadcast information sent by the second edge node, the first edge node calculates the first label similarity according to the label information of the first edge node and the label information of the second edge node. The first edge node calculates the distance between the two edge nodes according to the geographic location information of the first edge node and the geographic location information of the second edge node, and then the activity radius corresponding to the first biological feature obtained by the query according to the distance, Calculate geographic similarity. The first edge node calculates the second label similarity according to the label information of the first edge node and the personal label information corresponding to the first biological feature obtained by the query. The first edge node calculates the first biological feature and the first edge according to any one or more of the social relationship intimacy corresponding to the first biological feature, the first tag similarity, the second tag similarity, and the geographic location similarity. The degree of relevance of the node.
容易理解,当第一生物特征与第一边缘生物特征数据库中的生物特征亲密度越高,则说明第一生物特征出现在第一边缘节点所管理的范围内的概率越大;当第一边缘节点的标签信息与第二边缘节点的标签信息的相似度越高,则说明第一生物特征出现在第一边缘节点所管理的范围内的概率越大,示例性的,当第一边缘节点的标签是西餐厅,第二边缘节点的标签是牛排,则在第二边缘节点管理范围内出现的第一生物特征极有可能出现在第一边缘节点管理的范围内;当第一边缘节点的标签信息与第一生物特征对应的个人标签信息的相似度越高,则说明第一生物特征出现在第一边缘节点所管理范围内的概率越大;当第一边缘节点和第二边缘节点之间的距离与第一生物特征对应的活动半径的相似度越高,则说明第一生物特征出现在第一边缘节点所管理范围内的概率越大。It is easy to understand that the higher the affinity between the first biological feature and the biological feature in the first edge biometric database, the greater the probability that the first biological feature appears in the range managed by the first edge node; when the first edge The higher the similarity between the label information of the node and the label information of the second edge node, the greater the probability that the first biological feature appears in the range managed by the first edge node. For example, when the first edge node’s The label is a western restaurant, and the label of the second edge node is steak, then the first biological feature that appears in the management range of the second edge node is very likely to appear in the management range of the first edge node; when the label of the first edge node The higher the similarity between the information and the personal tag information corresponding to the first biometric feature, the greater the probability that the first biometric feature appears within the management range of the first edge node; when the first edge node and the second edge node are between The higher the similarity between the distance of and the radius of activity corresponding to the first biological feature, the greater the probability that the first biological feature appears within the management range of the first edge node.
在一种可能的实现方式中,第一边缘节点利用加权平均算法对计算得到的第一生物特征对应的社交关系亲密度、第一标签相似度、第二标签相似度和地理位置相似度进行加权求和,得到第一生物特征与第一边缘节点的关联度。In a possible implementation manner, the first edge node uses a weighted average algorithm to weight the calculated social relationship intimacy, first label similarity, second label similarity, and geographic location similarity corresponding to the first biological feature. The sum is obtained to obtain the degree of association between the first biological feature and the first edge node.
具体地,每个维度的权重可以根据实际需要进行设置,所有权重因子的和为1, 示例性的,可以通过下述公式1计算得到第一生物特征与第一边缘节点的关联度:Specifically, the weight of each dimension can be set according to actual needs, and the sum of all weight factors is 1. As an example, the correlation between the first biological feature and the first edge node can be calculated by the following formula 1:
I=D*W1+S*W2+P*W3+L*W4         公式1I=D*W1+S*W2+P*W3+L*W4 Formula 1
其中,I表示第一生物特征与第一边缘节点的关联度,D表示地理位置相似度,S表示社交关系亲密度,P表示第二标签相似度,L表示第一标签相似度。W1、W2、W3、W4分别表示权重因子,它们之和为1,例如,W1=0.4、W2=0.3、W3=0.2、W1=0.1。Among them, I represents the degree of association between the first biological feature and the first edge node, D represents the similarity of geographic location, S represents the degree of intimacy of social relationships, P represents the similarity of the second label, and L represents the similarity of the first label. W1, W2, W3, and W4 respectively represent weighting factors, and their sum is 1, for example, W1=0.4, W2=0.3, W3=0.2, W1=0.1.
可选的,D的值可以利用下述公式2计算得到:Optionally, the value of D can be calculated using the following formula 2:
D=(1-|A-R|)/(A+R)          公式2D=(1-|A-R|)/(A+R) Formula 2
其中,A表示第一边缘节点和第二边缘节点之间的距离,R表示第一生物特征对应的活动半径。应理解,也可以通过其它方式计算D的值,本申请对此不作限定。Among them, A represents the distance between the first edge node and the second edge node, and R represents the radius of activity corresponding to the first biological feature. It should be understood that the value of D can also be calculated in other ways, which is not limited in this application.
S的值可以通过以下方式进行计算得到:将第一边缘生物特征数据库中的生物特征与第一生物特征的亲密度,按照值的大小进行排序;按照亲密度值的大小,从高到低依次选取固定个数的亲密度的值;将选取得到的固定个数的亲密度的值进行求平均,最终得到S。需要说明的是,固定个数可以根据需要进行设置,若第一边缘生物特征数据库中的人脸特征的个数小于待选取的固定个数,则将少于部分与第一生物特征的亲密度的值记为0。例如,第一边缘生物特征数据库中存在5个生物特征,而需要选取的亲密度的值的固定个数为6,那么在计算S时,需要将该5个生物特征与第一生物特征的亲密度的值相加,然后再除以6得到S。应理解,也可以通过其它方式计算得到S的值,本申请对此不作限定。The value of S can be calculated in the following way: sort the intimacy between the biometric feature in the first edge biometric database and the first biometric feature according to the value; according to the intimacy value, from high to low Select a fixed number of intimacy values; average the selected fixed number of intimacy values, and finally get S. It should be noted that the fixed number can be set according to needs. If the number of face features in the first edge biometric database is less than the fixed number to be selected, it will be less than part of the intimacy with the first biometric. The value of is recorded as 0. For example, there are 5 biological characteristics in the first edge biological characteristic database, and the fixed number of intimacy values that need to be selected is 6, then when calculating S, the 5 biological characteristics need to be intimacy with the first biological characteristic. Add the values of degrees, and then divide by 6 to get S. It should be understood that the value of S can also be calculated in other ways, which is not limited in this application.
可选的,L和P可以是余弦相似度,即通过将第一边缘节点和第二边缘节点的标签信息以及第一生物特征对应的个人标签信息转换为向量,计算第一边缘节点的标签信息所对应的向量与第二边缘节点的标签信息所对应的向量的夹角的余弦值,从而得到L;计算第一边缘节点的标签信息所对应的向量与个人标签所对应的向量的夹角的余弦值,从而得到P。余弦相似度的取值范围是{-1,1},越接近于1,则说明两个向量的夹角越接近于0°,则两个向量越相似;相反,越接近于-1,则说明两个向量的夹角越接近于180°,则两个向量不相似。应理解,也可以通过其它方式计算得到L和P的值,本申请对此不作限定。Optionally, L and P can be cosine similarity, that is, the label information of the first edge node is calculated by converting the label information of the first edge node and the second edge node and the personal label information corresponding to the first biometric into a vector The cosine value of the angle between the corresponding vector and the vector corresponding to the label information of the second edge node to obtain L; calculate the angle between the vector corresponding to the label information of the first edge node and the vector corresponding to the personal label The cosine value, so as to get P. The value range of cosine similarity is {-1,1}. The closer to 1, the closer the angle between the two vectors is to 0°, the more similar the two vectors; on the contrary, the closer to -1, then It shows that the closer the angle between the two vectors is to 180°, the two vectors are not similar. It should be understood that the values of L and P can also be calculated in other ways, which are not limited in this application.
需要说明的是,上述实施例是综合考虑多个因素,从而计算得到第一生物特征与第一边缘节点的亲密度,即多维度计算亲密度,当然也可以只考虑其中一个维度或者部分维度(即几个维度的组合),例如只考虑地理位置相似度、第一标签相似度、第二标签相似度和社交关系亲密度中的一个,或者它们的任意组合,其具体实现过程和逻辑与上述一致,为了简洁,在此不再赘述。It should be noted that the above embodiment comprehensively considers multiple factors, thereby calculating the intimacy between the first biological feature and the first edge node, that is, multi-dimensional calculation of intimacy, of course, it is also possible to consider only one or part of the dimensions ( That is, a combination of several dimensions), for example, only one of geographic location similarity, first tag similarity, second tag similarity, and social relationship intimacy is considered, or any combination of them. The specific implementation process and logic are the same as the above Consistent, for the sake of brevity, I will not repeat them here.
S604:第一边缘节点将该生物特征存储至第一边缘生物特征数据库。S604: The first edge node stores the biological feature in the first edge biological feature database.
具体地,第一边缘节点计算得到第一生物特征与第一边缘节点的关联度之后,判断该关联度的值与预设阈值的大小关系,若关联度的值大于或等于预设阈值,则说明第一生物特征出现在第一边缘节点所管理范围内的概率较大,第一边缘节点需要将其存储至第一边缘生物特征数据库。预设阈值可以根据需要进行设置,例如,可以设置为0.5,当I大于或等于0.5时,第一边缘节点需要存储该第一生物特征。Specifically, after the first edge node calculates the degree of association between the first biological feature and the first edge node, it determines the relationship between the value of the degree of association and the preset threshold. If the value of the degree of association is greater than or equal to the preset threshold, then It shows that the probability that the first biological feature appears in the management range of the first edge node is relatively large, and the first edge node needs to store it in the first edge biological feature database. The preset threshold can be set as required, for example, it can be set to 0.5. When I is greater than or equal to 0.5, the first edge node needs to store the first biological feature.
在一种可能的实现方式中,当第一边缘节点的存储资源小于预设存储阈值时,第一边缘节点按照预设规则删除部分生物特征。In a possible implementation manner, when the storage resource of the first edge node is less than a preset storage threshold, the first edge node deletes part of the biological characteristics according to a preset rule.
具体地,第一边缘节点的存储资源有限,不能存储过多的生物特征,当存储资源小于预设存储阈值时,需要删除部分生物特征以保证预留足够的存储资源用于存储新的生物特征(例如第二边缘节点广播的第一生物特征)。Specifically, the storage resources of the first edge node are limited and cannot store too many biometrics. When the storage resources are less than the preset storage threshold, some biometrics need to be deleted to ensure that sufficient storage resources are reserved for storing new biometrics. (For example, the first biological feature broadcast by the second edge node).
可选的,将最近一段时间(例如一个月)内每个生物特征出现的次数按照大小进行排序,将出现次数小于第一阈值的生物特征进行删除,即优先保存出现次数较多的生物特征;或者是,将每个生物特征对应的个人标签信息与第一边缘节点的标签信息的相似度的值按照大小进行排序,将小于第二阈值的相似度所对应的生物特征进行删除;或者是,将每个生物特征最后出现的时间按照先后顺序进行排序,将最后出现时间距离当前时间超过第三阈值的生物特征进行删除;或者是根据其它条件删除部分生物特征。此外,第一边缘节点还可以同时考虑上述多个因素从而决定删除哪些生物特征,例如,同时考虑每个生物特征的出现次数和最后出现时间;同时考虑每个生物特征的出现次数和与第一边缘节点的标签信息的相似度;同时考虑每个生物特征的出现次数、最后出现时间以及与第一边缘节点的标签信息的相似度。Optionally, sort the number of occurrences of each biological feature in the most recent period of time (for example, one month) according to the size, and delete the biological features with the number of occurrences less than the first threshold, that is, the biological features with a larger number of occurrences are preferentially saved; Or, sort the similarity values of the personal tag information corresponding to each biometric feature and the tag information of the first edge node according to the magnitude, and delete the biometric feature corresponding to the similarity less than the second threshold; or yes, Sort the last appearance time of each biometric feature in a sequence, and delete the biometric feature whose last appearance time exceeds the third threshold from the current time; or delete part of the biometric feature according to other conditions. In addition, the first edge node can also consider the above multiple factors at the same time to decide which biometrics to delete, for example, consider the number of appearances and the last time of each biometric at the same time; consider the number of appearances of each biometric and the first The similarity of the label information of the edge node; also consider the number of appearances of each biological feature, the last appearance time and the similarity with the label information of the first edge node.
应理解,预设规则可以根据需要进行设置,本申请对第一边缘节点具体选用何种规则不作限定。同时,第一阈值、第二阈值、第三阈值也是根据需要进行设置。It should be understood that the preset rules can be set as required, and this application does not limit which rules are specifically selected by the first edge node. At the same time, the first threshold, the second threshold, and the third threshold are also set as needed.
可以理解,第一边缘节点在存储资源不足的情况下,按照预设规则删除部分生物特征,保证可以存储第二边缘节点广播的第一生物特征,提高第一生物特征的识别速度。It can be understood that when the storage resources are insufficient, the first edge node deletes part of the biometrics according to a preset rule, ensuring that the first biometrics broadcast by the second edge node can be stored, and improving the recognition speed of the first biometrics.
S605:第一边缘节点利用第一边缘生物特征数据库对在该第一边缘节点管理范围内采集的生物特征进行识别。S605: The first edge node uses the first edge biological feature database to identify the biological features collected within the management range of the first edge node.
具体地,当第一边缘节点将第二边缘节点广播的第一生物特征存储至第一边缘生物特征数据库之后,第一边缘节点可以利用该第一边缘生物特征数据库对在该第一边缘节点管理范围内采集的生物特征进行识别。特别的,在第一生物特征出现在第一边缘节点所管理范围内时,由于第一边缘生物特征数据库中存储了该第一生物特征,因此,第一边缘节点在本地就可以完成对该第一生物特征的识别,不需要再次将该第一生物特征上传至云环境中,由云环境中的中心节点完成识别,大大提高了生物特征识别的响应速度,缩短了生物特征识别的时延,保证了生物特征识别的实时性和稳定性。Specifically, after the first edge node stores the first biometrics broadcast by the second edge node in the first edge biometric database, the first edge node can use the first edge biometric database to manage the first edge node Recognize the biometrics collected within the range. Particularly, when the first biological feature appears in the management range of the first edge node, since the first biological feature is stored in the first edge biological feature database, the first edge node can complete the first biological feature locally. A biometric identification does not need to upload the first biometric to the cloud environment again. The identification is completed by the central node in the cloud environment, which greatly improves the response speed of biometric identification and shortens the time delay of biometric identification. Ensure the real-time and stability of biometric identification.
在一种可能的实现方式中,第一边缘节点向云端管理器查询与第一边缘节点的距离小于预设距离的第三边缘节点的地址信息。可选的,第一边缘节点向边缘节点位置信息管理单元523发送请求消息,请求获取第三边缘节点的地址信息,第一边缘节点根据第三边缘节点的地址信息,向该第三边缘节点发送第二广播信息,该第二广播信息包括第二生物特征。In a possible implementation manner, the first edge node queries the cloud manager for address information of a third edge node whose distance from the first edge node is less than a preset distance. Optionally, the first edge node sends a request message to the edge node location information management unit 523 to request the address information of the third edge node, and the first edge node sends to the third edge node according to the address information of the third edge node. The second broadcast information, the second broadcast information includes a second biological feature.
容易理解,第一边缘节点不仅需要接收相邻边缘节点广播的生物特征并判断是否需要将其存储至第一边缘生物特征数据库,同时,第一边缘节点也需要向其它相邻边缘节点广播所采集到的第二生物特征,以使得其它相邻边缘节点能够接收到第一边缘节点广播的第二生物特征,并判断是否需要将其存储至边缘生物特征数据库。第一边缘节点可以从边缘节点位置信息管理单元523中获取第三边缘节点的地址信息,也可以是第一边缘节点本身存储了第三边缘节点的地理位置信息和地址信息,直接查询得到第三边缘节点的地址信息。其它相邻边缘节点(例如第三边缘节点)与第一边缘节 点类似,对于接收到第二生物特征之后的处理流程与第一边缘节点一致,为了简洁,在此不再赘述。It is easy to understand that the first edge node not only needs to receive the biometrics broadcast by neighboring edge nodes and determine whether it needs to be stored in the first edge biometric database, at the same time, the first edge node also needs to broadcast the collected biometrics to other neighboring edge nodes. The second biometric feature so that other adjacent edge nodes can receive the second biometric feature broadcast by the first edge node, and determine whether it needs to be stored in the edge biometric database. The first edge node may obtain the address information of the third edge node from the edge node location information management unit 523, or the first edge node itself may store the geographic location information and address information of the third edge node, and directly query to obtain the third edge node. Address information of the edge node. Other adjacent edge nodes (for example, the third edge node) are similar to the first edge node, and the processing flow after receiving the second biological feature is the same as that of the first edge node. For the sake of brevity, it will not be repeated here.
S606:第一边缘节点放弃存储所述第一人脸特征。S606: The first edge node abandons storing the first face feature.
上述详细阐述了本申请实施例的方法,为了便于更好地实施本申请实施例的上述方案,相应地,下面还提供用于配合实施上述方案的相关设备。The foregoing describes the methods of the embodiments of the present application in detail. In order to facilitate better implementation of the above solutions of the embodiments of the present application, correspondingly, the following also provides related equipment for cooperating with the implementation of the foregoing solutions.
本申请实施例还提供一种边缘节点,如图5中的边缘节点510,该边缘节点用于执行前述生物特征识别的方法。本申请对该边缘节点的功能单元的划分不做限定,可以根据需要对该边缘节点中的各个单元进行增加、减少或合并。图5示例性的提供了一种功能单元的划分:The embodiment of the present application also provides an edge node, such as the edge node 510 in FIG. 5, which is used to perform the aforementioned biometric identification method. This application does not limit the division of the functional units of the edge node, and each unit in the edge node can be added, reduced, or merged as required. Figure 5 exemplarily provides a division of functional units:
边缘节点510包括边缘生物特征数据库511、生物特征提取单元512、生物特征识别单元513和生物特征管理单元514。The edge node 510 includes an edge biometric database 511, a biometric extraction unit 512, a biometric recognition unit 513, and a biometric management unit 514.
具体地,所述生物特征提取单元512用于执行前述步骤S601,且可选的执行前述步骤中可选的方法,获取到第一生物特征。Specifically, the biological feature extraction unit 512 is configured to perform the foregoing step S601, and optionally perform optional methods in the foregoing steps, to obtain the first biological feature.
所述生物特征管理单元514用于执行前述步骤S602-S604以及步骤S606,且可选的执行前述步骤中可选的方法,计算第一生物特征与边缘节点的关联度,并确定是否将其存储于所述边缘生物特征数据库511。The biometrics management unit 514 is used to perform the foregoing steps S602-S604 and step S606, and optionally perform optional methods in the foregoing steps, to calculate the degree of association between the first biometrics and the edge node, and to determine whether to store it In the marginal biometric database 511.
所述生物特征识别单元513用于执行前述步骤S605,且可选的执行前述步骤中可选的方法,利用边缘生物特征数据库511对边缘节点管理范围内采集的生物特征进行识别。The biometric identification unit 513 is configured to perform the foregoing step S605, and optionally perform optional methods in the foregoing steps, using the edge biometric database 511 to recognize the biometrics collected within the management range of the edge node.
上述四个单元之间互相可通过通信通路进行数据传输,应理解,边缘节点510包括的各单元可以为软件单元、也可以为硬件单元、或部分为软件单元部分为硬件单元。The above four units can transmit data to each other through a communication path. It should be understood that each unit included in the edge node 510 can be a software unit, a hardware unit, or a part of a software unit and a part of a hardware unit.
参见图7,图7是本申请实施例提供的一种计算设备的结构示意图。如图7所示,该计算设备700包括:处理器710、通信接口720以及存储器730,所述处理器710、通信接口720以及存储器730通过内部总线740相互连接。应理解,该计算设备可以是通用服务器。Refer to FIG. 7, which is a schematic structural diagram of a computing device provided by an embodiment of the present application. As shown in FIG. 7, the computing device 700 includes a processor 710, a communication interface 720, and a memory 730. The processor 710, the communication interface 720, and the memory 730 are connected to each other through an internal bus 740. It should be understood that the computing device may be a general-purpose server.
所述处理器710可以由一个或者多个通用处理器构成,例如中央处理器(central processing unit,CPU),或者CPU和硬件芯片的组合。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC)、可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD)、现场可编程逻辑门阵列(field-programmable gate array,FPGA)、通用阵列逻辑(generic array logic,GAL)或其任意组合。The processor 710 may be composed of one or more general-purpose processors, such as a central processing unit (CPU), or a combination of a CPU and a hardware chip. The aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a general array logic (generic array logic, GAL), or any combination thereof.
总线740可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。所述总线740可以分为地址总线、数据总线、控制总线等。为便于表示,图7中仅用一条粗线表示,但不表示仅有一根总线或一种类型的总线。The bus 740 may be a peripheral component interconnect standard (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus 740 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is used in FIG. 7, but it does not mean that there is only one bus or one type of bus.
存储器730可以包括易失性存储器(volatile memory),例如随机存取存储器(random access memory,RAM);存储器730也可以包括非易失性存储器(non-volatile  memory),例如只读存储器(read-only memory,ROM)、快闪存储器(flash memory)、硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD);存储器730还可以包括上述种类的组合。程序代码可以是用来实现边缘节点510所示的的功能模块,或者用于实现图6所示的方法实施例中以第一边缘节点为执行主体的方法步骤。The memory 730 may include a volatile memory (volatile memory), such as a random access memory (random access memory, RAM); the memory 730 may also include a non-volatile memory (non-volatile memory), such as a read-only memory (read-only memory). Only memory, ROM, flash memory, hard disk drive (HDD), or solid-state drive (SSD); the memory 730 may also include a combination of the above types. The program code may be used to implement the functional modules shown in the edge node 510, or to implement the method steps in the method embodiment shown in FIG. 6 with the first edge node as the execution subject.
本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时,可以实现上述方法实施例中记载的任意一种的部分或全部步骤,以及实现上述图5所描述的任意一个功能模块的功能。The embodiments of the present application also provide a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, it can implement part or all of the steps of any one of the above method embodiments, and realize the above The function of any one of the functional modules described in Figure 5.
如图8所示,本申请还提供一种计算设备集群,该计算设备集群包括多个计算设备800。每个计算设备800的组织结构与计算设备700相同,包括处理器810、通信接口820以及存储器830,所述处理器810、通信接口820以及存储器830通过内部总线840相互连接。As shown in FIG. 8, the present application also provides a computing device cluster, and the computing device cluster includes a plurality of computing devices 800. The organizational structure of each computing device 800 is the same as that of the computing device 700, and includes a processor 810, a communication interface 820, and a memory 830. The processor 810, the communication interface 820, and the memory 830 are connected to each other through an internal bus 840.
每个计算设备800间通过通信网络建立通信通路。每个计算设备800上运行边缘生物特征数据库511、生物特征提取单元512、生物特征识别单元513和生物特征管理单元514中的任意一个或多个。任一计算设备800可以为边缘计算设备系统中的计算设备,或终端计算设备。Each computing device 800 establishes a communication path through a communication network. Each computing device 800 runs any one or more of the edge biometric database 511, the biometric extraction unit 512, the biometric identification unit 513, and the biometric management unit 514. Any computing device 800 may be a computing device in an edge computing device system, or a terminal computing device.
本申请实施例还提供了一种计算机程序产品,当其在计算机或处理器上运行时,使得计算机或处理器执行上述任一个方法中的一个或多个步骤。上述所涉及的设备的各组成模块如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在所述计算机可读取存储介质中。The embodiments of the present application also provide a computer program product, which when it runs on a computer or a processor, enables the computer or the processor to execute one or more steps in any of the foregoing methods. If each component module of the aforementioned equipment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in the computer readable storage medium.
在上述实施例中,对各个实施例的描述各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in an embodiment, reference may be made to related descriptions of other embodiments.
应理解,本文中涉及的第一、第二、第三、第四以及各种数字编号仅为描述方便进行的区分,并不用来限制本申请的范围。It should be understood that the first, second, third, fourth, and various numerical numbers involved in this specification are only for easy distinction for description, and are not used to limit the scope of the present application.
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" in this text is only an association relationship describing the associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean: A alone exists, and both A and B exist. , There are three cases of B alone. In addition, the character "/" in this text generally indicates that the associated objects before and after are in an "or" relationship.
还应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should also be understood that, in the various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not be implemented in this application. The implementation process of the example constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。A person of ordinary skill in the art may be aware that the units and algorithm steps of the examples described in the embodiments disclosed in this document can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of the description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiment, which is not repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如 多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method may be implemented in other ways. For example, the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .
本申请实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method in the embodiment of the present application can be adjusted, merged, and deleted in order according to actual needs.
本申请实施例装置中的模块可以根据实际需要进行合并、划分和删减。The modules in the devices in the embodiments of the present application may be combined, divided, and deleted according to actual needs.
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions recorded in the embodiments are modified, or some of the technical features are equivalently replaced; these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims (15)

  1. 一种生物特征识别的方法,其特征在于,包括:A method of biometric identification, which is characterized in that it includes:
    第一边缘节点接收第二边缘节点发送的广播信息,所述广播信息包括第一生物特征,所述第一边缘节点存储第一边缘生物特征库,所述第一边缘生物特征库包括至少一个生物特征;The first edge node receives the broadcast information sent by the second edge node, the broadcast information includes a first biometric feature, the first edge node stores a first edge biometric feature database, and the first edge biometric feature database includes at least one biometric feature. feature;
    确定所述第一生物特征出现在所述第一边缘节点所管理范围的概率值大于或等于预设阈值,所述第一边缘节点将所述第一生物特征存储于所述第一边缘生物特征库;It is determined that the probability value of the first biological feature appearing in the range managed by the first edge node is greater than or equal to a preset threshold, and the first edge node stores the first biological feature in the first edge biological feature Library
    所述第一边缘节点利用所述第一边缘生物特征库对在所述第一边缘节点管理范围内采集的生物特征进行识别。The first edge node uses the first edge biometrics database to identify the biometrics collected within the management range of the first edge node.
  2. 如权利要求1所述的方法,其特征在于,所述第一边缘节点确定所述第一生物特征出现在所述第一边缘节点所管理范围的概率值大于或等于预设阈值,包括:The method of claim 1, wherein the first edge node determining that the probability value of the first biometric feature appearing in the range managed by the first edge node is greater than or equal to a preset threshold comprises:
    所述第一边缘节点向云端管理器查询与所述第一生物特征对应的社交关系信息,所述云端管理器包括社交关系库,所述社交关系库包括生物特征对应的社交关系信息;The first edge node queries a cloud manager for social relationship information corresponding to the first biological characteristic, and the cloud manager includes a social relationship database, and the social relationship database includes social relationship information corresponding to the biological characteristics;
    所述第一边缘节点根据所述第一生物特征对应的社交关系信息,计算所述第一生物特征与所述第一边缘节点的关联度,所述关联度用于指示所述第一生物特征出现在所述第一边缘节点所管理范围内的概率;The first edge node calculates the degree of association between the first biometric feature and the first edge node according to the social relationship information corresponding to the first biometric feature, and the degree of association is used to indicate the first biometric feature Probability of appearing within the management range of the first edge node;
    所述第一边缘节点确定所述关联度的值大于或等于所述预设阈值。The first edge node determines that the value of the degree of association is greater than or equal to the preset threshold.
  3. 如权利要求2所述的方法,其特征在于,所述第一边缘节点向云端管理器查询与所述第一生物特征对应的社交关系信息,包括:3. The method of claim 2, wherein the first edge node querying a cloud manager for social relationship information corresponding to the first biometric feature comprises:
    所述第一边缘节点读取所述第一边缘生物特征库中的生物特征,并向所述云端管理器查询所述第一生物特征与所述第一边缘生物特征库中的生物特征的社交关系亲密度;The first edge node reads the biological characteristics in the first edge biometric database, and queries the cloud manager for the social characteristics of the first biological characteristics and the biological characteristics in the first edge biometric database. Relationship intimacy
    所述第一边缘节点向所述云端管理器查询所述第一生物特征对应的个人标签信息和活动轨迹信息。The first edge node queries the cloud manager for personal tag information and activity track information corresponding to the first biometric feature.
  4. 如权利要求3所述的方法,其特征在于,所述广播信息还包括所述第二边缘节点的地理位置信息和所述第二边缘节点的标签信息;所述第一边缘节点计算所述第一生物特征与所述第一边缘节点的关联度,包括:The method according to claim 3, wherein the broadcast information further includes geographic location information of the second edge node and label information of the second edge node; the first edge node calculates the first edge node The degree of association between a biological feature and the first edge node includes:
    所述第一边缘节点根据所述第一边缘节点的标签信息和所述第二边缘节点的标签信息,计算第一标签相似度,所述第一边缘节点的标签信息用于指示所述第一边缘节点的类型,所述第二边缘节点的标签信息用于指示所述第二边缘节点的类型;The first edge node calculates a first label similarity according to the label information of the first edge node and the label information of the second edge node, and the label information of the first edge node is used to indicate the first edge node. The type of the edge node, where the label information of the second edge node is used to indicate the type of the second edge node;
    所述第一边缘节点根据第一边缘节点的地理位置信息和所述第二边缘节点的地理位置信息,计算所述第一边缘节点与所述第二边缘节点的距离,根据所述距离和所述活动轨迹信息计算地理位置相似度;The first edge node calculates the distance between the first edge node and the second edge node according to the geographic location information of the first edge node and the geographic location information of the second edge node, and according to the distance and the location information. The activity track information calculates the similarity of geographic location;
    所述第一边缘节点根据所述第一边缘节点的标签信息和所述第一生物特征对应的个人标签信息,计算第二标签相似度;The first edge node calculates a second tag similarity according to the tag information of the first edge node and the personal tag information corresponding to the first biometric feature;
    所述第一边缘节点根据所述社交关系亲密度、所述第一标签相似度、所述第二标 签相似度和所述地理位置相似度中的任意一个或多个,计算所述第一生物特征与所述第一边缘节点的关联度。The first edge node calculates the first creature according to any one or more of the social relationship intimacy, the first tag similarity, the second tag similarity, and the geographic location similarity. The degree of association between the feature and the first edge node.
  5. 如权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-4, wherein the method further comprises:
    当所述第一边缘节点的存储资源小于预设存储阈值时,所述第一边缘节点按照预设规则删除生物特征;When the storage resource of the first edge node is less than a preset storage threshold, the first edge node deletes the biometric feature according to a preset rule;
    所述预设规则包括:The preset rules include:
    将出现次数小于第一阈值的生物特征进行删除;或者是,Delete the biometrics whose appearances are less than the first threshold; or,
    将与所述第一边缘节点标签信息的相似度小于第二阈值的生物特征进行删除;或者是,Delete the biological features whose similarity with the label information of the first edge node is less than the second threshold; or,
    将最后出现时间距离当前时间超过第三阈值的生物特征进行删除。Delete the biological feature whose last appearance time exceeds the third threshold from the current time.
  6. 如权利要求1-5任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-5, wherein the method further comprises:
    所述第一边缘节点向云端管理器查询与所述第一边缘节点的距离小于预设距离的第三边缘节点的地址信息,所述云端管理器包括边缘节点信息库,所述边缘节点信息库中包括边缘节点的地理位置信息和地址信息;The first edge node queries a cloud manager for address information of a third edge node whose distance from the first edge node is less than a preset distance, and the cloud manager includes an edge node information database, and the edge node information database Including the geographic location information and address information of the edge node;
    所述第一边缘节点根据所述第三边缘节点的地址信息,向所述第三边缘节点发送第二广播信息,所述第二广播信息包括第二生物特征。The first edge node sends second broadcast information to the third edge node according to the address information of the third edge node, where the second broadcast information includes a second biological characteristic.
  7. 一种边缘节点,其特征在于,包括:An edge node, characterized in that it includes:
    边缘生物特征数据库,用于存储至少一个生物特征;Edge biometric database, used to store at least one biometric feature;
    生物特征提取单元,用于接收第二边缘节点广播信息并提取所述广播信息中包括第一生物特征;The biological feature extraction unit is configured to receive the broadcast information of the second edge node and extract the broadcast information including the first biological feature;
    生物特征管理单元,用于确定所述第一生物特征出现在所述边缘节点所管理范围的概率值大于或等于预设阈值,并将所述第一生物特征存储于所述边缘生物特征数据库;A biometrics management unit, configured to determine that the probability value of the first biometrics appearing in the range managed by the edge node is greater than or equal to a preset threshold, and store the first biometrics in the edge biometrics database;
    生物特征识别单元,用于利用所述边缘生物特征数据库对在所述边缘节点管理范围内采集的生物特征进行识别。The biological feature recognition unit is configured to use the edge biological feature database to recognize the biological features collected within the management range of the edge node.
  8. 如权利要求7所述的边缘节点,其特征在于,The edge node according to claim 7, wherein:
    所述生物特征管理单元,还用于:The biological feature management unit is also used for:
    向云端管理器查询与所述第一生物特征对应的社交关系信息,所述云端管理器包括社交关系库,所述社交关系库包括生物特征对应的社交关系信息;Query a cloud manager for social relationship information corresponding to the first biological characteristic, where the cloud manager includes a social relationship database, and the social relationship database includes social relationship information corresponding to the biological characteristics;
    根据所述第一生物特征对应的社交关系信息,计算所述第一生物特征与所述边缘节点的关联度,所述关联度用于指示所述第一生物特征出现在所述边缘节点所管理范围内的概率;Calculate the degree of association between the first biometric feature and the edge node according to the social relationship information corresponding to the first biometric feature, where the degree of association is used to indicate that the first biometric feature appears in the management of the edge node Probability within range;
    确定所述关联度的值大于或等于所述预设阈值。It is determined that the value of the degree of association is greater than or equal to the preset threshold.
  9. 如权利要求8所述的边缘节点,其特征在于,The edge node according to claim 8, wherein:
    所述生物特征管理单元,还用于:The biological feature management unit is also used for:
    读取所述边缘生物特征库中的生物特征,并向所述云端管理器查询所述第一生物特征与所述边缘生物特征库中的生物特征的社交关系亲密度;Read the biometrics in the edge biometrics database, and query the cloud manager for the social relationship intimacy between the first biometrics and the biometrics in the edge biometrics database;
    向所述云端管理器查询所述第一生物特征对应的个人标签信息和活动轨迹信息。Query the cloud manager for personal tag information and activity track information corresponding to the first biological feature.
  10. 如权利要求9所述的边缘节点,其特征在于,所述广播信息还包括所述第二边缘节点的地理位置信息和所述第二边缘节点的标签信息;The edge node according to claim 9, wherein the broadcast information further includes geographic location information of the second edge node and label information of the second edge node;
    所述生物特征管理单元,还用于:The biological feature management unit is also used for:
    根据所述边缘节点的标签信息和所述第二边缘节点的标签信息,计算第一标签相似度,所述边缘节点的标签信息用于指示所述边缘节点的类型,所述第二边缘节点的标签信息用于指示所述第二边缘节点的类型;The first label similarity is calculated according to the label information of the edge node and the label information of the second edge node. The label information of the edge node is used to indicate the type of the edge node, and the label information of the second edge node Label information is used to indicate the type of the second edge node;
    根据所述边缘节点的地理位置信息和所述第二边缘节点的地理位置信息计算所述边缘节点与所述第二边缘节点的距离,根据所述距离和所述活动轨迹信息计算地理位置相似度;Calculate the distance between the edge node and the second edge node according to the geographic location information of the edge node and the geographic location information of the second edge node, and calculate the geographic location similarity based on the distance and the activity track information ;
    根据所述边缘节点的标签信息和所述第一生物特征对应的个人标签信息,计算第二标签相似度;Calculating the second tag similarity according to the tag information of the edge node and the personal tag information corresponding to the first biometric feature;
    根据所述社交关系亲密度、所述第一标签相似度、所述第二标签相似度和所述地理位置相似度中的任意一个或多个,计算所述第一生物特征与所述边缘节点的关联度。Calculate the first biological feature and the edge node according to any one or more of the social relationship intimacy, the first tag similarity, the second tag similarity, and the geographic location similarity The degree of relevance.
  11. 如权利要求7-10任一项所述的边缘节点,其特征在于,The edge node according to any one of claims 7-10, wherein:
    所述生物特征管理单元,还用于:The biological feature management unit is also used for:
    当所述边缘节点的存储资源小于预设存储阈值时,按照预设规则删除生物特征;When the storage resource of the edge node is less than the preset storage threshold, delete the biometric feature according to the preset rule;
    所述预设规则包括:The preset rules include:
    将出现次数小于第一阈值的生物特征进行删除;或者是,Delete the biometrics whose appearances are less than the first threshold; or,
    将与所述边缘节点的标签信息的相似度小于第二阈值的生物特征进行删除;或者是,Delete the biometrics whose similarity with the label information of the edge node is less than the second threshold; or,
    将最后出现时间距离当前时间超过第三阈值的生物特征进行删除。Delete the biological feature whose last appearance time exceeds the third threshold from the current time.
  12. 如权利要求7-11任一项所述的边缘节点,其特征在于,The edge node according to any one of claims 7-11, wherein:
    所述生物特征管理单元,还用于向云端管理器查询与所述边缘节点的距离小于预设距离的第三边缘节点的地址信息,所述云端管理器包括边缘节点信息库,所述边缘节点信息库中包括边缘节点的地理位置信息和地址信息;The biometric management unit is further configured to query the cloud manager for the address information of a third edge node whose distance from the edge node is less than a preset distance, and the cloud manager includes an edge node information database, and the edge node The information database includes geographic location information and address information of edge nodes;
    所述生物特征管理单元,还用于根据所述第三边缘节点的地址信息,向所述第三边缘节点发送第二广播信息,所述第二广播信息包括第二生物特征。The biological feature management unit is further configured to send second broadcast information to the third edge node according to the address information of the third edge node, where the second broadcast information includes the second biological feature.
  13. 一种计算设备集群,其特征在于,所述计算设备集群包括至少一个计算设备,每个计算设备包括存储器和处理器,所述至少一个计算设备的处理器执行所述至少一个计算设备的存储器存储的计算机指令,使得所述至少一个计算设备执行权利要求1-6任一项所述的方法。A computing device cluster, wherein the computing device cluster includes at least one computing device, each computing device includes a memory and a processor, and the processor of the at least one computing device executes the memory storage of the at least one computing device. The computer instructions for causing the at least one computing device to execute the method according to any one of claims 1-6.
  14. 一种计算机存储介质,所述计算机存储介质存储有计算机程序,当该计算机程序被处理器执行时实现权利要求1-6任一项所述的方法。A computer storage medium storing a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is realized.
  15. 一种计算机程序,该计算机程序包括指令,当该计算机程序被计算机执行时,使得计算机可以执行权利要求1-6任一项所述的方法。A computer program, the computer program includes instructions, when the computer program is executed by a computer, the computer can execute the method according to any one of claims 1-6.
PCT/CN2020/114975 2019-09-12 2020-09-14 Biometric feature recognition method and related device WO2021047664A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910873763.XA CN112487082B (en) 2019-09-12 2019-09-12 Biological feature recognition method and related equipment
CN201910873763.X 2019-09-12

Publications (1)

Publication Number Publication Date
WO2021047664A1 true WO2021047664A1 (en) 2021-03-18

Family

ID=74866551

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/114975 WO2021047664A1 (en) 2019-09-12 2020-09-14 Biometric feature recognition method and related device

Country Status (2)

Country Link
CN (1) CN112487082B (en)
WO (1) WO2021047664A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113919412A (en) * 2021-09-02 2022-01-11 中国电子科技集团公司第二十九研究所 Data distribution method, equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113687947A (en) * 2021-08-25 2021-11-23 京东方科技集团股份有限公司 Edge box optimization method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006112843A1 (en) * 2005-04-19 2006-10-26 Sean Ward Distributed acoustic fingerprint based recognition
CN102930243A (en) * 2012-09-18 2013-02-13 深圳市中联创新自控系统有限公司 Method and system for identifying facial information of special personnel
CN109815371A (en) * 2019-01-30 2019-05-28 无锡华云数据技术服务有限公司 Video monitoring data stores access system
CN109918949A (en) * 2019-03-12 2019-06-21 深圳灵图慧视科技有限公司 Recognition methods, device, electronic equipment and storage medium
CN109933679A (en) * 2019-03-12 2019-06-25 深圳灵图慧视科技有限公司 Object type recognition methods, device and equipment in image

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105046303B (en) * 2015-08-03 2018-11-02 深圳市科锐奇科技有限公司 A kind of biometric discrimination method based on distributed data interaction
CN107222468B (en) * 2017-05-22 2020-12-18 北京邮电大学 Augmented reality processing method, terminal, cloud server and edge server
CN108446680B (en) * 2018-05-07 2021-12-21 西安电子科技大学 Privacy protection method and system in face authentication system based on edge calculation
CN109067859B (en) * 2018-07-20 2021-03-16 北京航空航天大学 Cross-domain collaborative service-oriented double-layer cloud architecture system and implementation method
CN109492536B (en) * 2018-10-12 2020-12-04 大唐高鸿信息通信(义乌)有限公司 Face recognition method and system based on 5G framework
CN109614238B (en) * 2018-12-11 2023-05-12 深圳市网心科技有限公司 Target object identification method, device and system and readable storage medium
CN109951338B (en) * 2019-03-28 2021-09-10 北京金山云网络技术有限公司 CDN network configuration method, configuration device, electronic equipment and storage medium
CN110197128A (en) * 2019-05-08 2019-09-03 华南理工大学 The recognition of face architecture design method planned as a whole based on edge calculations and cloud

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006112843A1 (en) * 2005-04-19 2006-10-26 Sean Ward Distributed acoustic fingerprint based recognition
CN102930243A (en) * 2012-09-18 2013-02-13 深圳市中联创新自控系统有限公司 Method and system for identifying facial information of special personnel
CN109815371A (en) * 2019-01-30 2019-05-28 无锡华云数据技术服务有限公司 Video monitoring data stores access system
CN109918949A (en) * 2019-03-12 2019-06-21 深圳灵图慧视科技有限公司 Recognition methods, device, electronic equipment and storage medium
CN109933679A (en) * 2019-03-12 2019-06-25 深圳灵图慧视科技有限公司 Object type recognition methods, device and equipment in image

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113919412A (en) * 2021-09-02 2022-01-11 中国电子科技集团公司第二十九研究所 Data distribution method, equipment and storage medium
CN113919412B (en) * 2021-09-02 2023-07-25 中国电子科技集团公司第二十九研究所 Data distribution method, device and storage medium

Also Published As

Publication number Publication date
CN112487082A (en) 2021-03-12
CN112487082B (en) 2024-04-12

Similar Documents

Publication Publication Date Title
US10025950B1 (en) Systems and methods for image recognition
US9477685B1 (en) Finding untagged images of a social network member
US20210374386A1 (en) Entity recognition from an image
WO2019153504A1 (en) Group creation method and terminal thereof
US10635932B2 (en) Database systems and user interfaces for dynamic and interactive mobile image analysis and identification
US20210357624A1 (en) Information processing method and device, and storage medium
CN108664526B (en) Retrieval method and device
KR102592551B1 (en) Object recognition processing apparatus and method for ar device
JP2017033547A (en) Information processing apparatus, control method therefor, and program
WO2021047664A1 (en) Biometric feature recognition method and related device
WO2014036350A2 (en) Facilitating photo sharing
CN113722520B (en) Graph data query method and device
JP7089045B2 (en) Media processing methods, related equipment and computer programs
KR101647691B1 (en) Method for hybrid-based video clustering and server implementing the same
WO2023173646A1 (en) Expression recognition method and apparatus
US20130343618A1 (en) Searching for Events by Attendants
CN107609044B (en) A kind of information acquisition method and terminal device
WO2023019927A1 (en) Facial recognition method and apparatus, storage medium, and electronic device
KR102594093B1 (en) Dermatologic treatment recommendation system using deep learning model and method thereof
CN112052251B (en) Target data updating method and related device, equipment and storage medium
WO2021185184A1 (en) Content recommendation method and apparatus, electronic device, and storage medium
Liu RETRACTED ARTICLE: Video Face Detection Based on Deep Learning
CN113065016A (en) Offline store information processing method, device, equipment and system
CN113128278A (en) Image identification method and device
WO2020087949A1 (en) Database updating method and device, electronic device, and computer storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20863712

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20863712

Country of ref document: EP

Kind code of ref document: A1