CN106209567A - The method and device of user state information is provided - Google Patents
The method and device of user state information is provided Download PDFInfo
- Publication number
- CN106209567A CN106209567A CN201510214341.3A CN201510214341A CN106209567A CN 106209567 A CN106209567 A CN 106209567A CN 201510214341 A CN201510214341 A CN 201510214341A CN 106209567 A CN106209567 A CN 106209567A
- Authority
- CN
- China
- Prior art keywords
- user
- information
- targeted customer
- preset condition
- relationship
- 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
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000012217 deletion Methods 0.000 claims description 2
- 230000037430 deletion Effects 0.000 claims description 2
- 238000012544 monitoring process Methods 0.000 claims description 2
- 230000002045 lasting effect Effects 0.000 claims 1
- 239000002699 waste material Substances 0.000 abstract description 6
- 230000000875 corresponding effect Effects 0.000 description 10
- 238000004891 communication Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000002596 correlated effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 230000009897 systematic effect Effects 0.000 description 2
- 238000007405 data analysis Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Landscapes
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the present application discloses the method and device providing user state information, wherein, described method includes: server pre-builds user relationship data storehouse, preserves multiple user set in described customer data base, and each user set includes two users with particular kind of relationship;Collect the current geographic position information of user;Each targeted customer in gathering for same user, the geographical location information collected by synchronization is compared;If the distance in certain user set between each targeted customer is labeled as preset condition less than preset threshold value, the then described targeted customer in this user being gathered, described preset condition is used for representing: described targeted customer is just together with its particular kind of relationship user.By the embodiment of the present application, just user together with certain particular kind of relationship user can be avoided to be disturbed, it is also possible to reduce the waste to Internet resources.
Description
Technical field
The application relates to instant messaging field, particularly relates to provide method and the dress of user state information
Put.
Background technology
Along with the development of network technology, and the continuous of all types of terminal unit is popularized, most people
And the communication between people is all carried out by terminal unit.Except traditional making a phone call, the side such as transmission information
Formula, various application (App) are also that the communication of people provides more more rich mode, more i.e.
The application making communication class has also provided the user the communication modes such as transmission information, voice call, video calling,
Provide a great convenience for daily life.
But, in some cases, this communication modes easily is likely to bother the daily life of people
Live.Such as, when certain user participates in meeting, receive suddenly phone or the information of friend, this user
Forget to close mobile phone quiet in the case of, may be such that this user is more awkward.From communication system angle
Speech, if the user while associate in the case of its contact person's inconvenience, then possibly cannot be replied in time,
May repeatedly contact afterwards, cause the waste of system resource.
In a word, how to make existing communication modes on the premise of bringing advantage to the user, more hommization,
Reduce as far as possible and people are impacted orthobiosis, reduce the waste of system resource, become and need this area skill
Art personnel solve the technical problem that.
Summary of the invention
This application provides provide user state information method and device, can avoid just with certain particular kind of relationship
User user together is disturbed, it is also possible to reduce the waste to Internet resources.
This application provides following scheme:
A kind of method that user state information is provided, including:
Server pre-builds user relationship data storehouse, preserves multiple user set in described customer data base,
Each user set includes two users with particular kind of relationship;
Collect the current geographic position information of user;
Each targeted customer in gathering for same user, the geographical location information that synchronization is collected
Compare;
If the distance between each targeted customer is less than preset threshold value in certain user set, then this user is collected
Described targeted customer in conjunction is labeled as preset condition, and described preset condition is used for representing: described targeted customer
Just together with its particular kind of relationship user.
A kind of method that user state information is provided, including:
When client receives the user instruction opening contacts list, send to server and obtain User Status
The request of information, in order to server judges whether to include in described contacts list being in the target of preset condition
User, if it is, the information that described targeted customer is in described preset condition returns;Wherein, described
Preset condition is used for representing: described targeted customer is just together with its particular kind of relationship user;
The information returned according to described server, it is provided that information, described information is used for pointing out described
Targeted customer is in described preset condition.
A kind of method that user state information is provided, including:
Server pre-builds user relationship data storehouse, preserves multiple user set in described customer data base,
Each user set includes two users with particular kind of relationship;
Receive the request obtaining the User Status specifying user that client sends;
Judge whether described appointment user occurs in described user set, if it is, determine that this user collects
The current geographic position information of each targeted customer in conjunction;
The geographical location information of each targeted customer described is compared;
If the distance between each targeted customer is less than preset threshold value, then return described finger to described client
Determining user and be in the information of preset condition, described preset condition is used for representing: described appointment user is just special with it
Determine relational users together.
A kind of method that user state information is provided, including:
Client receive open contacts list and select specify user instruction after, to server send
Obtain the request of the User Status of this appointment user, in order to server judges whether described appointment user occurs in
In preset user's set, if it is, determine the current geographic position of each targeted customer in this user set
Confidence ceases, and is compared by the geographical location information of each targeted customer described, if each targeted customer
Between distance less than preset threshold value, then return the described information specifying user to be in preset condition, described pre-
Configuration state is used for representing: described appointment user is just together with its particular kind of relationship user;
The information returned according to described server, it is provided that information, described information is used for pointing out described
Targeted customer is in described preset condition.
A kind of device providing user state information, is applied to server, including:
Database unit, is used for pre-building user relationship data storehouse, preserves in described customer data base
Having multiple user to gather, each user set includes two users with particular kind of relationship;
Positional information collector unit, for collecting the current geographic position information of user;
Positional information comparing unit, each targeted customer in gathering for same user, will be with for the moment
Carve the geographical location information collected to compare;
Status information mark unit, if the distance between each targeted customer is less than in certain user gathers
Preset threshold value, then the described targeted customer in this user being gathered is labeled as preset condition, described preset condition
For representing: described targeted customer is just together with its particular kind of relationship user.
A kind of device providing user state information, is applied to client, including:
First request transmitting unit, in time receiving the user instruction opening contacts list, to server
Send the request obtaining user state information, in order to server judges whether include place in described contacts list
In the targeted customer of preset condition, if it is, described targeted customer to be in the information of described preset condition
Return;Wherein, described preset condition is used for representing: described targeted customer just with its particular kind of relationship user one
Rise;
First Tip element, for the information that returns according to described server, it is provided that information, described in carry
Show that information is for pointing out described targeted customer to be in described preset condition.
A kind of device providing user state information, is applied to server, including:
Database unit, is used for pre-building user relationship data storehouse, preserves in described customer data base
Having multiple user to gather, each user set includes two users with particular kind of relationship;
Second request reception unit, asking of the User Status of user is specified in the acquisition sent for receiving client
Ask;
Second judging unit, is used for judging whether described appointment user occurs in described user set, if
It is, it is determined that the current geographic position information of each targeted customer in this user set;
Comparing unit, for comparing the geographical location information of each targeted customer described;
Return unit, if the distance between each targeted customer is less than preset threshold value, then to described visitor
Family end returns the described information specifying user to be in preset condition, and described preset condition is used for representing: described finger
Determine user just together with its particular kind of relationship user.
A kind of device providing user state information, is applied to client, including:
Second request transmitting unit, for receive open contacts list and select specify user instruction
After, send the request of the User Status obtaining this appointment user to server, in order to server judges described finger
Determine whether user occurs in preset user's set, if it is, determine each target in this user set
The current geographic position information of user, and the geographical location information of each targeted customer described is compared,
If the distance between each targeted customer is less than preset threshold value, then returns described appointment user and be in preset shape
The information of state, described preset condition is used for representing: described appointment user is just together with its particular kind of relationship user;
Second Tip element, for the information that returns according to described server, it is provided that information, described in carry
Show that information is for pointing out described targeted customer to be in described preset condition.
The specific embodiment provided according to the application, this application discloses techniques below effect:
Pass through the embodiment of the present application, it is possible to pre-build its user relationship data storehouse, and according to user place
The comparison of geographical location information, determines have the user of particular kind of relationship the most together, if it is,
The notification message being correlated with can be provided, in order to client is good to it to clients such as the good friend users of this user
Friend user points out, so, if wherein the good friend user of a side wants to contact with this user, and may
Due to the existence of this information, and temporarily can no longer contact, thus avoid this user to be disturbed, meanwhile,
The waste to Internet resources can also be reduced.
Certainly, the arbitrary product implementing the application it is not absolutely required to reach all the above advantage simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, below will be to enforcement
In example, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only
Some embodiments of the application, for those of ordinary skill in the art, are not paying creative work
Under premise, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of the first method that the embodiment of the present application provides;
Fig. 2 is the flow chart of the second method that the embodiment of the present application provides;
Fig. 3 is the flow chart of the third method that the embodiment of the present application provides;
Fig. 4 is the flow chart of the fourth method that the embodiment of the present application provides;
Fig. 5 is the schematic diagram of the first device that the embodiment of the present application provides;
Fig. 6 is the schematic diagram of the second device that the embodiment of the present application provides;
Fig. 7 is the schematic diagram of the 3rd device that the embodiment of the present application provides;
Fig. 8 is the schematic diagram of the 4th device that the embodiment of the present application provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clearly
Chu, be fully described by, it is clear that described embodiment be 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 obtained all its
His embodiment, broadly falls into the scope of the application protection.
Owing in actual applications, user is unwilling to be disturbed often together with some special people time,
Such as, time together with leader, time together with lovers, etc..Therefore, in the embodiment of the present application,
This situation can be identified, and point out to its good friend, so, know its contact person user
In the case of currently may being inconvenient to receive calls or check information, may not go contact, thus
Avoid the other side to be disturbed, also avoid the wasting of resources that the most invalid contact causes.Below to concrete implementation
Mode describes in detail.
Embodiment one
Seeing Fig. 1, this embodiment one is first from the angle of server, it is provided that a kind of offer User Status letter
The method of breath, it is characterised in that including:
S101: server pre-builds user relationship data storehouse, preserves multiple use in described customer data base
Family is gathered, and each user set includes two users with particular kind of relationship;
So-called particular kind of relationship can have multiple, for example, it may be relationship between superior and subordinate in Gong Zuo, service provider
With customer relationship, teacher-student relation, lovers' relation etc..Data Source in data base can also have multiple,
For example, it may be what user uploaded, or systematic collection.Wherein, under the mode of systematic collection, can
To be carried out by modes such as big data analysiss, such as, by each user in systems personal information letter
Breath, chat record information, address list information etc. are added up, and therefrom find to exist between which user specific
Relation.Such as, in the chat record of user A, address user B is " wife ", then may determine that this
User A and user B is lovers' relation.Or, it is assumed that the personal information of user C is announced its phone number
Code is 138****, and in the address list of user D, contact person corresponding for this 138**** number is labeled as
Boss, then may determine that the relationship between superior and subordinate having in work between this user C and user D, etc..
Certainly, the information of privacy of user may be related to about the address list information etc. of user, can be to obtain
It is collected again in the case of user's license.
About the implementation of particular kind of relationship between concrete digging user, due to and be not belonging to the embodiment of the present application
Invention emphasis, therefore, I will not elaborate.In a word, no matter use which kind of mode concrete, it appeared that
Multiple users gather, and just include two users with particular kind of relationship, for the ease of rear in each user set
Continuous use, can preserve by the way of data base.Such as, concrete preservation form can be as following
Shown in table 1:
Table 1
| Sequence number | User gathers | Relation name |
| 1 | (user A, user B) | Lovers' relation |
| 2 | (user C, user D) | Relationship between superior and subordinate |
| …… | …… | …… |
S102: collect the current geographic position information of user;
Owing to existing mobile terminal device is generally fitted provided with positioning function, and obtaining user's license
In the case of, the concrete application (App) installed in terminal unit can use this positioning function, in this feelings
Under condition, App client can get the current geographic position of equipment by the positioning function of mobile terminal device
Confidence ceases;On the other hand, the App client on its mobile terminal device is being used to sign in due to user
It is after the account of server registration, it is possible to account be associated with this mobile terminal device.So,
Again by the communication between App client and server, it is possible to make server get each user
Current geographical location information.
Certainly, in actual applications, it is also possible to collect the current geographic position letter of user by other means
Breath, such as, if the mobile terminal device of user is to access by the way of WiFi (Wireless Fidelity) mutually
Networking, then can obtain the WiFi title that each user accesses, although this information possibly cannot directly represent
Go out the absolute location information of this user, but whether other users in can be by judging same user set
Carry out, by same WiFi, this information of networking, determine relative position information between the two, and then
Judge both the most together.
S103: each targeted customer in gathering for same user, the geographical position that synchronization is collected
Confidence breath is compared;
Owing to the current geographic position information of each user can be collected, therefore, it can between user
Geographical location information is compared, and this comparison is to carry out between each targeted customer that same user gathers
's.Such as, each user in table 1 is gathered, it is simply that by the geographical position of user A Yu user B
Information is compared, and is compared by the geographical location information of user C with user D.When implementing,
Can pre-set the time interval of comparison, such as, every comparison in every five minutes once, etc..
S104: if the distance between each targeted customer is less than preset threshold value in certain user set, then should
Described targeted customer in user's set is labeled as preset condition, and described preset condition is used for representing: described mesh
Mark user is just together with its particular kind of relationship user.
If found by the comparison in certain moment, in certain user set, the distance between each targeted customer is less than
Preset threshold value, say, that the distance between each targeted customer in this user set is closer, then demonstrate,prove
These users bright may together, accordingly, it is possible to it is pre-that the targeted customer in this user set is labeled as certain
The state put, in order to represent: targeted customer is just together with its particular kind of relationship user.Such as, if the some time
Carve the distance between user A and the user B determined in table 1 in first user's set closer, then
This user A and user B can be labeled, that is, the current state of user A and user B is:
Just together with its lovers.
Specifically when the state of user is labeled, can there is various ways, for example, it is possible at table 1
Shown database table increases string, for representing in corresponding set, whether each targeted customer is in pre-
Configuration state, such as, as shown in table 2:
Table 2
| Sequence number | User gathers | Relation name | Whether it is in preset condition |
| 1 | (user A, user B) | Lovers' relation | It is |
| 2 | (user C, user D) | Relationship between superior and subordinate | No |
| …… | …… | …… | …… |
Certainly, it is probably can change about the mark about the state of each targeted customer in this table 2
, such as, certain moment finds certain two targeted customer together, but both may afterwards after a while
Can separate, by constantly collection and the comparison of geographical location information in step S102 and S103, at prison
Control exceeds described preset threshold value to the distance being between each targeted customer of described preset condition, and
After continue for preset time length, it was demonstrated that targeted customer has not had together, now, it is possible to will close
Mark in this targeted customer is deleted, or switches to other states.
It should be noted that according to the difference of concrete particular kind of relationship, each targeted customer in identity set it
Between relation be probably equity, it is also possible to be not equity, such as, if user A and user B
Between lovers' relation, then both relations are reciprocity, and if between user A and user B being
Inferior relation, then both relations are not equity.For the relation of equity, two targeted customers are one
When rising, may be not intended to be disturbed, and for asymmetrical relation, two targeted customers together time, can
Can be wherein a side user be not desired to be disturbed, now be not desired to be disturbed is probably for talk the other side's
The purposes such as respect.Therefore, in the embodiment of the present application, it is also possible to concrete implementation mode is refined.
Such as, in identifying certain user set two targeted customers together after, asymmetrical user is closed
System, it is also possible to only the state of one of them targeted customer is identified.To this end, can also be at customer relationship
Data base increases a field, for recording the targeted customer that the needs in each user set are marked,
For example, it is possible to as shown in table 3:
Table 3
| Sequence number | User gathers | Relation name | Need the user being marked | Whether it is in preset condition |
| 1 | (user A, user B) | Lovers' relation | User A, user B | No |
| 2 | (user C, user D) | Relationship between superior and subordinate | User D | It is |
| …… | …… | …… | …… | …… |
So, if the user C in above-mentioned second user set is just together with user D, the most permissible
Only being labeled the state of user D, so, the follow-up good friend having only to this user D provides notice
Message, to notify that this user D, just together with its leading body at a higher level, does not the most bother him;And about with
Family C, then need not notify its good friend, even if because user C receives phone, information etc., the most also
Do not result in situations such as the other side disrespect.
In the case of the above-mentioned user state information of server maintenance, client just can by inquiry by the way of,
User state information needed for server obtains.Such as, certain user opens its contacts list, prepare with
Certain contact person therein contacts, and now, first client just can send to server and obtain User Status letter
The request of breath, so, first server can obtain contacts list (this letter of this client associate user
Breath typically can preserve at server), then, it is judged that whether this contacts list includes be in described
The targeted customer of preset condition, if it is, the letter of described preset condition can be in described targeted customer
Breath returns, and so, client just can provide this information to associate user.Such as, in certain moment, receive
The request of certain subscription client, now, in data base, the state of each user is as shown in table 3, and now
User D occurs in the contacts list of requesting party user just, accordingly, it is possible to should " user D
Just together with its leading body at a higher level " this information returns to client, and so, client just can be prompted to
Requesting party user.Concrete prompting mode can have multiple, such as, in the entry that contacts list is corresponding
Add words identification, picture identification, etc..Now, if requesting party user wants and this user D just
Contact, after seeing this information, it is possible to temporarily do not contact, after waiting until that this information disappears
Row contact again, thus avoid user D to be disturbed with the talk of leading body at a higher level, it is also possible to avoid causing too much
The wasting of resources.
Embodiment two
This embodiment two is the client implementation corresponding with embodiment one, sees Fig. 2, this embodiment
Two provide a kind of method providing user state information from the angle of client, and the method specifically can include
Following steps:
S201: when client receives the user instruction opening contacts list, sends to obtain to server and uses
The request of family status information, in order to server judges whether include in described contacts list being in preset condition
Targeted customer, if it is, described targeted customer is in described preset condition information return;Wherein,
Described preset condition is used for representing: described targeted customer is just together with its particular kind of relationship user;
S202: the information returned according to described server, it is provided that information, described information is used for carrying
Show that described targeted customer is in described preset condition.
Owing to embodiment two is corresponding with embodiment one, therefore, relevant implementing may refer to reality
Execute the introduction in example one, repeat no more here.
Embodiment three
In previous embodiment one and embodiment two, it is from the angle of the overall situation by server, each user is collected
User Status in conjunction detects in advance, so, after receiving the request of client, it is possible to directly
Response is returned by the way of inquiry data base.And in the embodiment of the present application three, in order to reduce server
Workload, it is also possible to after receiving the concrete inquiry request of client, then judge with carrying out purposiveness,
And return judged result.
As it is shown on figure 3, this embodiment three provides another kind of offer user state information from the angle of server
Method, the method may comprise steps of:
S301: server pre-builds user relationship data storehouse, preserves multiple use in described customer data base
Family is gathered, and each user set includes two users with particular kind of relationship;
This step is identical with step S101 in embodiment one.
S302: receive the request obtaining the User Status specifying user that client sends;
Under this implementation, for client, can be to open contacts list user, and
Have selected a wherein contact person to prepare when associating, the above-mentioned request sent, therefore, so-called appointment is used
Family just may refer to this selected contact person.
S303: judge whether described appointment user occurs in described user set, if it is, determine this
The current geographic position information of each targeted customer in user's set;
S304: the geographical location information of each targeted customer described is compared;
S305: if the distance between each targeted customer is less than preset threshold value, then return to described client
The described information specifying user to be in preset condition, described preset condition is used for representing: described appointment user is just
Together with its particular kind of relationship user.
Other each steps are similar with embodiment one, therefore, the introduction in detailed in Example one, the most superfluous
State.
Embodiment four
This embodiment four is corresponding with embodiment three, namely from the angle of client, it is provided that Yi Zhongti
For the method for user state information, seeing Fig. 4, the method may comprise steps of:
S401: client receive open contacts list and select specify user instruction after, to service
Device sends the request of the User Status obtaining this appointment user, in order to whether server judges described appointment user
Occur in preset user set, if it is, determine that each targeted customer's in this user set is current
Geographical location information, and the geographical location information of each targeted customer described is compared, if each mesh
Distance between mark user less than preset threshold value, then returns the described information specifying user to be in preset condition,
Described preset condition is used for representing: described appointment user is just together with its particular kind of relationship user;
S402: the information returned according to described server, it is provided that information, described information is used for carrying
Show that described targeted customer is in described preset condition.
In contacts list, have selected appointment user due to user, thus may trigger this appointment and use
Contact details interface, family is opened, or the interface engaged in the dialogue with this appointment user is opened, therefore,
When providing information, can be to point out in contact details interface or dialog interface.
About other implement in this embodiment four, it is also possible to see the introduction in embodiment one, here
Repeat no more.
The method of the offer user state information provided with embodiment one is corresponding, and the embodiment of the present application also provides for
A kind of device providing user state information, is applied to server, sees Fig. 5, and this device is the most permissible
Including:
Database unit 501, is used for pre-building user relationship data storehouse, in described customer data base
Preserving multiple user set, each user set includes two users with particular kind of relationship;
Positional information collector unit 502, for collecting the current geographic position information of user;
Positional information comparing unit 503, each targeted customer in gathering for same user, will be with
The geographical location information that one moment collected is compared;
Status information mark unit 504, if the distance in certain user gathers between each targeted customer
Less than preset threshold value, then the described targeted customer in this user being gathered is labeled as preset condition, described preset
State is used for representing: described targeted customer is just together with its particular kind of relationship user.
When implementing, this device can also include:
Markup information deletes unit, for monitoring between each targeted customer being in described preset condition
Distance beyond described preset threshold value, and after continuing preset time length, by the described mark about preset condition
Note information deletion.
Wherein, for asymmetrical particular kind of relationship, also preserving a wherein side in described user relationship data storehouse needs
Targeted customer to be marked;Described status information mark unit specifically for:
The targeted customer that described needs in this user being gathered are marked is labeled as preset condition.
In actual applications, this device can also include:
First request reception unit, during for receiving the request obtaining user state information of client, obtains
Take the contacts list of described client associate user;
First judging unit, for judging whether include in described contacts list being in described preset condition
Targeted customer, if it is, the information that described targeted customer is in described preset condition returns, in order to institute
State client and provide this information to described association user.
The method of the offer user state information provided with embodiment two is corresponding, and the embodiment of the present application also provides for
A kind of device providing user state information, is applied to client, sees Fig. 6, and this device is the most permissible
Including:
First request transmitting unit 601, in time receiving the user instruction opening contacts list, to clothes
Business device sends the request obtaining user state information, in order to server judges whether wrap in described contacts list
Include the targeted customer being in preset condition, if it is, described targeted customer is in described preset condition
Information returns;Wherein, described preset condition is used for representing: described targeted customer just with its particular kind of relationship user
Together;
First Tip element 602, for the information returned according to described server, it is provided that information, institute
State information for pointing out described targeted customer to be in described preset condition.
The method of the offer user state information provided with embodiment three is corresponding, and the embodiment of the present application also provides for
A kind of device providing user state information, is applied to server, sees Fig. 7, and this device is the most permissible
Including:
Database unit 701, is used for pre-building user relationship data storehouse, in described customer data base
Preserving multiple user set, each user set includes two users with particular kind of relationship;
Second request reception unit 702, for receiving the User Status obtaining appointment user that client sends
Request;
Second judging unit 703, is used for judging whether described appointment user occurs in described user set,
If it is, determine the current geographic position information of each targeted customer in this user set;
Comparing unit 704, for comparing the geographical location information of each targeted customer described;
Return unit 705, if the distance between each targeted customer is less than preset threshold value, then to institute
Stating client and return the described information specifying user to be in preset condition, described preset condition is used for representing: institute
State appointment user just together with its particular kind of relationship user.
The method of the offer user state information provided with embodiment four is corresponding, and the embodiment of the present application also provides for
A kind of device providing user state information, is applied to client, sees Fig. 8, and this device is the most permissible
Including:
Second request transmitting unit 801, for opening contacts list and select to specify user receiving
After instruction, send the request of the User Status obtaining this appointment user to server, in order to server judges institute
State and specify whether user occurs in preset user set, if it is, determine in this user set each
The current geographic position information of targeted customer, and the geographical location information of each targeted customer described is compared
Right, if the distance between each targeted customer is less than preset threshold value, then returns described appointment user and be in pre-
The information of configuration state, described preset condition is used for representing: described appointment user just exists with its particular kind of relationship user
Together;
Second Tip element 802, for the information returned according to described server, it is provided that information, institute
State information for pointing out described targeted customer to be in described preset condition.
Pass through the embodiment of the present application, it is possible to pre-build its user relationship data storehouse, and according to user place
The comparison of geographical location information, determines have the user of particular kind of relationship the most together, if it is,
The notification message being correlated with can be provided, in order to client is good to it to clients such as the good friend users of this user
Friend user points out, so, if wherein the good friend user of a side wants to contact with this user, and may
Due to the existence of this information, and temporarily can no longer contact, thus avoid this user to be disturbed, meanwhile,
The waste to Internet resources can also be reduced.
As seen through the above description of the embodiments, those skilled in the art is it can be understood that arrive this
Application can add the mode of required general hardware platform by software and realize.Based on such understanding, this Shen
The part that prior art is contributed by technical scheme please the most in other words can be with the shape of software product
Formula embodies, and this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc,
CD etc., including some instructions with so that computer equipment (can be personal computer, server,
Or the network equipment etc.) perform each embodiment of the application or the method described in some part of embodiment.
Each embodiment in this specification all uses the mode gone forward one by one to describe, phase homophase between each embodiment
As part see mutually, what each embodiment stressed is the difference with other embodiments.
For system or system embodiment, owing to it is substantially similar to embodiment of the method, so describing
Obtaining fairly simple, relevant part sees the part of embodiment of the method and illustrates.System described above and
System embodiment is only schematically, and the wherein said unit that illustrates as separating component can be or also
Can not be physically separate, the parts shown as unit can be or may not be physical location,
I.e. may be located at a place, or can also be distributed on multiple NE.Can be according to actual need
Select some or all of module therein to realize the purpose of the present embodiment scheme.Ordinary skill
Personnel, in the case of not paying creative work, are i.e. appreciated that and implement.
Above to the provided herein method and device providing user state information, it is described in detail,
Principle and the embodiment of the application are set forth by specific case used herein, above example
Illustrate that being only intended to help understands the present processes and core concept thereof;General simultaneously for this area
Technical staff, according to the thought of the application, the most all will change.
In sum, this specification content should not be construed as the restriction to the application.
Claims (14)
1. the method that user state information is provided, it is characterised in that including:
Server pre-builds user relationship data storehouse, preserves multiple user set in described customer data base,
Each user set includes two users with particular kind of relationship;
Collect the current geographic position information of user;
Each targeted customer in gathering for same user, the geographical location information that synchronization is collected
Compare;
If the distance between each targeted customer is less than preset threshold value in certain user set, then this user is collected
Described targeted customer in conjunction is labeled as preset condition, and described preset condition is used for representing: described targeted customer
Just together with its particular kind of relationship user.
Method the most according to claim 1, it is characterised in that also include:
In the distance monitored between each targeted customer being in described preset condition beyond described preset threshold
After value, and lasting preset time length, the described markup information about preset condition is deleted.
Method the most according to claim 1, it is characterised in that for asymmetrical particular kind of relationship,
Described user relationship data storehouse also preserves the targeted customer that a wherein side needs to be marked;Described by this user
Described targeted customer in set is labeled as preset condition, including:
The targeted customer that described needs in this user being gathered are marked is labeled as preset condition.
Method the most according to claim 1, it is characterised in that also include:
When receiving the request obtaining user state information of client, obtain described client associate user's
Contacts list;
Judge whether described contacts list to include be in the targeted customer of described preset condition, if it is,
The information that described targeted customer is then in described preset condition returns, in order to this information is carried by described client
Supply described association user.
5. the method that user state information is provided, it is characterised in that including:
When client receives the user instruction opening contacts list, send to server and obtain User Status
The request of information, in order to server judges whether to include in described contacts list being in the target of preset condition
User, if it is, the information that described targeted customer is in described preset condition returns;Wherein, described
Preset condition is used for representing: described targeted customer is just together with its particular kind of relationship user;
The information returned according to described server, it is provided that information, described information is used for pointing out described
Targeted customer is in described preset condition.
6. the method that user state information is provided, it is characterised in that including:
Server pre-builds user relationship data storehouse, preserves multiple user set in described customer data base,
Each user set includes two users with particular kind of relationship;
Receive the request obtaining the User Status specifying user that client sends;
Judge whether described appointment user occurs in described user set, if it is, determine that this user collects
The current geographic position information of each targeted customer in conjunction;
The geographical location information of each targeted customer described is compared;
If the distance between each targeted customer is less than preset threshold value, then return described finger to described client
Determining user and be in the information of preset condition, described preset condition is used for representing: described appointment user is just special with it
Determine relational users together.
7. the method that user state information is provided, it is characterised in that including:
Client receive open contacts list and select specify user instruction after, to server send
Obtain the request of the User Status of this appointment user, in order to server judges whether described appointment user occurs in
In preset user's set, if it is, determine the current geographic position of each targeted customer in this user set
Confidence ceases, and is compared by the geographical location information of each targeted customer described, if each targeted customer
Between distance less than preset threshold value, then return the described information specifying user to be in preset condition, described pre-
Configuration state is used for representing: described appointment user is just together with its particular kind of relationship user;
The information returned according to described server, it is provided that information, described information is used for pointing out described
Targeted customer is in described preset condition.
8. the device that user state information is provided, it is characterised in that be applied to server, including:
Database unit, is used for pre-building user relationship data storehouse, preserves in described customer data base
Having multiple user to gather, each user set includes two users with particular kind of relationship;
Positional information collector unit, for collecting the current geographic position information of user;
Positional information comparing unit, each targeted customer in gathering for same user, will be with for the moment
Carve the geographical location information collected to compare;
Status information mark unit, if the distance between each targeted customer is less than in certain user gathers
Preset threshold value, then the described targeted customer in this user being gathered is labeled as preset condition, described preset condition
For representing: described targeted customer is just together with its particular kind of relationship user.
Device the most according to claim 8, it is characterised in that also include:
Markup information deletes unit, for monitoring between each targeted customer being in described preset condition
Distance beyond described preset threshold value, and after continuing preset time length, by the described mark about preset condition
Note information deletion.
Device the most according to claim 8, it is characterised in that for asymmetrical particular kind of relationship,
Described user relationship data storehouse also preserves the targeted customer that a wherein side needs to be marked;Described status information
Mark unit specifically for:
The targeted customer that described needs in this user being gathered are marked is labeled as preset condition.
11. devices according to claim 8, it is characterised in that also include:
First request reception unit, during for receiving the request obtaining user state information of client, obtains
Take the contacts list of described client associate user;
First judging unit, for judging whether include in described contacts list being in described preset condition
Targeted customer, if it is, the information that described targeted customer is in described preset condition returns, in order to institute
State client and provide this information to described association user.
12. 1 kinds of devices that user state information is provided, it is characterised in that be applied to client, including:
First request transmitting unit, in time receiving the user instruction opening contacts list, to server
Send the request obtaining user state information, in order to server judges whether include place in described contacts list
In the targeted customer of preset condition, if it is, described targeted customer to be in the information of described preset condition
Return;Wherein, described preset condition is used for representing: described targeted customer just with its particular kind of relationship user one
Rise;
First Tip element, for the information that returns according to described server, it is provided that information, described in carry
Show that information is for pointing out described targeted customer to be in described preset condition.
13. 1 kinds of devices that user state information is provided, it is characterised in that be applied to server, including:
Database unit, is used for pre-building user relationship data storehouse, preserves in described customer data base
Having multiple user to gather, each user set includes two users with particular kind of relationship;
Second request reception unit, asking of the User Status of user is specified in the acquisition sent for receiving client
Ask;
Second judging unit, is used for judging whether described appointment user occurs in described user set, if
It is, it is determined that the current geographic position information of each targeted customer in this user set;
Comparing unit, for comparing the geographical location information of each targeted customer described;
Return unit, if the distance between each targeted customer is less than preset threshold value, then to described visitor
Family end returns the described information specifying user to be in preset condition, and described preset condition is used for representing: described finger
Determine user just together with its particular kind of relationship user.
14. 1 kinds of devices that user state information is provided, it is characterised in that be applied to client, including:
Second request transmitting unit, for receive open contacts list and select specify user instruction
After, send the request of the User Status obtaining this appointment user to server, in order to server judges described finger
Determine whether user occurs in preset user's set, if it is, determine each target in this user set
The current geographic position information of user, and the geographical location information of each targeted customer described is compared,
If the distance between each targeted customer is less than preset threshold value, then returns described appointment user and be in preset shape
The information of state, described preset condition is used for representing: described appointment user is just together with its particular kind of relationship user;
Second Tip element, for the information that returns according to described server, it is provided that information, described in carry
Show that information is for pointing out described targeted customer to be in described preset condition.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510214341.3A CN106209567B (en) | 2015-04-29 | 2015-04-29 | The method and device of user state information is provided |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510214341.3A CN106209567B (en) | 2015-04-29 | 2015-04-29 | The method and device of user state information is provided |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106209567A true CN106209567A (en) | 2016-12-07 |
| CN106209567B CN106209567B (en) | 2019-09-17 |
Family
ID=57457564
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510214341.3A Active CN106209567B (en) | 2015-04-29 | 2015-04-29 | The method and device of user state information is provided |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106209567B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111230894A (en) * | 2020-01-16 | 2020-06-05 | 云知声智能科技股份有限公司 | Conversation method and device |
| CN115079894A (en) * | 2021-03-15 | 2022-09-20 | 腾讯科技(深圳)有限公司 | Information processing method and device |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101455033A (en) * | 2006-05-23 | 2009-06-10 | 微软公司 | User Presence Gathering at Server |
| WO2012024156A2 (en) * | 2010-08-18 | 2012-02-23 | Facebook, Inc. | Dynamic place visibility in geo-social networking system |
| CN102484617A (en) * | 2009-06-30 | 2012-05-30 | 阿尔卡特朗讯公司 | Method and system for reducing the number of presence events within a network |
| CN102595310A (en) * | 2012-01-19 | 2012-07-18 | 中国联合网络通信集团有限公司 | Method for sharing geographical position between mobile terminals, presence server and mobile terminal |
| CN103534689A (en) * | 2011-05-17 | 2014-01-22 | 微软公司 | present or shared state |
| CN103795706A (en) * | 2013-11-15 | 2014-05-14 | 上海斐讯数据通信技术有限公司 | State information query system and query method |
| CN103905976A (en) * | 2012-12-26 | 2014-07-02 | 腾讯科技(深圳)有限公司 | Social network user searching method, terminal, server and system |
| CN104009980A (en) * | 2014-05-13 | 2014-08-27 | 腾讯科技(深圳)有限公司 | Communication method and device based on social application |
| CN104283766A (en) * | 2013-07-11 | 2015-01-14 | 北京千橡网景科技发展有限公司 | Method and server for presenting sociable state |
| CN104462592A (en) * | 2014-12-29 | 2015-03-25 | 东北大学 | Social network user behavior relation deduction system and method based on indefinite semantics |
-
2015
- 2015-04-29 CN CN201510214341.3A patent/CN106209567B/en active Active
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101455033A (en) * | 2006-05-23 | 2009-06-10 | 微软公司 | User Presence Gathering at Server |
| CN102484617A (en) * | 2009-06-30 | 2012-05-30 | 阿尔卡特朗讯公司 | Method and system for reducing the number of presence events within a network |
| WO2012024156A2 (en) * | 2010-08-18 | 2012-02-23 | Facebook, Inc. | Dynamic place visibility in geo-social networking system |
| CN103534689A (en) * | 2011-05-17 | 2014-01-22 | 微软公司 | present or shared state |
| CN102595310A (en) * | 2012-01-19 | 2012-07-18 | 中国联合网络通信集团有限公司 | Method for sharing geographical position between mobile terminals, presence server and mobile terminal |
| CN103905976A (en) * | 2012-12-26 | 2014-07-02 | 腾讯科技(深圳)有限公司 | Social network user searching method, terminal, server and system |
| CN104283766A (en) * | 2013-07-11 | 2015-01-14 | 北京千橡网景科技发展有限公司 | Method and server for presenting sociable state |
| CN103795706A (en) * | 2013-11-15 | 2014-05-14 | 上海斐讯数据通信技术有限公司 | State information query system and query method |
| CN104009980A (en) * | 2014-05-13 | 2014-08-27 | 腾讯科技(深圳)有限公司 | Communication method and device based on social application |
| CN104462592A (en) * | 2014-12-29 | 2015-03-25 | 东北大学 | Social network user behavior relation deduction system and method based on indefinite semantics |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111230894A (en) * | 2020-01-16 | 2020-06-05 | 云知声智能科技股份有限公司 | Conversation method and device |
| CN115079894A (en) * | 2021-03-15 | 2022-09-20 | 腾讯科技(深圳)有限公司 | Information processing method and device |
| CN115079894B (en) * | 2021-03-15 | 2025-10-21 | 腾讯科技(深圳)有限公司 | Information processing method and device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106209567B (en) | 2019-09-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR101602613B1 (en) | Exchanging a contact profile between client devices during a communication session | |
| KR101648167B1 (en) | Interacting with a subscriber to a social networking service based on passive behavior of the subscriber | |
| CN102884816B (en) | Help-seeking method, apparatus, and system based on location-based service | |
| WO2014161433A1 (en) | System and method for positioning terminal | |
| US8958537B1 (en) | Providing call alerts using social network data | |
| US10805762B2 (en) | Location based access control for artificial conversational entities | |
| US8600408B2 (en) | Method and apparatus for finding people via a mobile device | |
| US20180115877A1 (en) | Inter-platform multi-directional communications system and method | |
| US20130210393A1 (en) | System Having Location Based Proximity Features and Methods Thereof | |
| WO2016057573A1 (en) | Methods, systems, and computer readable media for using bluetooth beacon information to obtain and publish fine grained user location information | |
| CN104113466A (en) | Harassing phone call identification method, client, server and system | |
| CN102067163A (en) | Communication access control system and method | |
| CN105359562A (en) | Control device, control method, communication system and program | |
| TW200930113A (en) | Method and system for completing a zone related call | |
| US20150178312A1 (en) | Attribute-based assistance request system for sequentially contacting nearby contacts without having them divulge their presence or location | |
| US10530730B2 (en) | Electronic messaging systems | |
| KR20110103611A (en) | Social network service system and social network service method | |
| CN106209567A (en) | The method and device of user state information is provided | |
| JP2017084329A (en) | Information presentation system, program, and information presentation method | |
| CN103841172A (en) | Application download operation statistic method and device based on user terminal identification comparison | |
| CN104038558A (en) | Method and system for controlling application networking | |
| EP2192535A1 (en) | System for managing social networks through mobile medium | |
| KR100606091B1 (en) | Mobile messenger / telephone service system and method based on user location | |
| HK1231275A1 (en) | Method and device for providing user state information | |
| KR20160137113A (en) | Method and apparatus for transmitting and receiving user location-based messages |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1231275 Country of ref document: HK |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant |