TW202018613A - Identity recognition method and device based on face and electronic equipment - Google Patents

Identity recognition method and device based on face and electronic equipment Download PDF

Info

Publication number
TW202018613A
TW202018613A TW108127357A TW108127357A TW202018613A TW 202018613 A TW202018613 A TW 202018613A TW 108127357 A TW108127357 A TW 108127357A TW 108127357 A TW108127357 A TW 108127357A TW 202018613 A TW202018613 A TW 202018613A
Authority
TW
Taiwan
Prior art keywords
user
face information
target user
social
target
Prior art date
Application number
TW108127357A
Other languages
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 TW202018613A publication Critical patent/TW202018613A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • G06Q20/40145Biometric identity checks
    • 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/172Classification, e.g. identification

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Collating Specific Patterns (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a face-based identity recognition method, device and system and electronic equipment, and the method comprises the steps: enabling a client to obtain the face information of at arget user, and enabling the target user to have a social relation with the current user of the client; the client sends the face information of the target user and the social user identifier set of the current user to an identity recognition server; the identity recognition server searches for a target user identifier matched with the face information of the target user in a face information template corresponding to the social user identifier set of the current user, and sends the target user identifier to the client; and the client takes the received target user identifier as an identification result of the target user.

Description

基於人臉的身份識別方法、裝置及電子設備Face recognition method, device and electronic equipment

本申請涉及電腦技術領域,尤其涉及一種基於人臉識別的身份校驗方法、裝置及電子設備。The present application relates to the field of computer technology, and in particular to an identity verification method, device and electronic equipment based on face recognition.

隨著智慧移動終端的快速發展,身份識別方式也越來越多,比如指紋識別、密碼驗證等識別方式,而隨著人臉識別技術的快速發展,基於人臉的身份識別方式(比如掃臉支付、掃臉簽到等)已被逐漸地應用到用戶的日常生活中。 以掃臉支付為例,目前,使用支付應用的用戶人數高達幾億,若這些用戶都開通掃臉支付業務,這將意味著支付應用的人臉特徵庫非常龐大,那麼在用戶使用掃臉支付時,人臉搜尋引擎則需要在龐大的人臉特徵庫中進行匹配,以校驗用戶的身份。 然而,在實際應用中,現有的人臉搜尋引擎很難在海量的人臉特徵資料庫中進行即時搜索匹配,而若要做到秒級的即時搜索匹配,則需要耗費巨大的計算資源,所需的成本也較大。 因此,如何提供一種更為優化的基於人臉的身份識別方式仍然亟待解決。With the rapid development of smart mobile terminals, there are more and more identification methods, such as fingerprint identification, password verification and other identification methods, and with the rapid development of face recognition technology, face-based identification methods (such as face scanning Payment, face check-in, etc.) have been gradually applied to users' daily lives. Taking face-scanning payment as an example, the number of users currently using payment applications is as high as hundreds of millions. If these users all open face-scanning payment services, this will mean that the facial feature database of payment applications is very large. At that time, the face search engine needs to match in the huge face feature database to verify the user's identity. However, in practical applications, it is difficult for existing face search engines to perform real-time search matching in a large amount of face feature database. However, to achieve real-time search matching in seconds, huge computational resources are required. The required cost is also relatively large. Therefore, how to provide a more optimized face-based identity recognition method still needs to be resolved.

本申請實施例提供了一種基於人臉的身份識別方法、裝置、系統及電子設備,以解決現有技術中人臉識別技術難以在海量的人臉特徵資料庫中進行即時搜索匹配的問題。 為解決上述技術問題,本申請實施例是這樣實施的: 第一方面,提出了一種基於人臉的身份識別方法,包括: 用戶端獲取目標使用者的人臉資訊,所述目標使用者與所述用戶端的當前用戶存在社交關係; 所述用戶端將所述目標使用者的人臉資訊及所述當前使用者的社交使用者標識集合發送至身份識別伺服器; 所述身份識別伺服器在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中,查找與所述目標使用者的人臉資訊匹配的目標使用者標識,並將所述目標使用者標識發送至所述用戶端; 所述用戶端將接收到的所述目標使用者標識用作為所述目標使用者的身份識別結果。 第二方面,提出了一種基於人臉的身份識別方法,所述方法應用於用戶端,包括: 獲取目標使用者的人臉資訊,所述目標使用者與所述用戶端的當前用戶存在社交關係; 將所述目標使用者的人臉資訊及所述當前使用者的社交使用者標識集合發送至身份識別伺服器,所述當前使用者的社交使用者標識集合用於所述身份識別伺服器在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與所述人臉資訊匹配的目標使用者標識; 接收所述目標使用者標識,以便將所述目標使用者標識用作為所述目標使用者的身份識別結果。 第三方面,提出了一種基於人臉的身份識別方法,所述方法應用於身份識別伺服器,包括: 接收目標使用者的人臉資訊及用戶端的當前使用者的社交使用者標識集合; 在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與所述目標使用者的人臉資訊匹配的目標使用者標識; 將所述目標使用者標識發送至所述用戶端,以便所述用戶端將所述目標使用者標識用作為所述目標使用者的身份識別結果。 第四方面,提出了一種基於人臉的身份識別系統,所述系統包括用戶端和身份識別伺服器,其中: 所述用戶端獲取目標使用者的人臉資訊,所述目標使用者與所述用戶端的當前用戶存在社交關係;將所述目標使用者的人臉資訊及所述當前使用者的社交使用者標識集合發送至身份識別伺服器; 所述身份識別伺服器在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中,查找與所述目標使用者的人臉資訊匹配的目標使用者標識,並將所述目標使用者標識發送至所述用戶端; 所述用戶端將接收到的所述目標使用者標識用作為所述目標使用者的身份識別結果。 第五方面,提出了一種用戶端,包括: 獲取單元,獲取目標使用者的人臉資訊,所述目標使用者與所述用戶端的當前用戶存在社交關係; 發送單元,將所述目標使用者的人臉資訊及所述當前使用者的社交使用者標識集合發送至身份識別伺服器,所述當前使用者的社交使用者標識集合用於所述身份識別伺服器在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與所述目標使用者的人臉資訊匹配的目標使用者標識; 接收單元,接收所述目標使用者標識,以便將所述目標使用者標識用作為所述目標使用者的身份識別結果。 第六方面,提出了一種身份識別伺服器,包括: 接收單元,接收目標使用者的人臉資訊及用戶端的當前使用者的社交使用者標識集合; 查找單元,在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與所述目標使用者的人臉資訊匹配的目標使用者標識; 發送單元,將所述目標使用者標識發送至所述用戶端,以便所述用戶端將所述目標使用者標識用作為所述目標使用者的身份識別結果。 第七方面,提出了一種電子設備,該電子設備包括: 處理器;以及 被安排成儲存電腦可執行指令的記憶體,所述可執行指令在被執行時使所述處理器執行以下操作: 獲取目標使用者的人臉資訊,所述目標使用者與所述用戶端的當前用戶存在社交關係; 將所述目標使用者的人臉資訊及所述當前使用者的社交使用者標識集合發送至身份識別伺服器,所述當前使用者的社交使用者標識集合用於所述身份識別伺服器在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與所述目標使用者的人臉資訊匹配的目標使用者標識; 接收所述目標使用者標識,以便將所述目標使用者標識用作為所述目標使用者的身份識別結果。 第八方面,提出了一種電腦可讀儲存媒介,所述電腦可讀儲存媒介儲存一個或多個程式,所述一個或多個程式當被包括多個應用程式的電子設備執行時,使得所述電子設備執行以下操作: 獲取目標使用者的人臉資訊,所述目標使用者與所述用戶端的當前用戶存在社交關係; 將所述目標使用者的人臉資訊及所述當前使用者的社交使用者標識集合發送至身份識別伺服器,所述當前使用者的社交使用者標識集合用於所述身份識別伺服器在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與所述目標使用者的人臉資訊匹配的目標使用者標識; 接收所述目標使用者標識,以便將所述目標使用者標識用作為所述目標使用者的身份識別結果。 第九方面,提出了一種電子設備,包括: 處理器;以及 被安排成儲存電腦可執行指令的記憶體,所述可執行指令在被執行時使所述處理器執行以下操作: 接收目標使用者的人臉資訊及用戶端的當前使用者的社交使用者標識集合; 在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與所述目標使用者的人臉資訊匹配的目標使用者標識; 將所述目標使用者標識發送至所述用戶端,以便所述用戶端將所述目標使用者標識用作為所述目標使用者的身份識別結果。 第十方面,提出了一種電腦可讀儲存媒介,所述電腦可讀儲存媒介儲存一個或多個程式,所述一個或多個程式當被包括多個應用程式的電子設備執行時,使得所述電子設備執行以下操作: 接收目標使用者的人臉資訊及用戶端的當前使用者的社交使用者標識集合; 在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與所述目標使用者的人臉資訊匹配的目標使用者標識; 將所述目標使用者標識發送至所述用戶端,以便所述用戶端將所述目標使用者標識用作為所述目標使用者的身份識別結果。 本申請實施例採用上述技術方案至少可以達到下述技術效果: 在對目標使用者進行身份識別時,能夠透過用戶端獲取目標使用者的人臉資訊,該目標使用者與用戶端的當前用戶存在社交關係,該用戶端再將目標使用者的人臉資訊及當前使用者的社交使用者標識集合發送至身份識別伺服器,以使得身份識別伺服器在當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與目標使用者的人臉資訊匹配的目標使用者標識,並將匹配的目標使用者標識發送至用戶端,以便用戶端將接收到的目標使用者標識作為目標使用者的識別結果。由於能夠將存在社交關係的使用者的人臉資訊儲存在一個人臉資訊範本中,這樣當用戶端的當前使用者通過用戶端掃描識別目標使用者的人臉資訊時,便可以縮小目標使用者的人臉資訊匹配範圍,提高了即時搜索匹配效率。Embodiments of the present application provide a face-based identity recognition method, device, system, and electronic equipment, to solve the problem that face recognition technology in the prior art is difficult to perform real-time search and matching in a massive face feature database. To solve the above technical problems, the embodiments of the present application are implemented as follows: In the first aspect, a face-based identification method is proposed, including: The user terminal obtains face information of the target user, and the target user has a social relationship with the current user of the user terminal; The user terminal sends the target user's face information and the current user's social user identification set to the identification server; The identification server searches for a target user ID matching the target user's facial information in the face information template corresponding to the current user's social user ID set, and uses the target Sender identification to the user end; The user terminal uses the received target user identification as the identification result of the target user. In the second aspect, a face-based identification method is proposed. The method is applied to the user terminal and includes: Acquiring face information of a target user, the target user has a social relationship with the current user on the user end; Sending the target user's face information and the current user's social user identification set to the identity recognition server, where the current user's social user identification set is used by the identity recognition server to Find the target user ID matching the face information in the face information template corresponding to the current user's social user ID set; Receiving the target user ID, so as to use the target user ID as the identification result of the target user. In a third aspect, a face-based identification method is proposed. The method is applied to an identification server, including: Receive the face information of the target user and the social user identification set of the current user on the user side; Searching for a target user ID that matches the target user's face information in the face information template corresponding to the current user's social user ID set; Sending the target user ID to the user terminal, so that the user terminal uses the target user ID as the identification result of the target user. In a fourth aspect, a face-based identity recognition system is proposed. The system includes a user terminal and an identity recognition server, where: The user terminal obtains the face information of the target user, and the target user has a social relationship with the current user of the user terminal; the face information of the target user and the social user identification of the current user The collection is sent to the identification server; The identification server searches for a target user ID matching the target user's facial information in the face information template corresponding to the current user's social user ID set, and uses the target Sender identification to the user end; The user terminal uses the received target user identification as the identification result of the target user. In the fifth aspect, a user terminal is proposed, including: An obtaining unit, which obtains face information of a target user who has a social relationship with the current user of the user terminal; A sending unit, sending the target user's face information and the current user's social user identification set to the identity recognition server, and the current user's social user identification set is used for the identity recognition servo The device searches for a face user ID matching the face information of the target user in the face information template corresponding to the current user's social user ID set; The receiving unit receives the target user identification, so as to use the target user identification as the identification result of the target user. In the sixth aspect, an identification server is proposed, including: The receiving unit receives the face information of the target user and the social user identification set of the current user on the user end; A searching unit, searching for the target user ID matching the face information of the target user in the face information template corresponding to the current user's social user ID set; The sending unit sends the target user ID to the user terminal, so that the user terminal uses the target user ID as the identification result of the target user. According to a seventh aspect, an electronic device is proposed. The electronic device includes: Processor; and A memory arranged to store computer executable instructions, which when executed, causes the processor to perform the following operations: Acquiring face information of a target user, the target user has a social relationship with the current user on the user end; Sending the target user's face information and the current user's social user identification set to the identity recognition server, where the current user's social user identification set is used by the identity recognition server to Find a target user ID matching the face information of the target user in the face information template corresponding to the current user's social user ID set; Receiving the target user ID, so as to use the target user ID as the identification result of the target user. In an eighth aspect, a computer-readable storage medium is proposed, the computer-readable storage medium storing one or more programs, which when executed by an electronic device including multiple application programs, causes the The electronic device performs the following operations: Acquiring face information of a target user, the target user has a social relationship with the current user on the user end; Sending the target user's face information and the current user's social user identification set to the identity recognition server, where the current user's social user identification set is used by the identity recognition server to Find a target user ID matching the face information of the target user in the face information template corresponding to the current user's social user ID set; Receiving the target user ID, so as to use the target user ID as the identification result of the target user. In the ninth aspect, an electronic device is proposed, including: Processor; and A memory arranged to store computer executable instructions, which when executed, causes the processor to perform the following operations: Receive the face information of the target user and the social user identification set of the current user on the user side; Searching for a target user ID that matches the target user's face information in the face information template corresponding to the current user's social user ID set; Sending the target user ID to the user terminal, so that the user terminal uses the target user ID as the identification result of the target user. According to a tenth aspect, a computer-readable storage medium is proposed. The computer-readable storage medium stores one or more programs that, when executed by an electronic device including a plurality of application programs, cause the The electronic device performs the following operations: Receive the face information of the target user and the social user identification set of the current user on the user side; Searching for a target user ID that matches the target user's face information in the face information template corresponding to the current user's social user ID set; Sending the target user ID to the user terminal, so that the user terminal uses the target user ID as the identification result of the target user. The embodiments of the present application adopt the above technical solutions to at least achieve the following technical effects: When the target user is identified, the user's face information can be obtained through the user terminal. The target user has a social relationship with the current user on the user terminal. The user terminal then uses the target user's face information and current The user's social user ID set is sent to the identification server, so that the identification server finds a target matching the target user's face information in the face information template corresponding to the current user's social user ID set The user ID, and the matched target user ID is sent to the user terminal, so that the user terminal uses the received target user ID as the identification result of the target user. Since the face information of users with social relationships can be stored in a face information template, when the current user of the user terminal recognizes the face information of the target user through the user terminal scan, the person of the target user can be reduced The matching range of face information improves the efficiency of instant search matching.

為使本申請的目的、技術方案和優點更加清楚,下面將結合本申請具體實施例及相應的圖式對本申請技術方案進行清楚、完整地描述。顯然地,被描述的實施例僅是本申請一部分實施例,而不是全部的實施例。基於本申請中的實施例,本領域普通技術人員在沒有做出創造性勞動前提下所獲得的所有其他實施例,都屬於本申請保護的範圍。 以下結合圖式,詳細說明本申請各實施例提供的技術方案。 為解決現有技術中人臉識別技術難以在海量的人臉特徵資料庫中進行即時搜索匹配的問題,本說明書實施例提供一種基於人臉的身份識別方法。 具體地,本說明書的一個或多個實施例提供的一種基於人臉的身份識別方法的實施流程示意圖如圖1所示,包括: 步驟110,用戶端獲取目標使用者的人臉資訊,目標使用者與用戶端的當前用戶存在社交關係。 為了縮小待識別使用者的人臉資訊的搜索匹配範圍,提高搜索匹配效率,本說明書一個或多個實施例可以基於用戶端用戶的社交關係縮小待識別使用者的人臉資訊的搜索匹配範圍,即將與用戶端用戶存在社交關係的所有使用者的人臉資訊儲存在一個範圍較小的資料庫中。 可選地,與當前使用者存在社交關係的目標使用者包括下列至少一種: 當前使用者的指定即時通訊應用的連絡人; 當前用戶關注的指定公眾號的其它關注用戶; 當前使用者在指定即時通訊應用的指定聊天群中的其它用戶; 社交關聯式資料庫中儲存的使用者。 其中,當前使用者的指定即時通訊應用的連絡人可以包括當前用戶所註冊使用的即時通訊應用中添加的好友,或者也可以包括當前使用者通訊錄中儲存的連絡人;社交關聯式資料庫中儲存的使用者可以包括與當前用戶屬於同一學校的校友,或者也可以是與當前用戶參加過同一個公益活動(或者其他需要登記註冊的活動)的用戶,等等可以與當前使用者記錄在同一個社交關聯式資料庫中的用戶。 應理解的是,只要能夠將兩個用戶連接起來的關係均可以稱為社交關係。 步驟120,用戶端將目標使用者的人臉資訊及當前使用者的社交使用者標識集合發送至身份識別伺服器。 其中,當前使用者的社交使用者標識集合可以用於身份識別伺服器在當前使用者的社交使用者標識集合對應的人臉資訊範本中,查找與目標使用者的人臉資訊匹配的目標使用者標識。也就是說,為縮小目標使用者的人臉資訊的搜索匹配範圍,當前使用者的社交使用者標識集合可以對應於一個人臉資訊範本,且該人臉資訊範本中儲存有與當前使用者存在社交關係的所有好友的人臉資訊,且每個人臉資訊對應於一個使用者標識。 步驟130,身份識別伺服器在當前使用者的社交使用者標識集合對應的人臉資訊範本中,查找與目標使用者的人臉資訊匹配的目標使用者標識,並將匹配的目標使用者標識發送至用戶端。 可選地,為縮小目標使用者的人臉資訊搜索匹配的範圍,本說明書的實施例在身份識別伺服器查找與目標使用者的人臉資訊匹配的目標使用者標識之前,還可以: 身份識別伺服器獲取與社交使用者的使用者標識相對應的人臉資訊; 身份識別伺服器基於與社交使用者的使用者標識相對應的人臉資訊,構建當前使用者的社交使用者標識集合對應的人臉資訊範本。 可選地,為了便於身份識別伺服器快速查找到當前使用者的社交使用者標識集合對應的人臉資訊範本,身份識別伺服器基於與社交使用者的使用者標識相對應的人臉資訊,構建當前使用者的社交使用者標識集合對應的人臉資訊範本,具體可以包括: 身份識別伺服器基於與社交使用者的使用者標識相對應的人臉資訊,構建人臉資訊範本; 身份識別伺服器為人臉資訊範本分配唯一標識; 將唯一標識確定為當前使用者的社交使用者標識集合。 其中,當前使用者的社交使用者標識集合對應的人臉資訊範本在實際應用中可以是一個資料庫,那麼上述為人臉資訊範本分配的唯一標識則可以是該資料庫的庫訊標(token)。 可選地,身份識別伺服器在當前使用者的社交使用者標識集合對應的人臉資訊範本中,查找與目標使用者的人臉資訊匹配的目標使用者標識,具體可以包括: 身份識別伺服器獲取與當前使用者的社交使用者標識集合對應的人臉資訊範本; 身份識別伺服器在當前使用者的社交使用者標識集合對應的人臉資訊目標中,查找與目標使用者的人臉資訊匹配的目標使用者標識。 步驟140,用戶端將接收到的目標使用者標識作為目標使用者的識別結果。 其中,該目標使用者標識為目標使用者的唯一標識,在用戶端接收到該目標使用者標識之後,便可以對該目標使用者的身份進行識別,並將目標使用者標識用作為目標使用者的識別結果。 以用戶端的當前使用者與目標使用者面對面轉帳的場景為例,當前使用者若要轉帳給目標使用者,可以透過查找通訊錄來獲取目標使用者的使用者ID,透過目標使用者的使用者ID與目標使用者發起轉帳操作。為省去查找目標使用者的繁瑣操作,可以透過本說明書提供的基於人臉的身份識別方法來進行轉帳操作。 下面以圖2所示的轉帳場景、以社交關係為好友關係為例,對本說明書的實施例提供的基於人臉的身份識別方法的實施過程進行詳細說明。 如圖2所示,該轉帳場景涉及用於支付的用戶端、社區系統、人臉搜索系統、身份認證系統和轉帳系統。其中社區系統、人臉搜索系統和身份認證系統可以包含在上文所述的身份認證伺服器中,社區系統用於維護使用者的社交關係網絡(這裡以社交關係為好友關係為例),即各個用戶有哪些好友。人臉搜索系統用於基於採集到的人臉資訊在對應的人臉資訊範本中搜索與之相匹配的人臉資訊,以獲取與該人臉資訊相對應的使用者ID。身份認證系統中儲存有各個使用者註冊用於支付的用戶端時上傳的實名認證頭像,且每個實名認證頭像與用戶ID之間存在一對一對應的關係。 其中,人臉搜索系統創建用戶端當前使用者的所有好友的人臉資訊範本、以及如何基於目標使用者的人臉資訊對目標使用者進行身份識別,以與目標使用者發起轉帳操作的具體實施過程包括下述主要步驟: S21,用戶端向社區系統查詢用戶端當前使用者的所有好友的用戶ID; 其中,各個用戶ID為對應的使用者的唯一標識。 S22,社區系統向用戶端回送該用戶端當前用戶的所有好友的用戶ID; S23,用戶端向人臉搜索系統發送當前使用者的所有好友的用戶ID列表; S24,人臉搜索系統向身份認證系統查詢當前使用者的所有好友的實名認證頭像; S25,身份認證系統向人臉搜索系統回送當前使用者的所有好友的實名認證頭像; S26,人臉搜索系統基於當前使用者的所有好友的實名認證頭像以及當前用戶的所有好友的用戶ID,創建當前用戶的所有好友的人臉資訊範本; S27,人臉搜索系統為當前使用者的所有好友的人臉資訊範本分配唯一標識X,並將該標識X回送給用戶端; 其中,為當前用戶的所有好友的人臉資訊範本分配唯一標識X,在實際應用中可以是當前用戶的所有好友的人臉資訊範本所在資料庫的庫訊標(token)。 S28,用戶端向人臉搜索系統發送目標使用者的人臉資訊和標識X; S29,人臉搜索系統在標識為X的人臉資訊範本中搜索匹配目標使用者的人臉資訊; S210,在人臉搜索系統在標識為X的人臉資訊範本中搜索匹配到目標使用者的人臉資訊之後,則向用戶端回送搜索匹配到的目標使用者ID; S211,用戶端將目標使用者ID發送至轉帳系統,以與目標使用者發起轉帳操作; S212,轉帳系統向用戶端回送轉帳結果。 需要說明的是,本說明書提供的基於人臉的身份識別方法還可以用於簽到場景、除轉帳以外的其他交易場景中,本說明書的實施例對此不作具體限定。 在對目標使用者進行身份識別時,能夠透過用戶端獲取目標使用者的人臉資訊,該目標使用者與用戶端的當前用戶存在社交關係,該用戶端再將目標使用者的人臉資訊及當前使用者的社交使用者標識集合發送至身份識別伺服器,以使得身份識別伺服器在當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與目標使用者的人臉資訊匹配的目標使用者標識,並將匹配的目標使用者標識發送至用戶端,以便用戶端將接收到的目標使用者標識作為目標使用者的識別結果。由於能夠將存在社交關係的使用者的人臉資訊儲存在一個人臉資訊範本中,這樣當用戶端的當前使用者通過用戶端掃描識別目標使用者的人臉資訊時,便可以縮小目標使用者的人臉資訊匹配範圍,提高了即時搜索匹配效率。 圖3是本說明書的實施例提供的另一種基於人臉的身份識別方法,該方法應用於用戶端,包括: 步驟310,獲取目標使用者的人臉資訊,目標使用者與用戶端的當前用戶存在社交關係。 可選地,與當前使用者存在社交關係的目標使用者包括如下至少一種: 當前使用者的指定即時通訊應用的連絡人; 當前用戶關注的指定公眾號的其它關注用戶; 當前使用者在指定即時通訊應用的指定聊天群中的其它用戶; 社交關聯式資料庫中儲存的使用者。 步驟320,將目標使用者的人臉資訊及當前使用者的社交使用者標識集合發送至身份識別伺服器。 其中,當前使用者的社交使用者標識集合用於身份識別伺服器在當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與人臉資訊匹配的目標使用者標識。 步驟330,接收目標使用者標識,以便將目標使用者標識作為目標使用者的身份識別結果。 圖3所示實施例相關步驟的具體實施可參考圖1至圖2所示實施例中對應的步驟的具體實現,本說明書的一個或多個實施例在此不再贅述。 在對目標使用者進行身份識別時,能夠獲取目標使用者的人臉資訊,該目標使用者與用戶端的當前用戶存在社交關係,再將目標使用者的人臉資訊及當前使用者的社交使用者標識集合發送至身份識別伺服器,以使得身份識別伺服器在當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與目標使用者的人臉資訊匹配的目標使用者標識,最後用戶端接收目標使用者標識並將接收到的目標使用者標識用作為目標使用者的識別結果。由於能夠將存在社交關係的使用者的人臉資訊儲存在一個人臉資訊範本中,這樣當用戶端的當前使用者透過用戶端掃描識別目標使用者的人臉資訊時,便可以縮小目標使用者的人臉資訊匹配範圍,提高了即時搜索匹配效率。 圖4為本說明書的實施例提供的另一種基於人臉的身份識別方法,該方法應用於身份識別伺服器,包括: 步驟410,接收目標使用者的人臉資訊及用戶端的當前使用者的社交使用者標識集合,其中目標使用者與用戶端的當前用戶存在社交關係。 可選地,與當前使用者存在社交關係的目標使用者包括如下至少一種: 當前使用者的指定即時通訊應用的連絡人; 當前用戶關注的指定公眾號的其它關注用戶; 當前使用者在指定即時通訊應用的指定聊天群中的其它用戶; 社交關聯式資料庫中儲存的使用者。 步驟420,在當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與目標使用者的人臉資訊匹配的目標使用者標識。 可選地,為縮小目標使用者的人臉資訊的匹配範圍,在查找與目標使用者的人臉資訊匹配的目標使用者標識之前,還可以通過下述步驟構建當前使用者的社交使用者標識集合對應的人臉資訊範本: 獲取與社交使用者的使用者標識相對應的人臉資訊; 基於與社交使用者的使用者標識相對應的人臉資訊,構建當前使用者的社交使用者標識集合對應的人臉資訊範本。 可選地,基於與社交使用者的使用者標識相對應的人臉資訊,構建當前使用者的社交使用者標識集合對應的人臉資訊範本,包括: 基於與社交使用者的使用者標識相對應的人臉資訊,構建人臉資訊範本; 為所述人臉資訊範本分配唯一標識; 將唯一標識確定為當前使用者的社交使用者標識集合。 可選地,在當前使用者的社交使用者標識集合對應的人臉資訊範本中,查找與目標使用者的人臉資訊匹配的目標使用者標識,具體可以: 獲取與所述當前使用者的社交使用者標識集合對應的人臉資訊範本; 在當前使用者的社交使用者標識集合對應的人臉資訊目標中,查找與目標使用者的人臉資訊匹配的目標使用者標識。 步驟430,將目標使用者標識發送至用戶端,以便用戶端將目標使用者標識作為目標使用者的身份識別結果。 圖4所示實施例相關步驟的具體實施可參考圖1~圖2所示實施例中對應的步驟的具體實現,本說明書的一個或多個實施例在此不再贅述。 在對目標使用者進行身份識別時,能夠接收目標使用者的人臉資訊,該目標使用者與用戶端的當前用戶存在社交關係,再在當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與目標使用者的人臉資訊匹配的目標使用者標識,並將匹配的目標使用者標識發送至用戶端,以便用戶端將接收到的目標使用者標識用作為目標使用者的識別結果。由於能夠將存在社交關係的使用者的人臉資訊儲存在一個人臉資訊範本中,這樣當用戶端的當前使用者通過用戶端掃描識別目標使用者的人臉資訊時,便可以縮小目標使用者的人臉資訊匹配範圍,提高了即時搜索匹配效率。 圖5為本說明書的實施例提供的基於人臉的身份識別系統500結構示意圖。請參考圖5,在一種軟體實施方式中,基於人臉的身份識別系統500可包括用戶端501和身份識別伺服器502,其中: 所述用戶端501獲取目標使用者的人臉資訊,所述目標使用者與所述用戶端的當前用戶存在社交關係;將所述目標使用者的人臉資訊及所述當前使用者的社交使用者標識集合發送至身份識別伺服器,所述當前使用者的社交使用者標識集合用於所述身份識別伺服器在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與所述目標使用者的人臉資訊匹配的使用者標識; 所述身份識別伺服器502接收所述目標使用者的人臉資訊及所述當前使用者的社交使用者標識集合;在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中,查找與所述目標使用者的人臉資訊匹配的目標使用者標識;將所述目標使用者標識發送至所述用戶端; 所述用戶端501接收所述目標使用者標識,以便基於所述目標使用者標識對所述目標使用者進行身份識別。 可選地,在一種實施方式中,在所述身份識別伺服器502查找與所述目標使用者的人臉資訊匹配的目標使用者標識之前,所述身份識別伺服器502,還用於: 獲取與所述社交使用者的使用者標識相對應的人臉資訊; 基於與所述社交使用者的使用者標識相對應的人臉資訊,構建所述當前使用者的社交使用者標識集合對應的人臉資訊範本。 可選地,在一種實施方式中,所述身份識別伺服器502,具體用於: 基於與所述社交使用者的使用者標識相對應的人臉資訊,構建人臉資訊範本; 為所述人臉資訊範本分配唯一標識; 將所述唯一標識確定為所述當前使用者的社交使用者標識集合。 可選地,在一種實施方式中,所述身份識別伺服器502,具體用於: 獲取與所述當前使用者的社交使用者標識集合對應的人臉資訊範本; 在所述當前使用者的社交使用者標識集合對應的人臉資訊目標中,查找與所述目標使用者的人臉資訊匹配的目標使用者標識。 可選地,在一種實施方式中, 與所述當前使用者存在社交關係的目標使用者包括如下至少一種: 所述當前使用者的指定即時通訊應用的連絡人; 所述當前用戶關注的指定公眾號的其它關注用戶; 所述當前使用者在指定即時通訊應用的指定聊天群中的其它用戶; 社交關聯式資料庫中儲存的使用者。 基於人臉的身份識別系統500能夠實施圖1~圖2的方法實施例的方法,具體可參考圖1~圖2所示實施例的基於人臉的身份識別方法,不再贅述。 圖6為本說明書的實施例提供的用戶端600的結構示意圖。請參考圖6,在一種軟體實施方式中,用戶端600可包括獲取單元601、發送單元602和接收單元603,其中: 獲取單元601,獲取目標使用者的人臉資訊,所述目標使用者與所述用戶端的當前用戶存在社交關係; 發送單元602,將所述目標使用者的人臉資訊及所述當前使用者的社交使用者標識集合發送至身份識別伺服器,所述當前使用者的社交使用者標識集合用於所述身份識別伺服器在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與所述目標使用者的人臉資訊匹配的使用者標識; 接收單元603,接收所述使用者標識,以便所述用戶端基於所述使用者標識對所述目標使用者進行身份識別。 可選地,在一種實施方式中, 與所述當前使用者存在社交關係的目標使用者包括如下至少一種: 所述當前使用者的指定即時通訊應用的連絡人; 所述當前用戶關注的指定公眾號的其它關注用戶; 所述當前使用者在指定即時通訊應用的指定聊天群中的其它用戶; 社交關聯式資料庫中儲存的使用者。 用戶端600能夠實施圖3的方法實施例的方法,具體可參考圖3所示實施例的基於人臉的身份識別方法,不再贅述。 圖7為本說明書的實施例提供的身份識別伺服器700的結構示意圖。請參考圖7,在一種軟體實施方式中,身份識別伺服器700可包括接收單元701、查找單元702和發送單元703,其中: 接收單元701,接收目標使用者的人臉資訊及用戶端的當前使用者的社交使用者標識集合,其中所述目標使用者與所述用戶端的當前用戶存在社交關係; 查找單元702,在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與所述目標使用者的人臉資訊匹配的使用者標識; 發送單元703,將所述使用者標識發送至所述用戶端,以便所述用戶端基於所述使用者標識對所述目標使用者進行身份識別。 可選地,在一種實施方式中,在所述查找單元702查找與所述目標使用者的人臉資訊匹配的目標使用者標識之前,所述身份識別伺服器700還包括: 獲取單元704,獲取與所述社交使用者的使用者標識相對應的人臉資訊; 構建單元705,基於與所述社交使用者的使用者標識相對應的人臉資訊,構建所述當前使用者的社交使用者標識集合對應的人臉資訊範本。 可選地,在一種實施方式中,所述構建單元705,具體用於: 基於與所述社交使用者的使用者標識相對應的人臉資訊,構建人臉資訊範本; 為所述人臉資訊範本分配唯一標識; 將所述唯一標識確定為所述當前使用者的社交使用者標識集合。 可選地,在一種實施方式中,所述查找單元702,具體用於: 獲取與所述當前使用者的社交使用者標識集合對應的人臉資訊範本; 在所述當前使用者的社交使用者標識集合對應的人臉資訊目標中,查找與所述目標使用者的人臉資訊匹配的目標使用者標識。 可選地,在一種實施方式中, 與所述當前使用者存在社交關係的目標使用者包括下列至少一種: 所述當前使用者的指定即時通訊應用的連絡人; 所述當前用戶關注的指定公眾號的其它關注用戶; 所述當前使用者在指定即時通訊應用的指定聊天群中的其它用戶; 社交關聯式資料庫中儲存的使用者。 身份識別伺服器700能夠實施圖4的方法實施例的方法,具體可參考圖4所示實施例的基於人臉的身份識別方法,不再贅述。 圖8是本說明書的一個實施例提供的電子設備的結構示意圖。請參考圖8,在硬體層面,該電子設備包括處理器,可選地還包括內部匯流排、網路介面、記憶體。其中,記憶體可能包含記憶體,例如高速隨機存取記憶體(Random-Access Memory,RAM),也可能還包括非揮發性記憶體(non-volatile memory),例如至少1個磁碟記憶體等。當然,該電子設備還可能包括其他業務所需要的硬體。 處理器、網路介面和記憶體可以通過內部匯流排相互連接,該內部匯流排可以是ISA(Industry Standard Architecture,工業標準架構)匯流排、PCI(Peripheral Component Interconnect,周邊組件互連標準)匯流排或EISA(Extended Industry Standard Architecture,延伸工業標準架構)匯流排等。所述匯流排可以分為位址匯流排、資料匯流排、控制匯流排等。為便於表示,圖8中僅用一個雙向箭頭表示,但並不表示僅有一根匯流排或一種類型的匯流排。 記憶體,用於存放程式。具體地,程式可以包括程式碼,所述程式碼包括電腦操作指令。記憶體可以包括記憶體和非揮發性記憶體,並向處理器提供指令和資料。 處理器從非揮發性記憶體中讀取對應的電腦程式到記憶體中然後執行,在邏輯層面上形成用戶端。處理器,執行記憶體所存放的程式,並具體用於執行以下操作: 獲取目標使用者的人臉資訊,所述目標使用者與所述用戶端的當前用戶存在社交關係; 將所述目標使用者的人臉資訊及所述當前使用者的社交使用者標識集合發送至身份識別伺服器,所述當前使用者的社交使用者標識集合用於所述身份識別伺服器在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與所述人臉資訊匹配的目標使用者標識; 接收所述目標使用者標識,以便將所述目標使用者標識用作為所述目標使用者的身份識別結果。 上述如本說明書圖3所示實施例揭示的基於人臉的身份識別方法可以應用於處理器中,或者由處理器實施。處理器可能是一種積體電路晶片,具有信號的處理能力。在實施過程中,上述方法的各步驟可以透過處理器中的硬體的集成邏輯電路或者軟體形式的指令完成。上述的處理器可以是通用處理器,包括中央處理器(Central Processing Unit,CPU)、網路處理器(Network Processor,NP)等;還可以是數位訊號處理器(Digital Signal Processor,DSP)、特定應用積體電路(Application Specific Integrated Circuit,ASIC)、現場可程式閘陣列(Field-Programmable Gate Array,FPGA)或者其他可程式邏輯器、分立門或者電晶體邏輯器、分立硬體元件。可以實施或者執行本說明書的一個或多個實施例中的公開的各方法、步驟及邏輯方塊圖。通用處理器可以是微處理器或者該處理器也可以是任何常規的處理器等。結合本說明書的一個或多個實施例所公開的方法的步驟可以直接體現為硬體解碼處理器執行完成,或者用解碼處理器中的硬體及軟體模組組合執行完成。軟體模組可以位於隨機記憶體,快閃記憶體、唯讀記憶體,可程式設計唯讀記憶體或者電可讀寫可程式記憶體、暫存器等本領域成熟的儲存媒介中。該儲存媒介位於記憶體,處理器讀取記憶體中的資訊,結合其硬體完成上述方法的步驟。 該電子設備還可執行圖3的基於人臉的身份識別方法,本說明書在此不再贅述。 當然,除了軟體實現方式之外,本說明書的電子設備並不排除其他實施方式,比如邏輯器抑或軟硬體結合的方式等等,也就是說以下處理流程的執行主體並不限定於各個邏輯單元,也可以是硬體或邏輯器。 圖9是本說明書的一個實施例提供的另一電子設備的結構示意圖。請參考圖9,在硬體層面,該電子設備包括處理器,可選地還包括內部匯流排、網路介面、記憶體。其中,記憶體可能包含內建記憶體,例如高速隨機存取記憶體(Random-Access Memory,RAM),也可能還包括非揮發性記憶體(non-volatile memory),例如至少1個磁碟記憶體等。當然,該電子設備還可能包括其他業務所需要的硬體。 處理器、網路介面和記憶體可以通過內部匯流排相互連接,該內部匯流排可以是ISA(Industry Standard Architecture,工業標準架構)匯流排、PCI(Peripheral Component Interconnect,周邊組件互連標準)匯流排或EISA(Extended Industry Standard Architecture,延伸工業標準架構)匯流排等。所述匯流排可以分為位址匯流排、資料匯流排、控制匯流排等。為便於表示,圖9中僅用一個雙向箭頭表示,但並不表示僅有一根匯流排或一種類型的匯流排。 記憶體,用於存放程式。具體地,程式可以包括程式碼,所述程式碼包括電腦操作指令。記憶體可以包括記憶體和非易失性記憶體,並向處理器提供指令和資料。 處理器從非揮發性記憶體中讀取對應的電腦程式到記憶體中然後執行,在邏輯層面上形成身份識別伺服器。處理器,執行記憶體所存放的程式,並具體用於執行以下操作: 接收目標使用者的人臉資訊及用戶端的當前使用者的社交使用者標識集合,其中所述目標使用者與所述用戶端的當前用戶存在社交關係; 在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與所述目標使用者的人臉資訊匹配的目標使用者標識; 將所述目標使用者標識發送至所述用戶端,以便所述用戶端將所述目標使用者標識用作為所述目標使用者的身份識別結果。 上述如本說明書圖4所示實施例揭示的基於人臉的身份識別方法可以應用於處理器中,或者由處理器實施。處理器可能是一種積體電路晶片,具有信號的處理能力。在實施過程中,上述方法的各步驟可以通過處理器中的硬體的集成邏輯電路或者軟體形式的指令完成。上述的處理器可以是通用處理器,包括中央處理器(Central Processing Unit,CPU)、網路處理器(Network Processor,NP)等;還可以是數位訊號處理器(Digital Signal Processor,DSP)、特定應用積體電路(Application Specific Integrated Circuit,ASIC)、現場可程式閘陣列(Field-Programmable Gate Array,FPGA)或者其他可程式邏輯器、分立門或者電晶體邏輯器、分立硬體元件。可以實施或者執行本說明書的一個或多個實施例中的公開的各方法、步驟及邏輯方塊圖。通用處理器可以是微處理器或者該處理器也可以是任何常規的處理器等。結合本說明書的一個或多個實施例所公開的方法的步驟可以直接體現為硬體解碼處理器執行完成,或者用解碼處理器中的硬體及軟體模組組合執行完成。軟體模組可以位於隨機記憶體,快閃記憶體、唯讀記憶體,可程式唯讀記憶體或者電可讀寫可程式記憶體、暫存器等本領域成熟的儲存媒介中。該儲存媒介位於記憶體,處理器讀取記憶體中的資訊,結合其硬體完成上述方法的步驟。 該電子設備還可執行圖4的基於人臉的身份識別方法,本說明書在此不再贅述。 當然,除了軟體實現方式之外,本說明書的電子設備並不排除其他實施方式,比如邏輯器抑或軟硬體結合的方式等等,也就是說以下處理流程的執行主體並不限定於各個邏輯單元,也可以是硬體或邏輯器件。 總之,以上所述僅為本說明書的較佳實施例而已,並非用於限定本說明書的保護範圍。凡在本說明書的一個或多個實施例的精神和原則之內,所作的任何修改、等同替換、改進等,均應包含在本說明書一個或多個實施例的保護範圍之內。 上述實施例闡明的系統、裝置、模組或單元,具體可以由電腦晶片或實體實施,或者由具有某種功能的產品來實施。一種典型的實施設備為電腦。具體的,電腦例如可以為個人電腦、膝上型電腦、蜂巢式電話、相機電話、智慧型電話、個人數位助理、媒體播放機、導航設備、電子郵件設備、遊戲控制台、平板電腦、可穿戴設備或者這些設備中的任何設備的組合。 電腦可讀媒介包括永久性和非永久性、可移動和非可移動媒體可以由任何方法或技術來實現資訊儲存。資訊可以是電腦可讀指令、資料結構、程式的模組或其他資料。電腦的儲存媒介的例子包括,但不限於相變記憶體(PRAM)、靜態隨機存取記憶體(SRAM)、動態隨機存取記憶體(DRAM)、其他類型的隨機存取記憶體(RAM)、唯讀記憶體(ROM)、電可抹除可程式唯讀記憶體(EEPROM)、快閃記憶體或其他記憶體技術、唯讀光碟唯讀記憶體(CD-ROM)、數位多功能光碟(DVD)或其他光學儲存、磁盒式磁帶,磁帶磁磁片儲存或其他磁性存放裝置或任何其他非傳輸媒介,可用於儲存可以被計算設備存取的資訊。按照本文中的界定,電腦可讀媒介不包括暫存電腦可讀媒體(transitory media),如調變的資料信號和載波。 還需要說明的是,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、商品或者設備不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、商品或者設備所固有的要素。在沒有更多限制的情況下,由語句“包括一個……”限定的要素,並不排除在包括所述要素的過程、方法、商品或者設備中還存在另外的相同要素。 本說明書中的各個實施例均採用遞進的方式描述,各個實施例之間相同相似的部分互相參見即可,每個實施例重點說明的都是與其他實施例的不同之處。尤其,對於系統實施例而言,由於其基本相似於方法實施例,所以描述的比較簡單,相關之處參見方法實施例的部分說明即可。In order to make the purpose, technical solutions and advantages of the present application more clear, the technical solutions of the present application will be described clearly and completely in conjunction with specific embodiments of the present application and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application. The technical solutions provided by the embodiments of the present application will be described in detail below with reference to the drawings. In order to solve the problem that the face recognition technology in the prior art is difficult to search and match in the massive face feature database in real time, the embodiments of the present specification provide a face recognition method. Specifically, a schematic diagram of an implementation process of a face-based identity recognition method provided by one or more embodiments of this specification is shown in FIG. 1 and includes: Step 110: The user terminal obtains face information of the target user, and the target user has a social relationship with the current user of the user terminal. In order to narrow the search matching range of the face information of the user to be recognized and improve the search matching efficiency, one or more embodiments of this specification can narrow the search matching range of the face information of the user to be recognized based on the social relationship of the user at the user end, The face information of all users who have a social relationship with the user of the user terminal is stored in a smaller database. Optionally, the target users who have a social relationship with the current user include at least one of the following: The contact of the current user's designated instant messaging application; Other concerned users of the designated public account concerned by the current user; Other users of the current user in the specified chat group of the specified instant messaging application; Users stored in a socially-connected database. Among them, the contact of the current user's designated instant messaging application may include a friend added in the instant messaging application registered by the current user, or may include a contact stored in the current user's address book; in a socially-linked database Stored users can include alumni who belong to the same school as the current user, or users who have participated in the same public welfare activities (or other activities that require registration) with the current user, etc., can be recorded in the same as the current user Users in a socially connected database. It should be understood that any relationship that can connect two users can be called a social relationship. Step 120: The user terminal sends the target user's face information and the current user's social user identification set to the identity recognition server. Among them, the current user's social user ID set can be used by the identification server to find the target user matching the target user's face information in the face information template corresponding to the current user's social user ID set Logo. In other words, in order to narrow the search matching range of the target user's face information, the current user's social user identification set may correspond to a face information template, and the face information template stores social interactions with the current user Face information of all friends in the relationship, and each face information corresponds to a user ID. Step 130: The identity recognition server searches for the target user ID matching the target user's facial information in the face information template corresponding to the current user's social user ID set, and sends the matching target user ID To the client. Optionally, in order to narrow the search matching range of the target user's facial information, the embodiment of the present specification may, before the identity recognition server finds the target user ID matching the target user's facial information, may: The identification server obtains face information corresponding to the user identification of social users; The identity recognition server builds a face information template corresponding to the current user's social user ID set based on the face information corresponding to the user ID of the social user. Optionally, in order to facilitate the identification server to quickly find the face information template corresponding to the current user's social user identification set, the identification server is constructed based on the face information corresponding to the social user's user identification The face information template corresponding to the current user's social user ID set may specifically include: The identity recognition server constructs a face information template based on face information corresponding to the user identification of social users; The identification server assigns a unique identifier to the face information template; The unique identifier is determined as the current user's social user identifier set. Among them, the face information template corresponding to the current user's social user ID set can be a database in practical applications, then the above-mentioned unique identifier assigned to the face information template can be the database beacon of the database (token ). Optionally, the identification server searches for the target user ID matching the target user's facial information in the face information template corresponding to the current user's social user ID set, which may specifically include: The identification server obtains a template of facial information corresponding to the current user's social user identification set; The identification server searches for the target user ID matching the target user's facial information in the face information target corresponding to the current user's social user ID set. Step 140: The user terminal uses the received target user identification as the identification result of the target user. The target user ID is the unique ID of the target user. After receiving the target user ID, the user can identify the target user and use the target user ID as the target user Recognition results. Taking the scenario of face-to-face transfer between the current user of the user terminal and the target user, for example, if the current user wants to transfer money to the target user, the user ID of the target user can be obtained by looking up the address book. The ID and the target user initiate the transfer operation. In order to save the tedious operation of finding the target user, the transfer operation can be carried out through the face-based identification method provided in this manual. The following uses the transfer scenario shown in FIG. 2 and the social relationship as a friend relationship as an example to describe in detail the implementation process of the face-based identity recognition method provided by the embodiments of the present specification. As shown in FIG. 2, this transfer scenario involves a user terminal for payment, a community system, a face search system, an identity authentication system, and a transfer system. Among them, the community system, face search system, and identity authentication system can be included in the identity authentication server described above, and the community system is used to maintain the user’s social relationship network (here, taking the social relationship as a friend relationship for example), that is What friends do each user have. The face search system is used to search for the matching face information in the corresponding face information template based on the collected face information to obtain the user ID corresponding to the face information. The identity authentication system stores the real-name authentication avatars uploaded by each user when registering the user terminal for payment, and there is a one-to-one correspondence between each real-name authentication avatar and the user ID. Among them, the face search system creates the face information templates of all the friends of the current user on the user end, and how to identify the target user based on the face information of the target user to initiate the specific implementation of the transfer operation with the target user The process includes the following main steps: S21, the user terminal queries the community system for the user IDs of all the friends of the current user of the user terminal; Among them, each user ID is a unique identifier of the corresponding user. S22, the community system returns the user IDs of all the friends of the current user of the user terminal to the user terminal; S23, the user terminal sends a user ID list of all the friends of the current user to the face search system; S24, the face search system queries the identity authentication system for the real-name authentication avatars of all the friends of the current user; S25, the identity authentication system returns the real-name authentication avatars of all the friends of the current user to the face search system; S26, the face search system creates a face information template of all the friends of the current user based on the real-name authentication avatars of all the friends of the current user and the user IDs of all the friends of the current user; S27. The face search system assigns a unique identifier X to the face information templates of all friends of the current user, and sends the identifier X back to the user terminal; Among them, the face information templates of all the friends of the current user are assigned a unique identifier X, which may be a token of the database where the face information templates of all the friends of the current user are located in practical applications. S28, the user terminal sends the face information and logo X of the target user to the face search system; S29. The face search system searches for face information matching the target user in the face information template identified as X; S210, after the face search system searches the face information template matching the target user's face information in the face information template identified as X, it returns the searched and matched target user ID to the user end; S211, the user terminal sends the target user ID to the transfer system to initiate a transfer operation with the target user; S212, the transfer system returns the transfer result to the user terminal. It should be noted that the face-based identity recognition method provided in this specification can also be used in check-in scenarios and other transaction scenarios other than transfers, which are not specifically limited in the embodiments of this specification. When the target user is identified, the user's face information can be obtained through the user terminal. The target user has a social relationship with the current user on the user terminal. The user terminal then uses the target user's face information and current The user's social user ID set is sent to the identification server, so that the identification server finds a target matching the target user's face information in the face information template corresponding to the current user's social user ID set The user ID, and the matched target user ID is sent to the user terminal, so that the user terminal uses the received target user ID as the identification result of the target user. Since the face information of users with social relationships can be stored in a face information template, when the current user of the user terminal recognizes the face information of the target user through the user terminal scan, the person of the target user can be reduced The matching range of face information improves the efficiency of instant search matching. FIG. 3 is another face recognition method provided by an embodiment of the present specification. The method is applied to a user terminal and includes: Step 310: Acquire face information of the target user. The target user has a social relationship with the current user on the user side. Optionally, the target users who have a social relationship with the current user include at least one of the following: The contact of the current user's designated instant messaging application; Other concerned users of the designated public account concerned by the current user; Other users of the current user in the specified chat group of the specified instant messaging application; Users stored in a socially-connected database. Step 320: Send the target user's face information and the current user's social user identification set to the identity recognition server. Wherein, the current user's social user ID set is used by the identity recognition server to find the target user ID matching the face information in the face information template corresponding to the current user's social user ID set. Step 330: Receive the target user ID, so that the target user ID is used as the identification result of the target user. For the specific implementation of the relevant steps in the embodiment shown in FIG. 3, reference may be made to the specific implementation of the corresponding steps in the embodiments shown in FIGS. 1 to 2, and one or more embodiments of this specification will not be repeated here. When identifying the target user, the target user's face information can be obtained. The target user has a social relationship with the current user on the user side, and then the target user's face information and the current user's social user The identification set is sent to the identification server, so that the identification server looks for the target user ID that matches the target user's face information in the face information template corresponding to the current user's social user ID set, and the last user The terminal receives the target user ID and uses the received target user ID as the identification result of the target user. Since the face information of users with social relationships can be stored in a face information template, when the current user of the user terminal recognizes the face information of the target user through the user terminal scan, the person of the target user can be reduced The matching range of face information improves the efficiency of instant search matching. FIG. 4 is another face recognition method provided by an embodiment of the present specification. The method is applied to an identity recognition server and includes: Step 410: Receive the face information of the target user and the social user identification set of the current user on the user end, where the target user has a social relationship with the current user on the user end. Optionally, the target users who have a social relationship with the current user include at least one of the following: The contact of the current user's designated instant messaging application; Other concerned users of the designated public account concerned by the current user; Other users of the current user in the specified chat group of the specified instant messaging application; Users stored in a socially-connected database. Step 420: Find the target user ID matching the target user's face information in the face information template corresponding to the current user's social user ID set. Optionally, in order to narrow the matching range of the face information of the target user, before searching for the target user ID that matches the face information of the target user, the social user ID of the current user can also be constructed by the following steps The face information template corresponding to the collection: Obtain face information corresponding to the user ID of social users; Based on the face information corresponding to the user ID of the social user, a face information template corresponding to the social user ID set of the current user is constructed. Optionally, based on the face information corresponding to the user ID of the social user, construct a face information template corresponding to the current user's social user ID set, including: Based on the face information corresponding to the user ID of the social user, construct a face information template; Assign a unique identifier to the face information template; The unique identifier is determined as the current user's social user identifier set. Optionally, in the face information template corresponding to the current user's social user ID set, finding the target user ID that matches the target user's face information, specifically: Acquiring a template of face information corresponding to the set of social user IDs of the current user; In the face information target corresponding to the current user's social user ID set, find the target user ID that matches the target user's face information. Step 430: Send the target user ID to the user terminal, so that the user terminal uses the target user ID as the identification result of the target user. For the specific implementation of the relevant steps in the embodiment shown in FIG. 4, reference may be made to the specific implementation of the corresponding steps in the embodiments shown in FIGS. 1 to 2, and one or more embodiments of this specification will not be repeated here. When the target user is identified, the target user's face information can be received. The target user has a social relationship with the current user on the user side, and then the face information template corresponding to the current user's social user identification set Find the target user ID matching the target user's face information, and send the matched target user ID to the user terminal, so that the user terminal uses the received target user ID as the identification result of the target user. Since the face information of users with social relationships can be stored in a face information template, when the current user of the user terminal recognizes the face information of the target user through the user terminal scan, the person of the target user can be reduced The matching range of face information improves the efficiency of instant search matching. FIG. 5 is a schematic structural diagram of a face-based identity recognition system 500 provided by an embodiment of the present specification. Referring to FIG. 5, in a software implementation, the face-based identity recognition system 500 may include a user terminal 501 and an identity recognition server 502, where: The user terminal 501 obtains face information of the target user, and the target user has a social relationship with the current user of the user terminal; the face information of the target user and the social user of the current user The identification set is sent to the identification server, and the current user's social user identification set is used by the identification server to search for and find the face information template corresponding to the current user's social user identification set. The user ID matching the face information of the target user; The identification server 502 receives the face information of the target user and the social user identification set of the current user; in the face information template corresponding to the social user identification set of the current user, Find a target user ID that matches the face information of the target user; send the target user ID to the user terminal; The user terminal 501 receives the target user identification, so as to identify the target user based on the target user identification. Optionally, in one embodiment, before the identity recognition server 502 finds a target user identifier that matches the target user's facial information, the identity recognition server 502 is also used to: Acquiring face information corresponding to the user ID of the social user; Based on the face information corresponding to the user identification of the social user, a face information template corresponding to the social user identification set of the current user is constructed. Optionally, in an embodiment, the identity recognition server 502 is specifically used to: Construct a face information template based on face information corresponding to the user identification of the social user; Assign a unique identifier to the face information template; The unique identifier is determined as the current user's social user identifier set. Optionally, in an embodiment, the identity recognition server 502 is specifically used to: Acquiring a template of face information corresponding to the set of social user IDs of the current user; In the face information target corresponding to the current user's social user ID set, find a target user ID that matches the target user's face information. Optionally, in an embodiment, Target users who have a social relationship with the current user include at least one of the following: A contact of the current user's designated instant messaging application; Other concerned users of the designated public account concerned by the current user; Other users of the current user in the designated chat group of the designated instant messaging application; Users stored in a socially-connected database. The face-based identity recognition system 500 can implement the methods of the method embodiments of FIG. 1 to FIG. 2. For details, reference may be made to the face-based identity recognition method of the embodiments shown in FIGS. 1 to 2, and details are not described again. FIG. 6 is a schematic structural diagram of a user terminal 600 provided by an embodiment of the present specification. Referring to FIG. 6, in a software implementation, the user terminal 600 may include an acquiring unit 601, a sending unit 602, and a receiving unit 603, where: The obtaining unit 601 obtains face information of a target user who has a social relationship with the current user of the user terminal; The sending unit 602 sends the target user's face information and the current user's social user identification set to the identification server, and the current user's social user identification set is used for the identification The server searches for a user ID matching the face information of the target user in the face information template corresponding to the current user's social user ID set; The receiving unit 603 receives the user identification, so that the user terminal identifies the target user based on the user identification. Optionally, in an embodiment, Target users who have a social relationship with the current user include at least one of the following: A contact of the current user's designated instant messaging application; Other concerned users of the designated public account concerned by the current user; Other users of the current user in the designated chat group of the designated instant messaging application; Users stored in a socially-connected database. The user terminal 600 can implement the method of the method embodiment in FIG. 3. For details, reference may be made to the face-based identity recognition method in the embodiment shown in FIG. 3, and details are not described again. 7 is a schematic structural diagram of an identity recognition server 700 provided by an embodiment of the present specification. Referring to FIG. 7, in a software implementation, the identity recognition server 700 may include a receiving unit 701, a searching unit 702, and a sending unit 703, where: The receiving unit 701 receives the face information of the target user and the social user identification set of the current user on the user end, where the target user has a social relationship with the current user on the user end; A searching unit 702, searching for a user ID matching the face information of the target user in the face information template corresponding to the current user's social user ID set; The sending unit 703 sends the user identification to the user terminal, so that the user terminal identifies the target user based on the user identification. Optionally, in an embodiment, before the search unit 702 searches for a target user ID that matches the target user's face information, the identity recognition server 700 further includes: The obtaining unit 704 obtains face information corresponding to the user ID of the social user; The building unit 705 constructs a face information template corresponding to the current user's social user ID set based on the face information corresponding to the user ID of the social user. Optionally, in an embodiment, the construction unit 705 is specifically used to: Construct a face information template based on face information corresponding to the user identification of the social user; Assign a unique identifier to the face information template; The unique identifier is determined as the current user's social user identifier set. Optionally, in an implementation manner, the search unit 702 is specifically configured to: Acquiring a template of face information corresponding to the set of social user IDs of the current user; In the face information target corresponding to the current user's social user ID set, find a target user ID that matches the target user's face information. Optionally, in an embodiment, Target users who have a social relationship with the current user include at least one of the following: A contact of the current user's designated instant messaging application; Other concerned users of the designated public account concerned by the current user; Other users of the current user in the designated chat group of the designated instant messaging application; Users stored in a socially-connected database. The identity recognition server 700 can implement the method of the method embodiment of FIG. 4. For details, reference may be made to the face-based identity recognition method of the embodiment shown in FIG. 4, and details are not described again. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present specification. Please refer to FIG. 8. At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include memory, such as high-speed random access memory (Random-Access Memory, RAM), or may include non-volatile memory (non-volatile memory), such as at least one disk memory, etc. . Of course, the electronic device may also include hardware required by other businesses. The processor, network interface and memory can be connected to each other through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus Or EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, and a control bus. For ease of representation, only one bidirectional arrow is used in FIG. 8, but it does not mean that there is only one bus bar or one type of bus bar. Memory for storing programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory may include memory and non-volatile memory, and provides instructions and data to the processor. The processor reads the corresponding computer program from the non-volatile memory into the memory and executes it, forming a client at a logical level. The processor executes the programs stored in the memory and is specifically used to perform the following operations: Acquiring face information of a target user, the target user has a social relationship with the current user on the user end; Sending the target user's face information and the current user's social user identification set to the identity recognition server, where the current user's social user identification set is used by the identity recognition server to Find the target user ID matching the face information in the face information template corresponding to the current user's social user ID set; Receiving the target user ID, so as to use the target user ID as the identification result of the target user. The face-based identification method disclosed in the embodiment shown in FIG. 3 of the present specification may be applied to or implemented by the processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the above method can be completed through instructions in the form of hardware integrated logic circuits or software in the processor. The aforementioned processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; or a digital signal processor (Digital Signal Processor, DSP), specific Application integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic, discrete gate or transistor logic, discrete hardware components. The methods, steps, and logical block diagrams disclosed in one or more embodiments of this specification can be implemented or performed. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with one or more embodiments of this specification can be directly embodied and executed by a hardware decoding processor, or can be executed and completed by a combination of hardware and software modules in the decoding processor. The software module can be located in random memory, flash memory, read-only memory, programmable read-only memory or electrically readable and writable programmable memory, temporary storage and other mature storage media in the art. The storage medium is located in the memory. The processor reads the information in the memory and combines the hardware to complete the steps of the above method. The electronic device can also execute the face-based identity recognition method of FIG. 3, which will not be repeated here. Of course, in addition to the software implementation, the electronic device of this specification does not exclude other implementations, such as a logic device or a combination of software and hardware, etc., that is to say, the execution body of the following processing flow is not limited to each logical unit , Can also be hardware or logic. 9 is a schematic structural diagram of another electronic device provided by an embodiment of the present specification. Please refer to FIG. 9, at the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include built-in memory, such as high-speed random access memory (Random-Access Memory, RAM), or may also include non-volatile memory (non-volatile memory), such as at least one disk memory Body etc. Of course, the electronic device may also include hardware required by other businesses. The processor, network interface and memory can be connected to each other through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus Or EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, and a control bus. For ease of representation, only one bidirectional arrow is used in FIG. 9, but it does not mean that there is only one bus bar or one type of bus bar. Memory for storing programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory may include memory and non-volatile memory, and provide instructions and data to the processor. The processor reads the corresponding computer program from the non-volatile memory into the memory and executes it, forming an identification server at a logical level. The processor executes the programs stored in the memory and is specifically used to perform the following operations: Receiving the face information of the target user and the social user identification set of the current user on the user end, where the target user has a social relationship with the current user on the user end; Searching for a target user ID that matches the target user's face information in the face information template corresponding to the current user's social user ID set; Sending the target user ID to the user terminal, so that the user terminal uses the target user ID as the identification result of the target user. The face recognition method based on the face disclosed in the embodiment shown in FIG. 4 of the present specification may be applied to or implemented by the processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the above method can be completed by instructions in the form of hardware integrated logic circuits or software in the processor. The aforementioned processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; or a digital signal processor (Digital Signal Processor, DSP), specific Application integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic, discrete gate or transistor logic, discrete hardware components. The methods, steps, and logical block diagrams disclosed in one or more embodiments of this specification can be implemented or performed. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with one or more embodiments of this specification can be directly embodied and executed by a hardware decoding processor, or can be executed and completed by a combination of hardware and software modules in the decoding processor. The software module may be located in a random storage memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically readable and writable programmable memory, a temporary memory, and other mature storage media in the art. The storage medium is located in the memory. The processor reads the information in the memory and combines the hardware to complete the steps of the above method. The electronic device can also execute the face-based identity recognition method of FIG. 4, which will not be repeated in this specification. Of course, in addition to the software implementation, the electronic device of this specification does not exclude other implementations, such as a logic device or a combination of software and hardware, etc., that is to say, the execution body of the following processing flow is not limited to each logical unit , Can also be hardware or logic devices. In short, the above is only the preferred embodiment of this specification and is not intended to limit the protection scope of this specification. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of one or more embodiments of this specification should be included in the protection scope of one or more embodiments of this specification. The system, device, module or unit explained in the above embodiments may be specifically implemented by a computer chip or entity, or by a product with a certain function. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, and a wearable Device or any combination of these devices. Computer-readable media, including permanent and non-permanent, removable and non-removable media, can store information by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), and other types of random access memory (RAM) , Read-only memory (ROM), electrically erasable and programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tapes, magnetic tape magnetic tape storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves. It should also be noted that the terms "include", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device that includes a series of elements includes not only those elements, but also includes Other elements not explicitly listed, or include elements inherent to this process, method, commodity, or equipment. Without more restrictions, the element defined by the sentence "include one..." does not exclude that there are other identical elements in the process, method, commodity, or equipment that includes the element. The embodiments in this specification are described in a progressive manner. The same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method embodiment.

500:基於人臉的身份識別系統 501:用戶端 502:身份識別伺服器 600:用戶端 601:獲取單元 602:發送單元 603:接收單元 700:身份識別伺服器 701:接收單元 702:查找單元 703:發送單元500: Face-based identification system 501: client 502: Identity server 600: client 601: Acquisition unit 602: sending unit 603: receiving unit 700: Identification server 701: receiving unit 702: Find unit 703: sending unit

此處所說明的圖式用來提供對本申請的進一步理解,構成本申請的一部分,本申請的示意性實施例及其說明用於解釋本申請,並不構成對本申請的不當限定。在圖式中: 圖1為本說明書一個實施例提供的一種基於人臉的身份識別方法的實施流程示意圖; 圖2為本說明書一個實施例提供的基於人臉的身份識別方法應用在實際場景中的示意圖; 圖3為本說明書一個實施例提供的另一種基於人臉的身份識別方法的實施流程示意圖; 圖4為本說明書一個實施例提供的又一種基於人臉的身份識別方法的實施流程示意圖; 圖5為本說明書一個實施例提供的一種基於人臉的身份識別系統的結構示意圖; 圖6為本說明書一個實施例提供的一種用戶端的結構示意圖; 圖7為本說明書一個實施例提供的一種身份識別伺服器的結構示意圖; 圖8為本說明書一個實施例提供的一種電子設備的結構示意圖; 圖9為本說明書一個實施例提供的又一種電子設備的結構示意圖。The drawings described here are used to provide a further understanding of the present application and form a part of the present application. The schematic embodiments and descriptions of the present application are used to explain the present application and do not constitute an undue limitation on the present application. In the diagram: 1 is a schematic diagram of an implementation process of a face-based identity recognition method provided by an embodiment of the present specification; 2 is a schematic diagram of a face-based identity recognition method applied in an actual scene provided by an embodiment of the present specification; 3 is a schematic diagram of an implementation process of another face-based identity recognition method provided by an embodiment of the present specification; 4 is a schematic diagram of an implementation process of yet another face-based identity recognition method provided by an embodiment of the present specification; 5 is a schematic structural diagram of a face-based identity recognition system provided by an embodiment of the present specification; 6 is a schematic structural diagram of a user terminal provided by an embodiment of the present specification; 7 is a schematic structural diagram of an identity recognition server provided by an embodiment of the present specification; 8 is a schematic structural diagram of an electronic device according to an embodiment of the present specification; 9 is a schematic structural diagram of yet another electronic device provided by an embodiment of the present specification.

Claims (14)

一種基於人臉的身份識別方法,包含: 用戶端獲取目標使用者的人臉資訊,所述目標使用者與所述用戶端的當前用戶存在社交關係; 所述用戶端將所述目標使用者的人臉資訊及所述當前使用者的社交使用者標識集合發送至身份識別伺服器; 所述身份識別伺服器在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中,查找與所述目標使用者的人臉資訊匹配的目標使用者標識,並將所述目標使用者標識發送至所述用戶端;以及 所述用戶端將接收到的所述目標使用者標識用作為所述目標使用者的身份識別結果。A face-based identification method, including: The user terminal obtains face information of the target user, and the target user has a social relationship with the current user of the user terminal; The user terminal sends the target user's face information and the current user's social user identification set to the identification server; The identification server searches for a target user ID matching the target user's facial information in the face information template corresponding to the current user's social user ID set, and uses the target The user ID is sent to the client; and The user terminal uses the received target user identification as the identification result of the target user. 如申請專利範圍第1項所述的方法, 在所述身份識別伺服器查找與所述目標使用者的人臉資訊匹配的目標使用者標識之前,所述方法還包括: 所述身份識別伺服器獲取與所述社交使用者的使用者標識相對應的人臉資訊; 所述身份識別伺服器基於與所述社交使用者的使用者標識相對應的人臉資訊,構建所述當前使用者的社交使用者標識集合對應的人臉資訊範本。As described in item 1 of the patent application scope, Before the identity recognition server searches for a target user ID that matches the target user's face information, the method further includes: The identification server obtains face information corresponding to the user identification of the social user; The identity recognition server constructs a face information template corresponding to the current user's social user ID set based on the face information corresponding to the user ID of the social user. 如申請專利範圍第2項所述的方法,所述身份識別伺服器基於與所述社交使用者的使用者標識相對應的人臉資訊,構建所述當前使用者的社交使用者標識集合對應的人臉資訊範本,包括: 所述身份識別伺服器基於與所述社交使用者的使用者標識相對應的人臉資訊,構建人臉資訊範本; 所述身份識別伺服器為所述人臉資訊範本分配唯一標識; 所述身份識別伺服器將所述唯一標識確定為所述當前使用者的社交使用者標識集合。According to the method described in item 2 of the scope of the patent application, the identity recognition server constructs the corresponding set of social user IDs of the current user based on the face information corresponding to the user IDs of the social users Face information templates, including: The identity recognition server constructs a face information template based on face information corresponding to the user identification of the social user; The identity recognition server assigns a unique identifier to the face information template; The identification server determines the unique identifier as the set of social user identifiers of the current user. 如申請專利範圍第3項所述的方法,所述身份識別伺服器在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中,查找與所述目標使用者的人臉資訊匹配的目標使用者標識,包括: 所述身份識別伺服器獲取與所述當前使用者的社交使用者標識集合對應的人臉資訊範本; 所述身份識別伺服器在所述當前使用者的社交使用者標識集合對應的人臉資訊目標中,查找與所述目標使用者的人臉資訊匹配的目標使用者標識。According to the method described in item 3 of the patent application scope, the identity recognition server finds a match with the face information of the target user in the face information template corresponding to the current user's social user identification set Target user IDs, including: The identity recognition server obtains a face information template corresponding to the current user's social user identification set; The identification server searches for a target user ID that matches the target user's facial information in the face information target corresponding to the current user's social user ID set. 如申請專利範圍第1至4項中任一項所述的方法, 與所述當前使用者存在社交關係的目標使用者包括下列至少一種: 所述當前使用者的指定即時通訊應用的連絡人; 所述當前用戶關注的指定公眾號的其它關注用戶; 所述當前使用者在指定即時通訊應用的指定聊天群中的其它用戶; 社交關聯式資料庫中儲存的使用者。The method as described in any of items 1 to 4 of the patent application scope, Target users who have a social relationship with the current user include at least one of the following: A contact of the current user's designated instant messaging application; Other concerned users of the designated public account concerned by the current user; Other users of the current user in the designated chat group of the designated instant messaging application; Users stored in a socially-connected database. 一種基於人臉的身份識別方法,所述方法應用於用戶端,包含: 獲取目標使用者的人臉資訊,所述目標使用者與所述用戶端的當前用戶存在社交關係; 將所述目標使用者的人臉資訊及所述當前使用者的社交使用者標識集合發送至身份識別伺服器,所述當前使用者的社交使用者標識集合用於所述身份識別伺服器在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與所述人臉資訊匹配的目標使用者標識;以及 接收所述目標使用者標識,以便將所述目標使用者標識用作為所述目標使用者的身份識別結果。An identification method based on human face, which is applied to the user terminal and includes: Acquiring face information of a target user, the target user has a social relationship with the current user on the user end; Sending the target user's face information and the current user's social user identification set to the identity recognition server, where the current user's social user identification set is used by the identity recognition server to Find the target user ID matching the face information in the face information template corresponding to the current user's social user ID set; and Receiving the target user ID, so as to use the target user ID as the identification result of the target user. 一種基於人臉的身份識別方法,所述方法應用於身份識別伺服器,包含: 接收目標使用者的人臉資訊及用戶端的當前使用者的社交使用者標識集合,其中所述目標使用者與所述用戶端的當前用戶存在社交關係; 在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與所述目標使用者的人臉資訊匹配的目標使用者標識;以及 將所述目標使用者標識發送至所述用戶端,以便所述用戶端將所述目標使用者標識用作為所述目標使用者的身份識別結果。An identification method based on human face, which is applied to an identification server and includes: Receiving the face information of the target user and the social user identification set of the current user on the user end, where the target user has a social relationship with the current user on the user end; Searching for a target user ID that matches the target user's face information in the face information template corresponding to the current user's social user ID set; and Sending the target user ID to the user terminal, so that the user terminal uses the target user ID as the identification result of the target user. 一種基於人臉的身份識別系統,所述系統包括用戶端和身份識別伺服器,其中: 所述用戶端獲取目標使用者的人臉資訊,所述目標使用者與所述用戶端的當前用戶存在社交關係;將所述目標使用者的人臉資訊及所述當前使用者的社交使用者標識集合發送至身份識別伺服器; 所述身份識別伺服器在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中,查找與所述目標使用者的人臉資訊匹配的目標使用者標識,並將所述目標使用者標識發送至所述用戶端;以及 所述用戶端將接收到的所述目標使用者標識用作為所述目標使用者的身份識別結果。A face-based identity recognition system, the system includes a user terminal and an identity recognition server, wherein: The user terminal obtains the face information of the target user, and the target user has a social relationship with the current user of the user terminal; the face information of the target user and the social user identification of the current user The collection is sent to the identification server; The identification server searches for a target user ID matching the target user's facial information in the face information template corresponding to the current user's social user ID set, and uses the target The user ID is sent to the client; and The user terminal uses the received target user identification as the identification result of the target user. 一種用戶端,包含: 獲取單元,獲取目標使用者的人臉資訊,所述目標使用者與所述用戶端的當前用戶存在社交關係; 發送單元,將所述目標使用者的人臉資訊及所述當前使用者的社交使用者標識集合發送至身份識別伺服器,所述當前使用者的社交使用者標識集合用於所述身份識別伺服器在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與所述目標使用者的人臉資訊匹配的目標使用者標識;以及 接收單元,接收所述目標使用者標識,以便將所述目標使用者標識用作為所述目標使用者的身份識別結果。A client, including: An obtaining unit, which obtains face information of a target user who has a social relationship with the current user of the user terminal; A sending unit, sending the target user's face information and the current user's social user identification set to the identity recognition server, and the current user's social user identification set is used for the identity recognition servo The device searches for a face user ID that matches the face information of the target user in the face information template corresponding to the current user's social user ID set; and The receiving unit receives the target user identification, so as to use the target user identification as the identification result of the target user. 一種身份識別伺服器,包含: 接收單元,接收目標使用者的人臉資訊及用戶端的當前使用者的社交使用者標識集合,其中所述目標使用者與所述用戶端的當前用戶存在社交關係; 查找單元,在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與所述目標使用者的人臉資訊匹配的目標使用者標識;以及 發送單元,將所述目標使用者標識發送至所述用戶端,以便所述用戶端將所述目標使用者標識用作為所述目標使用者的身份識別結果。An identification server, including: The receiving unit receives the face information of the target user and the social user identification set of the current user on the user end, where the target user has a social relationship with the current user on the user end; A searching unit, searching for a target user ID matching the target user's face information in the face information template corresponding to the current user's social user ID set; and The sending unit sends the target user ID to the user terminal, so that the user terminal uses the target user ID as the identification result of the target user. 一種電子設備,包含: 處理器;以及 被安排成儲存電腦可執行指令的記憶體,所述可執行指令在被執行時使所述處理器執行以下操作: 獲取目標使用者的人臉資訊,所述目標使用者與所述用戶端的當前用戶存在社交關係; 將所述目標使用者的人臉資訊及所述當前使用者的社交使用者標識集合發送至身份識別伺服器,所述當前使用者的社交使用者標識集合用於所述身份識別伺服器在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與所述目標使用者的人臉資訊匹配的目標使用者標識; 接收所述目標使用者標識,以便將所述目標使用者標識用作為所述目標使用者的身份識別結果。An electronic device, including: Processor; and A memory arranged to store computer executable instructions, which when executed, causes the processor to perform the following operations: Acquiring face information of a target user, the target user has a social relationship with the current user on the user end; Sending the target user's face information and the current user's social user identification set to the identity recognition server, where the current user's social user identification set is used by the identity recognition server to Find a target user ID matching the face information of the target user in the face information template corresponding to the current user's social user ID set; Receiving the target user ID, so as to use the target user ID as the identification result of the target user. 一種電腦可讀儲存媒介,所述電腦可讀儲存媒介儲存一個或多個程式,所述一個或多個程式當被包括多個應用程式的電子設備執行時,使得所述電子設備執行以下操作: 獲取目標使用者的人臉資訊,所述目標使用者與所述用戶端的當前用戶存在社交關係; 將所述目標使用者的人臉資訊及所述當前使用者的社交使用者標識集合發送至身份識別伺服器,所述當前使用者的社交使用者標識集合用於所述身份識別伺服器在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與所述目標使用者的人臉資訊匹配的目標使用者標識; 接收所述目標使用者標識,以便將所述目標使用者標識用作為所述目標使用者的身份識別結果。A computer-readable storage medium storing one or more programs, which when executed by an electronic device including multiple application programs, causes the electronic device to perform the following operations: Acquiring face information of a target user, the target user has a social relationship with the current user on the user end; Sending the target user's face information and the current user's social user identification set to the identity recognition server, where the current user's social user identification set is used by the identity recognition server to Find a target user ID matching the face information of the target user in the face information template corresponding to the current user's social user ID set; Receiving the target user ID, so as to use the target user ID as the identification result of the target user. 一種電子設備,包含: 處理器;以及 被安排成儲存電腦可執行指令的記憶體,所述可執行指令在被執行時使所述處理器執行以下操作: 接收目標使用者的人臉資訊及用戶端的當前使用者的社交使用者標識集合,其中所述目標使用者與所述用戶端的當前用戶存在社交關係; 在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與所述目標使用者的人臉資訊匹配的目標使用者標識; 將所述目標使用者標識發送至所述用戶端,以便所述用戶端將所述目標使用者標識用作為所述目標使用者的身份識別結果。An electronic device, including: Processor; and A memory arranged to store computer executable instructions, which when executed, causes the processor to perform the following operations: Receiving the face information of the target user and the social user identification set of the current user on the user end, where the target user has a social relationship with the current user on the user end; Searching for a target user ID that matches the target user's face information in the face information template corresponding to the current user's social user ID set; Sending the target user ID to the user terminal, so that the user terminal uses the target user ID as the identification result of the target user. 一種電腦可讀儲存媒介,所述電腦可讀儲存媒介儲存一個或多個程式,所述一個或多個程式當被包括多個應用程式的電子設備執行時,使得所述電子設備執行以下操作: 接收目標使用者的人臉資訊及用戶端的當前使用者的社交使用者標識集合,其中所述目標使用者與所述用戶端的當前用戶存在社交關係; 在所述當前使用者的社交使用者標識集合對應的人臉資訊範本中查找與所述目標使用者的人臉資訊匹配的目標使用者標識; 將所述目標使用者標識發送至所述用戶端,以便所述用戶端將所述目標使用者標識用作為所述目標使用者的身份識別結果。A computer-readable storage medium storing one or more programs, which when executed by an electronic device including multiple application programs, causes the electronic device to perform the following operations: Receiving the face information of the target user and the social user identification set of the current user on the user end, where the target user has a social relationship with the current user on the user end; Searching for a target user ID that matches the target user's face information in the face information template corresponding to the current user's social user ID set; Sending the target user ID to the user terminal, so that the user terminal uses the target user ID as the identification result of the target user.
TW108127357A 2018-10-25 2019-08-01 Identity recognition method and device based on face and electronic equipment TW202018613A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811249700.9 2018-10-25
CN201811249700.9A CN109493073B (en) 2018-10-25 2018-10-25 Identity recognition method and device based on human face and electronic equipment

Publications (1)

Publication Number Publication Date
TW202018613A true TW202018613A (en) 2020-05-16

Family

ID=65691633

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108127357A TW202018613A (en) 2018-10-25 2019-08-01 Identity recognition method and device based on face and electronic equipment

Country Status (3)

Country Link
CN (1) CN109493073B (en)
TW (1) TW202018613A (en)
WO (1) WO2020082831A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109493073B (en) * 2018-10-25 2021-07-16 创新先进技术有限公司 Identity recognition method and device based on human face and electronic equipment
DE102019219563A1 (en) * 2019-12-13 2021-06-17 Sivantos Pte. Ltd. Method for operating a hearing aid system and hearing aid system
CN114267058B (en) * 2020-09-16 2024-07-02 腾讯科技(深圳)有限公司 Face recognition method, device, computer equipment and storage medium
CN112348689A (en) * 2020-11-24 2021-02-09 深兰科技(上海)有限公司 Face recognition method and system for social service
CN112820270A (en) * 2020-12-17 2021-05-18 北京捷通华声科技股份有限公司 Voice broadcasting method and device and intelligent equipment
CN112560694B (en) * 2020-12-18 2022-05-17 南京领行科技股份有限公司 Data analysis method and device, electronic equipment and storage medium
CN112613467A (en) * 2020-12-30 2021-04-06 深圳市艾特智能科技有限公司 Community personnel safety management method and device, readable storage medium and electronic equipment

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101389980B1 (en) * 2013-03-06 2014-05-07 주식회사 슈프리마 Face identification apparatus, system and method for managing user using user grouping
CN103412877A (en) * 2013-07-15 2013-11-27 珠海市魅族科技有限公司 Method and device for transmitting picture
US9928527B2 (en) * 2014-02-12 2018-03-27 Nextep Systems, Inc. Passive patron identification systems and methods
CN103810294A (en) * 2014-02-28 2014-05-21 华为技术有限公司 Management method and intelligent terminal for multi-media data files
CN104021398A (en) * 2014-06-16 2014-09-03 北京云视智通科技有限公司 Wearable intelligent device and method for assisting identity recognition
US9444990B2 (en) * 2014-07-16 2016-09-13 Sony Mobile Communications Inc. System and method for setting focus of digital image based on social relationship
CN104901994B (en) * 2014-10-22 2018-05-25 腾讯科技(深圳)有限公司 Attribute value transfer method, the apparatus and system of user in network system
CN106326815B (en) * 2015-06-30 2019-09-13 芋头科技(杭州)有限公司 A kind of facial image recognition method
CN106484737A (en) * 2015-09-01 2017-03-08 腾讯科技(深圳)有限公司 A kind of network social intercourse method and network social intercourse device
CN109493073B (en) * 2018-10-25 2021-07-16 创新先进技术有限公司 Identity recognition method and device based on human face and electronic equipment

Also Published As

Publication number Publication date
WO2020082831A1 (en) 2020-04-30
CN109493073A (en) 2019-03-19
CN109493073B (en) 2021-07-16

Similar Documents

Publication Publication Date Title
TW202018613A (en) Identity recognition method and device based on face and electronic equipment
TWI730524B (en) Identity authentication method, device and system
CN109344722B (en) User identity determination method and device and electronic equipment
WO2017167060A1 (en) Information display method, device and system
US8666123B2 (en) Creating social network groups
CN110267248B (en) B L E communication method, device, equipment and storage medium
CN107294974B (en) Method and device for identifying target group
CN111046237B (en) User behavior data processing method and device, electronic equipment and readable medium
US20140333746A1 (en) Method and apparatus for inquiring information
CN109064217B (en) User level-based core body strategy determination method and device and electronic equipment
WO2016062173A1 (en) User attribute value transfer method and terminal
US20110072085A1 (en) Event reconciliation system and method
KR102110642B1 (en) Password protection question setting method and device
TWI706362B (en) Data processing method, device and server based on blockchain
US20200218772A1 (en) Method and apparatus for dynamically identifying a user of an account for posting images
CN112286827B (en) Software testing method, device, electronic device and storage medium
CN111260469A (en) Block chain-based evidence storing method, block chain-based evidence storing query method, corresponding device and electronic equipment
WO2021068628A1 (en) Image processing method and system
CN106817390B (en) User data sharing method and device
CN107948312B (en) Information classification and release method and system with position points as information access ports
CN110020150A (en) Information recommendation method and device
TWI736919B (en) Method, device and electronic equipment for verification and determination of verification mode
TWI745749B (en) Block chain-based audio agreement signing method and device, and electronic equipment
US20210141825A1 (en) Method and system for sketch based search
TWI783737B (en) Server, method for processing payment in server, and method for authenticating user in server