Embodiment
In order that those skilled in the art more fully understand the technical scheme in the application, implement below in conjunction with the application
Accompanying drawing in example, the technical scheme in the embodiment of the present application is described in detail, it is clear that described embodiment is only
Some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art
The every other embodiment obtained, should all belong to the scope of the application protection.
It is the application scenarios schematic diagram of application scheme shown in Fig. 1, the interaction agent that application scheme is related to includes:One
Individual service end and multiple client, service end are the management platform of social networks, the different user of different client correspondences.This
" client " and " service end " in application, both can be understood as actual client device (such as mobile phone, tablet personal computer, PC
Machine etc.) and server device (such as server, server cluster), it is understood that it is in respective physical equipment
Software.
Firstly the need of explanation, said on stricti jurise, " user " refers to real operator, " account " and then represent social
Virtual identity mark in network, the activity of real user in a network is embodied with the behavior of " account ".Due to
In the application, and usurped by other people without the concern for account, a people registers will in the special circumstances, therefore the application such as multiple accounts
Concept Unify legislation is " user ", and " user " both may be considered the virtual identity mark in social networks, i.e., " account ",
It may be considered real user.
Shown in Fig. 2, the flow chart of the social network user information correlating method provided for the application, this method is by above-mentioned
Service end is performed, and may comprise steps of:
S101, obtains the reference geographical location of at least two users;
In the application, define " reference geographical location ", can occur for describing user in which geographical position, information tool
Body can be the location information of user terminal real-time report or extracted from the historical behavior of user, can represent
The user has been to the information of which position.
It can be seen that, the reference geographical location in the application in addition to it can be " location point ", can also be the trip of user
Track, because every trip track can be regarded as the set of one " location point having been to ".
In practical application, as long as client opens reporting position function and (can be specifically real-time report or prolong
When report), service end is obtained with the positional information of user in theory, and in order that " reference geographical location " can be preferably
Description the user geographical position or user oneself geographical position interested that often occur, can also be further combined with
Some strategies determine which position can be defined as into reference geographical location, to realize more effective recommendation.Illustrate such as
Under:
In some cases, user can do by myself it is interested in some localities, for example the family of oneself, office, often
Go the market strolled, even certain often walk road, etc., and have the subjective desire in the more friends of these place understanding, this
In the case of kind, user can carry out active mark to position interested, provide markup information by client and arrive service end,
Service end just can be by reference geographical location of these information records for the user.
If behavior of the user without active mark, service end can also automatically determine some for user by analyzing
Compare significant position, for example:
If according to the historical behavior data of user, can interpolate that out that user often stops for a long time in some positions, then
The position can be recorded as to the reference geographical location of the user, specific evaluation algorithm can be:Total residence time is accumulative to be exceeded
Certain threshold value, the mean residence time of unit time period (such as one day) exceed certain threshold value, etc..
If according to the historical behavior data of user, can interpolate that out some position of the frequent approach of user, or often walk
A certain section of path is crossed, then these positions can be recorded as to the reference geographical location of the user, specific evaluation algorithm can be:Always
It is accumulative certain more than averagely exceeding in certain threshold value, unit time period (such as one week, one month) by number of times by number of times
Threshold value, etc..
Certainly, above strategy is only used for schematically illustrating, according to the actual requirements, can be devised by other be used for determine ginseng
The strategy of location point is examined, the application is to this and need not be defined.
Further it will be understood that above-mentioned " location point ", " track " does not answer narrow sense to be interpreted as proper point
Or line, in actual treatment, multiple location points or a plurality of track in certain excursion can be according to certain algorithms
Same point or the same line are arrived in convergence judgement, and specific algorithm can be found in the prior art of correlation, and the application is no longer done in detail
Explanation.
S102, according to default location matches algorithm, determines the user that two reference geographical locations match each other:First uses
Family and second user;
After the reference geographical location for determining several users, it is possible to according to certain matching algorithm, find out one or more groups of
The user couple that reference geographical location matches.
A kind of most basic matching judgment algorithm is that the reference geographical location of two users is close, i.e., distance is less than one
Fixed threshold value (such as distance is within 100 meters), the then it is considered that reference geographical location of the two users matches.
If representing reference geographical location using track, a kind of foundation of available judgement matching is:If two
The similarity of track is sufficiently high, then judges that this two tracks match, and specific similar judgment rule can be:Two tracks
It is pre- that Origin And Destination is close respectively, a track is completely covered by another track, the registration of two tracks exceedes some
If threshold value, etc..
The foundation that another judgement track matches is:If the trip track of two users (is confirmed as with reference to geography
The track of position) it is intersecting, then judge that the reference geographical location of two users matches.In this case, it is believed that the friendship of track
It is likely to turn into the actual place met of two people at point.
In actual applications, except only from addition to Spatial Dimension judges whether two users match, can be combined with the time
Dimension judges whether two users match, for example:If the reference geographical location of two users meets location matches condition, simultaneously
And two users meet time match condition the residence time in respective reference geographical location, it is determined that two user's phases
Matching.Here " time " matching condition can be:
If two users are in some identical period (such as 7:00-8:00) pass through same position point or mutually go the same way
Section, then it is assumed that two users match;
If very close to (such as differing small at half at the time of two users pass through same position point or same road segment
When), then it is assumed that two users match;
If two users have stopped enough durations (when can be accumulative stay time or unit in same position point
Duan Pingjun stay times), then it is assumed that two users match;
If there is enough coincidences in the stop period of same position point in two users, then it is assumed that two user's phases
Match somebody with somebody;
……
It should be noted that above-mentioned " same position point " or " identical section " can be understood as meeting matching condition
Reference geographical location;And the statistics on time dimension can be extracted from certain user behavior or base
The average value calculated in multiple user behavior.
Certainly, above determination strategy is only used for schematically illustrating, and the restriction to application scheme is not constituted.In addition, except
Outside Spatial Dimension and time dimension, it can also determine whether two users match further combined with other user properties, for example
User's sex, age, consumption habit etc., those skilled in the art can according to the user profile that can actually get and
Actual demand, flexible design is various to be used to judge the strategy whether user matches.
Further it will be understood that the first user and second user in this step, are for illustrating to meet matching condition
User can for example determine A-B, C-D, E- respectively to being not limited to one group determined by any user couple, practical application
F ... multigroup matching user couple;User A can also be directed to, determination several user B, C, D ... and user's A phases are found respectively
Matching.
S103, pushes the information and matched position information of another user to the first user and second user respectively, to the
The information of one user and second user is associated.
Determine after two users being mutually matched, it is possible to push the information of the opposing party to two parties respectively, and to double
The information of square user carries out initiative association, to facilitate both sides to be further able in social networks further link up.Here
" association " can be " good friend " relation set up on ordinary meaning or set up other forms social network user relation,
The application is to this and need not be defined.
In practical application, the opposing party's information can be pushed and after both sides' confirmation is received to both sides respectively, then to both sides
The information of user is associated.In addition to synchronized push two-sided information, another available embodiment is, first to user A
User B information is pushed, is pushed to after user A confirms and (shows to be ready to carry out social associate with B), then by user A information
User B, after user B also confirms and (shows to be ready to carry out social associate with A), then is associated to the information of two parties.
One difference of application scheme and prior art is, when being pushed, except pushing the basic of user
Static information, such as age, sex, occupation, head portrait photo outside, can also simultaneously will be determined described in above-mentioned matching process
Matched position information is also pushed, from abovementioned steps, and it can be a point or a road to be somebody's turn to do " matched position "
Footpath (or being interpreted as the set of multiple points), its corresponding practical significance be two people at Spatial Dimension " common factor ", for connecing
It is subjective to be easier to receive for the user for receiving push, it is seen that have with oneself after the user of common factor.
Certainly, if also using other information when being matched, such as the match information on time dimension, then exist
Further the contents such as match time information incidentally can also be pushed in the lump when being pushed.For example user B information is pushed
During to user A, it can be following form to push content:" user B wants to beat also often in x points or so in cars such as x stations
Individual greeting", user A is seen with oneself to be had after the other users of common factor over time and space, can more have a mind to enter one with it
Step is linked up, acquaintance, and from the perspective of service end, this mode can also be effectively improved the success rate of push.
It is shown in Figure 3, in the another embodiment of the application, after the successful association information of two users,
Service end can further create a new user's group based on this two users, and based on the matched position hair of two users
Larger range of push is played, to attract more users to add the user's group, so that it is wider more effectively to build coverage
Network social intercourse circle, this method specifically may comprise steps of:
S104, creates the user's group comprising the first user and second user, and according to the first user and of second user
With position, the establishment position of the user's group is determined;
First user and second user turn into good friend or set up after the social network user relation of other forms, can be with
A user's group for including this two users is further created, the user's group can be specifically the forms such as " group ", " circle ".And
Matched position determined by aforementioned matching process, i.e. common factor of two people in Spatial Dimension, it is possible to regard " the acquaintance of two people as
Ground ", and can be recorded the position as the establishment position of user's group, so as to the more massive social circle of subsequent builds
Son.
From abovementioned steps, should " matched position " can be that a point or a paths (or are interpreted as many
The set of individual point).And in this step, the user's group recorded creates position, when can not also be with abovementioned steps matching treatment
Identified matched position is completely the same, for example:Can be some emerging of matched position neighbouring (such as distance is within 500 meters)
Interesting point (such as market, station, community etc.).The purpose so handled is:In association user information phase, top priority is to carry
The success rate that information is pushed is risen, therefore should allow matched position accurate as far as possible, so as to allow user to be easier to adopt push;And in structure
Build social circle's stage, top priority is to attract more users to add, therefore can choose the higher place of some user density,
So that the place can be easier by " perception ".And in GIS-Geographic Information System, POI (Point of Interest, point of interest)
Exactly it is used for a kind of information for describing this kind of place, therefore can directly invokes.Can certainly according to the actual requirements, to being remembered
The point of interest of record does further selection, such as the information according to interest vertex type, point of interest scale, pedestrian's flow, the magnitude of traffic flow
Screened or sorted, so that it is determined that the point of interest of " user's group establishment position " can be designated as.
In addition, for a user's group, it is allowed to there are multiple " establishment points ", such as near actual match position
Multiple points of interest (such as one station and a market), or, when matched position is a paths, the path inherently may be used
To regard the set of multiple points as.
If two users are to determine matching according to the similarity of trip track, then can will be located at track coincidence part
One or more random site points on point are recorded as the establishment position of user's group, will can also be located near the intersection of track
Point of interest be recorded as the establishment position of user's group.
If two users are to determine matching according to the intersecting of trip track, then can remember intersection of locus location point
The establishment position for user's group is recorded, one or more points of interest near intersection of locus location point can also be recorded as using
The establishment position of family group.
Above-mentioned " near " it can be judged that the application is not specifically limited according to factors such as distances.
S105, pushes message request to the other users by or close to establishment position, other users is added and created
The user's group built.
Create user's group and determine behind the establishment position of user's group, if follow-up still other user passes through or close
The establishment position, service end just can push message request to these users, to expand the scale of the user's group.
Service end directly can add the user invited created user's group after message request is sent;It is another
Kind of mode is that service end is sent after message request, is waited after the confirmation for receiving user, then this user is added to created use
Family group.
It is understood that in order to realize the judgement to " process " or " close ", it is necessary to which service end can get other
The positional information of user, concrete mode can be that user side opens positioning function and reports to service end or use in real time
Family side reporting position information in the way of being delayed.And " process " or " close " can be judged according to factors such as distances, this Shen
It please be not specifically limited.
, can be with order to attract more users to add user's group in a kind of embodiment of the application
Establishment positional information to user's group is broadcasted, and the scope of broadcast typically should be greater than meeting the standard of above-mentioned " close ", for example
The standard of " close " is that centered on creating position within radius 1km, then broadcasting area can be expanded to create position in
Within heart radius 5km;Can also be broadcasted in the area where establishment position, city's scope;Or where position is created
One or more traffic route scope broadcast, etc..
Another feasible embodiment is to provide virtual resource, such as red packet, promotional card in the establishment position of user's group
Certificate, electronic gift etc., other users are after, it is possible to find and get the resource, while it can be found that and adding user
Group, this mode similarly helps to attract more users to add user's group.In addition, this mode for providing virtual resource,
It can be combined with creating the actual conditions of position, such as behind the establishment position that some market is determined to user's group, it is possible to send out
The reward voucher in this market is put, so as to further produce the good effects such as promotion.
Certainly, for the virtual resource provided, above-mentioned " broadcast " scheme can also be combined wider to notify
User, in this case as, " granting virtual resource " can also be regarded to a kind of " broadcast " of special shape.
It can be seen that,, can be further with this two users on the basis of two user profile are associated with according to application scheme
Based on, create bigger network social intercourse circle, and establishment due to this circle and invite and be also all based on real world
Positional information, therefore be also more prone to by the recognition and acceptance of user institute.
With reference to a specific application example, application scheme is illustrated:
User A starts social client, and client can record and update A and use the current location of equipment, and report to
Service end;
Service end can inquire about the other users (such as user B, C, D ...) that user A nearby occurs (in such as 100 meters),
Then Query Result is pushed to user A;Certainly querying condition here can have more restrictions, and it must be real for example to limit
Name certification, restriction credit score necessarily be greater than certain threshold value, so that it is guaranteed that the security and credibility of stranger;
User A is in the equipment of oneself, it can be seen that the list of nearby users, if had (being assumed to be user B) to someone
Interest, it is possible to which, labeled as " liking ", the information will be uploaded to service end.
Service end can be recorded to the place of meeting (i.e. position current A) of two people, and be sent a notification message to B;
It is labeled as by user A in the user B of " liking ", the notified message of meeting, notification message except the basic letter comprising A
Breath, such as sex, age, head portrait photo etc., the location information that meets of two people is will also include, if user B is also to A mark " happinesses
Vigorously ", then the friend relation that service end will be set up between A and B.
User A and user B turns into after good friend, and service end buries electronic article, such as red packet, promotional card certificate in place of meeting
Etc., follow-up someone is passed by near the place of meeting, and opens social client, it is possible to electronic article is seen on map, such as
Fruit, which adds user's group, can just get electronic article, and when other people get, user A and user B can also assign to electronics thing
Product.
Corresponding to above method embodiment, the application also provides a kind of social network user information associated apparatus, referring to Fig. 4
Shown, the device can include:
Positional information obtains module 110, the reference geographical location for obtaining at least two users, wherein, with reference to geography
Position is used to describe the position that user current location or user have been to;
User's determining module 120 is matched, for according to default location matches algorithm, determining that two reference geographical locations are mutual
The user matched:First user and second user;
Association process module 130, for respectively to the first user and second user push another user information and
With positional information, and after both sides' confirmation is received, the information to the first user and second user is associated.
In a kind of embodiment of the application, reference geographical location can include:
The interested position that user actively marks, or
User's residence time exceedes the position of predetermined threshold value, or
User's approach number of times exceedes the position of predetermined threshold value.
In a kind of embodiment of the application, reference geographical location can also be the trip track of user.
In a kind of embodiment of the application, matching user determining module 120 can be specifically for:
If the trip track similarity of two users exceedes default threshold value, it is determined that the reference of two users is geographical
Position matches each other;
Or
If the trip intersection of locus of two users, it is determined that the reference geographical location of two users matches each other.
In a kind of embodiment of the application, matching user determining module 120 can be specifically for:
If the reference geographical location of two users meets default location matches condition and two users are in respective ginseng
Examining the residence time on geographical position meets default time match condition, it is determined that two users match.
As shown in figure 5, in a kind of embodiment of the application, said apparatus can also include:
User's group creation module 140, is used for creating the user's group comprising the first user and second user, and according to first
Family and the matched position of second user, determine the establishment position of the user's group;
User invites module 150, for pushing message request to the other users by or close to establishment position, and is receiving
To after the confirmation of any user, this user is added to created user's group, or will directly pass through or close establishment position
The other users put add created user's group.
In a kind of embodiment of the application, if the first user and second user are the phases according to trip track
Matching is determined like degree, then the establishment position that user's group creation module 140 is determined can be:
Random site point in the intersection of track, or
Point of interest near the intersection of track.
In a kind of embodiment of the application, if the first user and second user are the phases according to trip track
Hand over and determine matching, then the establishment position that user's group creation module is determined is:
Intersection of locus location point, or
Point of interest near intersection of locus location point.
In a kind of embodiment of the application, user invites module 150 can be also used for:
Broadcast creates the information of position.
And/or
Virtual resource is provided creating position.
Above-mentioned user information correlation device provided herein can be configured in server device, and Fig. 6 show this
Apply for a kind of device hardware structural representation for being used to configure said apparatus provided, the equipment can include:Processor
1010th, memory 1020, input/output interface 1030, communication interface 1040 and bus 1050.Wherein processor 1010, storage
Device 1020, input/output interface 1030 and communication interface 1040 pass through leading in device interior between the realization of bus 1050
Letter connection.
Processor 1010 can use general CPU (Central Processing Unit, central processing unit), micro- place
Reason device, application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or one
Or the mode such as multiple integrated circuits is realized, for performing relative program, to realize technical scheme provided herein.
Memory 1020 can use ROM (Read Only Memory, read-only storage), RAM (Random Access
Memory, random access memory), static storage device, the form such as dynamic memory realizes.Memory 1020 can be stored
Operating system and other applications are related when realizing technical scheme provided herein by software or firmware
Program code be stored in memory 1020, and call by processor 1010 execution.
Input/output interface 1030 is used to connect input/output module, to realize information input and export.Input and output/
Module can also be external in equipment to provide corresponding function as component Configuration (not shown) in a device.Wherein
Input equipment can include keyboard, mouse, touch-screen, microphone, various kinds of sensors etc., output equipment can include display,
Loudspeaker, vibrator, indicator lamp etc..
Communication interface 1040 is used for connection communication module (not shown), to realize the communication of this equipment and other equipment
Interaction.Wherein communication module can be realized by wired mode (such as USB, netting twine) and communicated, can also be wirelessly
(such as mobile network, WIFI, bluetooth) realizes communication.
Bus 1050 includes a path, in each component (such as processor 1010, memory 1020, input/defeated of equipment
Outgoing interface 1030 and communication interface 1040) between transmit information.
Although it should be noted that the said equipment illustrate only processor 1010, memory 1020, input/output interface
1030th, communication interface 1040 and bus 1050, but in specific implementation process, the equipment can also include realizing normal fortune
Other assemblies necessary to row.In addition, it will be appreciated by those skilled in the art that, can also be only comprising real in the said equipment
Component necessary to existing application scheme, without including all components shown in figure.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can
Realized by the mode of software plus required general hardware platform.Understood based on such, the technical scheme essence of the application
On the part that is contributed in other words to prior art can be embodied in the form of software product, the computer software product
It can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are to cause a computer equipment
(can be personal computer, server, or network equipment etc.) performs some of each embodiment of the application or embodiment
Method described in part.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.It is real especially for device
Apply for example, because it is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to embodiment of the method
Part explanation.Device embodiment described above is only schematical, wherein described illustrate as separating component
Module can be or may not be it is physically separate, implement application scheme when the function of each module can be existed
Realized in same or multiple softwares and/or hardware.Some or all of mould therein can also be selected according to the actual needs
Block realizes the purpose of this embodiment scheme.Those of ordinary skill in the art are without creative efforts, you can
To understand and implement.
Described above is only the embodiment of the application, it is noted that for the ordinary skill people of the art
For member, on the premise of the application principle is not departed from, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as the protection domain of the application.