CN110717388A - Multi-account associated registration method and device, computer equipment and storage medium - Google Patents

Multi-account associated registration method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN110717388A
CN110717388A CN201910824280.0A CN201910824280A CN110717388A CN 110717388 A CN110717388 A CN 110717388A CN 201910824280 A CN201910824280 A CN 201910824280A CN 110717388 A CN110717388 A CN 110717388A
Authority
CN
China
Prior art keywords
person
account
face feature
relationship
age
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910824280.0A
Other languages
Chinese (zh)
Other versions
CN110717388B (en
Inventor
黄文聪
陈小翔
彭俊清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910824280.0A priority Critical patent/CN110717388B/en
Publication of CN110717388A publication Critical patent/CN110717388A/en
Priority to PCT/CN2020/112353 priority patent/WO2021043093A1/en
Application granted granted Critical
Publication of CN110717388B publication Critical patent/CN110717388B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/02Reservations, e.g. for tickets, services or events
    • 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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • GPHYSICS
    • 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/178Human faces, e.g. facial parts, sketches or expressions estimating age from face image; using age information for improving recognition
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a method and a device for multi-account association registration, computer equipment and a storage medium, which are applied to the field of communication and used for solving the problems of complex operation, low efficiency and unreasonable permission setting among associated accounts when a mobile terminal registers and associates the multi-account. The method provided by the invention comprises the following steps: when a multi-account association registration request is received, acquiring images of multiple persons and carrying out face detection; comparing the detected facial features with a plurality of facial features in the registered account to obtain first facial features corresponding to people without the registered account; acquiring the age of a corresponding person; calculating the similarity value of each first human face feature and the human face features of other people; determining the relationship of the persons according to the similarity values and the ages of the persons; respectively registering accounts for people who do not register accounts to obtain new target accounts; associating the new target account with the other account; and setting a master-slave account and setting corresponding master-slave account authority.

Description

Multi-account associated registration method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for multi-account association registration, a computer device, and a storage medium.
Background
With the continuous development of the internet, the face recognition technology is more and more mature. At present, in the market, a mobile terminal APP is registered by a user through a mobile phone number or a mailbox, and verification information is sent to a server for verification binding, so that the registration is successful. For example, when a user registers an account, only one account can be registered every time, when a plurality of old people in a house need to be helped to register, only one account can be registered, the operation is complicated, the old people are unfamiliar with functions and operations of an intelligent terminal, misoperation can occur, the problem that some account information is mistakenly deleted or modified is caused, a plurality of APP currently have reservation services, the user needs to reserve various services for the old people, generally, the old people log in the account of the old people to reserve, the operation is very inconvenient, if the user helps the old people to reserve in the account, the user also needs to add an familiarity account and obtain authorization of the familiarity account, and the user still needs to perform correlation operation with the account of the old people, and the operation is very complicated.
Therefore, the problems of complex operation and low efficiency exist when the mobile terminal registers multiple accounts at present, and the problems of complex operation exists when the multiple accounts are associated and the related authority is obtained.
Disclosure of Invention
The embodiment of the invention provides a method and a device for multi-account associated registration, computer equipment and a storage medium, and aims to solve the problems of complex operation and low efficiency when a mobile terminal registers multiple accounts.
A method of multi-account associated registration, comprising:
when a multi-account associated registration request is received, popping up a multi-account associated registration interface, and sending prompt information for requesting a user to upload images of multiple personnel;
acquiring the uploaded images of the multiple personnel;
carrying out face detection on the images of the multiple persons, and extracting to obtain face features corresponding to each face in the images of the multiple persons;
comparing the facial features corresponding to each face with a plurality of facial features in a registered account one by one to obtain first facial features corresponding to people of the unregistered account in the multi-person image;
determining the age of the person corresponding to each first face feature according to each first face feature;
calculating similarity values between each first face feature and face features of other people in the multi-person image aiming at each first face feature to obtain each similarity value corresponding to each first face feature, wherein the other people are people except people of the unregistered account corresponding to each first face feature in the multi-person image;
for each first face feature, determining the person relationship between the person corresponding to each first face feature and other persons from prestored person relationships according to each similarity value corresponding to each first face feature and the age;
respectively registering accounts for the personnel with unregistered accounts in the multi-personnel images to obtain a new target account of the personnel with each unregistered account;
for the personnel of each unregistered account, associating the new target account corresponding to the personnel of each unregistered account with other accounts according to the personnel relationship, wherein the other accounts are accounts except the unregistered account corresponding to each new target account in the multi-personnel image;
calculating an evaluation value of each first face feature in the multiple person images according to a preset rule to determine a master account and a slave account in multiple new target accounts;
and determining a master account authority and setting a slave account authority for the master account, wherein the master account authority is different from the slave account authority.
An apparatus for multi-account associative registration, comprising:
the registration request module is used for popping up a multi-account associated registration interface and sending prompt information for requesting a user to upload images of multiple personnel when receiving a multi-account associated registration request;
the image acquisition module is used for acquiring the uploaded images of the multiple personnel;
the face detection module is used for carrying out face detection on the multiple personnel images and extracting face features corresponding to all faces in the multiple personnel images;
the facial feature comparison module is used for comparing the facial features corresponding to all the faces with a plurality of facial features in a registered account one by one to obtain first facial features corresponding to people of the unregistered account in the multi-person image;
the age determining module is used for determining the age of the person corresponding to each first face feature according to each first face feature;
a similarity value calculation module, configured to calculate, for each first person face feature, a similarity value between each first person face feature and face features of other persons in the multi-person image to obtain each similarity value corresponding to each first person face feature, where the other persons are persons in the multi-person image other than the person with the unregistered account corresponding to each first person face feature;
the person relationship determining module is used for determining the person relationship between the person corresponding to each first face feature and other persons from prestored person relationships according to each similarity value corresponding to each first face feature and the age;
the multi-account registration module is used for respectively registering accounts for the personnel who do not register accounts in the multi-personnel image to obtain a new target account of the personnel who do not register accounts;
the multi-account association module is used for associating a new target account corresponding to the personnel of each unregistered account with other accounts according to the personnel relationship, wherein the other accounts are accounts except the unregistered account corresponding to each new target account in the multi-personnel image;
the master-slave account determining module is used for calculating an evaluation value of each first face feature in the multiple images according to preset rules to determine a master account and a slave account in multiple new target accounts;
and the master-slave permission setting module is used for determining master account permission and setting slave account permission for the master account, wherein the master account permission is different from the slave account permission.
A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the above-mentioned method of multi-account associated registration when executing the computer program.
A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the above-mentioned steps of the method for multi-account associated registration.
According to the multi-account associated registration method, the multi-account associated registration device, the computer equipment and the storage medium, firstly, when a multi-account associated registration request is received, a multi-account associated registration interface is popped up, and prompt information for requiring a user to upload images of multiple personnel is sent out; then, acquiring the uploaded images of the multiple personnel; secondly, carrying out face detection on the multiple personnel images, and extracting to obtain face features corresponding to each face in the multiple personnel images; then, comparing the facial features corresponding to each face with a plurality of facial features in the registered account one by one to obtain first facial features corresponding to people of the unregistered account in the multi-person image; determining the age of the person corresponding to each first face feature according to each first face feature; thirdly, calculating similarity values between each first face feature and face features of other people in the multi-person image aiming at each first face feature to obtain each similarity value corresponding to each first face feature, wherein the other people are people except people of the unregistered account corresponding to each first face feature in the multi-person image; then, for each first face feature, determining a person relationship between the person corresponding to each first face feature and other persons from prestored person relationships according to each similarity value corresponding to each first face feature and the age; then, respectively registering accounts for the personnel who do not register accounts in the multi-personnel image to obtain a new target account of the personnel who do not register accounts; finally, aiming at the personnel of each unregistered account, associating the new target account corresponding to the personnel of each unregistered account with other accounts according to the personnel relationship, wherein the other accounts are accounts except the unregistered account corresponding to each new target account in the multi-personnel image; calculating an evaluation value of each first face feature in the multiple person images according to a preset rule to determine a master account and a slave account in multiple new target accounts; and determining a master account authority and setting a slave account authority for the master account, wherein the master account authority is different from the slave account authority. Therefore, the invention can realize the simultaneous registration of multiple accounts through one mobile terminal, and when the registration is completed, the multiple accounts are associated according to the personnel relationship, the master account and the slave account are set for the multiple accounts, and the master account authority and the slave account authority corresponding to the multiple accounts are set, thereby simplifying the registration process, improving the registration efficiency and facilitating the management and the application of the associated multiple accounts.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a schematic diagram of an application environment of a method for multi-account associated registration according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of multi-account associated registration in one embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for multi-account association registration to determine a master account and a slave account in an application scenario according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for multi-account association registration in an application scenario for setting master-slave permissions according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a method for multi-account association registration to verify a relationship between people in an application scenario according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of an apparatus for multi-account association registration according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram illustrating a device for multi-account association registration to determine a relationship between people in an application scenario according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram illustrating a device for multi-account association registration to determine a primary account and a secondary account in an application scenario according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of a computer device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The method for multi-account association registration provided by the application can be applied to an application environment as shown in fig. 1, wherein the terminal device communicates with the server through a network. The terminal device may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. The server may be implemented as a stand-alone server or as a server cluster consisting of a plurality of servers.
In an embodiment, as shown in fig. 2, a method for multi-account association registration is provided, which is described by taking the server in fig. 1 as an example, and includes the following steps:
101. when a multi-account associated registration request is received, popping up a multi-account associated registration interface, and sending prompt information for requesting a user to upload images of multiple personnel;
in this embodiment, the mobile terminal APP has an entry for multi-account registration and an entry for personal account registration, and the user can select the entry autonomously, and when receiving a multi-account association registration request, pop up a multi-account association registration interface, and after entering the multi-account registration interface, send out prompt information prompting the user to upload images of multiple people.
102. Acquiring the uploaded images of the multiple personnel;
in the embodiment, when a user uploads a plurality of personnel images, the internal program of the mobile phone calls the face recognition module to start recognition, the plurality of personnel images can be images stored in the mobile phone or images directly scanned through a camera of the mobile phone, if the definition of the recognized images does not reach a preset threshold, the user can be prompted to re-recognize the images, and the images can be uploaded successfully after the definition of the images reaches the preset threshold.
103. Carrying out face detection on the images of the multiple persons, and extracting to obtain face features corresponding to each face in the images of the multiple persons;
in this embodiment, the obtained images of multiple persons are identified and analyzed, facial features corresponding to each face in the images of multiple persons are extracted and stored in a background database.
104. Comparing the facial features corresponding to each face with a plurality of facial features in a registered account one by one to obtain first facial features corresponding to people of the unregistered account in the multi-person image;
in this embodiment, in a multi-person image, in a registration scenario in which there are a person who has registered an account and a person who has not registered an account, each facial feature identified in the multi-person image is compared with a plurality of facial features in a registered account one by one, and the person who has registered an account is checked, where the registered account is an account corresponding to the person who has registered the APP account before the registration time node. For example, the face-face features of the person a in the image of the multiple persons are retrieved at the server side, wherein the similarity ratio exceeds a preset threshold value, that is, the person a has registered the account before, and the fact that the person a in the image of the user is registered at the mobile side APP is prompted, and registration is not needed. Thus, the first face feature of the person who has not registered an account in each of the multi-person images can be obtained.
105. Determining the age of the person corresponding to each first face feature according to each first face feature;
in this embodiment, for the faces of people with no account registered in the multiple people images, the positions of key points of the faces, such as eyebrows, eyes, mouths, and the like, are determined according to each first face facial feature, and the ages of people corresponding to each first face facial feature are determined in a plurality of preset age intervals according to the expressions, shapes, colors, skin textures, skin states, and the like of the faces. For example, the facial features of the face of the person a in the multi-person image are obtained according to the key point positions of the eyebrows, the eyes and the mouth, the eyebrows of the person a are sparse, the eyelids of the person a drop and the rising radian of the mouth corner of the person a are large, the person a can be judged to be smiling, the depth of facial wrinkles is identified to be within a preset first interval threshold value, the skin texture definition is within a preset second interval threshold value, the skin color is dark and yellow, the age of the person is in an aged group, the skin is loose and is deficient, the age of the person is judged to be between 40 and 50, the image of the person in the multi-person image is scanned for multiple times to obtain a plurality of estimated age values, and the average age value is used as the final.
106. Calculating similarity values between each first face feature and face features of other people in the multi-person image aiming at each first face feature to obtain each similarity value corresponding to each first face feature, wherein the other people are people except people of the unregistered account corresponding to each first face feature in the multi-person image;
in this embodiment, for the first face feature of each unregistered account in the multi-person image, a similarity value between each first face feature and the face features of other persons is calculated to obtain each similarity value corresponding to each first face feature, for example, a person a, a person B, a person C, and a person D exist in the people with unregistered accounts in the multi-person image, and the similarity values between the person a and the person B, the person C, and the person D are calculated respectively. It is understood that person a, person B, person C, and person D each have 3 different similarity values corresponding thereto.
107. For each first face feature, determining the person relationship between the person corresponding to each first face feature and other persons from prestored person relationships according to each similarity value corresponding to each first face feature and the age;
in this embodiment, for each first face feature, the person relationship between the person corresponding to each first face feature and another person is determined from the pre-stored person relationship according to the age of the person with the unregistered account and the calculated similarity value of each person.
Further, in a scenario of determining a person relationship between a person corresponding to each first person face feature and another person, the step 107 specifically includes:
201. for each first face feature, calculating an age difference between a person corresponding to each first face feature and other persons according to the age of each person corresponding to each first face feature;
202. calculating the average similarity value of each first face feature according to each similarity value corresponding to each first face feature;
203. if the similarity value between the facial features of the first person and the facial features of other persons does not exceed a preset first threshold value, the average similarity value does not exceed a preset second threshold value, and the age difference does not exceed a preset third threshold value, determining that the person relationship is a friendship;
204. determining that the person relationship is a sibling relationship if the similarity value between the facial features of the first person and the facial features of the other persons does not exceed the first threshold, the average similarity value is greater than the second threshold, and the age difference does not exceed the third threshold;
205. if the similarity value between the facial features of the first person and the facial features of other persons does not exceed the first threshold value and the age difference is greater than the third threshold value, determining that the person relationship is a parent in-person relationship;
206. if the similarity value between the facial features of the first person and the facial features of other persons does not exceed the first threshold value and the age difference is greater than the fourth threshold value, determining that the person relationship is an ancestor in-person relationship;
207. if the similarity value between the facial features of the first person and the facial features of the other persons is larger than the first threshold value and the age difference does not exceed the third threshold value, determining that the person relationship is a sibling blood relationship;
208. if the similarity value between the facial features of the first person and the facial features of the other persons is larger than the first threshold value and the age difference is larger than the third threshold value, determining that the person relationship is a parent-blood relationship;
209. and if the similarity value between the facial features of the first person and the facial features of the other persons is larger than the first threshold value and the age difference is larger than the fourth threshold value, determining that the person relationship is ancestral blood relationship.
For the above step 201, first, the age of each first face feature in the server is read, and a plurality of age gaps between the person corresponding to each first face feature and other persons are calculated.
For step 202, an average similarity value of each first face feature is calculated according to the respective similarity values corresponding to each first face feature.
With reference to step 203, it is understood that the similarity value between the facial features of the first person and the facial features of the other persons in the multi-person image does not exceed the preset third threshold, and it may be determined that there is no kinship, wherein the average similarity value does not exceed the preset second threshold, it may be further determined that most of the multi-person images are people without kinship, and the age difference does not exceed the preset third threshold, and it may be determined as a friend.
With respect to step 204, it is understood that the similarity value between the facial features of the first person and the facial features of the other persons in the multi-person image does not exceed the first threshold, and it may be determined that there is no kinship, wherein the average similarity value is greater than the second threshold, it may be further determined that there are more kinships in the multi-person image, and the age difference does not exceed the third threshold, and it may be determined as a sibling relationship. Further, the sex of the person may be determined according to the facial features of the face, and the relationship between the two persons may be further determined as one of wife, lappet, pilot, sister, junior, daughter, or langjiu by the relationship between the two persons.
With respect to step 205, it is understood that the similarity value between the facial features of the first person and the facial features of the other persons in the images of the multiple persons does not exceed the first threshold, and it can be determined that there is no relationship between the blood vessels, wherein if the age difference is greater than the third threshold, the relationship between the persons can be determined as the parent-in relationship. Further, determining a parent in-relation further based on gender that the relation between two persons is one of mother-daughter-mother relation, for example, after determining that the relation between person a and person B is sibling relation, if person a is daughter and person B is daughter, it may be determined that the relation between person a and person B is mother-daughter.
With respect to step 206, it is understood that the similarity value between the facial features of the first person and the facial features of the other persons in the multi-person image does not exceed the first threshold, and it may be determined that there is no relationship of ancestry, wherein the age difference is greater than the fourth threshold, and it may be determined that the relationship of persons is ancestral in-one relationship. Further, the ancestor in-relation is further determined to be one of grandmother and grandmother son-in-law according to gender, for example, after the relationship between the person a and the person B is determined to be ancestor in-relation, if the person a is a woman and the person B is a woman, the relationship between the person a and the person B can be determined to be grandmother, and the person a can be further determined to be milk and the person B can be grandmother according to age.
With respect to step 207, it is understood that the similarity between the facial features of the first person and the facial features of the other persons in the multi-person image is greater than the first threshold, and a relationship with a blood relationship may be determined, wherein the age difference does not exceed the third threshold, and the relationship with the blood relationship with the same generation may be determined. Further, the relation between two persons is further determined as one of brother, sister, table brother, table sister or table sister according to the gender, for example, after the relation between the person A and the person B is determined as the relation of the brother of the same generation, if the person A is a woman and the person B is a woman, the relation between the person A and the person B is determined as a sister, the person A can be further determined as the sister according to age, and the person B is the sister.
With respect to step 208, it is understood that the similarity between the facial features of the first person and the facial features of the other persons in the multi-person image is greater than the first threshold, and a relationship of ancestral blood relationship is determined, wherein the age difference is greater than the third threshold. Further, the relationship between two persons is determined as one of father and son, father and woman, mother and son, mother and daughter, uncle, nephew, Gu and Yu, Jiu nephew or aunt nephew according to the relationship of the father and the father according to the gender, for example, after the relationship between the person A and the person B is determined as the relationship of the father and the father, if the person A is a woman and the person B is a woman, the relationship between the person A and the person B can be determined as the mother, and the person A can be further determined as the mother and the person B is the daughter according to the age.
With respect to step 209 above, it is understood that the similarity between the facial features of the first person and the facial features of the other persons in the multi-person image is greater than the first threshold, and a relationship of ancestral blood relationship is determined, wherein the age difference is greater than the fourth threshold. Further, the ancestor blood relative relationship is further determined as one of ancestor grandchild, ancestor grandchild or ancestor grandchild according to gender, for example, after the relationship between the person A and the person B is determined as the ancestor blood relative relationship, if the person A is a woman and the person B is a woman, the relationship between the person A and the person B is determined as the ancestor grandchild, the person A can be further determined as the milk, and the person B can be further determined as the grandchild according to age.
108. Respectively registering accounts for the personnel with unregistered accounts in the multi-personnel images to obtain a new target account of the personnel with each unregistered account;
in this embodiment, it can be understood that, for the people who have registered accounts in the image of multiple people, the people do not need to register again, and only need to register accounts for the unregistered people, so as to obtain new target accounts of multiple unregistered accounts.
109. For the personnel of each unregistered account, associating the new target account corresponding to the personnel of each unregistered account with other accounts according to the personnel relationship, wherein the other accounts are accounts except the unregistered account corresponding to each new target account in the multi-personnel image;
in this embodiment, for the unregistered person in the multi-person image, the new target account corresponding to the person in each unregistered account is associated with another account according to the person relationship, for example, the person a, the person B, the person C, and the person D in the multi-person image are not registered, the person a is associated with the person B, the person C is associated with the person C, and the person D is associated with the person a, the person B, and the person D, the person C is associated with the person a, the person B, and the person D is associated with the person a, the person B, and the person C.
110. Calculating an evaluation value of each first face feature in the multiple person images according to a preset rule to determine a master account and a slave account in multiple new target accounts;
in this embodiment, after the registered accounts of the unregistered persons in the multi-person image are registered, one account with the highest evaluation value is selected as the master account from the multiple accounts, the remaining accounts are the slave accounts, and the master account can manage the slave accounts.
As shown in fig. 3, further, step 110 may include:
301. acquiring each position data of the person corresponding to each first face feature in the multi-person image;
302. according to the position data, marking the person at the most middle position in the multi-person image as a preset first highest score, and sequentially marking the persons at the rest positions as descending scores from the most middle position to obtain the position score corresponding to each first face feature;
303. according to the age of the person corresponding to each first face feature, marking the person with the age in a preset age interval as a preset second highest score, and sequentially marking the rest ages as descending scores from the preset age interval according to the interval length of the preset age interval to obtain the age score corresponding to each first face feature;
304. acquiring the online time length of a person corresponding to each first face feature;
305. calculating to obtain an evaluation value of a person corresponding to each first face feature according to a position score, an age score, an online time length and respective corresponding weights corresponding to each first face feature;
306. after the evaluation value of the person corresponding to each first face feature is calculated, the account of the person with the highest evaluation value is set as a master account, and the rest accounts except the master account with the highest evaluation value corresponding to the first face feature in the image of the plurality of persons are set as slave accounts.
In step 301, position data of the person corresponding to each first face feature in the multi-person image is recorded and stored in the server.
In step 302, according to the position data, the person at the most middle position in the multi-person image is marked as a preset first highest score, and the persons at the rest positions are marked as descending scores in sequence from the most middle position, for example, when a person a not registered in the multi-person image stands at the most middle position, a person B and a person C stand at one side of the person a by a secondary station, the person a is marked as the highest score 10, the person B is marked as 9, and the person C is marked as 8, wherein the scores of the persons in the same interval are the same, so that the position score corresponding to each first face feature can be obtained.
In step 303, according to the ages of the persons corresponding to each first face feature, the persons with the ages in the preset age interval are marked as a preset second highest score, and the rest of the ages are marked as descending scores sequentially according to the interval length of the preset age interval from the preset age interval, for example, if the person a without an account registered in the image of the plurality of persons is in the age interval of 20-40, the person B is in the age interval of 40-50, and the person C is in the age interval of 10-20, the person a is marked as the highest score 10, the person B is marked as 9, and the person C is marked as 9, wherein the scores of the persons may be the same, so that the age score corresponding to each first face feature is obtained.
For the above step 304, in the multi-character image, the online time of the account corresponding to each first face feature is counted and stored in the database.
In step 305, the position score, the age score, the online time length and the respective corresponding weight corresponding to each first face feature are integrated to calculate the evaluation value of the person corresponding to each first face feature.
With regard to the above step 306, it is understood that the higher the evaluation value, the greater the influence in the multi-person image, the account of the person whose evaluation value is the highest is set as the master account, for example, one group account is registered, and in one multi-person image, the evaluation value of person a is the highest, person a is set as the master account, and person B and person C are set as the slave accounts.
111. And determining a master account authority and setting a slave account authority for the master account, wherein the master account authority is different from the slave account authority.
In this embodiment, after the master account and the slave account of the multiple accounts are determined, in consideration of the authority problem of the multiple accounts, the master account authority and the slave account authority are determined for the master account, and the slave account authority is different from the master account authority.
Further, as shown in fig. 4, step 111 may include:
401. setting a master account authority for managing a slave account for the master account;
402. according to the association between each slave account and the main account, sending the slave account information to the main account;
403. and after the master account receives the slave account information, setting corresponding slave account authority for the slave account.
With regard to step 401 described above, it can be understood that the master account has a higher authority than the slave account, the master account can manage the slave account, and has, for example, an authority to add multiple slave accounts, delete slave accounts, modify slave accounts, query slave accounts, etc., and the master account can also help the slave accounts to perform part of functions, for example, a family account is registered, a child is used as the master account, can help the elderly at home (slave accounts) to make a reservation for registration, make a reservation for certificate, etc., and the master account can help the slave accounts to make a reservation service directly in the master account.
For example, the master account may add a plurality of slave accounts, for example, in one group account, if there are a plurality of people who need to join the group, the master account has authority to register slave accounts for a plurality of people who do not join the group account, and add corresponding slave accounts to the group account, a plurality of slave accounts may be registered and added in a manner of multiple account association registration in the present scheme, or a plurality of slave accounts may be registered and added in a manner of batch uploading an Excel document in which slave account personnel information is stored. For another example, a person in the group account needs to leave the team, and the main account has the right to select to delete the account of the corresponding person. For another example, the personal information of the slave account in the group account is incorrect, and the master account has the authority to modify the personal information of the slave account. In some specific scenarios, such as a home account, the elderly (slave account) forget to log in the password, and children (master account) can help the elderly to retrieve the password and modify the password. For management, the main account also has the authority to inquire a plurality of slave accounts, the main account has the highest authority in the plurality of accounts, and each slave account in the plurality of accounts is managed.
For the above step 402, the new target accounts in the images of the multiple persons are associated with each other, and it is understood that each slave account is associated with the master account, and the master account can obtain the relevant information of the slave accounts from the server through association.
For the above step 403, after the master account receives the slave account information, corresponding slave account permissions are set for the slave accounts, permissions of multiple slave accounts are the same by default, and are used as an independent account, corresponding functions within the account range are executed, and other associated slave accounts cannot be operated, where the permissions may be the same or different among the slave accounts, and the master account may also limit or relax the permissions of the slave accounts managed by the master account, for example, for a home account, an old person (slave account) forgets to log in a password, a child (master account) may help the old person to retrieve the password and modify the password, and limit the permission of the old person (slave account) to modify the password, so that the master account may limit the permission of the slave account to modify the password, and if necessary, may relax the permission.
For the staff relationship, as shown in fig. 5, further, after the multi-account association registration is completed, the method may further include:
501. after acquiring the relationship of relatives and friends input by a new target account, judging whether the relationship of relatives and friends input by a person corresponding to the new target account is true according to the relationship of the person of the new target account, if so, executing a step 502, and if not, executing a step 503;
502. determining the relationship between the personnel corresponding to the new target account and the relatives and friends as the personnel relationship;
503. acquiring personnel information of personnel corresponding to the new target account and relatives and friends from a public security system;
504. determining the real relationship between the personnel corresponding to the new target account and the relatives and friends according to the personnel information;
505. judging whether the personnel relationship is consistent with the real relationship, if so, executing a step 506, and if not, executing a step 507;
506. determining the relationship between the personnel corresponding to the new target account and the relatives and friends as the personnel relationship;
507. and determining the relationship between the personnel corresponding to the new target account and the relatives and friends as the real relationship.
For step 501, after acquiring the relationship between friends and friends input by the new target account, the server may determine, according to the relationship between people of the new target account, whether the relationship between friends and friends input by people corresponding to the new target account is true, if true, perform step 502, and if not, perform step 503.
As for the step 502, if the relationship between the friends and relatives input by the person corresponding to the new target account is true, the input relationship between the friends and relatives is determined to be correct, so as to determine that the relationship between the person corresponding to the new target account and the relatives is the relationship between the persons, for example, the relationship between the friends and relatives input by the new target account is a sister, and the relationship between the person corresponding to the new target account and the relatives is a sister.
For step 503, if the relationship between the relatives and friends is not substantial, the person corresponding to the new target account and the personal information of the relatives and friends corresponding to the new target account are obtained from the public security system, where the personal information includes, but is not limited to, the age, sex, appearance, and blood type of the person.
For the step 504, the real relationship between the person corresponding to the new target account and the relatives is determined according to the person information, for example, the relationship between the relatives and the friends input by the new target account is a sister, and the identified relationship between the persons and the relatives is a sister, and the real relationship is determined to be the sister according to the information, such as gender, of the person and the relatives corresponding to the new target account obtained from the public security system. For another example, the relationship between the relatives and friends input by the new target account is a sister, the identified relationship between the persons and friends is a parent and a daughter, and the true relationship can be judged to be the parent and the daughter by calculating the age difference between the age interval of 20-40 according to the information, such as the age, between the person and the relatives and friends corresponding to the new target account acquired from the public security system.
In step 505, it is determined whether the human relationship is consistent with the real relationship, if yes, step 502 is executed, and if not, step 503 is executed.
In step 506, if the relationship between the person and the friend is consistent with the real relationship, it may be determined that the relationship between the person and the friend is correct, and the relationship between the person and the friend corresponding to the new target account is determined as the relationship between the person and the friend. For example, if the age difference obtained according to the information corresponding to the two people in the public security system is between 1 and 20, it may be determined that the real relationship between the people corresponding to the new target account and the relatives and friends is a brother, and the relationship between the people corresponding to the new target account and the relatives and friends is consistent with the real relationship, that is, it may be determined that the relationship between the people corresponding to the new target account and the relatives and friends is a brother.
In step 507, if the relationship of the person is inconsistent with the real relationship, it can be determined that the relationship of the person is incorrect, and at this time, the relationship between the person corresponding to the new target account and the relatives and friends is determined as the real relationship based on the real relationship of the public security system. For example, if the age difference obtained according to the information corresponding to the two people in the public security system is between 20 and 40, it may be determined that the real relationship between the people corresponding to the new target account and the relatives and friends is the father and son, and the relationship between the people and friends is inconsistent, and the relationship between the people and friends corresponding to the new target account is determined as the father and son by taking the information of the people in the public security system as a reference.
It should be noted that the age difference interval is set according to actual situations, which is not limited in this embodiment.
In the embodiment, firstly, when a multi-account associated registration request is received, a multi-account associated registration interface is popped up, and prompt information for requiring a user to upload images of multiple personnel is sent out; then, acquiring the uploaded images of the multiple personnel; secondly, carrying out face detection on the multiple personnel images, and extracting to obtain face features corresponding to each face in the multiple personnel images; then, comparing the facial features corresponding to each face with a plurality of facial features in the registered account one by one to obtain first facial features corresponding to people of the unregistered account in the multi-person image; determining the age of the person corresponding to each first face feature according to each first face feature; thirdly, calculating similarity values between each first face feature and face features of other people in the multi-person image aiming at each first face feature to obtain each similarity value corresponding to each first face feature, wherein the other people are people except people of the unregistered account corresponding to each first face feature in the multi-person image; then, for each first face feature, determining a person relationship between the person corresponding to each first face feature and other persons from prestored person relationships according to each similarity value corresponding to each first face feature and the age; then, respectively registering accounts for the personnel who do not register accounts in the multi-personnel image to obtain a new target account of the personnel who do not register accounts; finally, aiming at the personnel of each unregistered account, associating the new target account corresponding to the personnel of each unregistered account with other accounts according to the personnel relationship, wherein the other accounts are accounts except the unregistered account corresponding to each new target account in the multi-personnel image; calculating an evaluation value of each first face feature in the multiple person images according to a preset rule to determine a master account and a slave account in multiple new target accounts; and determining a master account authority and setting a slave account authority for the master account, wherein the master account authority is different from the slave account authority. Therefore, the invention can realize the simultaneous registration of multiple accounts through one mobile terminal, and when the registration is completed, the multiple accounts are associated according to the personnel relationship, the master account and the slave account are set for the multiple accounts, and the master account authority and the slave account authority corresponding to the multiple accounts are set, thereby simplifying the registration process, improving the registration efficiency and facilitating the management and the application of the associated multiple accounts. It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
In an embodiment, a multi-account association registration apparatus is provided, where the multi-account association registration apparatus corresponds to the multi-account association registration method in the foregoing embodiment one to one. As shown in fig. 6, the multi-account association registration apparatus includes a registration request module 601, an image acquisition module 602, a face detection module 603, a facial feature comparison module 604, an age determination module 605, a similarity value calculation module 606, a personnel relationship determination module 607, a multi-account registration module 608, a multi-account association module 609, a master-slave account confirmation module 610, and a master-slave authority setting module 611. The functional modules are explained in detail as follows:
the registration request module 601 is configured to pop up a multi-account associated registration interface and send out prompt information for requesting a user to upload images of multiple employees when a multi-account associated registration request is received;
an image obtaining module 602, configured to obtain the uploaded multi-employee image;
a face detection module 603, configured to perform face detection on the multiple-person images, and extract facial features corresponding to faces in the multiple-person images;
a facial feature comparison module 604, configured to compare the facial features corresponding to the respective faces with a plurality of facial features in a registered account one by one, to obtain first facial features corresponding to people in the multiple-person image who do not register an account;
an age determining module 605, configured to determine, according to each first face feature, an age of a person corresponding to each first face feature;
a similarity value calculation module 606, configured to calculate, for each first person face feature, a similarity value between each first person face feature and face features of other persons in the multi-person image, to obtain each similarity value corresponding to each first person face feature, where the other persons are persons in the multi-person image except for the person with the unregistered account corresponding to each first person face feature;
a person relationship determining module 607, configured to determine, for each first face feature, a person relationship between a person corresponding to each first face feature and another person from pre-stored person relationships according to each similarity value corresponding to each first face feature and the age;
a multi-account registration module 608, configured to register accounts for people who do not register accounts in the multi-person image, respectively, to obtain a new target account of the people who do not register accounts;
a multi-account association module 609, configured to associate, for each person in the unregistered account, a new target account corresponding to the person in each unregistered account with another account according to the person relationship, where the another account is an account other than the unregistered account corresponding to each new target account in the multi-person image;
a master-slave account determining module 610, configured to calculate an evaluation value of each first face feature in the multiple images according to a preset rule to determine a master account and a slave account in the multiple new target accounts;
a master-slave permission setting module 611, configured to determine a master account permission for the master account and set a slave account permission for the slave account, where the master account permission is different from the slave account permission.
As shown in fig. 7, further, the personnel relationship determination module 607 may include:
an age gap calculation unit 6071 configured to calculate, for each first face feature, an age gap between a person corresponding to each first face feature and another person according to an age of each person corresponding to the each first face feature;
an average similarity value calculation unit 6072, configured to calculate an average similarity value of each first face feature according to each similarity value corresponding to each first face feature;
a friendship confirmation unit 6073 configured to determine that the person relationship is a friendship if a similarity value between the first person face feature and the face features of the other persons does not exceed a preset first threshold, the average similarity value does not exceed a preset second threshold, and the age difference does not exceed a preset third threshold;
a sibling relationship determination unit 6074 configured to determine that the person relationship is a sibling relationship if the similarity value between the first human face feature and the human face features of the other persons does not exceed the first threshold, the average similarity value is greater than the second threshold, and the age gap does not exceed the third threshold;
a parent in-relation determination unit 6075 configured to determine that the person relation is a parent in-relation if the similarity value between the first facial feature and the facial features of the other persons does not exceed the first threshold and the age gap is greater than the third threshold;
an ancestor in-relation determination unit 6076 configured to determine that the person relation is an ancestor in-relation if the similarity value between the first human face feature and the human face features of the other persons does not exceed the first threshold and the age gap is greater than the fourth threshold;
a sibling blood relationship determination unit 6077 configured to determine that the person relationship is a sibling blood relationship if the similarity value between the first face feature and the face-face features of the other persons is greater than the first threshold and the age gap does not exceed the third threshold;
a parent blood relationship confirmation unit 6078 configured to determine that the person relationship is a parent blood relationship if the similarity value between the first face feature and the face-face features of the other persons is greater than the first threshold and the age gap is greater than the third threshold;
an ancestral blood relationship determination unit 6079 for determining that the person relationship is an ancestral blood relationship if a similarity value between a first person face feature and a face feature of the other person is greater than the first threshold and the age gap is greater than the fourth threshold.
As shown in fig. 8, further, the master-slave account determining module 610 may include:
a position data acquiring unit 6101, configured to acquire position data of a person in the multi-person image corresponding to each first face feature;
a position score obtaining unit 6102, configured to mark, according to the position data, a person at a most middle position in the multi-person image as a preset first highest score, and marks, in sequence, persons at other positions as descending scores from the most middle position, so as to obtain a position score corresponding to each first face feature;
an age score obtaining unit 6103, configured to mark, according to the ages of the persons corresponding to the first face features, the persons with the ages in the preset age interval as preset second highest scores, and mark, from the preset age interval, the remaining ages as descending scores in sequence according to the interval length of the preset age interval, so as to obtain the age score corresponding to each first face feature;
an online time length obtaining unit 6104, configured to obtain an online time length of a person corresponding to each first face feature;
an evaluation value calculation unit 6105, configured to calculate, for each first face feature, an evaluation value of a person corresponding to each first face feature according to a position score, an age score, an online time length and a weight corresponding to each first face feature;
a master-slave account determination unit 6106 configured to, after calculating the evaluation value of the person corresponding to each first face feature, set an account of the person whose evaluation value is the highest as a master account, and set a remaining account, which is an account other than the master account whose evaluation value corresponding to the first face feature is the highest in the images of the plurality of persons, as a slave account.
For specific limitations of the multi-account associated registration apparatus, reference may be made to the above limitations of the multi-account associated registration method, which is not described herein again. The modules in the multi-account associated registration device can be implemented in whole or in part by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 9. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data involved in the multi-account associated registration method. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of multi-account associative registration.
In one embodiment, a computer device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the processor implements the steps of the method for multi-account association registration in the above embodiments, such as steps 101 to 111 shown in fig. 2. Alternatively, the processor, when executing the computer program, implements the functions of each module/unit of the apparatus for multi-account associated registration in the above-described embodiment, for example, the functions of the modules 601 to 611 shown in fig. 6. To avoid repetition, further description is omitted here.
In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the steps of the method of multi-account association registration in the above embodiments, such as steps 101 to 111 shown in fig. 2. Alternatively, the computer program, when executed by the processor, implements the functions of the modules/units of the method apparatus for multi-account associated registration in the foregoing embodiments, such as the functions of the modules 601 to 611 shown in fig. 6. To avoid repetition, further description is omitted here.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A method for multi-account associated registration, comprising:
when a multi-account associated registration request is received, popping up a multi-account associated registration interface, and sending prompt information for requesting a user to upload images of multiple personnel;
acquiring the uploaded images of the multiple personnel;
carrying out face detection on the images of the multiple persons, and extracting to obtain face features corresponding to each face in the images of the multiple persons;
comparing the facial features corresponding to each face with a plurality of facial features in a registered account one by one to obtain first facial features corresponding to people of the unregistered account in the multi-person image;
determining the age of the person corresponding to each first face feature according to each first face feature;
calculating similarity values between each first face feature and face features of other people in the multi-person image aiming at each first face feature to obtain each similarity value corresponding to each first face feature, wherein the other people are people except people of the unregistered account corresponding to each first face feature in the multi-person image;
for each first face feature, determining the person relationship between the person corresponding to each first face feature and other persons from prestored person relationships according to each similarity value corresponding to each first face feature and the age;
respectively registering accounts for the personnel with unregistered accounts in the multi-personnel images to obtain a new target account of the personnel with each unregistered account;
for the personnel of each unregistered account, associating the new target account corresponding to the personnel of each unregistered account with other accounts according to the personnel relationship, wherein the other accounts are accounts except the unregistered account corresponding to each new target account in the multi-personnel image;
calculating an evaluation value of each first face feature in the multiple person images according to a preset rule to determine a master account and a slave account in multiple new target accounts;
and determining a master account authority and setting a slave account authority for the master account, wherein the master account authority is different from the slave account authority.
2. The method of claim 1, wherein the determining, for each first facial feature, the person relationship between the person corresponding to each first facial feature and other persons from the pre-stored person relationships according to the respective similarity value and the age corresponding to the each first facial feature comprises:
for each first face feature, calculating an age difference between a person corresponding to each first face feature and other persons according to the age of each person corresponding to each first face feature;
calculating the average similarity value of each first face feature according to each similarity value corresponding to each first face feature;
if the similarity value between the facial features of the first person and the facial features of other persons does not exceed a preset first threshold value, the average similarity value does not exceed a preset second threshold value, and the age difference does not exceed a preset third threshold value, determining that the person relationship is a friendship;
determining that the person relationship is a sibling relationship if the similarity value between the facial features of the first person and the facial features of the other persons does not exceed the first threshold, the average similarity value is greater than the second threshold, and the age difference does not exceed the third threshold;
if the similarity value between the facial features of the first person and the facial features of other persons does not exceed the first threshold value and the age difference is greater than the third threshold value, determining that the person relationship is a parent in-person relationship;
if the similarity value between the facial features of the first person and the facial features of other persons does not exceed the first threshold value and the age difference is greater than the fourth threshold value, determining that the person relationship is an ancestor in-person relationship;
if the similarity value between the facial features of the first person and the facial features of the other persons is larger than the first threshold value and the age difference does not exceed the third threshold value, determining that the person relationship is a sibling blood relationship;
if the similarity value between the facial features of the first person and the facial features of the other persons is larger than the first threshold value and the age difference is larger than the third threshold value, determining that the person relationship is a parent-blood relationship;
and if the similarity value between the facial features of the first person and the facial features of the other persons is larger than the first threshold value and the age difference is larger than the fourth threshold value, determining that the person relationship is ancestral blood relationship.
3. The method of claim 1, wherein the calculating the evaluation value of each first human face feature in the multiple human images according to the preset rule to determine the primary account and the secondary account in the multiple new target accounts comprises:
acquiring each position data of the person corresponding to each first face feature in the multi-person image;
according to the position data, marking the person at the most middle position in the multi-person image as a preset first highest score, and sequentially marking the persons at the rest positions as descending scores from the most middle position to obtain the position score corresponding to each first face feature;
according to the age of the person corresponding to each first face feature, marking the person with the age in a preset age interval as a preset second highest score, and sequentially marking the rest ages as descending scores from the preset age interval according to the interval length of the preset age interval to obtain the age score corresponding to each first face feature;
acquiring the online time length of a person corresponding to each first face feature;
calculating to obtain an evaluation value of a person corresponding to each first face feature according to a position score, an age score, an online time length and respective corresponding weights corresponding to each first face feature;
after the evaluation value of the person corresponding to each first face feature is calculated, the account of the person with the highest evaluation value is set as a master account, and the rest accounts except the master account with the highest evaluation value corresponding to the first face feature in the image of the plurality of persons are set as slave accounts.
4. The method for multi-account associated registration according to claim 1, wherein the determining of the master account authority for the master account and the setting of the slave account authority for the slave account are different from the master account authority, including;
setting a master account authority for managing a slave account for the master account;
according to the association between each slave account and the main account, sending the slave account information to the main account;
and after the master account receives the slave account information, setting corresponding slave account authority for the slave account.
5. The method of multi-account association registration according to any one of claims 1 to 4, further comprising:
after acquiring the relationship of relatives and friends input by a new target account, judging whether the relationship of relatives and friends input by a person corresponding to the new target account is true or not according to the relationship of the person of the new target account;
if the relationship of the relatives and friends is not true, acquiring personnel corresponding to the new target account and personnel information of the relatives and friends from a public security system;
determining the real relationship between the personnel corresponding to the new target account and the relatives and friends according to the personnel information;
and if the personnel relationship is consistent with the real relationship, determining that the relationship between the personnel corresponding to the new target account and the relatives and friends is the personnel relationship.
6. An apparatus for multi-account associated registration, the apparatus comprising:
the registration request module is used for popping up a multi-account associated registration interface and sending prompt information for requesting a user to upload images of multiple personnel when receiving a multi-account associated registration request;
the image acquisition module is used for acquiring the uploaded images of the multiple personnel;
the face detection module is used for carrying out face detection on the multiple personnel images and extracting face features corresponding to all faces in the multiple personnel images;
the facial feature comparison module is used for comparing the facial features corresponding to all the faces with a plurality of facial features in a registered account one by one to obtain first facial features corresponding to people of the unregistered account in the multi-person image;
the age determining module is used for determining the age of the person corresponding to each first face feature according to each first face feature;
a similarity value calculation module, configured to calculate, for each first person face feature, a similarity value between each first person face feature and face features of other persons in the multi-person image to obtain each similarity value corresponding to each first person face feature, where the other persons are persons in the multi-person image other than the person with the unregistered account corresponding to each first person face feature;
the person relationship determining module is used for determining the person relationship between the person corresponding to each first face feature and other persons from prestored person relationships according to each similarity value corresponding to each first face feature and the age;
the multi-account registration module is used for respectively registering accounts for the personnel who do not register accounts in the multi-personnel image to obtain a new target account of the personnel who do not register accounts;
the multi-account association module is used for associating a new target account corresponding to the personnel of each unregistered account with other accounts according to the personnel relationship, wherein the other accounts are accounts except the unregistered account corresponding to each new target account in the multi-personnel image;
the master-slave account determining module is used for calculating an evaluation value of each first face feature in the multiple images according to preset rules to determine a master account and a slave account in multiple new target accounts;
and the master-slave permission setting module is used for determining master account permission and setting slave account permission for the master account, wherein the master account permission is different from the slave account permission.
7. The apparatus of multi-account associated registration according to claim 6, wherein the personnel relationship determination module comprises:
the age gap calculation unit is used for calculating the age gap between the person corresponding to each first face feature and other persons according to the age of each person corresponding to each first face feature;
the average similarity value calculation unit is used for calculating the average similarity value of each first human face feature according to each similarity value corresponding to each first human face feature;
a friendship confirmation unit, configured to determine that the people relationship is a friendship if a similarity value between a first person face feature and a face feature of another person does not exceed a preset first threshold, the average similarity value does not exceed a preset second threshold, and the age difference does not exceed a preset third threshold;
a sibling relationship determination unit configured to determine that the person relationship is a sibling relationship if a similarity value between a first face feature and a face feature of another person does not exceed the first threshold, the average similarity value is greater than the second threshold, and the age difference does not exceed the third threshold;
a parent in-person relationship determination unit, configured to determine that the person relationship is a parent in-person relationship if a similarity value between a first face feature and a face feature of another person does not exceed the first threshold and the age difference is greater than the third threshold;
an ancestor in-touch relationship determination unit configured to determine that the person relationship is an ancestor in-touch relationship if the similarity value between the first person face feature and the face features of the other persons does not exceed the first threshold and the age difference is greater than the fourth threshold;
a sibling relationship determination unit configured to determine that the person relationship is a sibling relationship if the similarity value between the first face feature and the face and face features of the other persons is greater than the first threshold and the age difference does not exceed the third threshold;
a parent blood relationship determination unit configured to determine that the person relationship is a parent blood relationship if the similarity value between the first face feature and the face and face features of the other persons is greater than the first threshold and the age difference is greater than the third threshold;
an ancestral blood relationship determination unit configured to determine that the person relationship is an ancestral blood relationship if a similarity value between a first person face feature and a face feature of the other person is greater than the first threshold and the age difference is greater than the fourth threshold.
8. The apparatus for multi-account association registration according to claim 6 or 7, wherein the master-slave account determination module comprises:
a position data acquiring unit, configured to acquire position data of a person in the multi-person image, where the person corresponds to each first person face feature;
the position score acquisition unit is used for marking the personnel at the most middle position in the multi-personnel image as a preset first highest score according to the position data, and marking the personnel at the rest positions as descending scores in sequence from the most middle position to obtain the position score corresponding to each first human face feature;
the age score acquisition unit is used for marking the persons with the ages in the preset age interval as preset second highest scores according to the ages of the persons corresponding to the first face features, and marking the rest ages as descending scores in sequence from the preset age interval according to the interval length of the preset age interval to obtain the age score corresponding to the first face features;
the online duration acquisition unit is used for acquiring the online duration of the person corresponding to each first face feature;
the evaluation value calculation unit is used for calculating the evaluation value of the person corresponding to each first face feature according to the position score, the age score, the online time length and the weight corresponding to each first face feature;
and the master-slave account determination unit is used for setting the account of the person with the highest evaluation value as the master account and setting the rest accounts as the slave accounts after calculating the evaluation value of the person corresponding to each first face feature, wherein the rest accounts are accounts except the master account with the highest evaluation value corresponding to the first face feature in the images of the multiple persons.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor when executing the computer program performs the steps of multi-account associated registration according to any of claims 1 to 5.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of multi-account association registration according to any one of claims 1 to 5.
CN201910824280.0A 2019-09-02 2019-09-02 Multi-account associated registration method, device, computer equipment and storage medium Active CN110717388B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910824280.0A CN110717388B (en) 2019-09-02 2019-09-02 Multi-account associated registration method, device, computer equipment and storage medium
PCT/CN2020/112353 WO2021043093A1 (en) 2019-09-02 2020-08-31 Method and apparatus for associating and registering multiple accounts, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910824280.0A CN110717388B (en) 2019-09-02 2019-09-02 Multi-account associated registration method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110717388A true CN110717388A (en) 2020-01-21
CN110717388B CN110717388B (en) 2023-06-06

Family

ID=69210211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910824280.0A Active CN110717388B (en) 2019-09-02 2019-09-02 Multi-account associated registration method, device, computer equipment and storage medium

Country Status (2)

Country Link
CN (1) CN110717388B (en)
WO (1) WO2021043093A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111428611A (en) * 2020-03-19 2020-07-17 上海领感科技有限公司 Big data based face recognition system and method for unregistered sports crowd
CN112312383A (en) * 2019-07-30 2021-02-02 中国移动通信集团江西有限公司 Service processing method and device for home user, storage medium and server
WO2021043093A1 (en) * 2019-09-02 2021-03-11 平安科技(深圳)有限公司 Method and apparatus for associating and registering multiple accounts, computer device and storage medium
CN113098930A (en) * 2021-03-19 2021-07-09 北京京东拓先科技有限公司 Service request response method, device, system and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115189959A (en) * 2022-07-18 2022-10-14 西安热工研究院有限公司 Account login and access management method based on master-slave account

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015062278A1 (en) * 2013-10-28 2015-05-07 Tencent Technology (Shenzhen) Company Limited Account management method and associated apparatus and system
WO2017096921A1 (en) * 2015-12-09 2017-06-15 广州广电运通金融电子股份有限公司 Method for identifying identity by means of social relationship
CN107563360A (en) * 2017-09-30 2018-01-09 百度在线网络技术(北京)有限公司 Information acquisition method and device
CN109816543A (en) * 2018-12-14 2019-05-28 平安科技(深圳)有限公司 A kind of image lookup method and device
US20190193261A1 (en) * 2017-12-25 2019-06-27 Casio Computer Co., Ltd. Information processing device, information processing method, and non-transitory computer-readable recording medium for acquiring information of target

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9208337B2 (en) * 2009-09-22 2015-12-08 Denise G. Tayloe Systems, methods, and software applications for providing and identity and age-appropriate verification registry
CN103294965B (en) * 2012-02-16 2016-06-15 克利特股份有限公司 Parent-child guidance support for social networks
CN105741175B (en) * 2016-01-27 2019-08-20 电子科技大学 A method of account in online social networks is associated
CN110162956B (en) * 2018-03-12 2024-01-19 华东师范大学 Method and device for determining associated account
CN110717388B (en) * 2019-09-02 2023-06-06 平安科技(深圳)有限公司 Multi-account associated registration method, device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015062278A1 (en) * 2013-10-28 2015-05-07 Tencent Technology (Shenzhen) Company Limited Account management method and associated apparatus and system
WO2017096921A1 (en) * 2015-12-09 2017-06-15 广州广电运通金融电子股份有限公司 Method for identifying identity by means of social relationship
CN107563360A (en) * 2017-09-30 2018-01-09 百度在线网络技术(北京)有限公司 Information acquisition method and device
US20190193261A1 (en) * 2017-12-25 2019-06-27 Casio Computer Co., Ltd. Information processing device, information processing method, and non-transitory computer-readable recording medium for acquiring information of target
CN109816543A (en) * 2018-12-14 2019-05-28 平安科技(深圳)有限公司 A kind of image lookup method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112312383A (en) * 2019-07-30 2021-02-02 中国移动通信集团江西有限公司 Service processing method and device for home user, storage medium and server
CN112312383B (en) * 2019-07-30 2022-07-01 中国移动通信集团江西有限公司 Service processing method and device for home user, storage medium and server
WO2021043093A1 (en) * 2019-09-02 2021-03-11 平安科技(深圳)有限公司 Method and apparatus for associating and registering multiple accounts, computer device and storage medium
CN111428611A (en) * 2020-03-19 2020-07-17 上海领感科技有限公司 Big data based face recognition system and method for unregistered sports crowd
CN111428611B (en) * 2020-03-19 2022-07-12 上海领感科技有限公司 Big data-based face recognition system and method for unregistered sports crowd
CN113098930A (en) * 2021-03-19 2021-07-09 北京京东拓先科技有限公司 Service request response method, device, system and storage medium
CN113098930B (en) * 2021-03-19 2023-05-12 北京京东拓先科技有限公司 Service request response method, device, system and storage medium

Also Published As

Publication number Publication date
WO2021043093A1 (en) 2021-03-11
CN110717388B (en) 2023-06-06

Similar Documents

Publication Publication Date Title
CN110717388A (en) Multi-account associated registration method and device, computer equipment and storage medium
US10728033B2 (en) Identity authentication method, apparatus, and storage medium
US20190311377A1 (en) Social security fraud behaviors identification method, device, apparatus and computer-readable storage medium
CN106022032A (en) Individual identification device, and identification threshold setting method
EP3005639B1 (en) Method and system for verifying the identity of a user of an online service
CN103548031A (en) Picture gesture authentication
JP5925373B1 (en) Communication support system
CN109637616A (en) Medicine distribution method, apparatus, equipment and the storage medium of shared prescription
CN103365922A (en) Method and device for associating images with personal information
CN107005682A (en) Monitoring system, monitoring method and program
WO2018040045A1 (en) Monitoring method, apparatus and electronic device
CN109377369A (en) Checking method, device and the computer readable storage medium of transaction data
CN109816543B (en) Image searching method and device
US11792189B1 (en) Systems and methods for authenticating a user using an image capture device
US10547610B1 (en) Age adapted biometric authentication
CN107656959A (en) A kind of message leaving method, device and message equipment
Stragapede et al. IJCB 2022 mobile behavioral biometrics competition (MobileB2C)
CN112002075B (en) Information processing method and device for improving safety of storage cabinet
EP3871117A1 (en) Providing images with privacy label
CN107786349B (en) Security management method and device for user account
CN112637148B (en) Method, device, electronic equipment and medium for verifying user
US20200028847A1 (en) Authentication method and authentication device
CN111614697A (en) Method and system for identity recognition
WO2020024388A1 (en) Microexpression lock generation and unlock method, apparatus, terminal device, and storage medium
CN111581422A (en) Information processing method and device based on face recognition

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant