CN105407041A - Method for adding group or friend, server, client and system - Google Patents

Method for adding group or friend, server, client and system Download PDF

Info

Publication number
CN105407041A
CN105407041A CN201510812449.2A CN201510812449A CN105407041A CN 105407041 A CN105407041 A CN 105407041A CN 201510812449 A CN201510812449 A CN 201510812449A CN 105407041 A CN105407041 A CN 105407041A
Authority
CN
China
Prior art keywords
user
gesture information
group
gesture
distance
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.)
Pending
Application number
CN201510812449.2A
Other languages
Chinese (zh)
Inventor
许冠宗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZHUHAI DUOWAN INFORMATION TECHNOLOGY Ltd
Original Assignee
ZHUHAI DUOWAN INFORMATION TECHNOLOGY Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZHUHAI DUOWAN INFORMATION TECHNOLOGY Ltd filed Critical ZHUHAI DUOWAN INFORMATION TECHNOLOGY Ltd
Priority to CN201510812449.2A priority Critical patent/CN105407041A/en
Publication of CN105407041A publication Critical patent/CN105407041A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/222Monitoring or handling of messages using geographical location information, e.g. messages transmitted or received in proximity of a certain spot or area
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Abstract

The invention discloses a method for adding a group or a friend, a server, a client and a system. The method for adding the group or the friend comprises the following steps of obtaining gesture information of users when adding the group or the friend; judging whether a distance between the users is within a preset range; judging whether gestures of the users are consistent; and when the distance between the users is within the preset range and the gestures of the users are consistent, successfully adding to the same group or mutually adding as the friend. Through the method, an operation for adding the group or the friend can be simplified, and the privacy of the user can be effectively guaranteed.

Description

A kind of method and server, client and system of adding group or good friend
Technical field
The present invention relates to instant messaging technical field, be specifically related to a kind of MSN and realize adding the method for group or good friend at server end and realize adding the method for group or good friend and corresponding instant communication server, client and system in client.
Background technology
The development of Internet technology makes us stay indoors just to realize instant messaging, chat, negotiate etc. with affiliate with good friend.At present, based on the immediate communication tool needing to download and install, as MSN, QQ, YY voice, the liking deeply by everybody such as POPO, it for people communication, information interchange provides new approach, is another the important information interchange mode except mobile phone, fixed line, Email; By these instruments, the interchange cost between people and people can be allowed greatly to reduce, and improve efficiency.
At present, in MSN, interpolation group or good friend have a series of fixing operation.To add group, need successfully to enter group through following process: in IM menu, select to create the other and group's title of group-selections realm-complete establishment-search for and select good friend-the other side to enter group by verify-completing good friend.The process added as a friend mutually is similar.
Current this interpolation group or the mode of good friend, complex operation, need both sides even in many ways between repeatedly exchange message, if midway information transmits mistake, then cannot complete operation, and often there is time delay and uncertainty in information interactive process, immediately can not process and reach target.And the mode simply depending on Information Authentication, to add group or good friend, cannot get rid of lawless person or other users cankered add request, cause needing overspending time-triggered protocol to harass solicited message.
Summary of the invention
The technical problem that the present invention mainly solves how to provide a kind of mode of conveniently adding group or good friend, simple and directly can complete group or good friend's interpolation, again can effective guarantee privacy of user.
First aspect, provide a kind of method of adding group or good friend, described method comprises: server obtains the first gesture information of first user and second gesture information of the second user; Judge that the distance of described first user and described second user is whether in preset range; When the distance of described first user and described second party user is in preset range, judge that whether described first gesture information is consistent with described second gesture information; When described first gesture information is consistent with described second gesture information, described first user and described second user are added to same group or add as a friend mutually.
Wherein, the step of the described distance judging described first user and described second user whether in preset range comprises: the geographical location information obtaining described first user and described second user; According to described geographical location information, judge that the distance of described first user and described second user is whether in preset range.
Wherein, described when described first gesture information is consistent with described second gesture information, after described first user and described second user are added to same group or add as a friend mutually, also comprise: return corresponding parameter identification to client.
Wherein, described preset range is within 100 meters.
Wherein, described method also comprises: when the distance of described first user and described second user is not in preset range, described first user is added to different group from described second user or adds as a friend failure mutually; Or when described first gesture information and described second gesture information inconsistent time, described first user is added to different group from described second user or adds as a friend failure mutually.
When the described distance as described first user and described second party user is in preset range, before judging that whether described first gesture information is consistent with described second gesture information, also comprise: whether in the given time to judge the acquisition time of described first gesture information and described second gesture information; When first gesture information and the second gesture information acquisition time in the given time time, judge that whether described first gesture information consistent with described second gesture information.
Second aspect, provide a kind of method of adding group or good friend, described method comprises: server obtains the gesture information of requesting party user; Judge that the distance of described request side user and described Requested Party user is whether in preset range; When the distance of described request side user and Requested Party user is in preset range, judge that whether the gesture information of described request side user is consistent with the gesture information of Requested Party user preset; When the gesture information of described request side user is consistent with the gesture information of Requested Party user preset, described request side user is added the group of described Requested Party user or add as a friend mutually with described Requested Party user.
The third aspect, a kind of method of adding group or good friend is provided, described method comprises: client receives the first gesture information of first user and second gesture information of the second user, and described first gesture information and described second gesture information are sent to server; The distance of described first user and described second user is determined in preset range at server, and described first gesture information consistent with described second gesture information time, the corresponding parameter identification that reception server end returns, is added to same group by described first user and described second user or adds as a friend mutually.
Wherein, described client receives the first gesture information of first user and second gesture information of the second user, and while described first gesture information and described second gesture information are sent to server or afterwards, also comprise: the geographical location information obtaining described first user and described second user, sends to server by described geographical location information.
Wherein, described method also comprises:
When the distance that server determines described first user and described second user is not in preset range, described first user is added to different group from described second user or adds as a friend failure mutually; Or when server determines described first gesture information and described second gesture information is inconsistent, described first user is added to different group from described second user or adds as a friend failure mutually.
Fourth aspect, provide a kind of MSN server, described server comprises acquisition module, judge module and processing module, wherein: described acquisition module is for the second gesture information of the first gesture information and the second user that obtain first user; Described judge module is for judging that the distance of described first user and described second user is whether in preset range; Described judge module also for the distance at described first user and described second user in preset range time, judge that whether described first gesture information consistent with described second gesture information further; Described processing module is used for when described first gesture information is consistent with described second gesture information, and described first user and described second user are added to same group or add as a friend mutually.
Wherein, described acquisition module is also for obtaining the geographical location information of described first user and described second user; Described judge module is used for according to described geographical location information, judges that the distance of described first user and described second user is whether in preset range.
Wherein, described processing module also for after described first user and described second user being added to same group or adding as a friend mutually, returns corresponding parameter identification to client.
Wherein, described preset range is within 100 meters.
Wherein, described processing module also for the distance at described first user and described second user not in preset range time, described first user is added to different group from described second user or adds as a friend failure mutually; Or described processing module also for described first gesture information and described second gesture information inconsistent time, described first user is added to different group from described second user or adds as a friend failure mutually.
Wherein, whether in the given time described judge module also for before judging that whether first gesture information is consistent with described second gesture information, judges the acquisition time of described first gesture information and the second gesture information.
5th aspect, provide a kind of MSN server, described server comprises acquisition module, judge module and processing module, wherein: described acquisition module is for obtaining the gesture information of requesting party user; Described judge module is for judging that the distance of described request side user and described Requested Party user is whether in preset range; Described judge module, also for when the distance of described request side user and Requested Party user is in preset range, judges that whether the gesture information of described request side user is consistent with the gesture information of Requested Party user preset further; Described processing module is used for when the gesture information of described request side user is consistent with the gesture information of Requested Party user preset, described request side user is added the group of described Requested Party user or adds as a friend mutually with described Requested Party user.
6th aspect, a kind of instant communication software client terminal is provided, described client comprises receiver module, sending module and processing module, wherein: described receiver module is for the second gesture information of the first gesture information and the second user that receive described first user; Described sending module is used for described first gesture information and described second gesture information to send to server; Described receiver module determines the distance of described first user and described second user in preset range at server further, and when described first gesture information is consistent with described second gesture information, the corresponding parameter identification that reception server end returns; Described first user and described second user, according to corresponding parameter identification, are added to same group or add as a friend mutually by described processing module.
Wherein, described geographical location information also for obtaining the geographical location information of described first user and described second user, is sent to server by described sending module.
Wherein, described processing module also for determine described first user and described second user at server distance not in preset range time, described first user is added to different group from described second user or adds as a friend failure mutually; Or described processing module also for determine at server described first gesture information and described second gesture information inconsistent time, described first user is added to different group from described second user or adds as a friend failure mutually.
7th aspect, provides a kind of instant communicating system, and described instant communicating system comprises above-mentioned server and client.
The invention has the beneficial effects as follows: the situation being different from prior art, the present invention is when carrying out interpolation group or good friend, first judge ask add user between distance whether at preset range, when asking the distance between the user added in preset range, then by judging whether the gesture information of the user's input asking to add unanimously realizes the interpolation of group or good friend.By such mode, only just can add same group the user of the input same gesture information of preset distance and add as a friend mutually.Do not need to ask between the user of interpolation, to pass through repeatedly information interaction and just can complete the interpolation of group or good friend, simplify the operation greatly, effectively can ensure again the privacy of user simultaneously.
Accompanying drawing explanation
Fig. 1 is the flow chart of instant communicating system information interactive process in the present invention;
Fig. 2 is a kind of flow chart adding the method for group or good friend that first embodiment of the invention provides;
Fig. 3 is the specific implementation schematic flow sheet that in the embodiment of the present invention, user A and user B adds group;
Fig. 4 is the flow chart of the method for the interpolation group that provides of second embodiment of the invention or good friend;
Fig. 5 is a kind of flow chart adding the method for group or good friend that third embodiment of the invention provides
Fig. 6 is a kind of flow chart adding the method for group or good friend that fourth embodiment of the invention provides;
Fig. 7 is the structural representation of a kind of MSN server that first embodiment of the invention provides;
Fig. 8 is the structural representation of a kind of MSN server that second embodiment of the invention provides;
Fig. 9 is the structural representation of a kind of instant communication software client terminal that the embodiment of the present invention provides.
Embodiment
Before deeply introducing content of the present invention, be first briefly described applied environment of the present invention and practical application scene, the present invention realizes based on following applied environment and scene:
Existing MSN, main frame divides client and server two parts.Wherein, client can be multiple client, and each client is all connected with server, and wherein server is equivalent to the bridge of communication between each client, realizes the information interaction between each client-side information and process.Add a certain group or request for user's request and add someone for good friend, the flow process of information interactive process refers to Fig. 1:
After S1: client A login, send request 1 to client B (or group), practical operation is: first this request 1 sends to server, and service end Forward-reques 1 gives the client at client B (or group) place.
S2: server receives the request 1 from client A, forwards this request 1 to the client at client B (or group) place, and request 1 is recorded to database.
S3: client B (or group), by request 1, issuees a notice 1 to client A.Practical operation is: this notifies that first 1 send to service end, and service end forwards and notifies that 1 to the client at client A place.Complete group to add or good friend's adding procedure.
The present invention realizes based on above system architecture.
Refer to Fig. 2, Fig. 2 is a kind of flow chart adding the method for group or good friend that first embodiment of the invention provides, and the present embodiment is described with the angle of server, and as shown in the figure, the interpolation group of the present embodiment or the method for good friend comprise the following steps:
S101: server obtains the first gesture information of first user and second gesture information of the second user.
In the IM communication module server of application A PP, realize an api interface, such as joinImGroup (), the behavior come adding group or good friend by this interface is judged.
Group in the present invention or good friend refer to the built-in good friend's module in MSN.
When user selects to add group or good friend by gesture, server obtains the gesture information that user inputs at hand gesture recognition interface.Wherein, first user here and the second user, not refer in particular to, and just in order to divide into different users, first user and the second user can be multiple different users.The gesture information obtained also is the gesture information that different user inputs respectively.
Gesture in the present invention refers to the touch operation of the various forms that terminal can identify, gesture information includes but not limited to it is touch track, touch location, touch time etc.
S102: judge that the distance of first user and the second user is whether in preset range.
After getting the gesture information that different user inputs respectively, first judge to input distance between the different user of gesture information whether in preset range.Here preset range can be the distance range pre-set, the distance range within such as 100 meters.For example, such as aspectant interpolation group or good friend.
Wherein, when specifically judging that the distance of first user and the second user is whether in preset range, illustrate as one, can by obtaining the geographical location information of first user and the second user in the present invention, such as client passes through the geographical location information of GPS navigation system determination first user and the second user, the geographical location information of first user and the second user is sent to server, server, according to the geographical location information of first user and the second user, judges that the distance of first user and the second user is whether in preset range.
Certainly, also can judge that the distance of first user and the second user is whether in preset range by other mode.Such as other possible implementations, same local area network (LAN) whether can be in by judging first user and the second user or the mode of closely sensing apparatus etc. of first user and the second user place client that whether can detect judges that both distances are whether in preset range.
When the distance determining first user and the second user is in preset range, continue to perform S103, otherwise, perform S105.
S103: judge that whether first gesture information is consistent with the second gesture information.
When the distance of first user and the second user is in preset range, judge that whether the first gesture information that first user inputs is consistent with the second gesture information that the second user inputs, if unanimously, perform S104, otherwise, perform S105.
S104: first user and the second user are added to same group or add as a friend mutually.
When the distance of first user and the second user is in preset range, and when the first gesture information of first user is consistent with second gesture information of the second user, first user and the second user is added to same group or adds as a friend mutually.
Here the same group that first user and the second user add, all meet above decision condition in the distance of first user and the second user and gesture information (namely distance is in preset range, gesture information is consistent) when, the instant group set up.That is, by method of the present invention, two or more users in preset range, can arrange identical gesture information, immediately set up group and complete the process into group.
For example, have the people of identical mountain-climbing hobby to get together, for the ease of linking up and exchanging, can set up group, everybody makes a speech interchange in group.Everybody appoints the gesture of adding group, enters and creates group interface, and current user on the scene passes through to input the gesture reserved in advance, can realize current user on the scene and be added to same group.Like this, simplify the operating process that MSN adds group greatly, convenient and swift.Multiple user even can enter group by synchronization.
Again for example; user A meets with user B; think to add as a friend mutually; only needs input the gesture that two people appoint at plusing good friend interface; can realize adding as a friend mutually; and do not need by the request of the complexity a series of troublesome operation by certification, and simple and convenient, well can protect privacy of user again.
Wherein, as a kind of possible implementation, first user and the second user are being added to same group or after adding as a friend mutually, corresponding parameter identification can be being returned to client.
Here parameter identification can be the parameter identification that group is relevant, such as group's number, group name, group series icon etc.Or also can be the mark, title etc. of the other user.Such as return the title, mark, icon etc. of the second user to the client of first user, the client to the second user returns the title, mark, icon etc. of first user.
S105: first user is added to different group from the second user or adds as a friend failure mutually.
In method of the present invention, only have the user of the input same gesture in preset distance just can be added to same group or add as a friend mutually.When these two Rule of judgment have one of them or two conditions do not meet, namely when the distance of first user and the second user is not at preset range, and/or the gesture information of first user and the second user inconsistent time, first user can be added to different groups respectively from the second user or add as a friend failure mutually.
That is, the establishment of different group can be realized by arranging different distance ranges.Multiple users of the input same gesture in such as distance 2 meters add into group A, and multiple users of the input same gesture in outer 5 meters of distance 2 meters add group B.
Even if or the multiple users all in same distance range, also can by arranging different gestures respectively thus realizing the establishment of different group and enter.Multiple users such as in preset range 5 meters, what input gesture 1 enters group 1, and what input gesture 2 enters group 2.
Certainly, alternatively possible implementation, in the distance of first user and the second user not at preset range, or when the gesture information of first user and the second user is inconsistent, or when neither meeting, directly provide the prompting creating group's failure or add as a friend mutually failure.
In order to further set forth method of the present invention, adding group be below specifically described for user A and user B, Fig. 3 is the specific implementation flow chart that user A of the present invention and user B adds group, as shown in the figure:
S11: user A motor menu enters and creates group.
S12: user A inputs gesture.
S13: user A client sends out gesture information.
S14: user B clicks menu enters establishment group.
S15: user B inputs gesture.
S16: user B client sends out gesture information.
Wherein, between S11-S13 and S14-S16, strictly do not distinguish sequencing, even as a kind of possible implementation, can walk abreast and carry out simultaneously.
S17: server receives each client message.
S18: judge whether both sides' distance conforms to a predetermined condition.
S19: when both sides' distance does not meet predetermined condition, user A and user B enters different group.
S20: judge that whether the gesture of A is consistent with the gesture of B.
S21: when the gesture of A and the gesture of B consistent time, user A and user B enters same group.
When the gesture of A and the gesture of B inconsistent time, return perform S19 user A and user B enter different group.
As the implementation that the another kind of method of the present invention is possible, refer to Fig. 4, Fig. 4 is the flow chart of the interpolation group of second embodiment of the invention or the method for good friend, the present embodiment is also be described with the angle of server, the method of the present embodiment is basically identical with the method flow of the method shown in Fig. 2, difference is, the present embodiment is when the distance of described first user and described second party user is in preset range, before judging that whether described first gesture information is consistent with described second gesture information, in the given time whether the further acquisition time judging first gesture information and the second gesture information, when first gesture and the second gesture information acquisition time in the given time time, perform again and judge the judgement whether first gesture information is consistent with the second gesture information and follow-up flow process, otherwise, described first user is added to different group from described second user or adds as a friend mutually the step of failure by execution.
That is, the method of the present embodiment, relative to the method shown in Fig. 2, further be used as decision condition with time user being inputted to gesture, only have the user meeting input gesture in the scheduled time just to carry out the checking of input gesture, the user for the input gesture exceeded beyond the scheduled time directly ignores or refuses to add group or good friend.Such as several friend because conferring certain details, the aspectant group that adds discusses, it is in fact just just meaningful under locality and special time that this discusses group.By the judgement to gesture input time, the user of request interpolation group again after exceeding the scheduled time can be got rid of.Such as company holds activity, several individuals of a certain performance group can be set up by the gesture of agreement and enter the notice that group discusses or carry out dependencies within this active stage of office, but, after corporate activity terminates, this group obviously there will be no people to add, or request add be also harassing and wrecking user.As long as input gesture time did not meet in the scheduled time, can these people be got rid of outside group, avoid unnecessary harassing and wrecking.
Certainly, as a kind of possible implementation, exceeding outside the scheduled time, needing add group or add as a friend if really had, by the restriction of the mode cancellation time of setting, thus user's open interpolation authority of carrying out can added to also needing.
The specific implementation process of other steps in embodiment illustrated in fig. 4 is referred to the explanation of Fig. 2 relevant portion, do not repeating at this.
The interpolation group that the above embodiment of the present invention provides or the method for good friend, when carrying out interpolation group or good friend, first judge ask add user between distance whether at preset range, when asking the distance between the user added in preset range, then by judging whether the gesture information of the user's input asking to add unanimously realizes the interpolation of group or good friend.By such mode, only just can add same group the user of the input same gesture information of preset distance and add as a friend mutually.Do not need to ask between the user of interpolation, to pass through repeatedly information interaction and just can complete the interpolation of group or good friend, simplify the operation greatly, effectively can ensure again the privacy of user simultaneously.
In addition, alternatively, decision condition is used as further with time user being inputted to gesture, only have the user meeting input gesture in the scheduled time just to carry out inputting the judgement of gesture, the user for the input gesture exceeded beyond the scheduled time directly ignores or refuses to add group or good friend.As long as input gesture time did not meet in the scheduled time, can these people be got rid of outside group, avoid unnecessary harassing and wrecking.
Refer to Fig. 5, Fig. 5 is a kind of flow chart adding the method for group or good friend that third embodiment of the invention provides, the present embodiment is still described with the angle of server, the method of the present embodiment is based on setting up group and setting is added on the basis of certification gesture of group, or the requested user added as a friend set certification gesture plusing good friend basis on realize.As shown in the figure, the method for the present embodiment comprises above step:
S301: server obtains the gesture information of requesting party user.
In the IM communication module server of application A PP, realize an api interface, such as joinImGroup (), the behavior come adding group or good friend by this interface is judged.
When requesting party user selects to add group or good friend by gesture, server obtains the gesture information that requesting party user inputs at hand gesture recognition interface.Such as user A request adds group B or user A request, and to add user B be good friend, and user A is here requesting party user, and keeper or the user B of group B are Requested Party user.
S302: judge that the distance of requesting party user and Requested Party user is whether in preset range.
When receiving the gesture information of requesting party user, first judge that the distance of requesting party user and Requested Party user is whether in preset range.Here preset range can be the distance range pre-set, the distance range within such as 100 meters.For example, such as aspectant interpolation group or good friend.
Wherein, when specifically judging that the distance of requesting party user and Requested Party user is whether in preset range, illustrate as one, can by obtaining the geographical location information of requesting party user and Requested Party user in the present invention, such as client determines the geographical location information of requesting party user and Requested Party user by GPS navigation system, the geographical location information of requesting party user and Requested Party user is sent to server, server is according to the geographical location information of requesting party user and Requested Party user, judge that the distance of requesting party user and Requested Party user is whether in preset range.
Certainly, also distance between requesting party user and Requested Party user can be judged in other way whether in preset range, such as other possible implementations, same local area network (LAN) whether can be in by judging requesting party user and Requested Party user or the mode of closely sensing apparatus etc. of requesting party user and Requested Party user place client that whether can detect judges that both distances are whether in preset range.
When the distance determining requesting party user and Requested Party user is in preset range, continue to perform S303, otherwise, perform S305.
S303: judge that whether the gesture information of requesting party user is consistent with the gesture information of Requested Party user preset.
When the cluster of requesting party user and Requested Party user is in preset range, judge that whether the gesture information of requesting party user is consistent with the certification gesture information that Requested Party user pre-sets, if unanimously, perform S304, otherwise, perform S305.
S304: requesting party user added the group of Requested Party user or add as a friend mutually with Requested Party user.
When the distance of requesting party user and Requested Party user is in preset range, and when requesting party user is consistent with the gesture information of Requested Party user preset, requesting party user is added the group of Requested Party user or add as a friend mutually with Requested Party user.
That is, the method for the present embodiment be setting up group and setting is added on the basis of the certification gesture of group, or user's setting is realized on the basis of plusing good friend by gesture authentication.Such as user A creates group 1, and the certification gesture that setting adds group 1 is gesture 1, and the user of the input same gesture 1 so in preset range will be added in identical group 1.If or the certification gesture of user A setting interpolation good friend is gesture 2, all users of the output gesture 2 so in preset range will add as a friend mutually with user A.Like this, in preset range, as long as the identical gesture of input authentication gesture can realize many people add a certain group simultaneously, or set up friend relation with someone simultaneously, do not need to be verified one by one to add group or good friend.Simple and fast, greatly saves user time, can give the better experience of user again.
And based on the mode of the interpolation group in this predetermined distance range or good friend, by the checking of distance, can guarantee to add in group is all acquaintance at one's side, removes more other uncorrelated users not in scope, the people entering group is all limited in predetermined distance range.Avoid the checking request that other the uncorrelated users outside predetermined distance range send, and bring unnecessary data processing load.
Wherein, as a kind of possible implementation, requesting party user is added Requested Party user group or after adding as a friend mutually with Requested Party user, corresponding parameter identification can be returned to client.
Here parameter identification can be the parameter identification that group is relevant, such as group's number, group name, group series icon etc.Or also can be the mark, title etc. of the other user.Such as return the title, mark, icon etc. of Requested Party user to the client of requesting party user, the client to Requested Party user returns the title, mark, icon etc. of requesting party user.
S305: refusal adds group or adds as a friend failure mutually.
In method of the present invention, only have the distance of requesting party user and Requested Party user in preset range, and when the gesture of requesting party user's input is consistent with the gesture information that Requested Party is preset, just can successfully enters group or add as a friend.
When these two Rule of judgment have one of them or two conditions do not meet, namely when the distance of requesting party user and Requested Party user is not at preset range, and/or the gesture information of the gesture information of requesting party user and Requested Party user preset inconsistent time, prompting refusal add group or add as a friend failure mutually.
As the implementation that another kind is possible, in the method for the present embodiment, when the distance determining requesting party user and Requested Party user is in preset range, can also judge that requesting party user inputs the time of gesture information whether within the scheduled time further, when the time that requesting party user inputs gesture information is within the scheduled time, then the gesture information the carrying out requesting party user judgement whether consistent with the gesture information that Requested Party is preset with and subsequent step.
By being further used as decision condition to the time that requesting party user inputs gesture information, only having the requesting party user meeting input gesture in the scheduled time just to carry out the checking of gesture, directly ignoring for inputting the user that gesture request adds beyond exceeding the scheduled time.
Such as several friend because conferring certain details, the aspectant group that adds discusses, it is in fact just just meaningful under locality and special time that this discusses group.By the judgement to gesture input time, the user of request interpolation group again after exceeding the scheduled time can be got rid of.Such as company holds activity, several individuals of a certain performance group can be set up by the gesture of agreement and enter the notice that group discusses or carry out dependencies within this active stage of office, but, after corporate activity terminates, this group obviously there will be no people to add, or request add be also harassing and wrecking user.As long as input gesture time did not meet in the scheduled time, can these people be got rid of outside group, avoid unnecessary harassing and wrecking.
Certainly, as a kind of possible implementation, exceeding outside the scheduled time, needing add group or add as a friend if really had, by the restriction of the mode cancellation time of setting, thus user's open interpolation authority of carrying out can added to also needing.
Refer to Fig. 7, Fig. 7 is a kind of flow chart adding the method for group or good friend that fourth embodiment of the invention provides, and is described in the present embodiment with the angle of client, and as shown in the figure, the interpolation group of the present embodiment or the method for good friend comprise the following steps:
S401: client receives the first gesture information of first user and second gesture information of the second user, and first gesture information and the second gesture information are sent to server.
When user selects to add group or good friend by gesture, input gesture information by hand gesture recognition interface.The gesture information that user inputs is sent to server by client.Wherein, first user here and the second user, not refer in particular to, and just in order to divide into different users, first user and the second user can be multiple different users.The gesture information obtained also is the gesture information that different user inputs respectively.
Further, after gesture information is sent to server, client also obtains the geographical location information of first user and the second user further, and geographical location information is sent to server.
S402: determine the distance of first user and the second user in preset range at server, and first gesture information consistent with the second gesture information time, the corresponding parameter identification that reception server end returns, is added to same group by first user and the second user or adds as a friend mutually.
Server, after the first gesture information inputted respectively getting first user and the second user and the second gesture information, first judges to input distance between the different user of gesture information whether in preset range.Here preset range can be the distance range pre-set, the distance range within such as 100 meters.For example, such as aspectant interpolation group or good friend.
When judging that the distance of first user and the second user is in preset range, server judges that whether the first gesture information that first user inputs is consistent with the second gesture information that the second user inputs further, if consistent, corresponding parameter identification is returned to client, the parameter identification that client returns according to server, and in client first user and the second user be added to same group or add as a friend mutually.
Here parameter identification can be the parameter identification that group is relevant, such as group's number, group name, group series icon etc.Or also can be the mark, title etc. of the other user.Such as return the title, mark, icon etc. of the second user to the client of first user, the client to the second user returns the title, mark, icon etc. of first user.
Here the same group that first user and the second user add, all meet above decision condition in the distance of first user and the second user and gesture information (namely distance is in preset range, gesture information is consistent) when, the instant group set up.That is, by method of the present invention, two or more users in preset range, can arrange identical gesture information, immediately set up group and complete the process into group.
For example, have the people of identical mountain-climbing hobby to get together, for the ease of linking up and exchanging, can set up group, everybody makes a speech interchange in group.Everybody appoints the gesture of adding group, enters and creates group interface, and current user on the scene passes through to input the gesture reserved in advance, can realize current user on the scene and be added to same group.Like this, simplify the operating process that MSN adds group greatly, convenient and swift.Multiple user even can enter group by synchronization.
Again for example; user A meets with user B; think to add as a friend mutually; only needs input the gesture that two people appoint at plusing good friend interface; can realize adding as a friend mutually; and do not need by the request of the complexity a series of troublesome operation by certification, and simple and convenient, well can protect privacy of user again.
S403: first user is added to different group from the second user or adds as a friend failure mutually.
In method of the present invention, only have the user of the input same gesture in preset distance just can be added to same group or add as a friend mutually.When server determine these two Rule of judgment have one of them or two conditions do not meet time, namely when the distance of first user and the second user is not at preset range, and/or the gesture information of first user and the second user inconsistent time, first user can be added to different groups from the second user or add as a friend failure mutually by client respectively.
That is, the establishment of different group can be realized by arranging different distance ranges.Multiple users of the input same gesture in such as distance 2 meters add into group A, and multiple users of the input same gesture in outer 5 meters of distance 2 meters add group B.
Even if or the multiple users all in same distance range, also can by arranging different gestures respectively thus realizing the establishment of different group and enter.Multiple users such as in preset range 5 meters, what input gesture 1 enters group 1, and what input gesture 2 enters group 2.
Certainly, alternatively possible implementation, the distance of first user and the second user is determined not at preset range at server, or when the gesture information of first user and the second user is inconsistent, or when neither meeting, client directly provides the prompting creating group's failure or add as a friend mutually failure.
Alternatively implementation, when user end to server sends the geographical location information of first user and the second user, further information input time of first gesture information and the second gesture information can also be sent to server in the lump, judge gesture input time whether within the scheduled time with the time making server input with first gesture and the second gesture further in deterministic process, the specific implementation of server end refers to the detailed description of above embodiment.
Method of the present invention above, aims to provide the mode of a kind of more convenient interpolation group or good friend, when different user within the specific limits, can add the gesture operation of group interface by reaching in advance, and then complete the function of adding group.Even can limit the time that gesture adds group or good friend further, thus make the user of input agreement gesture in certain limit certain hour successfully could be added to same group or add as a friend mutually.Unnecessary interference is avoided to add information.
Refer to Fig. 8, Fig. 8 is the structural representation of a kind of MSN server that first embodiment of the invention provides, the MSN server of the present embodiment is for performing the method for above-mentioned Fig. 2-interpolation group embodiment illustrated in fig. 4 or good friend, as shown in the figure, the MSN server 100 of the present embodiment comprises acquisition module 11, judge module 12 and processing module 13, wherein:
Acquisition module 11 is for the second gesture information of the first gesture information and the second user that obtain first user.
When user selects to add group or good friend by operation, acquisition module 11 obtains the gesture information that user inputs at hand gesture recognition interface.Wherein, first user here and the second user, not refer in particular to, and just in order to divide into different users, first user and the second user can be multiple different users.The gesture information obtained also is the gesture information that different user inputs respectively.
Judge module 12 is for judging that the distance of first user and the second user is whether in preset range.
After acquisition module 11 gets the gesture information that different user inputs respectively, judge module 12 judges to input distance between the different user of gesture information whether in preset range.Here preset range can be the distance range pre-set, the distance range within such as 100 meters.For example, such as aspectant interpolation group or good friend.
Wherein, when specifically judging that the distance of first user and the second user is whether in preset range, illustrate as one, the geographical location information of first user and the second user can be obtained by acquisition module 11 in the present invention, such as client passes through the geographical location information of GPS navigation system determination first user and the second user, the geographical location information of first user and the second user is sent to server, the acquisition module 11 of server obtains the geographical location information of first user and the second user, judge module 12 is according to the geographical location information of first user and the second user, judge that the distance of first user and the second user is whether in preset range.
Certainly, as the implementation that other are possible, whether judge module 12 can also be in same local area network (LAN) by judging first user and the second user or the mode of closely sensing apparatus etc. of first user and the second user place client that whether can detect judges that both distances are whether in preset range.
Judge module 12 also for the distance at first user and the second user in preset range time, judge that whether first gesture information consistent with the second gesture information further.
When the distance determining first user and the second user is at preset range, judge module 12 judges that whether first gesture information is consistent with the second gesture information further.And judged result is exported to processing module 13 and process.
First user and the second user, for when first gesture information is consistent with the second gesture information, is added to same group or adds as a friend mutually by processing module 13.
When judge module 12 determines the distance of first user and the second user in preset range, and the first gesture information of first user consistent with second gesture information of the second user time, first user and the second user are added to same group or add as a friend mutually by processing module 13.
Here the same group that first user and the second user add, all meet above decision condition in the distance of first user and the second user and gesture information (namely distance is in preset range, gesture information is consistent) when, the instant group set up.That is, by method of the present invention, two or more users in preset range, can arrange identical gesture information, immediately set up group and complete the process into group.
Here the same group that first user and the second user add, all meet above decision condition in the distance of first user and the second user and gesture information (namely distance is in preset range, gesture information is consistent) when, the instant group set up.That is, by method of the present invention, two or more users in preset range, can arrange identical gesture information, immediately set up group and complete the process into group.
For example, have the people of identical mountain-climbing hobby to get together, for the ease of linking up and exchanging, can set up group, everybody makes a speech interchange in group.Everybody appoints the gesture of adding group, enters and creates group interface, and current user on the scene passes through to input the gesture reserved in advance, can realize current user on the scene and be added to same group.Like this, simplify the operating process that MSN adds group greatly, convenient and swift.Multiple user even can enter group by synchronization.
Again for example; user A meets with user B; think to add as a friend mutually; only needs input the gesture that two people appoint at plusing good friend interface; can realize adding as a friend mutually; and do not need by the request of the complexity a series of troublesome operation by certification, and simple and convenient, well can protect privacy of user again.
Wherein, as a kind of possible implementation, first user and the second user are being added to same group or after adding as a friend mutually, are controlling further to return corresponding parameter identification to client by processing module 13.
Here parameter identification can be the parameter identification that group is relevant, such as group's number, group name, group series icon etc.Or also can be the mark, title etc. of the other user.Such as return the title, mark, icon etc. of the second user to the client of first user, the client to the second user returns the title, mark, icon etc. of first user.
Wherein, processing module 13 also for the distance at first user and the second user not in preset range time, first user is added to different group from the second user or adds as a friend failure mutually; Or first gesture information and the second gesture information inconsistent time, first user is added to different group from the second user or adds as a friend failure mutually.
In method of the present invention, only have the user of the input same gesture in preset distance just can be added to same group or add as a friend mutually.When these two Rule of judgment have one of them or two conditions do not meet, namely when the distance of first user and the second user is not at preset range, and/or the gesture information of first user and the second user inconsistent time, first user can be added to different groups from the second user or add as a friend failure mutually by processing module 13 respectively.
In method of the present invention, only have the user of the input same gesture in preset distance just can be added to same group or add as a friend mutually.When these two Rule of judgment have one of them or two conditions do not meet, namely when the distance of first user and the second user is not at preset range, and/or the gesture information of first user and the second user inconsistent time, first user can be added to different groups respectively from the second user or add as a friend failure mutually.
That is, the establishment of different group can be realized by arranging different distance ranges.Multiple users of the input same gesture in such as distance 2 meters add into group A, and multiple users of the input same gesture in outer 5 meters of distance 2 meters add group B.
Even if or the multiple users all in same distance range, also can by arranging different gestures respectively thus realizing the establishment of different group and enter.Multiple users such as in preset range 5 meters, what input gesture 1 enters group 1, and what input gesture 2 enters group 2.
Certainly, alternatively possible implementation, in the distance of first user and the second user not at preset range, or when the gesture information of first user and the second user is inconsistent, or when neither meeting, processing module 13 directly provides the prompting creating group's failure or add as a friend mutually failure.
As in the implementation that another kind is possible, whether in the given time judge module 12 also for before judging that whether first gesture information is consistent with the second gesture information, judges the acquisition time of first gesture information and the second gesture information.
When first gesture and the second gesture information acquisition time in the given time time, perform again and judge the judgement whether first gesture information is consistent with the second gesture information and follow-up flow process, otherwise, perform and first user be added to different group from the second user or add as a friend mutually the step of failure.
That is, Rule of judgment can also be used as with time user being inputted to gesture further by judge module 12, only have the user meeting input gesture in the scheduled time just to carry out the checking of input gesture, the user for the input gesture exceeded beyond the scheduled time directly ignores or refuses to add group or good friend.
Such as several friend because conferring certain details, the aspectant group that adds discusses, it is in fact just just meaningful under locality and special time that this discusses group.By the judgement to gesture input time, the user of request interpolation group again after exceeding the scheduled time can be got rid of.Such as company holds activity, several individuals of a certain performance group can be set up by the gesture of agreement and enter the notice that group discusses or carry out dependencies within this active stage of office, but, after corporate activity terminates, this group obviously there will be no people to add, or request add be also harassing and wrecking user.As long as input gesture time did not meet in the scheduled time, can these people be got rid of outside group, avoid unnecessary harassing and wrecking.
Certainly, as a kind of possible implementation, exceeding outside the scheduled time, needing add group or add as a friend if really had, by the restriction of the mode cancellation time of setting, thus user's open interpolation authority of carrying out can added to also needing.
Refer to Fig. 9, Fig. 9 is the structural representation of a kind of MSN server that second embodiment of the invention provides, the MSN server of the present embodiment is for performing the method for above-mentioned interpolation group embodiment illustrated in fig. 5 or good friend, as shown in the figure, the instant communication server 200 of the present embodiment comprises acquisition module 21, judge module 22 and processing module 23, wherein:
Acquisition module 21 is for obtaining the gesture information of requesting party user.
When requesting party user selects to add group or good friend by gesture, acquisition module 21 obtains the gesture information that requesting party user inputs at hand gesture recognition interface.Such as user A request adds group B or user A request, and to add user B be good friend, and user A is here requesting party user, and keeper or the user B of group B are Requested Party user.
Judge module 22 is for judging that the distance of requesting party user and Requested Party user is whether in preset range.
When acquisition module 21 gets the gesture information of requesting party user, first judge module 22 judges that the distance of requesting party user and Requested Party user is whether in preset range.Here preset range can be the distance range pre-set, the distance range within such as 100 meters.For example, such as aspectant interpolation group or good friend.
Wherein, when specifically judging that the distance of requesting party user and Requested Party user is whether in preset range, as a kind of distance, the geographical location information of requesting party user and Requested Party user can in the present invention, be obtained by acquisition module 21.Such as client determines the geographical location information of requesting party user and Requested Party user by GPS navigation system, the geographical location information of requesting party user and Requested Party user is sent to server, the acquisition module 21 of server obtains the geographical location information of requesting party user and Requested Party user, judge module 22, according to the geographical location information of requesting party user and Requested Party user, judges that the distance of requesting party user and Requested Party user is whether in preset range.
Certainly, judge module 22 also can judge distance between requesting party user and Requested Party user in other way whether in preset range.Such as other possible implementations, whether judge module 22 can be in same local area network (LAN) by judging requesting party user and Requested Party user or the mode of closely sensing apparatus etc. of requesting party user and Requested Party user place client that whether can detect judges that both distances are whether in preset range.
Judge module 22, also for when the distance of requesting party user and Requested Party user is in preset range, judges that whether the gesture information of requesting party user is consistent with the gesture information of Requested Party user preset further.
When the distance determining requesting party user and Requested Party user is in preset range, judge module 22 judges that whether the gesture information of requesting party user is consistent with the gesture information of Requested Party user preset further.And judged result is exported to processing module 23.
Requesting party user, for when the gesture information of requesting party user is consistent with the gesture information of Requested Party user preset, is added the group of Requested Party user or adds as a friend mutually with Requested Party user by processing module 23.
When judge module 22 determines the distance of requesting party user and Requested Party user in preset range, and requesting party user consistent with the gesture information of Requested Party user preset time, requesting party user is added the group of Requested Party user or adds as a friend mutually with Requested Party user by processing module 23.
That is, the method for the present embodiment be setting up group and setting is added on the basis of the certification gesture of group, or user's setting is realized on the basis of plusing good friend by gesture authentication.Such as user A creates group 1, and the certification gesture that setting adds group 1 is gesture 1, and the user of the input same gesture 1 so in preset range will be added in identical group 1.If or the certification gesture of user A setting interpolation good friend is gesture 2, all users of the output gesture 2 so in preset range will add as a friend mutually with user A.Like this, in preset range, as long as the identical gesture of input authentication gesture can realize many people add a certain group simultaneously, or set up friend relation with someone simultaneously, do not need to be verified one by one to add group or good friend.Simple and fast, greatly saves user time, can give the better experience of user again.
And based on the mode of the interpolation group in this predetermined distance range or good friend, by the checking of distance, can guarantee to add in group is all acquaintance at one's side, removes more other uncorrelated users not in scope, the people entering group is all limited in predetermined distance range.Avoid the checking request that other the uncorrelated users outside predetermined distance range send, and bring unnecessary data processing load.
Wherein, as a kind of possible implementation, requesting party user is being added the group of Requested Party user or after adding as a friend mutually with Requested Party user, processing module 23 can also control to return corresponding parameter identification to client.
Here parameter identification can be the parameter identification that group is relevant, such as group's number, group name, group series icon etc.Or also can be the mark, title etc. of the other user.Such as return the title, mark, icon etc. of Requested Party user to the client of requesting party user, the client to Requested Party user returns the title, mark, icon etc. of requesting party user.
Wherein, processing module 23 is also for the distance no longer preset range requesting party user and Requested Party user, and/or the gesture information of the gesture information of requesting party user and Requested Party user preset inconsistent time, prompting refusal add group or add as a friend failure mutually.As the implementation that another kind is possible, in the method for the present embodiment, when the distance determining requesting party user and Requested Party user is in preset range, judge module 22 can also judge that requesting party user inputs the time of gesture information whether within the scheduled time further, when the time that requesting party user inputs gesture information is within the scheduled time, then the gesture information the carrying out requesting party user judgement whether consistent with the gesture information that Requested Party is preset with and subsequent step.
By being further used as decision condition to the time that requesting party user inputs gesture information, only having the requesting party user meeting input gesture in the scheduled time just to carry out the checking of gesture, directly ignoring for inputting the user that gesture request adds beyond exceeding the scheduled time.
Such as several friend because conferring certain details, the aspectant group that adds discusses, it is in fact just just meaningful under locality and special time that this discusses group.By the judgement to gesture input time, the user of request interpolation group again after exceeding the scheduled time can be got rid of.Such as company holds activity, several individuals of a certain performance group can be set up by the gesture of agreement and enter the notice that group discusses or carry out dependencies within this active stage of office, but, after corporate activity terminates, this group obviously there will be no people to add, or request add be also harassing and wrecking user.As long as input gesture time did not meet in the scheduled time, can these people be got rid of outside group, avoid unnecessary harassing and wrecking.
Certainly, as a kind of possible implementation, exceeding outside the scheduled time, needing add group or add as a friend if really had, by the restriction of the mode cancellation time of setting, thus user's open interpolation authority of carrying out can added to also needing.
Refer to Fig. 9, Fig. 9 is the structural representation of a kind of instant communication software client terminal that the embodiment of the present invention provides, and the instant communication software client terminal 300 of the present embodiment is for performing the method for above-mentioned interpolation group embodiment illustrated in fig. 7 or good friend.As shown in the figure, the instant communication software client terminal 300 of the present embodiment comprises receiver module 31, sending module 32 and processing module 33, wherein:
Receiver module 31 is for the second gesture information of the first gesture information and the second user that receive first user.
When user selects to add group or good friend by gesture, input gesture information by hand gesture recognition interface.Wherein, first user here and the second user, not refer in particular to, and just in order to divide into different users, first user and the second user can be multiple different users.The gesture information obtained also is the gesture information that different user inputs respectively.
Sending module 32 is for sending to server by first gesture information and the second gesture information.
The first gesture information of first user that sending module Final 32 receiver module 31 receives and second gesture information of the second user, send to server.
Further the, after gesture information is sent to server, receiver module 31 also receives the geographical location information of first user and the second user further, by sending module 32, geographical location information is sent to server.
Receiver module 31 determines the distance of first user and the second user in preset range at server further, and when first gesture information is consistent with described second gesture information, the corresponding parameter identification that reception server end returns;
Server, after the first gesture information inputted respectively getting first user and the second user and the second gesture information, first judges to input distance between the different user of gesture information whether in preset range.Here preset range can be the distance range pre-set, the distance range within such as 100 meters.For example, such as aspectant interpolation group or good friend.
When judging that the distance of first user and the second user is in preset range, server judges that whether the first gesture information that first user inputs is consistent with the second gesture information that the second user inputs further, if consistent, corresponding parameter identification is returned, the parameter identification that receiver module 31 reception server returns to client.
Here parameter identification can be the parameter identification that group is relevant, such as group's number, group name, group series icon etc.Or also can be the mark, title etc. of the other user.Such as return the title, mark, icon etc. of the second user to the client of first user, the client to the second user returns the title, mark, icon etc. of first user.
First user and described second user, according to corresponding parameter identification, are added to same group or add as a friend mutually by processing module 33.
The parameter identification that processing module 33 returns according to server, and in client first user and the second user be added to same group or add as a friend mutually.
Here the same group that first user and the second user add, all meet above decision condition in the distance of first user and the second user and gesture information (namely distance is in preset range, gesture information is consistent) when, the instant group set up.That is, by method of the present invention, two or more users in preset range, can arrange identical gesture information, immediately set up group and complete the process into group.
For example, have the people of identical mountain-climbing hobby to get together, for the ease of linking up and exchanging, can set up group, everybody makes a speech interchange in group.Everybody appoints the gesture of adding group, enters and creates group interface, and current user on the scene passes through to input the gesture reserved in advance, can realize current user on the scene and be added to same group.Like this, simplify the operating process that MSN adds group greatly, convenient and swift.Multiple user even can enter group by synchronization.
Again for example; user A meets with user B; think to add as a friend mutually; only needs input the gesture that two people appoint at plusing good friend interface; can realize adding as a friend mutually; and do not need by the request of the complexity a series of troublesome operation by certification, and simple and convenient, well can protect privacy of user again.
Processing module 33 is also for determining the distance of first user and the second user not at preset range at server, and/or the gesture information of first user and the second user inconsistent time, first user be added to different groups respectively from the second user or point out add as a friend failure mutually.
In embodiments of the invention, only have the user of the input same gesture in preset distance just can be added to same group or add as a friend mutually.When server determine these two Rule of judgment have one of them or two conditions do not meet time, namely when the distance of first user and the second user is not at preset range, and/or the gesture information of first user and the second user inconsistent time, first user can be added to different groups from the second user or point out and add as a friend failure mutually by client respectively.
That is, the establishment of different group can be realized by arranging different distance ranges.Multiple users of the input same gesture in such as distance 2 meters add into group A, and multiple users of the input same gesture in outer 5 meters of distance 2 meters add group B.
Even if or the multiple users all in same distance range, also can by arranging different gestures respectively thus realizing the establishment of different group and enter.Multiple users such as in preset range 5 meters, what input gesture 1 enters group 1, and what input gesture 2 enters group 2.
Certainly, alternatively possible implementation, the distance of first user and the second user is determined not at preset range at server, or when the gesture information of first user and the second user is inconsistent, or when neither meeting, processing module 33 directly provides the prompting creating group's failure or add as a friend mutually failure.
Alternatively implementation, when sending module 32 sends the geographical location information of first user and the second user to server, further information input time of first gesture information and the second gesture information can also be sent to server in the lump, judge gesture input time whether within the scheduled time with the time making server input with first gesture and the second gesture further in deterministic process, the specific implementation of server end refers to the detailed description of above embodiment.
On the instant communication software client terminal provided in above embodiment and the basis of server, the embodiment of the present invention provides a kind of instant communicating system further, this instant communicating system comprises the client and server described in above-described embodiment, the concrete function of client and server realizes the detailed description referring to above-described embodiment, does not repeat them here.
The detailed description of the interpolation group that the invention described above embodiment provides or the method for good friend and server, client, be appreciated that, the present invention is when carrying out interpolation group or good friend, first judge ask add user between distance whether at preset range, when asking the distance between the user added in preset range, then by judging whether the gesture information of the user's input asking to add unanimously realizes the interpolation of group or good friend.By such mode, only just can add same group the user of the input same gesture information of preset distance and add as a friend mutually.Do not need to ask between the user of interpolation, to pass through repeatedly information interaction and just can complete the interpolation of group or good friend, simplify the operation greatly, effectively can ensure again the privacy of user simultaneously.And successfully could be added to same group by the user limited in predetermined distance range or add as a friend mutually, also ensure that the user entered in group is acquaintance at one's side to a certain extent, thus can the safety of effective guarantee user and group information.
In addition, alternatively, decision condition is used as further with time user being inputted to gesture, only have the user meeting input gesture in the scheduled time just to carry out inputting the judgement of gesture, the user for the input gesture exceeded beyond the scheduled time directly ignores or refuses to add group or good friend.As long as input gesture time did not meet in the scheduled time, can these people be got rid of outside group, avoid unnecessary harassing and wrecking.
In several embodiment provided by the present invention, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described module or unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (14)

1. add a group or good friend's method, it is characterized in that, described method comprises:
Server obtains the first gesture information of first user and second gesture information of the second user;
Judge that the distance of described first user and described second user is whether in preset range;
When the distance of described first user and described second party user is in preset range, judge that whether described first gesture information is consistent with described second gesture information;
When described first gesture information is consistent with described second gesture information, described first user and described second user are added to same group or add as a friend mutually.
2. method according to claim 1, is characterized in that, the step of the described distance judging described first user and described second user whether in preset range comprises:
Obtain the geographical location information of described first user and described second user;
According to described geographical location information, judge that the distance of described first user and described second user is whether in preset range.
3. method according to claim 1, is characterized in that, described when described first gesture information is consistent with described second gesture information, after described first user and described second user are added to same group or add as a friend mutually, also comprises:
Corresponding parameter identification is returned to client.
4. method according to claim 1, is characterized in that, described method also comprises:
When the distance of described first user and described second user is not in preset range, described first user is added to different group from described second user or adds as a friend failure mutually; Or
When described first gesture information and described second gesture information inconsistent time, described first user is added to different group from described second user or adds as a friend failure mutually.
5. method according to claim 1, is characterized in that, when the described distance as described first user and described second party user is in preset range, before judging that whether described first gesture information is consistent with described second gesture information, also comprises:
Whether in the given time to judge the acquisition time of described first gesture information and described second gesture information;
When first gesture information and the second gesture information acquisition time in the given time time, judge that whether described first gesture information consistent with described second gesture information.
6. add a group or good friend's method, it is characterized in that, described method comprises:
Server obtains the gesture information of requesting party user;
Judge that the distance of described request side user and described Requested Party user is whether in preset range;
When the distance of described request side user and Requested Party user is in preset range, judge that whether the gesture information of described request side user is consistent with the gesture information of Requested Party user preset;
When the gesture information of described request side user is consistent with the gesture information of Requested Party user preset, described request side user is added the group of described Requested Party user or add as a friend mutually with described Requested Party user.
7. add a group or good friend's method, it is characterized in that, described method comprises:
Client receives the first gesture information of first user and second gesture information of the second user, and described first gesture information and described second gesture information are sent to server;
The distance of described first user and described second user is determined in preset range at server, and described first gesture information consistent with described second gesture information time, the corresponding parameter identification that reception server end returns, is added to same group by described first user and described second user or adds as a friend mutually.
8. a MSN server, is characterized in that, described server comprises acquisition module, judge module and processing module, wherein:
Described acquisition module is for the second gesture information of the first gesture information and the second user that obtain first user;
Described judge module is for judging that the distance of described first user and described second user is whether in preset range;
Described judge module also for the distance at described first user and described second user in preset range time, judge that whether described first gesture information consistent with described second gesture information further;
Described processing module is used for when described first gesture information is consistent with described second gesture information, and described first user and described second user are added to same group or add as a friend mutually.
9. server according to claim 8, is characterized in that, described acquisition module is also for obtaining the geographical location information of described first user and described second user;
Described judge module is used for according to described geographical location information, judges that the distance of described first user and described second user is whether in preset range.
10. server according to claim 8, is characterized in that, described processing module also for after described first user and described second user being added to same group or adding as a friend mutually, returns corresponding parameter identification to client.
11. servers according to claim 8, it is characterized in that, whether in the given time described judge module also for before judging that whether first gesture information is consistent with described second gesture information, judges the acquisition time of described first gesture information and the second gesture information.
12. 1 kinds of instant communication servers, is characterized in that, described server comprises acquisition module, judge module and processing module, wherein:
Described acquisition module is for obtaining the gesture information of requesting party user;
Described judge module is for judging that the distance of described request side user and described Requested Party user is whether in preset range;
Described judge module, also for when the distance of described request side user and Requested Party user is in preset range, judges that whether the gesture information of described request side user is consistent with the gesture information of Requested Party user preset further;
Described processing module is used for when the gesture information of described request side user is consistent with the gesture information of Requested Party user preset, described request side user is added the group of described Requested Party user or adds as a friend mutually with described Requested Party user.
13. 1 kinds of instant communication software client terminals, is characterized in that, described client comprises receiver module, sending module and processing module, wherein:
Described receiver module is for the second gesture information of the first gesture information and the second user that receive described first user;
Described sending module is used for described first gesture information and described second gesture information to send to server;
Described receiver module determines the distance of described first user and described second user in preset range at server further, and when described first gesture information is consistent with described second gesture information, the corresponding parameter identification that reception server end returns;
Described first user and described second user, according to corresponding parameter identification, are added to same group or add as a friend mutually by described processing module.
14. 1 kinds of instant communicating systems, is characterized in that, described instant communicating system comprises the server described in any one of claim 8-12 and the client described in any one of claim 13.
CN201510812449.2A 2015-11-20 2015-11-20 Method for adding group or friend, server, client and system Pending CN105407041A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510812449.2A CN105407041A (en) 2015-11-20 2015-11-20 Method for adding group or friend, server, client and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510812449.2A CN105407041A (en) 2015-11-20 2015-11-20 Method for adding group or friend, server, client and system

Publications (1)

Publication Number Publication Date
CN105407041A true CN105407041A (en) 2016-03-16

Family

ID=55472300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510812449.2A Pending CN105407041A (en) 2015-11-20 2015-11-20 Method for adding group or friend, server, client and system

Country Status (1)

Country Link
CN (1) CN105407041A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933863A (en) * 2016-04-15 2016-09-07 北京搜狗科技发展有限公司 Friend adding method and device and electronic equipment
CN106557376A (en) * 2016-11-30 2017-04-05 北京奇虎科技有限公司 Terminal unit and its group's foundation, Adding Way and device and server
CN107231342A (en) * 2016-03-24 2017-10-03 卡西欧计算机株式会社 terminal, server, system, management method and recording medium
CN107272903A (en) * 2017-06-26 2017-10-20 王田 Social intercourse system based on image processing algorithm
CN107682250A (en) * 2017-10-18 2018-02-09 上海掌门科技有限公司 A kind of method and apparatus for being used to perform social operation
CN108540374A (en) * 2018-03-26 2018-09-14 平安普惠企业管理有限公司 Information processing method, device, equipment based on instant messaging and storage medium
CN109603160A (en) * 2019-01-28 2019-04-12 网易(杭州)网络有限公司 Method and device, the electronic equipment, storage medium of good friend are added in game
CN110515458A (en) * 2019-08-21 2019-11-29 深圳市商汤科技有限公司 A kind of group creating method and device, electronic equipment, storage medium
CN111556428A (en) * 2019-01-23 2020-08-18 深圳米汇科技有限公司 Method and device for adding friends in instant messaging
CN114915510A (en) * 2022-05-11 2022-08-16 北京蜂巢世纪科技有限公司 Group chat joining method and device, intelligent head-mounted device and readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006552A (en) * 2010-11-22 2011-04-06 上海合合信息科技发展有限公司 Method for creating contact group based on geographical location information
CN103345361A (en) * 2013-06-26 2013-10-09 腾讯科技(北京)有限公司 Group joining method and relevant devices and systems
CN103365597A (en) * 2013-07-07 2013-10-23 广州市沃希信息科技有限公司 Electronic equipment communication method, electronic equipment and electronic equipment communication system
EP2661108A1 (en) * 2010-12-27 2013-11-06 Tencent Technology (Shenzhen) Company Limited Method, terminal and server for adding user association relationship
US20130300546A1 (en) * 2012-04-13 2013-11-14 Samsung Electronics Co., Ltd. Remote control method and apparatus for terminals
CN103873426A (en) * 2012-12-10 2014-06-18 腾讯科技(深圳)有限公司 Method for joining social group, server, terminal and system
CN103973900A (en) * 2014-05-26 2014-08-06 小米科技有限责任公司 Method and device for sending messages
CN104468335A (en) * 2014-12-11 2015-03-25 北京奇虎科技有限公司 Communication method and device based on relative position information

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006552A (en) * 2010-11-22 2011-04-06 上海合合信息科技发展有限公司 Method for creating contact group based on geographical location information
EP2661108A1 (en) * 2010-12-27 2013-11-06 Tencent Technology (Shenzhen) Company Limited Method, terminal and server for adding user association relationship
US20130300546A1 (en) * 2012-04-13 2013-11-14 Samsung Electronics Co., Ltd. Remote control method and apparatus for terminals
CN103873426A (en) * 2012-12-10 2014-06-18 腾讯科技(深圳)有限公司 Method for joining social group, server, terminal and system
CN103345361A (en) * 2013-06-26 2013-10-09 腾讯科技(北京)有限公司 Group joining method and relevant devices and systems
CN103365597A (en) * 2013-07-07 2013-10-23 广州市沃希信息科技有限公司 Electronic equipment communication method, electronic equipment and electronic equipment communication system
CN103973900A (en) * 2014-05-26 2014-08-06 小米科技有限责任公司 Method and device for sending messages
CN104468335A (en) * 2014-12-11 2015-03-25 北京奇虎科技有限公司 Communication method and device based on relative position information

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107231342A (en) * 2016-03-24 2017-10-03 卡西欧计算机株式会社 terminal, server, system, management method and recording medium
CN105933863A (en) * 2016-04-15 2016-09-07 北京搜狗科技发展有限公司 Friend adding method and device and electronic equipment
CN106557376A (en) * 2016-11-30 2017-04-05 北京奇虎科技有限公司 Terminal unit and its group's foundation, Adding Way and device and server
CN107272903A (en) * 2017-06-26 2017-10-20 王田 Social intercourse system based on image processing algorithm
CN107682250B (en) * 2017-10-18 2020-09-08 上海掌门科技有限公司 Method and equipment for executing social operation
CN107682250A (en) * 2017-10-18 2018-02-09 上海掌门科技有限公司 A kind of method and apparatus for being used to perform social operation
CN108540374A (en) * 2018-03-26 2018-09-14 平安普惠企业管理有限公司 Information processing method, device, equipment based on instant messaging and storage medium
CN111556428A (en) * 2019-01-23 2020-08-18 深圳米汇科技有限公司 Method and device for adding friends in instant messaging
CN109603160A (en) * 2019-01-28 2019-04-12 网易(杭州)网络有限公司 Method and device, the electronic equipment, storage medium of good friend are added in game
CN110515458A (en) * 2019-08-21 2019-11-29 深圳市商汤科技有限公司 A kind of group creating method and device, electronic equipment, storage medium
CN110515458B (en) * 2019-08-21 2021-09-14 深圳市商汤科技有限公司 Group creation method and device, electronic device and storage medium
CN114915510A (en) * 2022-05-11 2022-08-16 北京蜂巢世纪科技有限公司 Group chat joining method and device, intelligent head-mounted device and readable storage medium
CN114915510B (en) * 2022-05-11 2023-08-11 北京蜂巢世纪科技有限公司 Group chat joining method and device, intelligent head-mounted device and readable storage medium

Similar Documents

Publication Publication Date Title
CN105407041A (en) Method for adding group or friend, server, client and system
CN110263936B (en) Horizontal federal learning method, device, equipment and computer storage medium
US10063547B2 (en) Authorization authentication method and apparatus
CN102299954B (en) For the context-specific network resource addressing system and method for Distributed Services
WO2017172423A1 (en) Multi-modal conversational intercom
CN103124267B (en) The method, system and the cloud server that log in/register is carried out by mobile terminal
CN104796310B (en) Social communication method and system
CN103152402A (en) Method and system for logging in through mobile terminal and cloud server
CN102710549B (en) To be established a communications link the method for relation, terminal and system by shooting
CN108886472A (en) cross-mode communication
CN105530683A (en) Network connection method and apparatus
CN104333530B (en) Information credibility verification method and device
CN103873426A (en) Method for joining social group, server, terminal and system
CN111049946B (en) Portal authentication method, portal authentication system, electronic equipment and storage medium
CN103139182A (en) Method, client end, server and system allowing user to visit
US9362773B2 (en) Method and apparatus for determination of a non-charging operation
CN103595818A (en) Method and device for sharing among circle of friends
CN103997521A (en) File operating method and device based on router and router
CN106506443A (en) A kind of information inspection method and device
CN104980420A (en) Business processing method, device, terminal and server
CN105790944B (en) A kind of method for network authorization and device based on wechat
CN109040050A (en) Data interactive method and Related product
CN105812343A (en) Wearable service authentication method, cloud platform, wearable device and terminal
CN102137045A (en) Method and system for implementing group information interaction on community platform
CN109391472A (en) Wireless network authentication method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160316