WO2020177286A1 - 社交关系的建立方法、装置及服务器 - Google Patents
社交关系的建立方法、装置及服务器 Download PDFInfo
- Publication number
- WO2020177286A1 WO2020177286A1 PCT/CN2019/103961 CN2019103961W WO2020177286A1 WO 2020177286 A1 WO2020177286 A1 WO 2020177286A1 CN 2019103961 W CN2019103961 W CN 2019103961W WO 2020177286 A1 WO2020177286 A1 WO 2020177286A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- user
- users
- group photo
- identifier
- social relationship
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/01—Social networking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/161—Detection; Localisation; Normalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/172—Classification, e.g. identification
Definitions
- the embodiments of the present application relate to the field of Internet technology, and in particular, to a method, device, and server for establishing a social relationship.
- the embodiments of the present application provide a method, a device, and a server for establishing a social relationship.
- the social relationship of a first user is established based on the first group photo of the first user, thereby expanding the social circle of the first user.
- an embodiment of the present application provides a method for establishing a social relationship, which is applied to a server, and includes:
- the identity of the first user and the first database perform face recognition on each user in the first group photo to obtain the identity of at least one second user, wherein the first database stores different users logos and avatars of different users;
- the identification of at least one third user is determined, and the third user is among the second users who have not established a social relationship with the first user user;
- the identifier of each third user is sent to the first terminal, so that the first terminal establishes a social relationship between the first user and each third user.
- the performing face recognition on each user in the first group photo according to the identity of the first user and the first database to obtain the identity of at least one second user includes:
- the avatar of the first user determine the faces of other users except the face of the first user among the faces corresponding to each user;
- the similarity between the faces of the remaining users and the avatars of the users in the first database is obtained, and the avatars of the users whose similarity meets the preset conditions are determined.
- the identifier serves as the identifier of the second user.
- the method further includes:
- the identifiers of each of the second users determine the identifier of the fourth user, and the fourth user is at least part of the second users;
- the identifier of the fifth user is sent to the first terminal, so that the first terminal establishes a social relationship between the first user and the fifth user.
- a preset area is identified in the first group photo, and the preset area includes one or more of the second users;
- the determining the identity of the fourth user among the identities of the second users includes:
- the acquiring the identifier of the fifth user who has a social relationship with the fourth user includes:
- face recognition is performed on each user in the second group photo according to the identification of the fourth user and the first database to obtain the identification of the fifth user.
- the method further includes:
- the identifier of the first user is sent to a second terminal corresponding to each of the third users, so that the second terminal establishes a social relationship between the third user and the first user.
- the method further includes:
- the identifier of the first user is sent to a third terminal corresponding to each of the fifth users, so that the third terminal establishes a social relationship between the fifth user and the first user.
- an embodiment of the present application provides an apparatus for establishing a social relationship, which is applied to a server, and includes:
- the first obtaining module is configured to obtain the first group photo and the identity of the first user sent by the first terminal corresponding to the first user;
- the second acquisition module is configured to perform face recognition on each user in the first group photo according to the identifier of the first user and the first database, and acquire the identifier of at least one second user, wherein the first user A database stores the identities of different users and the avatars of different users;
- the second acquisition module is further configured to determine the identity of at least one third user based on the identity of each second user and the current social relationship of the first user, and the third user is a member of the second user. A user who has established a social relationship with the first user;
- the sending module is configured to send the identity of each of the third users to the first terminal, so that the first terminal establishes a social relationship between the first user and each of the third users.
- the second obtaining module is specifically configured to:
- the avatar of the first user determine the faces of other users except the face of the first user among the faces corresponding to each user;
- the similarity between the faces of the remaining users and the avatars of the users in the first database is obtained, and the avatars of the users whose similarity meets the preset conditions are determined.
- the identifier serves as the identifier of the second user.
- the device further includes: a third acquisition module, configured to:
- the identifiers of each of the second users determine the identifier of the fourth user, and the fourth user is at least part of the second users;
- the identifier of the fifth user is sent to the first terminal, so that the first terminal establishes a social relationship between the first user and the fifth user.
- a preset area is identified in the first group photo, and the preset area includes one or more of the second users;
- the third acquisition module is specifically used for:
- the third obtaining module is specifically configured to:
- face recognition is performed on each user in the second group photo according to the identification of the fourth user and the first database to obtain the identification of the fifth user.
- the sending module is also used to:
- the identifier of the first user is sent to a second terminal corresponding to each of the third users, so that the second terminal establishes a social relationship between the third user and the first user.
- the sending module is also used to:
- the identifier of the first user is sent to a third terminal corresponding to each of the fifth users, so that the third terminal establishes a social relationship between the fifth user and the first user.
- an embodiment of the present application provides a server, including: at least one processor and a memory;
- the memory stores computer execution instructions
- the at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the method according to any one of the first aspect.
- an embodiment of the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores computer-executable instructions.
- the processor executes the computer-executable instructions, the computer-readable The method described in the item.
- the method, device, and server for establishing a social relationship provided by the embodiments of the present application.
- the server obtains the first group photo and the identity of the first user sent by the first terminal corresponding to the first user, and according to the identity of the first user and
- the first database performs face recognition on each user in the first group photo, obtains the identification of at least one second user, and determines at least one according to the identification of each second user and the current social relationship of the first user
- the identity of the third user sending the identity of each of the third users to the first terminal, so that the first terminal establishes the social relationship between the first user and each of the third users;
- the first group photo of the first user includes the strong connection and/or weak connection of the first user.
- Figure 1 is a schematic diagram of a scenario to which an embodiment of the application is applicable
- FIG. 2 is a schematic flowchart of an embodiment of a method for establishing a social relationship provided by an embodiment of the application
- FIG. 3 is a flowchart of another embodiment of the method for establishing a social relationship provided by an embodiment of the application
- FIG. 4 is a schematic flowchart of a method for obtaining an identifier of a fifth user who has a social relationship with a fourth user according to an embodiment of the application;
- FIG. 5 is a schematic flowchart of another embodiment of a method for establishing a social relationship provided by an embodiment of this application;
- FIG. 6 is a schematic diagram of an interface for uploading a group photo of a terminal according to an embodiment of the application
- FIG. 7 is a schematic structural diagram of an embodiment of an apparatus for establishing a social relationship provided by an embodiment of this application.
- FIG. 8 is a schematic structural diagram of another embodiment of an apparatus for establishing a social relationship according to an embodiment of the application.
- FIG. 9 is a schematic structural diagram of a server provided by an embodiment of the application.
- the user’s personal relationship is usually hidden in the group photo.
- the social relationship between the first user and each second user is divided into two types ,
- the first is: the first user and the second user have a strong connection relationship, for example: the first user and the second user are relatives and friends, the first user is very familiar with the second user;
- the second is: first The user and the second user have a weak connection relationship, that is, the first user is not very familiar with the second user.
- the embodiments of the present application provide a method, device, and server for establishing a social network.
- the first user By performing face recognition on each user in the first group photo of the first user, the first user’s first group photo is realized based on the first group photo.
- FIG. 1 is a schematic diagram of the applicable scenario of the embodiment of the present application. As shown in FIG. 1, it includes a server and at least one terminal. Among them, the server and each terminal are connected through the Internet or the mobile Internet.
- the server is a social network server
- the server runs a social network server
- the terminal runs a social network client. Users can interact with the server through the client to achieve the establishment of social relationships.
- the social network in this embodiment refers to a network used to manage relationships between people in a broad sense.
- the method for establishing social relationships provided in this embodiment can be applied to any existing social network, and can also be applied to future possibilities.
- the method for establishing a social network may be executed by the server in FIG. 1, specifically, it may be set in the server in FIG. 1 in the form of software and/or hardware.
- FIG. 2 is a schematic flowchart of an embodiment of a method for establishing a social relationship provided by an embodiment of the application.
- the method in this embodiment may be executed by the server in FIG. 1.
- the method of this embodiment includes:
- S201 Acquire a first group photo and an identifier of the first user sent by the first terminal corresponding to the first user.
- the client of the social network runs on the first terminal, and the server of the social network runs on the server.
- the first user uploads the first group photo of himself and others to the client, and then the client sends the identification of the first user and the first group photo to the server.
- the embodiment of the present application does not specifically limit the format of the first group photo, and it may be a group photo in any format.
- the group photo may be a group photo of two users, or a group photo of multiple users.
- the embodiment of the present application does not specifically limit the number of users in the group photo.
- S202 Perform face recognition on each user in the first group photo according to the identity of the first user and the first database, and obtain the identity of at least one second user, wherein the first database stores Identification of different users and avatars of different users.
- the identification of each second user is obtained by matching the face of each user in the first group photo with the first database.
- the identifier of the user may be any identifier used to characterize the user, including but not limited to: name, account number, nickname, etc.
- the first database stores the identities of different users and the avatars of different users.
- the first database may be a registered user database of a social network, which is used to store the registration information of all registered users, including but not limited to: name, nickname, account number, avatar, etc.
- the first database is a registered user database of a social network
- the user that can be identified from the first database is called the second user. That is, the second user is part or all of the remaining users in the first group photo except the first user.
- the process of performing face recognition on each user in the first group photo according to the first database may have multiple implementation manners, and only one optional implementation manner will be described in detail below.
- the identification of the first user and the first database determine the avatar of the first user; perform face detection on the first group photo to obtain the corresponding face of each user; according to the first user
- the avatar of each user determines the faces of the remaining users except the face of the first user from the faces corresponding to each user; for each of the faces of the remaining users, obtain the faces of the remaining users and
- the identifier of the user corresponding to the avatar whose similarity meets a preset condition is used as the identifier of the second user.
- various existing algorithms and models can be used to implement the process of face detection on the first group photo.
- the existing face detection can use template matching model, skin color model, Active Appearance Model (AAM), Support Vector Machine (SVM) model, Adaboost model, etc., their detection accuracy and speed Each is different.
- AAM Active Appearance Model
- SVM Support Vector Machine
- Adaboost model Adaboost model
- the face detection in this embodiment is not limited to the above-mentioned technology, and can be implemented by using other various algorithms and models as needed.
- the process of recognizing the face is essentially a process of extracting features from the face, and calculating the similarity of the extracted features, and matching the facial features through machine learning algorithms.
- the extraction of facial feature data includes template-based feature extraction, algebraic method-based feature extraction, elastic matching method-based feature extraction, neural network-based feature extraction, and wavelet multi-resolution feature extraction.
- facial feature data such as principal component analysis (PCA) and so on.
- PCA principal component analysis
- the facial feature extraction in this embodiment is not limited to the above-mentioned technology, and various algorithms and models can be used to implement it according to actual needs.
- S203 Determine the identity of at least one third user according to the identity of each second user and the current social relationship of the first user, where the third user is one of the second users that has not established a social relationship with the first user Relationship users.
- the second user who has not established a social relationship with the first user is referred to as the third user.
- S204 Send the identity of each third user to the first terminal, so that the first terminal establishes a social relationship between the first user and each third user.
- the server sends the identity of each third user to the first terminal corresponding to the first user, and the first terminal establishes the social interaction between the first user and each third user. relationship.
- the first terminal may provide the first user with a list including all third users, and the user can select some or all of them according to his needs and wishes. Build social relationships.
- the manner in which the first terminal establishes the social relationship between the first user and the third user may be for the first terminal to add the third user as a friend of the first user, or for the first terminal to add the third user
- the user is added to the follow user list of the first user, of course, it may also be in other ways of social relations, which is not specifically limited in the embodiment of the present application.
- the first user can learn the status of the third user, information shared by the third user, and other information in a timely manner.
- the method of this embodiment may further include:
- the identifier of the first user is sent to a second terminal corresponding to each of the third users, so that the second terminal establishes a social relationship between the third user and the first user.
- the identification of the first user may also be sent to the second terminal corresponding to the third user, so that the second terminal establishes the relationship between the third user and the first user. Therefore, this embodiment also implements the expansion of the social relationship of the third user based on the first group photo of the first user.
- the following example illustrates the implementation process of this embodiment. It is assumed that the first user is user A, and user A sends a first group photo to the server through the first terminal, where the first group photo is user A, user B, user C, A group photo of user D, assuming that all the above-mentioned users have registered in the social network. After performing face recognition on each user in the first group photo according to the first database, the identification of the second user (user B, user C, user D) can be obtained. Assuming that user A and user D have established a social relationship, the identities of the third user determined by S203 are the identities of user B and user C.
- the server sends the identities of the user B and the user C to the first terminal, and the first terminal establishes the social relationship between the user A and the user B, and the social relationship between the user A and the user C.
- the server can also send the identity of user A to the terminal corresponding to user B and the terminal corresponding to user C, so that the terminal corresponding to user B establishes the social relationship between user B and user A, and the terminal corresponding to user C establishes the user The social relationship between C and user A.
- the server obtains the first group photo sent by the first terminal corresponding to the first user and the identification of the first user, and according to the identification of the first user and the first database, Perform face recognition on each user in the first group photo, obtain the identity of at least one second user, and determine the identity of at least one third user based on the identity of each second user and the current social relationship of the first user Identification, sending the identification of each of the third users to the first terminal, so that the first terminal establishes the social relationship between the first user and each of the third users;
- the first group photo includes the strong connection and/or weak connection of the first user.
- the embodiment shown in FIG. 2 realizes the face recognition of each user in the first group photo according to the first database, obtains the second user who can be identified, and determines that the second user is the same as the first user.
- the third user who has not yet established a social relationship expands the social circle of the first user by establishing a social relationship between the first user and the third user.
- the social relationship of the first user can be further mined according to the social relationship of the second user.
- the first user is user A
- user A sends the first group photo to the server through the first terminal
- the first group photo is user A, user B, user C, A group photo of user D.
- the identification of the second user is obtained according to the embodiment shown in FIG. 2, this embodiment can be based on all or part of user B, user C, and user D
- the social relationship of user A is further explored.
- FIG. 3 is an example flow diagram of another embodiment of a method for establishing a social relationship provided by an embodiment of the application. As shown in FIG. 3, the method of this embodiment includes:
- S301 Determine the identity of the fourth user among the identities of the second users, and the fourth users are at least part of the second users.
- the social relationships of the first user are further mined based on the social relationships of all the second users in the first group photo; in another optional implementation manner, according to the A part of the social relationship of the second user in a group photo further explores the social relationship of the first user.
- the second user on which the social relationship of the first user is further mined is called the fourth user, that is, the fourth user is all or part of the second user.
- An application scenario corresponding to this embodiment may be that the server performs face recognition on each user in the first group photo, and after obtaining the identity of each second user, the server automatically determines the identity of the fourth user according to the identity of each second user .
- S302 Acquire an identifier of a fifth user who has a social relationship with the fourth user.
- the identity of the fifth user may be obtained according to the current social relationship of the fourth user, for example: obtaining the friend list of the fourth user, or following the user list, and comparing the fourth user’s friends or the following user As the fifth user.
- a user who has taken a photo with the fourth user may be regarded as the fifth user by performing face recognition on a photo taken with the fourth user.
- Fig. 4 is a schematic flow chart of a method for obtaining the identity of a fifth user who has a social relationship with a fourth user according to an embodiment of the application, as shown in Fig. 4, including:
- S3021 Acquire at least one second group photo in the second database according to the identifier of the fourth user, where the second group photo is a group photo of the fourth user and the fifth user.
- the second database may be a group photo database on the server side, in which all group photo photos uploaded by different users are stored. Specifically, the second database stores different group photos and the identifications of users included in each group photo.
- each group photo in the second database The storage process of each group photo in the second database will be briefly described below in conjunction with the embodiment shown in FIG. 2.
- the server performs face recognition on each user in the first group photo according to the first database, and after obtaining the identification of the second user, establishes the first group photo and the first user And the association relationship between the identification of each second user and the identification of each second user, and then the first group photo is stored in the second database.
- At least one second group photo is obtained from the second database according to the identification of the fourth user, where the second group photo is a group photo containing the fourth user.
- the second group photo is Users other than the fourth user become the fifth user.
- S3022 For each second group photo, perform face recognition on each user in the second group photo according to the identification of the fourth user and the first database, and obtain the fifth user's Logo.
- each second group photo is identified to obtain the identifier of the fifth user in the second group photo. It can be understood that the specific implementation is similar to S202 in the embodiment shown in FIG. 2, and will not be repeated here.
- S303 Send the identifier of the fifth user to the first terminal, so that the first terminal establishes a social relationship between the first user and the fifth user.
- S303 is similar to that of S204, and will not be repeated here.
- S304 Send the identity of the first user to a third terminal corresponding to each of the fifth users, so that the third terminal establishes a social relationship between the fifth user and the first user.
- the first user can also be recommended to the third terminal corresponding to the fifth user, so that the third terminal establishes the social relationship between the fifth user and the first user, so as to expand the social relationship of the fifth user .
- FIG 5 is a schematic flow chart of another embodiment of the method for establishing social relationships provided by the embodiments of the application.
- This embodiment is similar to the embodiment shown in Figure 3, and is based on some or all of the social relationship pairs in the second user.
- the social relationship of the first user is further explored.
- An application scenario corresponding to this embodiment is: when the first user uploads the first group photo to the client of the social network through the first terminal, he also specifies a preset area in the first group photo, where the preset area One or more of the second users are included.
- the preset area is used to instruct to mine the social relationship of the first user according to the social relationship of each user in the preset area.
- the method of this embodiment includes:
- S501 Determine the identity of the fourth user according to the identity of each of the second users in a preset area, where the preset area is the area identified in the first group photo, and the preset area includes the second user. One or more of the users.
- S502 Obtain an identifier of a fifth user who has a social relationship with the fourth user.
- S503 Send the identifier of the fifth user to the first terminal, so that the first terminal establishes a social relationship between the first user and the fifth user.
- S504 Send the identifier of the first user to a third terminal corresponding to each of the fifth users, so that the third terminal establishes a social relationship between the fifth user and the first user.
- this embodiment is similar to the embodiment shown in FIG. 3, and details are not described herein again.
- the difference is that when determining the fourth user among the second users, the fourth user is determined according to the second users included in the preset area designated by the user.
- Fig. 6 is a schematic diagram of an interface for uploading a group photo of a terminal according to an embodiment of the application.
- the user can select a preset group photo in the first terminal to upload to the client.
- the user can mark the preset area of the group photo when uploading the group photo, as shown by the dashed box in FIG. 6.
- the marking method of the preset area is not specifically limited, the preset area may be marked in any shape, and the preset area may be one or more.
- Figure 6 shows only an optional example.
- the preset area is a rectangular frame. The user can drag the rectangular frame to move the position of the rectangular frame. The user can also drag the boundary line of the rectangular frame. To modify the size of the rectangular box.
- the preset area When the user uploads the group photo, if the preset area is marked, when the terminal sends the first group photo to the server, the preset area will also be sent to the server at the same time, so that the server executes the method shown in Figure 5; if the user does not If the preset area is marked, the server executes the method shown in Figure 3.
- FIG. 7 is a schematic structural diagram of an embodiment of an apparatus for establishing a social relationship provided by an embodiment of this application.
- the apparatus 700 for establishing a social relationship provided by this embodiment includes: a first obtaining module 701, a second Obtaining module 702 and sending module 703.
- the first obtaining module 701 is configured to obtain the first group photo sent by the first terminal corresponding to the first user and the identification of the first user;
- the second obtaining module 702 is configured to perform face recognition on each user in the first group photo according to the identity of the first user and the first database, and obtain the identity of at least one second user, wherein the The identities of different users and the avatars of different users are stored in the first database;
- the second obtaining module 702 is further configured to determine the identity of at least one third user according to the identity of each second user and the current social relationship of the first user, and the third user is among the second users Users who have not established a social relationship with the first user;
- the sending module 703 is configured to send the identity of each of the third users to the first terminal, so that the first terminal establishes a social relationship between the first user and each of the third users.
- the device provided in this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 2, and its implementation principles and technical effects are similar, and will not be repeated here.
- FIG. 8 is a schematic structural diagram of another embodiment of an apparatus for establishing a social relationship provided by an embodiment of this application. Based on the embodiment shown in FIG. 7, the apparatus 700 for establishing a social relationship provided in this embodiment may further include: The third acquisition module 704.
- the second obtaining module 702 is specifically configured to:
- the avatar of the first user determine the faces of other users except the face of the first user among the faces corresponding to each user;
- the similarity between the faces of the remaining users and the avatars of the users in the first database is obtained, and the avatars of the users whose similarity meets the preset conditions are determined.
- the identifier serves as the identifier of the second user.
- the third obtaining module 704 is configured to:
- the identifiers of each of the second users determine the identifier of the fourth user, and the fourth user is at least part of the second users;
- the identifier of the fifth user is sent to the first terminal, so that the first terminal establishes a social relationship between the first user and the fifth user.
- a preset area is identified in the first group photo, and the preset area includes one or more of the second users;
- the third obtaining module 704 is specifically configured to:
- the third obtaining module 704 is specifically configured to:
- face recognition is performed on each user in the second group photo according to the identification of the fourth user and the first database to obtain the identification of the fifth user.
- the sending module 703 is further configured to:
- the identifier of the first user is sent to a second terminal corresponding to each of the third users, so that the second terminal establishes a social relationship between the third user and the first user.
- the sending module 703 is further configured to:
- the identifier of the first user is sent to a third terminal corresponding to each of the fifth users, so that the third terminal establishes a social relationship between the fifth user and the first user.
- the device provided in this embodiment can be used to implement the technical solutions of any of the foregoing method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
- FIG. 9 is a schematic structural diagram of a server provided in an embodiment of this application.
- the server 900 provided in this embodiment includes: at least one processor 901 and a memory 902. Among them, the processor 901 and the memory 902 are connected through a bus 903.
- At least one processor 901 executes a computer-executable instruction stored in the memory 902, so that at least one processor 901 executes the method for establishing a social relationship in any of the foregoing method embodiments.
- the processor may be a central processing unit (English: Central Processing Unit, abbreviated as: CPU), or other general-purpose processors or digital signal processors (English: Digital Signal Processor, referred to as DSP), application specific integrated circuit (English: Application Specific Integrated Circuit, referred to as ASIC), etc.
- the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like. The steps of the method disclosed in combination with the invention can be directly embodied as executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
- the memory may include high-speed RAM memory, and may also include non-volatile storage NVM, such as at least one disk memory.
- the bus can be an Industry Standard Architecture (ISA) bus, Peripheral Component (PCI) bus, or Extended Industry Standard Architecture (EISA) bus, etc.
- ISA Industry Standard Architecture
- PCI Peripheral Component
- EISA Extended Industry Standard Architecture
- the bus can be divided into address bus, data bus, control bus, etc.
- the buses in the drawings of this application are not limited to only one bus or one type of bus.
- the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores computer-executable instructions, and when the processor executes the computer-executable instructions, the social relationship in any of the above method embodiments is realized The establishment method.
- the above-mentioned computer-readable storage medium may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable and removable Programmable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic Disk or Optical Disk.
- SRAM static random access memory
- EEPROM electrically erasable and removable Programmable Read Only Memory
- EPROM Erasable Programmable Read Only Memory
- PROM Programmable Read Only Memory
- ROM Read Only Memory
- Magnetic Memory Flash Memory
- Magnetic Disk Magnetic Disk or Optical Disk.
- a readable storage medium may be any available medium that can be accessed by a general purpose or special purpose computer.
- An exemplary readable storage medium is coupled to the processor, so that the processor can read information from the readable storage medium and can write information to the readable storage medium.
- the readable storage medium may also be an integral part of the processor.
- the processor and the readable storage medium may be located in Application Specific Integrated Circuits (ASIC for short).
- ASIC Application Specific Integrated Circuits
- the processor and the readable storage medium may also exist as discrete components in the device.
- a person of ordinary skill in the art can understand that all or part of the steps in the foregoing method embodiments can be implemented by a program instructing relevant hardware.
- the aforementioned program can be stored in a computer readable storage medium.
- the steps including the foregoing method embodiments are executed; and the foregoing storage medium includes: ROM, RAM, magnetic disk, or optical disk and other media that can store program codes.
Abstract
Description
Claims (10)
- 一种社交关系的建立方法,其特征在于,应用于服务器,包括:获取第一用户对应的第一终端发送的第一合影照片和所述第一用户的标识;根据所述第一用户的标识和第一数据库,对所述第一合影照片中的各用户进行人脸识别,获取至少一个第二用户的标识,其中,所述第一数据库中存储了不同用户的标识以及不同用户的头像;根据各第二用户的标识以及所述第一用户的当前社交关系,确定至少一个第三用户的标识,所述第三用户为所述第二用户中未与所述第一用户建立社交关系的用户;将各所述第三用户的标识发送给所述第一终端,以使所述第一终端建立所述第一用户与各所述第三用户之间的社交关系。
- 根据权利要求1所述的方法,其特征在于,所述根据所述第一用户的标识和第一数据库,对所述第一合影照片中的各用户进行人脸识别,获取至少一个第二用户的标识,包括:根据所述第一用户的标识和所述第一数据库,确定所述第一用户的头像;对所述第一合影照片进行人脸检测,得到各用户对应的人脸;根据所述第一用户的头像,在各用户对应的人脸中确定除所述第一用户的人脸之外的其余用户的人脸;针对每个所述其余用户的人脸,获取所述其余用户的人脸与所述第一数据库中的各用户的头像之间的相似度,将相似度满足预设条件的头像对应的用户的标识作为所述第二用户的标识。
- 根据权利要求1或2所述的方法,其特征在于,所述获取至少一个第二用户的标识之后,还包括:在各所述第二用户的标识中,确定第四用户的标识,所述第四用户为所述第二用户中的至少部分;获取与所述第四用户具有社交关系的第五用户的标识;将所述第五用户的标识发送给所述第一终端,以使所述第一终端建立所述第一用户与所述第五用户之间的社交关系。
- 根据权利要求3所述的方法,其特征在于,所述第一合影照片中标识有预设区域,所述预设区域中包括所述第二用户中的一个或者多个;所述在各所述第二用户的标识中,确定第四用户的标识,包括:根据所述预设区域中的各所述第二用户的标识,确定第四用户的标识。
- 根据权利要求3或4所述的方法,其特征在于,所述获取与所述第四用户具有社交关系的第五用户的标识,包括:根据所述第四用户的标识,在第二数据库中获取至少一个第二合影照片,所述第二合影照片为所述第四用户与第五用户的合影;针对每个所述第二合影照片,根据所述第四用户的标识和所述第一数据库,对所述第二合影照片中的各用户进行人脸识别,获取所述第五用户的标识。
- 根据权利要求1至5任一项所述的方法,其特征在于,所述确定至少一个第三用户的标识之后,还包括:将所述第一用户的标识发送给各所述第三用户对应的第二终端,以使所述第二终端建立所述第三用户与所述第一用户之间的社交关系。
- 根据权利要求3或4所述的方法,其特征在于,所述获取与所述第四用户具有社交关系的第五用户的标识之后,还包括:将所述第一用户的标识发送给各所述第五用户对应的第三终端,以使所述第三终端建立所述第五用户与所述第一用户之间的社交关系。
- 一种社交关系的建立装置,其特征在于,应用于服务器,包括:第一获取模块,用于获取第一用户对应的第一终端发送的第一合影照片和所述第一用户的标识;第二获取模块,用于根据所述第一用户的标识和第一数据库,对所述第一合影照片中的各用户进行人脸识别,获取至少一个第二用户的标识,其中,所述第一数据库中存储了不同用户的标识以及不同用户的头像;所述第二获取模块,还用于根据各第二用户的标识以及所述第一用户的当前社交关系,确定至少一个第三用户的标识,所述第三用户为所述第二用户中未与所述第一用户建立社交关系的用户;发送模块,用于将各所述第三用户的标识发送给所述第一终端,以使所述第一终端建立所述第一用户与各所述第三用户之间的社交关系。
- 一种服务器,其特征在于,包括:至少一个处理器和存储器;所述存储器存储计算机执行指令;所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如权利要求1至7任一项所述的方法。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如权利要求1至7任一项所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910166329.8A CN110033388B (zh) | 2019-03-06 | 2019-03-06 | 社交关系的建立方法、装置及服务器 |
CN201910166329.8 | 2019-03-06 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020177286A1 true WO2020177286A1 (zh) | 2020-09-10 |
Family
ID=67235800
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/103961 WO2020177286A1 (zh) | 2019-03-06 | 2019-09-02 | 社交关系的建立方法、装置及服务器 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110033388B (zh) |
WO (1) | WO2020177286A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112784719A (zh) * | 2021-01-13 | 2021-05-11 | 伙伴愿景(广东)智能科技有限公司 | 一种基于区块链和人工智能的人脉精准匹配方法、存储介质及系统 |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110033388B (zh) * | 2019-03-06 | 2022-07-08 | 百度在线网络技术(北京)有限公司 | 社交关系的建立方法、装置及服务器 |
CN112348689A (zh) * | 2020-11-24 | 2021-02-09 | 深兰科技(上海)有限公司 | 用于社交服务的人脸识别方法和系统 |
CN112633244B (zh) * | 2020-12-31 | 2023-03-03 | 深圳云天励飞技术股份有限公司 | 一种社交关系的识别方法、装置、电子设备及存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130251201A1 (en) * | 2012-03-22 | 2013-09-26 | Samsung Electronics Co., Ltd. | System and method for recommending buddies in social network |
CN104102656A (zh) * | 2013-04-09 | 2014-10-15 | 腾讯科技(深圳)有限公司 | 好友推荐方法、装置、系统及服务器 |
CN107302492A (zh) * | 2017-06-28 | 2017-10-27 | 歌尔科技有限公司 | 社交软件的交友请求方法、服务器、客户端装置和系统 |
CN108512670A (zh) * | 2018-02-07 | 2018-09-07 | 平安科技(深圳)有限公司 | 一种群组创建的方法及其终端 |
CN109101614A (zh) * | 2018-08-06 | 2018-12-28 | 百度在线网络技术(北京)有限公司 | 好友推荐方法和装置 |
CN110033388A (zh) * | 2019-03-06 | 2019-07-19 | 百度在线网络技术(北京)有限公司 | 社交关系的建立方法、装置及服务器 |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9111255B2 (en) * | 2010-08-31 | 2015-08-18 | Nokia Technologies Oy | Methods, apparatuses and computer program products for determining shared friends of individuals |
CN102637183A (zh) * | 2011-02-12 | 2012-08-15 | 北京千橡网景科技发展有限公司 | 用于在社交网络中向用户推荐好友的方法和设备 |
US20120213404A1 (en) * | 2011-02-18 | 2012-08-23 | Google Inc. | Automatic event recognition and cross-user photo clustering |
CN103164705A (zh) * | 2011-12-13 | 2013-06-19 | 腾讯数码(天津)有限公司 | 一种基于社交网络的圈人方法及装置 |
KR20140077994A (ko) * | 2012-12-13 | 2014-06-25 | 박정란 | 사진 기반 소셜 네트워크 구성 방법 |
CN103514286A (zh) * | 2013-09-30 | 2014-01-15 | 鸿富锦精密工业(深圳)有限公司 | 好友推荐系统及方法 |
CN105429848B (zh) * | 2015-10-23 | 2019-07-12 | 广东小天才科技有限公司 | 通过拍照添加好友的方法、系统和社交服务器的社交系统 |
CN105847111A (zh) * | 2016-02-29 | 2016-08-10 | 北京小米移动软件有限公司 | 添加好友的方法及装置 |
-
2019
- 2019-03-06 CN CN201910166329.8A patent/CN110033388B/zh active Active
- 2019-09-02 WO PCT/CN2019/103961 patent/WO2020177286A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130251201A1 (en) * | 2012-03-22 | 2013-09-26 | Samsung Electronics Co., Ltd. | System and method for recommending buddies in social network |
CN104102656A (zh) * | 2013-04-09 | 2014-10-15 | 腾讯科技(深圳)有限公司 | 好友推荐方法、装置、系统及服务器 |
CN107302492A (zh) * | 2017-06-28 | 2017-10-27 | 歌尔科技有限公司 | 社交软件的交友请求方法、服务器、客户端装置和系统 |
CN108512670A (zh) * | 2018-02-07 | 2018-09-07 | 平安科技(深圳)有限公司 | 一种群组创建的方法及其终端 |
CN109101614A (zh) * | 2018-08-06 | 2018-12-28 | 百度在线网络技术(北京)有限公司 | 好友推荐方法和装置 |
CN110033388A (zh) * | 2019-03-06 | 2019-07-19 | 百度在线网络技术(北京)有限公司 | 社交关系的建立方法、装置及服务器 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112784719A (zh) * | 2021-01-13 | 2021-05-11 | 伙伴愿景(广东)智能科技有限公司 | 一种基于区块链和人工智能的人脉精准匹配方法、存储介质及系统 |
Also Published As
Publication number | Publication date |
---|---|
CN110033388A (zh) | 2019-07-19 |
CN110033388B (zh) | 2022-07-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020177286A1 (zh) | 社交关系的建立方法、装置及服务器 | |
JP7091504B2 (ja) | 顔認識アプリケーションにおけるフォールスポジティブの最小化のための方法および装置 | |
CN108733819B (zh) | 一种人员档案建立方法和装置 | |
CN106203242B (zh) | 一种相似图像识别方法及设备 | |
KR102427412B1 (ko) | 검색 질의에 기반하는 소스 이미지로부터의 얼굴과 타겟 이미지와의 조합 | |
JP6594329B2 (ja) | 顔表現のためのシステムおよび方法 | |
US9077678B1 (en) | Facilitating photo sharing | |
US9235782B1 (en) | Searching images and identifying images with similar facial features | |
WO2019153504A1 (zh) | 一种群组创建的方法及其终端 | |
WO2020007129A1 (zh) | 基于语音交互的上下文获取方法及设备 | |
WO2022100337A1 (zh) | 人脸图像质量评估方法、装置、计算机设备及存储介质 | |
WO2020037963A1 (zh) | 脸部图像识别的方法、装置及存储介质 | |
CN111369428B (zh) | 虚拟头像生成方法和装置 | |
CN107154890A (zh) | 社交网络中添加联系人的方法、装置及系统 | |
WO2022166532A1 (zh) | 人脸识别方法、装置、电子设备及存储介质 | |
CN109428859B (zh) | 一种同步通信方法、终端及服务器 | |
CN103970804A (zh) | 一种信息查询方法及装置 | |
WO2020029690A1 (zh) | 消息发送方法及装置和电子设备 | |
WO2021127916A1 (zh) | 脸部情感识别方法、智能装置和计算机可读存储介质 | |
CN109816543B (zh) | 一种图像查找方法及装置 | |
US20230410222A1 (en) | Information processing apparatus, control method, and program | |
CN107609487B (zh) | 一种用户头像的生成方法和装置 | |
WO2020244076A1 (zh) | 人脸识别方法、装置、电子设备及存储介质 | |
CN109587035B (zh) | 会话界面的头像展示方法、装置、电子设备及存储介质 | |
US20210304452A1 (en) | Method and system for providing avatar service |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19917951 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19917951 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22/02/2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19917951 Country of ref document: EP Kind code of ref document: A1 |