CN110033388A - Method for building up, device and the server of social networks - Google Patents
Method for building up, device and the server of social networks Download PDFInfo
- Publication number
- CN110033388A CN110033388A CN201910166329.8A CN201910166329A CN110033388A CN 110033388 A CN110033388 A CN 110033388A CN 201910166329 A CN201910166329 A CN 201910166329A CN 110033388 A CN110033388 A CN 110033388A
- Authority
- CN
- China
- Prior art keywords
- user
- mark
- photo
- social networks
- terminal
- 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
Links
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
Abstract
The embodiment of the present invention provides a kind of method for building up of social networks, device and server, server obtains the mark for the first group photo photo and the first user that the corresponding first terminal of the first user is sent, according to the mark and first database of the first user, recognition of face is carried out to each user in the first group photo photo, obtain the mark of at least one second user, according to the mark of each second user and the current social networks of the first user, determine the mark of at least one third user, the mark of each third user is sent to first terminal, so that first terminal establishes the social networks between the first user and each third user;Due to including the strong ties and/or Weak link relationship of the first user in the first group photo photo of the first user, by being identified using first database to each user in the first group photo photo, the excavation that the social networks of the first user are carried out according to the first group photo photo is realized, to sufficiently expand the social circle of the first user.
Description
Technical field
The present embodiments relate to Internet technical field more particularly to a kind of method for building up of social networks, device and
Server.
Background technique
The appearance of social networks greatly enriches the social circle of people, and people can be shared more by social networks
Information and resource.Each user can possess the good friend of oneself in social networks, the good friend in social networks for user and
Speech is a kind of human connection resource, and by the good friend in social networks, the available more resources of user, therefore, user wishes to fill
Divide the good friend's quantity for excavating oneself in social networks.
Existing social networks, user pay close attention to other side by searching for other people account or name, this just needs to use
Other people account is known at family or what name is, just can be carried out concern.
But Internet era, interpersonal social networks are divided into two classes: strong ties and Weak link.For connecting by force
The social networks connect, such as: relatives and friends readily know their account or name, therefore, in existing social networks
The social networks of middle strong ties easily establish;And for the social networks of Weak link, such as: people known to less, it is not easy to
Know their account or name, therefore, existing social networks is unable to fully expand use using the social networks of Weak link
The social circle at family.
Summary of the invention
The embodiment of the present invention provides the method for building up, device and server of a kind of social networks, according to the of the first user
One group photo photo carries out the foundation of the social networks of the first user, expands the social circle of the first user.
In a first aspect, the embodiment of the present invention provides a kind of method for building up of social networks, it is applied to server, comprising:
Obtain the mark for the first group photo photo and first user that the corresponding first terminal of the first user is sent;
According to the mark and first database of first user, people is carried out to each user in the first group photo photo
Face identification, obtain the mark of at least one second user, wherein stored in the first database mark of different user with
And the head portrait of different user;
According to the mark of each second user and the current social networks of first user, determine that at least one third is used
The mark at family, the third user are the user for not establishing social networks in the second user with first user;
The mark of each third user is sent to the first terminal, so that the first terminal establishes described first
Social networks between user and each third user.
Optionally, the mark and first database according to first user, in the first group photo photo
Each user carries out recognition of face, obtains the mark of at least one second user, comprising:
According to the mark and the first database of first user, the head portrait of first user is determined;
Face datection is carried out to the first group photo photo, obtains the corresponding face of each user;
According to the head portrait of first user, determined in the corresponding face of each user except first user face it
The face of remaining outer user;
For the face of each remaining user, in the face and the first database for obtaining remaining user
Similarity between the head portrait of each user, the mark of the corresponding user of the head portrait that similarity is met preset condition is as described
The mark of two users.
Optionally, after the mark for obtaining at least one second user, further includes:
In the mark of each second user, determine that the mark of fourth user, the fourth user are second use
In family at least partly;
Obtain the mark for the 5th user that there are social networks with the fourth user;
The mark of 5th user is sent to the first terminal, is used so that the first terminal establishes described first
Social networks between family and the 5th user.
Optionally, the first group photo photo acceptance of the bid, which is known, predeterminable area, includes second use in the predeterminable area
One or more in family;
It is described in the mark of each second user, determine the mark of fourth user, comprising:
According to the mark of each second user in the predeterminable area, the mark of fourth user is determined.
Optionally, the acquisition has the mark of the 5th user of social networks with the fourth user, comprising:
According to the mark of the fourth user, at least one second group photo photo is obtained in the second database, described the
Two group photo photos are the group photo of the fourth user and the 5th user;
For each second group photo photo, according to the mark of the fourth user and the first database, to institute
Each user stated in the second group photo photo carries out recognition of face, obtains the mark of the 5th user.
Optionally, after the mark of at least one third of determination user, further includes:
The mark of first user is sent to the corresponding second terminal of each third user, so that described second is whole
The social networks between the third user and first user are established at end.
Optionally, after the mark of the acquisition and the fourth user with the 5th user of social networks, further includes:
The mark of first user is sent to the corresponding third terminal of each 5th user, so that the third is whole
The social networks between the 5th user and first user are established at end.
Second aspect, what the embodiment of the present invention provided a kind of social networks establishes device, is applied to server, comprising:
First obtains module, takes a group photo photo and described for obtaining the corresponding first terminal of the first user is sent first
The mark of one user;
Second obtains module, for the mark and first database according to first user, to first group photo
Each user in piece carries out recognition of face, obtains the mark of at least one second user, wherein store in the first database
The mark of different user and the head portrait of different user;
Described second obtains module, is also used to the mark according to each second user and the current social activity of first user
Relationship, determines the mark of at least one third user, the third user be in the second user not with first user
Establish the user of social networks;
Sending module, for the mark of each third user to be sent to the first terminal, so that described first is whole
The social networks between first user and each third user are established at end.
Optionally, the second acquisition module is specifically used for:
According to the mark and the first database of first user, the head portrait of first user is determined;
Face datection is carried out to the first group photo photo, obtains the corresponding face of each user;
According to the head portrait of first user, determined in the corresponding face of each user except first user face it
The face of remaining outer user;
For the face of each remaining user, in the face and the first database for obtaining remaining user
Similarity between the head portrait of each user, the mark of the corresponding user of the head portrait that similarity is met preset condition is as described
The mark of two users.
Optionally, described device further include: third obtains module, is used for:
In the mark of each second user, determine that the mark of fourth user, the fourth user are second use
In family at least partly;
Obtain the mark for the 5th user that there are social networks with the fourth user;
The mark of 5th user is sent to the first terminal, is used so that the first terminal establishes described first
Social networks between family and the 5th user.
Optionally, the first group photo photo acceptance of the bid, which is known, predeterminable area, includes second use in the predeterminable area
One or more in family;
The third obtains module and is specifically used for:
According to the mark of each second user in the predeterminable area, the mark of fourth user is determined.
Optionally, the third obtains module and is specifically used for:
According to the mark of the fourth user, at least one second group photo photo is obtained in the second database, described the
Two group photo photos are the group photo of the fourth user and the 5th user;
For each second group photo photo, according to the mark of the fourth user and the first database, to institute
Each user stated in the second group photo photo carries out recognition of face, obtains the mark of the 5th user.
Optionally, the sending module is also used to:
The mark of first user is sent to the corresponding second terminal of each third user, so that described second is whole
The social networks between the third user and first user are established at end.
Optionally, the sending module is also used to:
The mark of first user is sent to the corresponding third terminal of each 5th user, so that the third is whole
The social networks between the 5th user and first user are established at end.
The third aspect, the embodiment of the present invention provide a kind of server, comprising: at least one processor and memory;
The memory stores computer executed instructions;
At least one described processor executes the computer executed instructions of memory storage so that it is described at least one
Processor executes such as the described in any item methods of first aspect.
Fourth aspect, the embodiment of the present invention also provide a kind of computer readable storage medium, the computer-readable storage
It is stored with computer executed instructions in medium, when processor executes the computer executed instructions, realizes that first aspect such as is appointed
Method described in one.
Method for building up, device and the server of social networks provided in an embodiment of the present invention, server obtain the first user
The mark for the first group photo photo and first user that corresponding first terminal is sent, according to the mark of first user and
First database carries out recognition of face to each user in the first group photo photo, obtains the mark of at least one second user
Know, according to the mark of each second user and the current social networks of first user, determines at least one third user's
Mark, is sent to the first terminal for the mark of each third user, uses so that the first terminal establishes described first
Social networks between family and each third user;Due to including the first user in the first group photo photo of the first user
The relationship of strong ties and/or Weak link, it is real by being identified using first database to each user in the first group photo photo
The excavation that the social networks of the first user are carried out according to the first group photo photo is showed, to sufficiently expand the social activity of the first user
Circle.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art
To obtain other drawings based on these drawings.
The schematic diagram of a scenario that Fig. 1 is applicable in by the embodiment of the present invention;
Fig. 2 is a kind of flow diagram of embodiment of method for building up of social networks provided in an embodiment of the present invention;
Fig. 3 is the flow example figure of the method for building up another kind embodiment of social networks provided in an embodiment of the present invention;
Fig. 4 is the side of the mark for the 5th user that acquisition provided in an embodiment of the present invention has social networks with fourth user
Method flow diagram;
Fig. 5 is the flow diagram of the method for building up another embodiment of social networks provided in an embodiment of the present invention;
Fig. 6 is the interface schematic diagram that terminal provided in an embodiment of the present invention uploads group photo photo;
Fig. 7 establishes a kind of structural schematic diagram of embodiment of device for social networks provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram for establishing device another kind embodiment of social networks provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first ", " second ", " third " " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage
The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiment of the present invention described herein for example can be to remove
Sequence other than those of illustrating or describe herein is implemented.In addition, term " includes " and " having " and theirs is any
Deformation, it is intended that cover it is non-exclusive include, for example, containing the process, method of a series of steps or units, system, production
Product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for this
A little process, methods, the other step or units of product or equipment inherently.
As previously mentioned, existing social networks, user pays close attention to other side by searching for other people account or name, this
It just needs that user knows other people account or what name is, just can be carried out concern.But Internet era, between men
Social networks be divided into two classes: strong ties and Weak link.For the social networks of strong ties, such as: relatives and friends readily obtain
Know their account or name, therefore, the social networks of strong ties easily establish in existing social networks;And for weak
The social networks of connection, such as: people known to less, it is not easy to know their account or name, therefore, existing social activity
Network is unable to fully the social circle to extend one's service using the social networks of Weak link.
Inventors have found that the relationship among persons of user are usually concealed in group photo photo, specifically, the first user and at least one
In the case that a second user is taken a group photo, the social networks between the first user and each second user are divided into two kinds, the first
Are as follows: there is strong ties relationship between the first user and second user, such as: the first user is relatives and friends with second user, the
One user is very familiar to second user;Second are as follows: the first user and second user have Weak link relationship, i.e. the first user
It is to second user and less familiar.
Therefore, the embodiment of the present invention provides the method for building up, device and server of a kind of social networks, by using first
Each user in the first group photo photo at family carries out recognition of face, realizes the society that the first user is carried out according to the first group photo photo
The excavation of friendship relationship, to sufficiently expand the social circle of the first user.
Below with reference to the scene that Fig. 1 the present invention is described in detail embodiment is applicable in, Fig. 1 is applicable in by the embodiment of the present invention
Schematic diagram of a scenario, as shown in Figure 1, comprising: server and at least one terminal.Wherein, by mutual between server and each terminal
Networking or mobile Internet connection.In a kind of possible scene, server is the server of social networks, is run in server
The server-side of social networks runs the client of social networks in terminal.User can be handed over by client and server
Mutually, the foundation of social networks is realized.
Social networks in the present embodiment refers to sensu lato for managing the network of human relationships, the present embodiment
The applicable existing any social networks of the method for building up of the social networks of offer, could be applicable to the future may appear social activity
Network.
The method for building up of social networks provided in this embodiment can be executed by the server in Fig. 1, specifically, can be with
The form of software and/or hardware is set in the server of Fig. 1.
Technical solution of the present invention is described in detail with specifically embodiment below.These specific implementations below
Example can be combined with each other, and the same or similar concept or process may be repeated no more in some embodiments.
Fig. 2 is a kind of flow diagram of embodiment of method for building up of social networks provided in an embodiment of the present invention, this reality
The method for applying example can be executed by the server in Fig. 1.As shown in Fig. 2, the method for the present embodiment, comprising:
S201: the mark for the first group photo photo and first user that the corresponding first terminal of the first user is sent is obtained
Know.
Specifically, operation has the client of social networks on first terminal, the server-side of social networks is run in server.
The first group photo piece of oneself and other people are uploaded to client by the first user, then client by the mark of the first user and
The first group photo photo is sent to server-side.
It should be noted that the embodiment of the present invention is not especially limited the format of the first group photo photo, it can be and appoint
The group photo photo of meaning format.In addition, group photo photo can be the group photo of two users, the group photo of multiple users can also be, this
Inventive embodiments are not especially limited the number of users in group photo photo.
S202: according to the mark and first database of first user, to each user in the first group photo photo
Recognition of face is carried out, obtains the mark of at least one second user, wherein store different user in the first database
The head portrait of mark and different user.
Specifically, in the present embodiment, by the way that the face of each user in the first group photo photo and first database are carried out
Matching, to obtain the mark of each second user.Wherein, the mark of user can be any mark for characterizing the user,
Including but not limited to: name, account, pet name etc..
The mark of different user and the head portrait of different user are stored in first database.Such as: first database can
The registration customer data base for thinking social networks, for storing the registration information of all registration users, including but not limited to: surname
Name, the pet name, account, head portrait etc..
It should be understood that when first database is the registration customer data base of social networks, it is understood that there may be such feelings
Condition: some users in the first group photo photo registered in the social networks, some users did not register in the social networks,
Therefore, it when carrying out recognition of face using first database, can be identified in the user that social networks registered, and
The user that social networks did not register can not then be identified.
In the present embodiment, for convenience, by according to first database can recognize that come user be known as the second use
Family.That is, second user is some or all of of remaining user in the first group photo photo in addition to the first user.
In specific implementation process, the mistake of recognition of face is carried out to each user in the first group photo photo according to first database
Journey can only be described in detail by taking a kind of optional embodiment as an example below there are many embodiment.
According to the mark and the first database of first user, the head portrait of first user is determined;To described
First group photo photo carries out Face datection, obtains the corresponding face of each user;According to the head portrait of first user, in each user
The face of remaining user in addition to the face of first user is determined in corresponding face;For remaining each described user
Face, obtain the similarity between the head portrait of each user in the face and the first database of remaining user, will
Similarity meets mark of the mark of the corresponding user of head portrait of preset condition as the second user.
Wherein it is possible to realize the Face datection carried out to the first group photo photo using various existing algorithm and models
Process.For example, Template matching model, complexion model, active appearance models (Active can be used in existing Face datection
Appearance Model, AAM), support vector machines (Support Vector Machine, SVM) model, Adaboost model
Deng their detection accuracy and speed is had nothing in common with each other.Face datection in the present embodiment is not limited to above-mentioned technology, can basis
It needs to realize using other various algorithm and models.
In addition, being to carry out phase to face extraction feature, and to the feature of extraction on the process nature identified to face
Like the process that degree calculates, face characteristic is matched by machine learning algorithm.Wherein, the extraction packet of face characteristic data
It includes the feature extraction based on template, the feature extraction based on algebraic method, the feature extraction based on Elastic Matching method, be based on nerve
The feature extraction of network, feature extraction based on Wavelet Multiresolution Decomposition etc..There are many descriptions also of face characteristic data, such as:
Principal component analytical method (principal Component Analysis, PCA) etc..Face characteristic in the present embodiment extracts simultaneously
It is not limited to above-mentioned technology, can be realized according to actual needs using various algorithm and models.
S203: according to the mark of each second user and the current social networks of first user, at least one is determined
The mark of third user, the third user are the use for not establishing social networks in the second user with first user
Family.
Specifically, after getting the mark for each second user that can be identified in the first group photo photo, according to the first user
Current social networks, can determine that social networks have been established in which user and the first user in each second user, which is used
Family and the first user do not set up social networks.In the present embodiment, for convenience, social networks will not be set up with the first user
Second user be known as third user.
S204: the mark of each third user is sent to the first terminal, so that the first terminal establishes institute
State the social networks between the first user and each third user.
Specifically, the mark of each third user is sent to first after server gets the mark of third user
The corresponding first terminal of user establishes the social networks between the first user and each third user by first terminal.Wherein, first
For terminal in the social networks established between the first user and each third user, can provide to the first user includes all thirds
The list of user, by user according to their own needs with wish selection is therein some or all of establishes social networks.
It, can be with it should be noted that first terminal establishes the mode of the social networks between the first user and third user
Third user is added to the good friend of the first user for first terminal, third user can also be added to first for first terminal
In the concern user list of user, it is, of course, also possible to which for the mode of other social networks, the embodiment of the present invention does not make this to have
Body limits.No matter the social networks of which kind of mode, the first user and third user are established after social networks, the first user
The information such as the information shared with the state of timely learning third user, third user.
Optionally, on the basis of above-mentioned steps, the method for the present embodiment can also include:
The mark of first user is sent to the corresponding second terminal of each third user, so that described second is whole
The social networks between the third user and first user are established at end.
Specifically, while the mark of third user is sent to first terminal, it can also be by the mark of the first user
It is sent to the corresponding second terminal of third user, so that second terminal establishes the social pass between third user and the first user
System, therefore, the present embodiment also achieve the first group photo photo based on the first user, carry out to the social networks of third user
Expand.
Below with reference to the implementation process of citing exemplary embodiment, it is assumed that the first user is user A, and user A passes through first
Terminal to server has sent the first group photo photo, wherein the first group photo photo is the conjunction of user A, user B, user C, user D
Shadow, it is assumed that above-mentioned all with being registered in social networks per family.According to first database in the first group photo photo
Each user carry out recognition of face after, the available mark to second user (user B, user C, user D).Assuming that user A
Social networks have been established with user D, then the mark for being identified as user B and user C of the third user determined by S203.Cause
This, the mark of user B and user C are sent to first terminal by server, are established between user A and user B by first terminal
Social networks between social networks and user A and user C.In addition, server can also send out respectively the mark of user A
The corresponding terminal of user B and the corresponding terminal of user C are given, so that the corresponding terminal of user B is established between user B and user A
Social networks, the corresponding terminal of user C establishes the social networks between user C and user A.
The method for building up of social networks provided in an embodiment of the present invention, server obtain the corresponding first terminal of the first user
The mark of the first the group photo photo and first user sent is right according to the mark and first database of first user
Each user in the first group photo photo carries out recognition of face, the mark of at least one second user is obtained, according to each second
The mark of user and the current social networks of first user, determine the mark of at least one third user, will be each described
The mark of third user is sent to the first terminal, so that the first terminal establishes first user and each third
Social networks between user;Due to including the strong ties of the first user in the first group photo photo of the first user and/or weak
The relationship of connection is realized by being identified using first database to each user in the first group photo photo according to first
Photo of taking a group photo carries out the excavation of the social networks of the first user, to sufficiently expand the social circle of the first user.
It is accomplished that in embodiment illustrated in fig. 2 and face is carried out to each user in the first group photo photo according to first database
Identification gets and can recognize that the second user come, and determines not setting up social activity also with the first user in second user
The third user of relationship expands the social circle of the first user by establishing the social networks of the first user and third user.?
On the basis of embodiment illustrated in fig. 2, after identifying second user, can also further according to second user social networks to
The social networks of one user are further excavated.
It is illustrated in order to make it easy to understand, continuing in conjunction with citing, it is assumed that the first user is user A, and user A passes through the
One terminal to server has sent the first group photo photo, wherein the first group photo photo is user A, user B, user C, user D
Group photo, it is assumed that after embodiment gets the mark of second user (user B, user C, user D) according to Fig.2, this implementation
Example can according to all or part of social networks in user B, user C, user D, to the social networks of user A carry out into
One step is excavated.
It is described in detail below with reference to two specific embodiments.
Fig. 3 is the flow example figure of the method for building up another kind embodiment of social networks provided in an embodiment of the present invention, such as
Shown in Fig. 3, the method for the present embodiment, comprising:
S301: in the mark of each second user, determining the mark of fourth user, and the fourth user is described the
In two users at least partly.
It, can any after S202 in the embodiment depicted in figure 2 it should be noted that the method for the embodiment of the present invention
Position executes, and the embodiment of the present invention is not especially limited.
It should be understood that in a kind of optional embodiment, according to the society of all second users in the first group photo photo
Friendship relationship further excavates the social networks of the first user;In another optional embodiment, according to the first group photo
The social networks of part second user in photo further excavate the social networks of the first user.For the side of description
Just, in the present embodiment, it is known as the 4th use for further second user based on excavation is carried out to the social relationships of the first user
Family, that is to say, that fourth user is all or part of of second user.
The corresponding application scenarios of the present embodiment can be that server carries out people to each user in the first group photo photo
Face identifies that after the mark for obtaining each second user, server automatically determines the mark of fourth user according to the mark of each second user
Know.
S302: the mark for the 5th user that there are social networks with the fourth user is obtained.
In a kind of optional embodiment, the mark of the 5th user can be obtained according to the current social networks of fourth user
Know, such as: the buddy list of fourth user is obtained, alternatively, concern user list, by the good friend of fourth user or concern user
As the 5th user.
In another optional embodiment, can by carrying out recognition of face to the group photo photo comprising fourth user,
Using the user to take a group photo with fourth user as the 5th user.Fig. 4 is that acquisition provided in an embodiment of the present invention has with fourth user
There is the method flow schematic diagram of the mark of the 5th user of social networks, as shown in Figure 4, comprising:
S3021: according to the mark of the fourth user, obtaining at least one second group photo photo in the second database,
The second group photo photo is the group photo of the fourth user and the 5th user.
Wherein, the second database can be the group photo picture data library of server side, wherein storing different user upload
All group photo photos.Specifically, storing the use for including in different group photo photos and each group photo photo in the second database
The mark at family.
The storing process of each group photo photo in the second database is briefly described below with reference to embodiment shown in Fig. 2.?
In embodiment shown in Fig. 2, server carries out recognition of face to each user in the first group photo photo according to first database, obtains
After taking the mark of second user, the mark of the first group photo photo and first user, the mark of each second user are established
Then incidence relation between knowledge stores the first group photo photo into second database.
In the present embodiment, according to the mark of fourth user, at least one second group photo photo is obtained in the second database,
Wherein, the second group photo photo is to contain the group photo photo of fourth user, for convenience, second will be taken a group photo in photo except the
Other users except four users become the 5th user.
S3022: for each second group photo photo, according to the mark of the fourth user and first data
Library carries out recognition of face to each user in the second group photo photo, obtains the mark of the 5th user.
The present embodiment, it is identified for each second group photo photo, obtains the 5th user in the second group photo photo
Mark.It should be understood that its specific embodiment is similar with the S202 in embodiment illustrated in fig. 2, do not repeat herein.
S303: being sent to the first terminal for the mark of the 5th user, so that described in first terminal foundation
Social networks between first user and the 5th user.
Specifically, the specific embodiment of S303 is similar with S204, do not repeat herein.
Optionally, in the present embodiment, the mark of the 5th user is sent to first terminal, so that first terminal establishes first
After social networks between user and the 5th user, can also include:
S304: the mark of first user is sent to the corresponding third terminal of each 5th user, so that described
Third terminal establishes the social networks between the 5th user and first user.
That is, the first user can also be recommended to the corresponding third terminal of the 5th user, so that third terminal is built
Social networks between vertical 5th user and the first user, expand the social networks of the 5th user to realize.
Fig. 5 is the flow diagram of the method for building up another embodiment of social networks provided in an embodiment of the present invention, this
Embodiment is similar with embodiment shown in Fig. 3, is to be used according to some or all of social networks in second user first
The social networks at family are further excavated.The corresponding application scenarios of the present embodiment are as follows: the first user is whole by first
Hold to the client of social networks upload first group photo photo when, also first group photo photo in refer to determined predeterminable area, wherein
It include one or more in second user in predeterminable area.Predeterminable area is used to indicate according to each use in predeterminable area
The social networks at family excavate the social networks of the first user.
As shown in figure 5, the method for the present embodiment, comprising:
S501: according to the mark of each second user in predeterminable area, determining the mark of fourth user, described default
Region is the region that the first group photo photo acceptance of the bid is known, and includes one in second user in the predeterminable area or more
It is a.
It, can any after S202 in the embodiment depicted in figure 2 it should be noted that the method for the embodiment of the present invention
Position executes, and the embodiment of the present invention is not especially limited.
S502: the mark for the 5th user that there are social networks with the fourth user is obtained.
S503: being sent to the first terminal for the mark of the 5th user, so that described in first terminal foundation
Social networks between first user and the 5th user.
S504: the mark of first user is sent to the corresponding third terminal of each 5th user, so that described
Third terminal establishes the social networks between the 5th user and first user.
The specific embodiment of the present embodiment is similar with embodiment shown in Fig. 3, no longer especially repeats herein.Its difference
Be in, when determining fourth user in second user, be the second user that includes in the predeterminable area specified according to user come
Determine fourth user.
Fig. 6 is the interface schematic diagram that terminal provided in an embodiment of the present invention uploads group photo photo, as shown in fig. 6, this implementation
User can select preset group photo piece to be uploaded to client in first terminal in example.Specifically, user is uploading group photo
The predeterminable area of group photo photo can be labeled when photo, as shown in the dotted line frame in Fig. 6.It should be noted that for
The mask method of predeterminable area is not especially limited, and predeterminable area can be noted as arbitrary shape, also, predeterminable area can be with
For one or more.Shown in fig. 6 is only a kind of optional example, and in Fig. 6, predeterminable area is rectangle frame, and user can drag
The rectangle frame is moved to the position of mobile rectangle frame, user can also modify the big of rectangle frame by dragging the boundary line of rectangle frame
It is small.
When user uploads group photo photo, if being labelled with predeterminable area, when terminal to server sends the first group photo photo,
Also the predeterminable area can be sent to server simultaneously, so that server executes method as shown in Figure 5;If user does not mark pre-
If region, then server executes method as shown in Figure 3.
Fig. 7 establishes a kind of structural schematic diagram of embodiment of device, such as Fig. 7 for social networks provided in an embodiment of the present invention
Shown, social networks provided in this embodiment establish device 700, comprising: first, which obtains module 701, second, obtains module 702
With sending module 703.
Wherein, first module 701 is obtained, the first group photo photo sent for obtaining the corresponding first terminal of the first user
With the mark of first user;
Second obtains module 702, for the mark and first database according to first user, to first group photo
Each user in photo carries out recognition of face, obtains the mark of at least one second user, wherein deposit in the first database
The mark of different user and the head portrait of different user are stored up;
Described second obtains module 702, is also used to according to the current of the mark of each second user and first user
Social networks, determine the mark of at least one third user, and the third user is in the second user not with described first
User establishes the user of social networks;
Sending module 703, for the mark of each third user to be sent to the first terminal, so that described first
Terminal establishes the social networks between first user and each third user.
Device provided in this embodiment can be used for executing the technical solution of embodiment of the method as shown in Figure 2, realize former
Reason is similar with technical effect, does not repeat herein.
Fig. 8 is the structural schematic diagram for establishing device another kind embodiment of social networks provided in an embodiment of the present invention,
On the basis of embodiment illustrated in fig. 7, social networks provided in this embodiment establish device 700, can also include: that third obtains
Module 704.
Optionally, the second acquisition module 702 is specifically used for:
According to the mark and the first database of first user, the head portrait of first user is determined;
Face datection is carried out to the first group photo photo, obtains the corresponding face of each user;
According to the head portrait of first user, determined in the corresponding face of each user except first user face it
The face of remaining outer user;
For the face of each remaining user, in the face and the first database for obtaining remaining user
Similarity between the head portrait of each user, the mark of the corresponding user of the head portrait that similarity is met preset condition is as described
The mark of two users.
Optionally, the third obtains module 704, is used for:
In the mark of each second user, determine that the mark of fourth user, the fourth user are second use
In family at least partly;
Obtain the mark for the 5th user that there are social networks with the fourth user;
The mark of 5th user is sent to the first terminal, is used so that the first terminal establishes described first
Social networks between family and the 5th user.
Optionally, the first group photo photo acceptance of the bid, which is known, predeterminable area, includes second use in the predeterminable area
One or more in family;
The third obtains module 704 and is specifically used for:
According to the mark of each second user in the predeterminable area, the mark of fourth user is determined.
Optionally, the third obtains module 704 and is specifically used for:
According to the mark of the fourth user, at least one second group photo photo is obtained in the second database, described the
Two group photo photos are the group photo of the fourth user and the 5th user;
For each second group photo photo, according to the mark of the fourth user and the first database, to institute
Each user stated in the second group photo photo carries out recognition of face, obtains the mark of the 5th user.
Optionally, the sending module 703 is also used to:
The mark of first user is sent to the corresponding second terminal of each third user, so that described second is whole
The social networks between the third user and first user are established at end.
Optionally, the sending module 703 is also used to:
The mark of first user is sent to the corresponding third terminal of each 5th user, so that the third is whole
The social networks between the 5th user and first user are established at end.
Device provided in this embodiment can be used for executing the technical solution of any of the above-described embodiment of the method, realization principle and
Technical effect is similar, does not repeat herein.
Fig. 9 is the structural schematic diagram of server provided in an embodiment of the present invention, as shown in figure 9, clothes provided in this embodiment
Business device 900, comprising: at least one processor 901 and memory 902.Wherein, processor 901, memory 902 pass through bus 903
Connection.
During specific implementation, at least one processor 901 executes the computer execution that the memory 902 stores and refers to
It enables, so that at least one processor 901 executes the method for building up of the social networks in any of the above-described embodiment of the method.
The specific implementation process of processor 901 can be found in above method embodiment, and it is similar that the realization principle and technical effect are similar,
Details are not described herein again for the present embodiment.
In above-mentioned embodiment shown in Fig. 9, it should be appreciated that processor can be central processing unit (English:
Central Processing Unit, referred to as: CPU), can also be other general processors, digital signal processor (English:
Digital Signal Processor, referred to as: DSP), specific integrated circuit (English: Application Specific
Integrated Circuit, referred to as: ASIC) etc..General processor can be microprocessor or the processor is also possible to
Any conventional processor etc..Hardware processor can be embodied directly in conjunction with the step of invention disclosed method to have executed
At, or in processor hardware and software module combination execute completion.
Memory may include high speed RAM memory, it is also possible to and it further include non-volatile memories NVM, for example, at least one
Magnetic disk storage.
Bus can be industry standard architecture (Industry Standard Architecture, ISA) bus, outer
Portion's apparatus interconnection (Peripheral Component, PCI) bus or extended industry-standard architecture (Extended
Industry Standard Architecture, EISA) bus etc..Bus can be divided into address bus, data/address bus, control
Bus etc..For convenient for indicating, the bus in illustrations does not limit only a bus or a type of bus.
The embodiment of the present invention also provides a kind of computer readable storage medium, stores in the computer readable storage medium
There are computer executed instructions, when processor executes the computer executed instructions, realizes in any of the above-described embodiment of the method
The method for building up of social networks.
Above-mentioned computer readable storage medium, above-mentioned readable storage medium storing program for executing can be by any kind of volatibility or non-
Volatile storage devices or their combination realize that, such as static random access memory (SRAM), electrically erasable is only
It reads memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM) is read-only to deposit
Reservoir (ROM), magnetic memory, flash memory, disk or CD.Readable storage medium storing program for executing can be general or specialized computer capacity
Any usable medium enough accessed.
A kind of illustrative readable storage medium storing program for executing is coupled to processor, to enable a processor to from the readable storage medium storing program for executing
Information is read, and information can be written to the readable storage medium storing program for executing.Certainly, readable storage medium storing program for executing is also possible to the composition portion of processor
Point.Processor and readable storage medium storing program for executing can be located at specific integrated circuit (Application Specific Integrated
Circuits, referred to as: ASIC) in.Certainly, processor and readable storage medium storing program for executing can also be used as discrete assembly and be present in equipment
In.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or
The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (10)
1. a kind of method for building up of social networks, which is characterized in that be applied to server, comprising:
Obtain the mark for the first group photo photo and first user that the corresponding first terminal of the first user is sent;
According to the mark and first database of first user, face knowledge is carried out to each user in the first group photo photo
Not, the mark of at least one second user is obtained, wherein the mark and not of different user is stored in the first database
With the head portrait of user;
According to the mark of each second user and the current social networks of first user, determine at least one third user's
Mark, the third user are the user for not establishing social networks in the second user with first user;
The mark of each third user is sent to the first terminal, so that the first terminal establishes first user
With the social networks between each third user.
2. the method according to claim 1, wherein the mark and the first data according to first user
Library carries out recognition of face to each user in the first group photo photo, obtains the mark of at least one second user, comprising:
According to the mark and the first database of first user, the head portrait of first user is determined;
Face datection is carried out to the first group photo photo, obtains the corresponding face of each user;
According to the head portrait of first user, determined in addition to the face of first user in the corresponding face of each user
The face of remaining user;
For the face of each remaining user, the face for obtaining remaining user and each use in the first database
The mark of similarity between the head portrait at family, the corresponding user of the head portrait that similarity is met preset condition is used as described second
The mark at family.
3. the method according to claim 1, wherein it is described obtain at least one second user mark after,
Further include:
In the mark of each second user, determine that the mark of fourth user, the fourth user are in the second user
At least partly;
Obtain the mark for the 5th user that there are social networks with the fourth user;
The mark of 5th user is sent to the first terminal so that the first terminal establish first user with
Social networks between 5th user.
4. according to the method described in claim 3, it is characterized in that, it is described first group photo photo acceptance of the bid know have predeterminable area, institute
State in predeterminable area include the second user in one or more;
It is described in the mark of each second user, determine the mark of fourth user, comprising:
According to the mark of each second user in the predeterminable area, the mark of fourth user is determined.
5. the method according to claim 3 or 4, which is characterized in that the acquisition has social close with the fourth user
The mark of 5th user of system, comprising:
According to the mark of the fourth user, at least one second group photo photo is obtained in the second database, described second closes
Shadow photo is the group photo of the fourth user and the 5th user;
For each second group photo photo, according to the mark of the fourth user and the first database, to described the
Each user in two group photo photos carries out recognition of face, obtains the mark of the 5th user.
6. method according to any one of claims 1 to 4, which is characterized in that the determination at least one third user's
After mark, further includes:
The mark of first user is sent to the corresponding second terminal of each third user, so that the second terminal is built
Found the social networks between the third user and first user.
7. the method according to claim 3 or 4, which is characterized in that the acquisition has social close with the fourth user
After the mark of 5th user of system, further includes:
The mark of first user is sent to the corresponding third terminal of each 5th user, so that the third terminal is built
Found the social networks between the 5th user and first user.
8. a kind of social networks establish device, which is characterized in that be applied to server, comprising:
First obtains module, uses for obtaining the first group photo photo and described first that the corresponding first terminal of the first user is sent
The mark at family;
Second obtains module, for the mark and first database according to first user, in the first group photo photo
Each user carry out recognition of face, obtain the mark of at least one second user, wherein store not in the first database
With the mark of user and the head portrait of different user;
Described second obtains module, is also used to the mark according to each second user and the current social pass of first user
System, determines the mark of at least one third user, and the third user is not build with first user in the second user
The user of vertical social networks;
Sending module, for the mark of each third user to be sent to the first terminal, so that the first terminal is built
Found the social networks between first user and each third user.
9. a kind of server characterized by comprising at least one processor and memory;
The memory stores computer executed instructions;
At least one described processor executes the computer executed instructions of the memory storage, so that at least one described processing
Device executes method as described in any one of claim 1 to 7.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium
It executes instruction, when processor executes the computer executed instructions, realizes method as described in any one of claim 1 to 7.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910166329.8A CN110033388B (en) | 2019-03-06 | 2019-03-06 | Social relationship establishing method and device and server |
PCT/CN2019/103961 WO2020177286A1 (en) | 2019-03-06 | 2019-09-02 | Method for establishing social relationships, device and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910166329.8A CN110033388B (en) | 2019-03-06 | 2019-03-06 | Social relationship establishing method and device and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110033388A true CN110033388A (en) | 2019-07-19 |
CN110033388B CN110033388B (en) | 2022-07-08 |
Family
ID=67235800
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910166329.8A Active CN110033388B (en) | 2019-03-06 | 2019-03-06 | Social relationship establishing method and device and server |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110033388B (en) |
WO (1) | WO2020177286A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020177286A1 (en) * | 2019-03-06 | 2020-09-10 | 百度在线网络技术(北京)有限公司 | Method for establishing social relationships, device and server |
CN112348689A (en) * | 2020-11-24 | 2021-02-09 | 深兰科技(上海)有限公司 | Face recognition method and system for social service |
CN112633244A (en) * | 2020-12-31 | 2021-04-09 | 深圳云天励飞技术股份有限公司 | Social relationship identification method and device, electronic equipment and storage medium |
CN112784719A (en) * | 2021-01-13 | 2021-05-11 | 伙伴愿景(广东)智能科技有限公司 | Accurate human vein matching method based on block chain and artificial intelligence, storage medium and system |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102637183A (en) * | 2011-02-12 | 2012-08-15 | 北京千橡网景科技发展有限公司 | Method and device for recommending friends to user in social network |
CN103164705A (en) * | 2011-12-13 | 2013-06-19 | 腾讯数码(天津)有限公司 | People encircled method and device based on social networking services (SNS) |
CN103189864A (en) * | 2010-08-31 | 2013-07-03 | 诺基亚公司 | Methods and apparatuses for determining shared friends in images or videos |
US20140153837A1 (en) * | 2011-02-18 | 2014-06-05 | Google Inc. | Automatic event recognition and cross-user photo clustering |
KR20140077994A (en) * | 2012-12-13 | 2014-06-25 | 박정란 | Method for building social network service using photo |
CN104102656A (en) * | 2013-04-09 | 2014-10-15 | 腾讯科技(深圳)有限公司 | Friend recommending method, device, system and server |
US20150095803A1 (en) * | 2013-09-30 | 2015-04-02 | Hon Hai Precision Industry Co., Ltd. | Social network capable of recommending friends and friend recommendation method |
CN105429848A (en) * | 2015-10-23 | 2016-03-23 | 广东小天才科技有限公司 | Method and system for adding friends via taking photos, and social system of social server |
CN105847111A (en) * | 2016-02-29 | 2016-08-10 | 北京小米移动软件有限公司 | Method and device for adding friend |
Family Cites Families (5)
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 |
CN107302492A (en) * | 2017-06-28 | 2017-10-27 | 歌尔科技有限公司 | Friend-making requesting method, server, client terminal device and the system of social software |
CN108512670B (en) * | 2018-02-07 | 2020-07-03 | 平安科技(深圳)有限公司 | Group creation method and terminal thereof |
CN109101614A (en) * | 2018-08-06 | 2018-12-28 | 百度在线网络技术(北京)有限公司 | Friend recommendation method and apparatus |
CN110033388B (en) * | 2019-03-06 | 2022-07-08 | 百度在线网络技术(北京)有限公司 | Social relationship establishing method and device and server |
-
2019
- 2019-03-06 CN CN201910166329.8A patent/CN110033388B/en active Active
- 2019-09-02 WO PCT/CN2019/103961 patent/WO2020177286A1/en active Application Filing
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103189864A (en) * | 2010-08-31 | 2013-07-03 | 诺基亚公司 | Methods and apparatuses for determining shared friends in images or videos |
CN102637183A (en) * | 2011-02-12 | 2012-08-15 | 北京千橡网景科技发展有限公司 | Method and device for recommending friends to user in social network |
US20140153837A1 (en) * | 2011-02-18 | 2014-06-05 | Google Inc. | Automatic event recognition and cross-user photo clustering |
CN103164705A (en) * | 2011-12-13 | 2013-06-19 | 腾讯数码(天津)有限公司 | People encircled method and device based on social networking services (SNS) |
KR20140077994A (en) * | 2012-12-13 | 2014-06-25 | 박정란 | Method for building social network service using photo |
CN104102656A (en) * | 2013-04-09 | 2014-10-15 | 腾讯科技(深圳)有限公司 | Friend recommending method, device, system and server |
US20150095803A1 (en) * | 2013-09-30 | 2015-04-02 | Hon Hai Precision Industry Co., Ltd. | Social network capable of recommending friends and friend recommendation method |
CN105429848A (en) * | 2015-10-23 | 2016-03-23 | 广东小天才科技有限公司 | Method and system for adding friends via taking photos, and social system of social server |
CN105847111A (en) * | 2016-02-29 | 2016-08-10 | 北京小米移动软件有限公司 | Method and device for adding friend |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020177286A1 (en) * | 2019-03-06 | 2020-09-10 | 百度在线网络技术(北京)有限公司 | Method for establishing social relationships, device and server |
CN112348689A (en) * | 2020-11-24 | 2021-02-09 | 深兰科技(上海)有限公司 | Face recognition method and system for social service |
CN112633244A (en) * | 2020-12-31 | 2021-04-09 | 深圳云天励飞技术股份有限公司 | Social relationship identification method and device, electronic equipment and storage medium |
CN112633244B (en) * | 2020-12-31 | 2023-03-03 | 深圳云天励飞技术股份有限公司 | Social relationship identification method and device, electronic equipment and storage medium |
CN112784719A (en) * | 2021-01-13 | 2021-05-11 | 伙伴愿景(广东)智能科技有限公司 | Accurate human vein matching method based on block chain and artificial intelligence, storage medium and system |
Also Published As
Publication number | Publication date |
---|---|
CN110033388B (en) | 2022-07-08 |
WO2020177286A1 (en) | 2020-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110033388A (en) | Method for building up, device and the server of social networks | |
US11250887B2 (en) | Routing messages by message parameter | |
EP3713159B1 (en) | Gallery of messages with a shared interest | |
CN107704838B (en) | Target object attribute identification method and device | |
US9854219B2 (en) | Gallery of videos set to an audio time line | |
KR20190017029A (en) | Combination of face and target image from source image based on search query | |
JP2019075124A (en) | Method and system for providing camera effect | |
CN109117760A (en) | Image processing method, device, electronic equipment and computer-readable medium | |
CN109274575A (en) | Message method and device and electronic equipment | |
KR20200014416A (en) | Recommendation Method Using Contents with Location Data and Its System | |
CN113677409A (en) | Treasure hunting game guiding technology | |
CN111557014A (en) | Method and system for providing multiple personal data | |
CN108959311B (en) | Social scene configuration method and device | |
CN108769094A (en) | Acquisition method, device, PC equipment and the mobile terminal of user information | |
CN114140837A (en) | Face recognition method, template configuration method, device, equipment and storage medium | |
CN108958571B (en) | Three-dimensional session data display method and device, storage medium and computer equipment | |
CN106202418B (en) | Picture data collection method and system for intelligent robot | |
KR20220156099A (en) | Method, system, and non-transitory computer readable record medium for recommending profile photos | |
CN107016351A (en) | Shoot the acquisition methods and device of tutorial message | |
JP6852193B2 (en) | How to determine the central vertex in social networks, devices, devices and storage media | |
CN109614066B (en) | Information display method and device | |
CN112669424A (en) | Expression animation generation method, device, equipment and storage medium | |
CN111198926A (en) | Business handling management method and device, electronic equipment and storage medium | |
KR20190143666A (en) | Method, system, and non-transitory computer readable record medium for converting image to location data | |
CN109583453A (en) | The recognition methods of image and device, the recognition methods of data, terminal |
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 |