CN103338248B - A kind of method, system and device of two communication account number opening relationships - Google Patents

A kind of method, system and device of two communication account number opening relationships Download PDF

Info

Publication number
CN103338248B
CN103338248B CN201310258071.7A CN201310258071A CN103338248B CN 103338248 B CN103338248 B CN 103338248B CN 201310258071 A CN201310258071 A CN 201310258071A CN 103338248 B CN103338248 B CN 103338248B
Authority
CN
China
Prior art keywords
terminal
account number
communication account
request message
communications platform
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.)
Active
Application number
CN201310258071.7A
Other languages
Chinese (zh)
Other versions
CN103338248A (en
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.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing Co 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 Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201310258071.7A priority Critical patent/CN103338248B/en
Publication of CN103338248A publication Critical patent/CN103338248A/en
Application granted granted Critical
Publication of CN103338248B publication Critical patent/CN103338248B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a kind of method of two communication account number opening relationships, comprising: first terminal receives the first touch operation of user's input, the second terminal receives the second touch operation of described user input; Under described first touch operation and described second touch operation composition kneading gesture situation, described first terminal sends the first request message for asking described first communication account number and described second communication account number opening relationships to described communications platform; Described second terminal sends the second request message for account number opening relationships of asking described second communication account number to communicate with described first to described communications platform; Described communications platform is according to described first request message and described second request message, and communicate described first account number and the mutual opening relationships of described second communication account number.Correspondingly, the embodiment of the present invention also provides relevant system and device.The embodiment of the present invention can simplify the process of communication account number opening relationships.

Description

A kind of method, system and device of two communication account number opening relationships
Technical field
The present invention relates to the communications field, particularly relate to a kind of method, system and device of two communication account number opening relationships.
Background technology
Along with the development of Internet technology, internet, applications has become must be obligato in people's life.Wherein, the account number that communicates in internet, applications applies very widely, the application such as by communication account number, people can to communicate with other that account number carries out chatting, information sharing and file transfer, these communication account numbers must get the communication account number of the other side each other before this, and opening relationships, as friend relation, the relation mutually listened to or the mutual relation paid close attention to.Mainly inputted at present the communication account number of the other side to the communication account number of the other side or user by web search, then with the communication account number opening relationships of the other side.And the charactor comparison that general communication account number comprises is long, the process of the account number opening relationships that communicates like this is with regard to more complicated.
Summary of the invention
Embodiments provide a kind of method, system and device of two communication account number opening relationships, the process of communication account number opening relationships can be simplified.
First aspect, the method for a kind of two communication account number opening relationships that the embodiment of the present invention provides, comprising:
First terminal receives the first touch operation of user's input, and the second terminal receives the second touch operation of described user input; Wherein, described first terminal is by the first communication account number logging on communication platform, and described second terminal logs in described communications platform by second communication account number;
Under described first touch operation and described second touch operation composition kneading gesture situation, described first terminal sends the first request message for asking described first communication account number and described second communication account number opening relationships to described communications platform; Described second terminal sends the second request message for account number opening relationships of asking described second communication account number to communicate with described first to described communications platform;
Described communications platform is according to described first request message and described second request message, and communicate described first account number and the mutual opening relationships of described second communication account number.
Second aspect, the embodiment of the present invention provides a kind of method of two communication account number opening relationships, comprising:
First terminal receives the first touch operation of user's input, and wherein, described first terminal is by the first communication account number logging on communication platform;
Receive under the second touch operation that described user inputs forms kneading gesture situation in described first touch operation and the second terminal, described first terminal sends the first request message for asking the first communication account number and second communication account number opening relationships to described communications platform, to make described communications platform according to described first request message and the second request message, by described first communication account number and the mutual opening relationships of described second communication account number, the described second request message request message for account number opening relationships of asking described second communication account number to communicate with described first that to be described second terminal send to described communications platform, described second communication account number logs in the communication account number that described communications platform uses for described second terminal.
The third aspect, the embodiment of the present invention provides a kind of system of two communication account number opening relationships, comprising: first terminal, the second terminal and communications platform, wherein:
Described first terminal, for receiving the first touch operation of user's input; Wherein, described first terminal is by the first communication account number logging on communication platform;
Described second terminal, for receiving the second touch operation of described user input; Wherein, described second terminal logs in described communications platform by second communication account number;
Described first terminal also under described first touch operation and described second touch operation composition kneading gesture situation, sends the first request message for asking described first communication account number and described second communication account number opening relationships to described communications platform;
Described second terminal, also under described first touch operation and described second touch operation composition kneading gesture situation, sends the second request message for account number opening relationships of asking described second communication account number to communicate with described first to described communications platform;
Described communications platform, for according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number.
Fourth aspect, the embodiment of the present invention provides a kind of device of two communication account number opening relationships, comprising: the first receiving element and the first transmitting element, wherein:
Described first receiving element, for receiving the first touch operation of user's input, wherein, described device is by the first communication account number logging on communication platform;
Described first transmitting element, under the second touch operation inputted for receiving described user in described first touch operation and the second terminal forms kneading gesture situation, the first request message for asking the first communication account number and second communication account number opening relationships is sent to described communications platform, to make described communications platform according to described first request message and the second request message, by described first communication account number and the mutual opening relationships of described second communication account number, the described second request message request message for account number opening relationships of asking described second communication account number to communicate with described first that to be described second terminal send to described communications platform, described second communication account number logs in the communication account number that described communications platform uses for described second terminal.
In technique scheme, first terminal and the second terminal receive the touch operation of user's input respectively, the touch operation composition kneading gesture that first terminal and the second terminal receive, first terminal and the second terminal send a request message respectively to communications platform again, communications platform receives request message, just can by the first communication account number and mutual opening relationships of second communication account number.Namely in the process of communication account number opening relationships, user only needs to carry out a kneading gesture to two terminals and just by communication account number opening relationships, thus can simplify the process of the account number opening relationships that communicates.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the method for a kind of two communication account number opening relationships that the embodiment of the present invention provides;
Fig. 2 is the operation chart of a kind of optional user operation two terminals that the embodiment of the present invention provides;
Fig. 3 is the schematic flow sheet of the method for another kind two the communication account number opening relationships that the embodiment of the present invention provides;
Fig. 4 is the schematic flow sheet of the method for another kind two the communication account number opening relationships that the embodiment of the present invention provides;
Fig. 5 is the schematic flow sheet of the method for another kind two the communication account number opening relationships that the embodiment of the present invention provides;
Fig. 6 is the schematic flow sheet of the method for another kind two the communication account number opening relationships that the embodiment of the present invention provides;
Fig. 7 is the schematic flow sheet of the method for another kind two the communication account number opening relationships that the embodiment of the present invention provides;
Fig. 8 is the structural representation of the system of a kind of two communication account number opening relationships that the embodiment of the present invention provides;
Fig. 9 is the structural representation of the device of a kind of two communication account number opening relationships that the embodiment of the present invention provides;
Figure 10 is the structural representation of the device of another kind two the communication account number opening relationships that the embodiment of the present invention provides;
Figure 11 is the structural representation of the device of another kind two the communication account number opening relationships that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In the embodiment of the present invention, terminal can comprise: the equipment such as panel computer, mobile phone, smart mobile phone.Communications account can be instant messaging account, social network services (Social Networking Services, SNS) account number, cell-phone number, email account etc., for identifying a unique communication user.
In the embodiment of the present invention, communications platform can be the server in communication system or the self-contained unit except server and terminal.Can be that these two communication account numbers are set up friend relation mutually by two mutual opening relationships of communication account number, mutual set up pay close attention to relation or mutually set up the relation listened to, such as: above-mentioned communication account number is instant messaging account number, can be just that this multiple instant messaging account number is set up friend relation mutually by the mutual opening relationships of multiple communication account numbers, as instant messaging account number A and instant messaging account number B, after these two communication account numbers are set up friend relation mutually, just instant messaging account number B can be comprised in the buddy list of instant messaging account number A, just instant messaging account number A can be comprised in the buddy list of instant messaging account number B.Such as: above-mentioned communication account number is SNS account (such as: microblogging), can be just these two SNS account are set up mutually the relation paid close attention to or listen to by two communication account number mutual opening relationships, i.e. this two SNS account phases relation of paying close attention to each other or listening to.
Fig. 1 is the schematic flow sheet of the method for a kind of two communication account number opening relationships that the embodiment of the present invention provides, and as shown in Figure 1, comprises the following steps:
S101, first terminal receive the first touch operation of user's input, and the second terminal receives the second touch operation of described user input; Wherein, described first terminal is by the first communication account number logging on communication platform, and described second terminal logs in described communications platform by second communication account number.
Namely first terminal and the second terminal account number of all passing through to communicate logs in same communications platform.
S102, under described first touch operation and described second touch operation composition kneading gesture situation, described first terminal sends the first request message for asking described first communication account number and described second communication account number opening relationships to described communications platform; Described second terminal sends the second request message for account number opening relationships of asking described second communication account number to communicate with described first to described communications platform.
In step S101, first terminal and the second terminal all can receive the touch operation of user's input, and these touch operations form a kneading gesture, and namely user inputs above-mentioned touch operation by a kneading gesture on first terminal and the second terminal.Wherein, above-mentioned touch operation can be lower stroke or upper touch operation of drawing, or above-mentioned touch operation can be the touch operation for dragged image, namely terminal shows an image, and above-mentioned touch operation is exactly the operation dragging this image.Can be specifically first terminal and the second terminal demonstration one input touch operation touch area for user, in this touch area, then receive the touch operation of user's input.Such as: shown in Fig. 2, first terminal and the second terminal show the touch area 201 inputting touch operation for user, user is by the above-mentioned input touch operation in touch area 201 in first terminal and the second terminal of kneading gesture, and the touch track of this touch operation in touch area can white arrow 202 as shown in Figure 2.Namely user only needs just can to trigger first terminal and the second terminal by a kneading gesture and sends above-mentioned first request message and the second request message to communications platform.
S103, communications platform are according to described first request message and described second request message, and communicate described first account number and the mutual opening relationships of described second communication account number.
After communications platform receives above-mentioned request message, just can by the first communication account number and mutual opening relationships of second communication account number.
In technique scheme, first terminal and the second terminal receive the touch operation of user's input respectively, the touch operation composition kneading gesture that first terminal and the second terminal receive, first terminal and the second terminal send a request message respectively to communications platform again, communications platform receives request message, just can by the first communication account number and mutual opening relationships of second communication account number.Namely in the process of communication account number opening relationships, user only needs to carry out a kneading gesture to two terminals and just by communication account number opening relationships, thus can simplify the process of the account number opening relationships that communicates.
Fig. 3 is the schematic flow sheet of the method for another kind two the communication account number opening relationships that the embodiment of the present invention provides, and as shown in Figure 3, comprises the following steps:
S301, first terminal receive the first touch operation of user's input, and the second terminal receives the second touch operation of described user input; Wherein, described first terminal is by the first communication account number logging on communication platform, and described second terminal logs in described communications platform by second communication account number.
Can be specifically first terminal and the second terminal communication client, and when opening quick opening relationships function respectively, first terminal receives the first touch operation of user's input, the second terminal receives the second touch operation of described user input.
S302, under described first touch operation and described second touch operation composition kneading gesture situation, described first terminal sends the first request message for asking described first communication account number and described second communication account number opening relationships to described communications platform; Described second terminal sends the second request message for account number opening relationships of asking described second communication account number to communicate with described first to described communications platform; Wherein, described first request message comprises the first indication information, and the terminal that the distance between the geographical position that described first indication information is used to indicate geographical position and described first terminal is less than predeterminable range is described second terminal;
Described second request message comprises the second indication information, and the terminal that the distance between the geographical position that described second indication information is used to indicate geographical position and described second terminal is less than described predeterminable range is described first terminal.
Above-mentioned first request message it is also understood that as the first communication account number and the second terminal being logged in the communication account number opening relationships of described communications platform for asking, the second terminal be geographical position and described first terminal geographical position between distance be less than the terminal of predeterminable range.Above-mentioned second request message it is also understood that as the communication account number opening relationships for asking second communication account number and first terminal to log in described communications platform, first terminal be geographical position and described second terminal geographical position between distance be less than the terminal of predeterminable range.
Can be specifically when first terminal receives above-mentioned first touch operation, and under described first touch operation and described second touch operation composition kneading gesture situation, generate above-mentioned first indication information, and send above-mentioned first request message to communications platform.Second terminal can also be when receiving above-mentioned second touch operation, and under described first touch operation and described second touch operation composition kneading gesture situation, generates above-mentioned second indication information, and send above-mentioned second request message to communications platform.Wherein, above-mentioned predeterminable range can be arranged by the operation receiving user's input, can also be first terminal, the second terminal and communications platform consult in advance, such as: 0.1 meter or 0.05 meter etc.
S303, communications platform are according to described first request message and described second request message, and communicate described first account number and the mutual opening relationships of described second communication account number.
Can be specifically communications platform according to the first request message, the first indication information, the second request message and the second indication information, by described first communication account number and the mutual opening relationships of described second communication account number.Communications platform can also be first judge whether the distance between the address location of first terminal and the address location of the second terminal is less than predeterminable range, if so, then according to communicate described first account number and the mutual opening relationships of described second communication account number.
As the optional execution mode of one, before step S303, describedly can also to comprise:
S304, first terminal send the first geographic location information of described first terminal to described communications platform.
Wherein, the first geographic location information can comprise following at least one item:
Global positioning system (Global Positioning System, media access control layer (Media Access Control, the MAC) address information of locating information GPS), wireless network (such as: WiFi network), community (Cell) ID, IP address of base station.Namely communications platform just can know position residing for first terminal by above-mentioned information.
S305, the second terminal send the second geographic location information of described second terminal to described communications platform;
Wherein, the first geographic location information can comprise following at least one item:
Community (Cell) ID, IP address of the locating information of GPS, the mac address information of wireless network (such as: WiFi network), base station.Namely communications platform just can know position residing for the second terminal by above-mentioned information.
Wherein, step S304, step S305, step S301 and step S302 the present embodiment do not do execution sequence restriction to these steps.
S306, communications platform judge whether the distance between the address location represented by described first geographic location information and the geographical position represented by described second geographic location information is less than predeterminable range, if, then according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number.
First geographical location information and the distance each other of the geographical position represented by the second geographic location information are less than predeterminable range, and namely first terminal and the second terminal distance are each other less than predeterminable range.Wherein, above-mentioned predeterminable range can receive pre-setting of the operation of user by communications platform, such as: arranging above-mentioned predeterminable range is 0.1 meter or 0.05 meter etc., namely first terminal and the second terminal distance are each other less than 0.1 meter or 0.05 meter, as first terminal and the second terminal are positioned on same desk, and distance is each other less than 0.1 meter or 0.05 meter, such user just can carry out touch operation by a kneading gesture to first terminal and the second terminal, specifically can as shown in Fig. 2-2.
As the optional execution mode of one, before step S306, after step S305, described method can also comprise:
Communications platform judges whether the time of reception receiving described first geographical location information is less than preset time value with the time difference of the time of reception receiving described second geographical location information, if so, then performs step S306.Namely, only when the time of reception receiving described first geographical location information is less than preset time value with the time difference of the time of reception receiving described second geographical location information, communications platform just judges whether described first geographical location information and the distance each other of the geographical position represented by the second geographic location information are less than predeterminable range.Such as: the time of reception of described first request message is 10:00:00, and preset time value is 10 seconds, so only have when the time of reception of reception second request message is in this time range of 09:59:50-10:00:10, communications platform just judges whether described first geographical location information and the distance each other of the geographical position represented by the second geographic location information are less than predeterminable range.
As the optional execution mode of one, before step S303, described method can also comprise:
First terminal sends the first direction information of described first terminal to described communications platform;
Second terminal sends the second direction information of described second terminal to described communications platform;
Step S303 can comprise:
When the Similarity value in the direction represented by the direction represented by described first direction information and described second direction information is greater than predetermined threshold value, communications platform is according to described first request message and described second request message, and communicate described first account number and the mutual opening relationships of described second communication account number.
Namely after communications platform receives above-mentioned first direction information and second direction information, when just can judge whether the Similarity value in the direction represented by described first direction information and the direction represented by described second direction information is greater than predetermined threshold value, if, then according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number.Wherein, the Similarity value in the direction represented by described first direction information and the direction represented by described second direction information is greater than predetermined threshold value, can be understood as first terminal and the second terminal is similar on same level line, and direction is approximate contrary or approximate identical, such as: the position residing for the terminal of two shown in Fig. 2.
Technique scheme, above embodiment basis on add the execution mode of plurality of optional, and the process simplifying communication account number opening relationships can be realized.
Fig. 4 is the schematic flow sheet of the method for another kind two the communication account number opening relationships that the embodiment of the present invention provides, and as shown in Figure 4, comprises the following steps:
The information of second communication account number that S401, first terminal received communication platform send, described second communication account number is the communication account number that the second terminal logs in described communications platform and uses.
Namely first terminal gets the information that the second terminal logs in the communication account number that described communications platform uses.
S402, the second terminal receive the information of the first communication account number that described communications platform sends, and described first communication account number is the communication account number that described first terminal logs in described communications platform and uses.
Namely the second terminal gets the information that first terminal logs in the communication account number that described communications platform uses.
It should be noted that, execution sequence the present embodiment of step S401 and step S402 is to being not construed as limiting, and namely step S401 can perform before step S402, also can perform after step S402.
S403, first terminal receive the first touch operation of user's input, and described second terminal receives the second touch operation of described user input.
These two touch operations can user be inputted by a kneading gesture.
S404, under described first touch operation and described second touch operation composition kneading gesture situation, described first terminal sends the first request message for asking described first communication account number and described second communication account number opening relationships to described communications platform; Described second terminal sends the second request message for account number opening relationships of asking described second communication account number to communicate with described first to described communications platform.Wherein, described first request message comprises the information of described second communication account number, and described second request message comprises the information of described first communication account number.
First terminal and the second terminal all can receive the touch operation of user's input, and these touch operations form a kneading gesture, and namely user inputs above-mentioned touch operation by a kneading gesture on first terminal and the second terminal.Wherein, above-mentioned touch operation can be lower stroke or upper touch operation of drawing, or above-mentioned touch operation can be the touch operation for dragged image, namely terminal shows an image, and above-mentioned touch operation is exactly the operation dragging this image.Can be specifically first terminal and the second terminal demonstration one input touch operation touch area for user, in this touch area, then receive the touch operation of user's input.Such as: shown in Fig. 2, first terminal and the second terminal show the touch area 201 inputting touch operation for user, user is by the above-mentioned input touch operation in touch area 201 in first terminal and the second terminal of kneading gesture, and the touch track of this touch operation in touch area can white arrow 202 as shown in Figure 2.Namely, when user inputs above-mentioned first touch operation and the second touch operation by a kneading gesture on first terminal and the second terminal, first terminal and the second terminal just can send above-mentioned first request message and the second request message to communications platform.
S405, communications platform are according to described first request message and described second request message, and communicate described first account number and the mutual opening relationships of described second communication account number.
As the optional execution mode of one, before step S405, described method can also comprise:
S406, first terminal send the first geographic location information of described first terminal to described communications platform.
S407, the second terminal send the second geographic location information of described second terminal to described communications platform.
S408, communications platform judge whether the distance between the address location represented by described first geographic location information and the geographical position represented by described second geographic location information is less than predeterminable range, if so, perform step S405, if not, and process ends.
It should be noted that, execution sequence the present embodiment of step S406 and step S407 is to being not construed as limiting, and namely step S406 can perform before step S407, also can perform after step S406, can also perform simultaneously.
The geographic location information of this terminal can send to communications platform by first terminal and the second terminal, the address location of first terminal and the second terminal when namely communications platform can be learnt by these geographical location information.Wherein, geographic location information can comprise following at least one item:
Community (Cell) ID, IP address of the locating information of GPS, the mac address information of wireless network (such as: WiFi network), base station.Namely communications platform just can know position residing for terminal by above-mentioned information.
First geographical location information and the distance each other of the geographical position represented by the second geographic location information are less than predeterminable range, and namely first terminal and the second terminal distance are each other less than predeterminable range.Wherein, above-mentioned predeterminable range can receive pre-setting of the operation of user by communications platform, such as: arranging above-mentioned predeterminable range is 0.1 meter or 0.05 meter etc., namely first terminal and the second terminal distance are each other less than 0.1 meter or 0.05 meter, as first terminal and the second terminal are positioned on same desk, and distance is each other less than 0.1 meter or 0.05 meter, such user just can carry out touch operation by a kneading gesture to first terminal and the second terminal, specifically can as shown in Fig. 2-2.
As the optional execution mode of one, before step S408, after step S407, described method can also comprise:
Communications platform judges whether the time of reception receiving described first geographical location information is less than preset time value with the time difference of the time of reception receiving described second geographical location information, if so, then performs step S408.Namely, only when the time of reception receiving described first geographical location information is less than preset time value with the time difference of the time of reception receiving described second geographical location information, communications platform just judges whether described first geographical location information and the distance each other of the geographical position represented by the second geographic location information are less than predeterminable range.Such as: the time of reception of described first request message is 10:00:00, and preset time value is 10 seconds, so only have when the time of reception of reception second request message is in this time range of 09:59:50-10:00:10, communications platform just judges whether described first geographical location information and the distance each other of the geographical position represented by the second geographic location information are less than predeterminable range.
As the optional execution mode of one, before step S405, described method can also comprise:
First terminal sends the first direction information of described first terminal to described communications platform;
Second terminal sends the second direction information of described second terminal to described communications platform;
Step S405 can also comprise:
When the Similarity value in the direction represented by the direction represented by described first direction information and described second direction information is greater than predetermined threshold value, communications platform is according to described first request message and described second request message, and communicate described first account number and the mutual opening relationships of described second communication account number.
Namely after communications platform receives above-mentioned first direction information and second direction information, when just can judge whether the Similarity value in the direction represented by described first direction information and the direction represented by described second direction information is greater than predetermined threshold value, if, according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number.Wherein, the Similarity value in the direction represented by described first direction information and the direction represented by described second direction information is greater than predetermined threshold value, can be understood as first terminal and the second terminal is similar on same level line, and direction is approximate contrary or approximate identical, such as: the position residing for the terminal of two shown in Fig. 2.
Wherein, first terminal sends the first direction information of described first terminal to described communications platform; With the second direction information of the second terminal to described second terminal of described communications platform transmission.These two steps can be performed before step S401, when the Similarity value in the direction represented by the direction represented by described first direction information and described second direction information is greater than predetermined threshold value, communications platform just can send the information of above-mentioned second communication account number to first terminal, send the information of above-mentioned first communication account number to the second terminal.
Wherein, step S406 and step S407 can also be before step S401, and namely the geographic location information of first terminal and the second terminal first sends to communications platform by first terminal and the second terminal.Communications platform receives first terminal and the second terminal first by the geographic location information of first terminal and the second terminal, and after namely receiving above-mentioned first geographic location information and the second geographical location information, then perform step S408, wherein step S408 can comprise:
Communications platform judges whether the distance between the address location represented by described first geographic location information and the geographical position represented by described second geographic location information is less than predeterminable range, if, then send the information of above-mentioned second communication account number to first terminal, send the information of above-mentioned first communication account number to the second terminal.If not, then process ends.
Technique scheme, above embodiment basis on add the execution mode of plurality of optional, and the process simplifying communication account number opening relationships can be realized.
Fig. 5 is the schematic flow sheet of the method for another kind two the communication account number opening relationships that the embodiment of the present invention provides, and as shown in Figure 5, comprising:
S501, first terminal receive the first touch operation of user's input, and wherein, described first terminal is by the first communication account number logging on communication platform.
Wherein, while first terminal receives the first touch operation, the second terminal also can this user input the second touch operation, and described first touch operation and described second touch operation composition kneading gesture.
S502, receive under the second touch operation that described user inputs forms kneading gesture situation in described first touch operation and the second terminal, described first terminal sends the first request message for asking the first communication account number and second communication account number opening relationships to described communications platform, to make described communications platform according to described first request message and the second request message, by described first communication account number and the mutual opening relationships of described second communication account number, the described second request message request message for account number opening relationships of asking described second communication account number to communicate with described first that to be described second terminal send to described communications platform, described second communication account number logs in the communication account number that described communications platform uses for described second terminal.
First terminal and the second terminal all can receive the touch operation of user's input, and these touch operations form a kneading gesture, and namely user inputs above-mentioned touch operation by a kneading gesture on first terminal and the second terminal.Wherein, above-mentioned touch operation can be lower stroke or upper touch operation of drawing, or above-mentioned touch operation can be the touch operation for dragged image, namely terminal shows an image, and above-mentioned touch operation is exactly the operation dragging this image.Can be specifically first terminal and the second terminal demonstration one input touch operation touch area for user, in this touch area, then receive the touch operation of user's input.Such as: shown in Fig. 2, first terminal and the second terminal show the touch area 201 inputting touch operation for user, user is by the above-mentioned input touch operation in touch area 201 in first terminal and the second terminal of kneading gesture, and the touch track of this touch operation in touch area can white arrow 202 as shown in Figure 2.Namely user only needs just can to trigger first terminal and the second terminal by a kneading gesture and sends above-mentioned first request message and the second request message to communications platform.
After communications platform receives above-mentioned request message, just can by the first communication account number and mutual opening relationships of second communication account number.
In technique scheme, first terminal receives the touch operation of user's input, receive under touch operation that described user inputs forms kneading gesture situation in this touch operation and the second terminal, first terminal sends a request message to communications platform, communications platform receives request message, just can by the first communication account number and mutual opening relationships of second communication account number.Namely in the process of communication account number opening relationships, user only needs to carry out a kneading gesture to two terminals and just by communication account number opening relationships, thus can simplify the process of the account number opening relationships that communicates.
Fig. 6 is the schematic flow sheet of the method for another kind two the communication account number opening relationships that the embodiment of the present invention provides, and as shown in Figure 6, comprises the following steps:
S601, first terminal receive the first touch operation of user's input, and wherein, described first terminal is by the first communication account number logging on communication platform.
Wherein, while first terminal receives the first touch operation, the second terminal also can this user input the second touch operation, and described first touch operation and described second touch operation composition kneading gesture.
S602, receive under the second touch operation that described user inputs forms kneading gesture situation in described first touch operation and the second terminal, described first terminal sends the first request message for asking the first communication account number and second communication account number opening relationships to described communications platform, to make described communications platform according to described first request message and the second request message, by described first communication account number and the mutual opening relationships of described second communication account number, the described second request message request message for account number opening relationships of asking described second communication account number to communicate with described first that to be described second terminal send to described communications platform, described second communication account number logs in the communication account number that described communications platform uses for described second terminal.Wherein, described first request message comprises the first indication information, and the terminal that the distance between the geographical position that described first indication information is used to indicate geographical position and described first terminal is less than predeterminable range is described second terminal;
Described second request message comprises the second indication information, and the terminal that the distance between the geographical position that described second indication information is used to indicate geographical position and described second terminal is less than described predeterminable range is described first terminal.
Above-mentioned first request message it is also understood that as the first communication account number and the second terminal being logged in the communication account number opening relationships of described communications platform for asking, the second terminal be geographical position and described first terminal geographical position between distance be less than the terminal of predeterminable range.Above-mentioned second request message it is also understood that as the communication account number opening relationships for asking second communication account number and first terminal to log in described communications platform, first terminal be geographical position and described second terminal geographical position between distance be less than the terminal of predeterminable range.
Can be specifically when first terminal receives above-mentioned first touch operation, and under described first touch operation and described second touch operation composition kneading gesture situation, generate above-mentioned first indication information, and send above-mentioned first request message to communications platform.Second terminal can also be when receiving above-mentioned second touch operation, and under described first touch operation and described second touch operation composition kneading gesture situation, generates above-mentioned second indication information, and send above-mentioned second request message to communications platform.Wherein, above-mentioned predeterminable range can be arranged by the operation receiving user's input, can also be first terminal, the second terminal and communications platform consult in advance, such as: 0.1 meter or 0.05 meter etc.
As the optional execution mode of one, before step S602, described method can also comprise:
S603, first terminal sends the first geographic location information of described first terminal to described communications platform, judge to make described communications platform whether the distance between the address location represented by described first geographic location information and the geographical position represented by the second geographic location information is less than predeterminable range, if, then by described communications platform according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number, wherein, geographical position represented by described second geographic location information is the address location of described second terminal.
First geographical location information and the distance each other of the geographical position represented by the second geographic location information are less than predeterminable range, and namely first terminal and the second terminal distance are each other less than predeterminable range.Wherein, above-mentioned predeterminable range can receive pre-setting of the operation of user by communications platform, such as: arranging above-mentioned predeterminable range is 0.1 meter or 0.05 meter etc., namely first terminal and the second terminal distance are each other less than 0.1 meter or 0.05 meter, as first terminal and the second terminal are positioned on same desk, and distance is each other less than 0.1 meter or 0.05 meter, such user just can carry out touch operation by a kneading gesture to first terminal and the second terminal, specifically can as shown in Fig. 2-2.
As the optional execution mode of one, before step S602, described method can also comprise:
First terminal sends the first direction information of described first terminal to described communications platform, judge that to make described communications platform the distance between the address location represented by described first geographic location information and the geographical position represented by the second geographic location information is less than predeterminable range, and the Similarity value in the direction represented by described first direction information and the direction represented by second direction information is when being greater than predetermined threshold value, communications platform is according to described first request message and described second request message, and communicate described first account number and the mutual opening relationships of described second communication account number; Wherein, described second direction information is that described second terminal sends the directional information of described second terminal to described communications platform.
Namely after communications platform receives above-mentioned first direction information and second direction information, when just can judge whether the Similarity value in the direction represented by described first direction information and the direction represented by described second direction information is greater than predetermined threshold value, if send the information of described second communication account number to first terminal, and send the information of described first communication account number to described second terminal.Wherein, the Similarity value in the direction represented by described first direction information and the direction represented by described second direction information is greater than predetermined threshold value, can be understood as first terminal and the second terminal is similar on same level line, and direction is approximate contrary or approximate identical, such as: the position residing for the terminal of two shown in Fig. 2.
Technique scheme, above embodiment basis on add the execution mode of plurality of optional, and the process simplifying communication account number opening relationships can be realized.
Fig. 7 is the schematic flow sheet of the method for another kind two the communication account number opening relationships that the embodiment of the present invention provides, and as shown in Figure 7, comprises the following steps:
The information of second communication account number that S701, first terminal received communication platform send, described second communication account number is the communication account number that the second terminal logs in described communications platform and uses.
Namely first terminal gets the information that the second terminal logs in the communication account number that described communications platform uses.
S702, first terminal receive the first touch operation of user's input.
S703, receive under the second touch operation that described user inputs forms kneading gesture situation in described first touch operation and the second terminal, described first terminal sends the first request message for asking the first communication account number and second communication account number opening relationships to described communications platform, to make described communications platform according to described first request message and the second request message, by described first communication account number and the mutual opening relationships of described second communication account number, the described second request message request message for account number opening relationships of asking described second communication account number to communicate with described first that to be described second terminal send to described communications platform.Wherein, described first request message comprises the information of described second communication account number, and described second request message comprises the information of described first communication account number.
First terminal and the second terminal all can receive the touch operation of user's input, and these touch operations form a kneading gesture, and namely user inputs above-mentioned touch operation by a kneading gesture on first terminal and the second terminal.Wherein, above-mentioned touch operation can be lower stroke or upper touch operation of drawing, or above-mentioned touch operation can be the touch operation for dragged image, namely terminal shows an image, and above-mentioned touch operation is exactly the operation dragging this image.Can be specifically first terminal and the second terminal demonstration one input touch operation touch area for user, in this touch area, then receive the touch operation of user's input.Such as: shown in Fig. 2, first terminal and the second terminal show the touch area 201 inputting touch operation for user, user is by the above-mentioned input touch operation in touch area 201 in first terminal and the second terminal of kneading gesture, and the touch track of this touch operation in touch area can white arrow 202 as shown in Figure 2.Namely, when user inputs above-mentioned first touch operation and the second touch operation by a kneading gesture on first terminal and the second terminal, first terminal and the second terminal just can send above-mentioned first request message and the second request message to communications platform.
As the optional execution mode of one, before step S703, described method can also comprise:
S704, first terminal send the first geographic location information of described first terminal to described communications platform, judge to make described communications platform whether the distance between the address location represented by described first geographic location information and the geographical position represented by the second geographic location information is less than predeterminable range, if, then by described communications platform according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number.
First geographical location information and the distance each other of the geographical position represented by the second geographic location information are less than predeterminable range, and namely first terminal and the second terminal distance are each other less than predeterminable range.Wherein, above-mentioned predeterminable range can receive pre-setting of the operation of user by communications platform, such as: arranging above-mentioned predeterminable range is 0.1 meter or 0.05 meter etc., namely first terminal and the second terminal distance are each other less than 0.1 meter or 0.05 meter, as first terminal and the second terminal are positioned on same desk, and distance is each other less than 0.1 meter or 0.05 meter, such user just can carry out touch operation by a kneading gesture to first terminal and the second terminal, specifically can as shown in Fig. 2-2.
Wherein, geographic location information can comprise following at least one item:
Community (Cell) ID, IP address of the locating information of GPS, the mac address information of wireless network (such as: WiFi network), base station.Namely communications platform just can know position residing for terminal by above-mentioned information.
Optionally, before step S703, described method can also comprise:
First terminal sends the first direction information of described first terminal to described communications platform, judge that to make described communications platform the distance between the address location represented by described first geographic location information and the geographical position represented by the second geographic location information is less than predeterminable range, and the direction represented by described first direction information and the direction Similarity value represented by second direction information are when being greater than predetermined threshold value, communications platform is according to described first request message and described second request message, and communicate described first account number and the mutual opening relationships of described second communication account number; Wherein, described second direction information is that described second terminal sends the directional information of described second terminal to described communications platform.Namely after communications platform receives above-mentioned first direction information and second direction information, when just can judge whether the Similarity value in the direction represented by described first direction information and the direction represented by described second direction information is greater than predetermined threshold value, if according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number.Wherein, the Similarity value in the direction represented by described first direction information and the direction represented by described second direction information is greater than predetermined threshold value, can be understood as first terminal and the second terminal is similar on same level line, and direction is approximate contrary or approximate identical, such as: the position residing for the terminal of two shown in Fig. 2.
Wherein, first terminal sends the first direction information of described first terminal to described communications platform, this step can be performed before step S701, when the Similarity value in the direction represented by the direction represented by described first direction information and described second direction information is greater than predetermined threshold value, communications platform just can send the information of above-mentioned second communication account number to first terminal, send the information of above-mentioned first communication account number to the second terminal.
Wherein, step S703 can also be before step S701, and namely the geographic location information of first terminal first sends to communications platform by first terminal.Communications platform receives first terminal and the second terminal first by the geographic location information of first terminal and the second terminal, namely after receiving above-mentioned first geographic location information and the second geographical location information, judge whether the distance between the address location represented by described first geographic location information and the geographical position represented by described second geographic location information is less than predeterminable range, if, then send the information of above-mentioned second communication account number to first terminal, send the information of above-mentioned first communication account number to the second terminal.If not, then process ends.
In technique scheme, above embodiment basis on add the execution mode of plurality of optional, and the process simplifying communication account number opening relationships can be realized.
Be apparatus of the present invention embodiment below, the method that apparatus of the present invention embodiment realizes for performing the inventive method embodiment one to six, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to the embodiment of the present invention one, embodiment two, embodiment three, embodiment four, embodiment five and embodiment six.
Fig. 8 is the structural representation of the system of a kind of two communication account number opening relationships that the embodiment of the present invention provides, and as shown in Figure 8, comprising: first terminal 81, second terminal 82 and communications platform 83, wherein:
First terminal 81, for receiving the first touch operation of user's input; Wherein, described first terminal 81 is by the first communication account number logging on communication platform 83.
Second terminal 82, for receiving the second touch operation of described user input; Wherein, described second terminal 82 logs in described communications platform 83 by second communication account number.
First terminal 81 and the second terminal 82 account number of all passing through to communicate logs in same communications platform 83.
First terminal 81 also under described first touch operation and described second touch operation composition kneading gesture situation, sends the first request message for asking described first communication account number and described second communication account number opening relationships to described communications platform 83.
Second terminal 82, also under described first touch operation and described second touch operation composition kneading gesture situation, sends the second request message for account number opening relationships of asking described second communication account number to communicate with described first to described communications platform 83.
First terminal 81 and the second terminal 82 all can receive the touch operation of user's input, and these touch operations form a kneading gesture, and namely user inputs above-mentioned touch operation by a kneading gesture on first terminal 81 and the second terminal 82.Wherein, above-mentioned touch operation can be lower stroke or upper touch operation of drawing, or above-mentioned touch operation can be the touch operation for dragged image, namely terminal shows an image, and above-mentioned touch operation is exactly the operation dragging this image.Can be specifically that first terminal 81 and the second terminal 82 show one inputs touch operation touch area for user, in this touch area, then receive the touch operation of user's input.Such as: shown in Fig. 2, first terminal 81 and the second terminal 82 show the touch area 201 inputting touch operation for user, user is by the above-mentioned input touch operation in touch area 201 in first terminal 81 and the second terminal 82 of kneading gesture, and the touch track of this touch operation in touch area can white arrow 202 as shown in Figure 2.Namely user only needs just can to trigger first terminal 81 by a kneading gesture and the second terminal 82 sends above-mentioned first request message and the second request message to communications platform 83.
Communications platform 83, for according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number.
After communications platform 83 receives above-mentioned request message, just can by the first communication account number and mutual opening relationships of second communication account number.
As the optional execution mode of one, described first request message comprises the first indication information, and the terminal that the distance between the geographical position that described first indication information is used to indicate geographical position and described first terminal 81 is less than predeterminable range is described second terminal 82;
Described second request message comprises the second indication information, and the terminal that the distance between the geographical position that described second indication information is used to indicate geographical position and described second terminal 82 is less than described predeterminable range is described first terminal 81.
Above-mentioned first request message it is also understood that as the first communication account number and the second terminal 82 being logged in the communication account number opening relationships of described communications platform 83 for asking, the second terminal 82 be geographical position and described first terminal 81 geographical position between distance be less than the terminal of predeterminable range.Above-mentioned second request message it is also understood that as the communication account number opening relationships for asking second communication account number and first terminal 81 to log in described communications platform 83, first terminal 81 be geographical position and described second terminal 82 geographical position between distance be less than the terminal of predeterminable range.
Can be specifically, when first terminal 81 receives above-mentioned first touch operation, and under described first touch operation and described second touch operation composition kneading gesture situation, generate above-mentioned first indication information, and send above-mentioned first request message to communications platform 83.Second terminal 82 can also be when receiving above-mentioned second touch operation, and under described first touch operation and described second touch operation composition kneading gesture situation, generates above-mentioned second indication information, and send above-mentioned second request message to communications platform 83.Wherein, above-mentioned predeterminable range can be arranged by the operation receiving user's input, can also be that first terminal 81, second terminal 82 and communications platform 83 consult in advance, such as: 0.1 meter or 0.05 meter etc.
Communications platform 83 can also be used for according to the first request message, the first indication information, the second request message and the second indication information, by described first communication account number and the mutual opening relationships of described second communication account number.
In this execution mode, first terminal 81 can also be used for the first geographic location information sending described first terminal 81 to described communications platform 83.
Wherein, the first geographic location information can comprise following at least one item:
Community (Cell) ID, IP address of the locating information of GPS, the mac address information of wireless network (such as: WiFi network), base station.Namely communications platform 83 just can know position residing for first terminal 81 by above-mentioned information.
Second terminal 82 can also be used for the second geographic location information sending described second terminal 82 to described communications platform 83;
Wherein, the first geographic location information can comprise following at least one item:
Community (Cell) ID, IP address of the locating information of GPS, the mac address information of wireless network (such as: WiFi network), base station.Namely communications platform 83 just can know position residing for the second terminal 82 by above-mentioned information.
Communications platform 83 can also be used for judging whether the distance between the address location represented by described first geographic location information and the geographical position represented by described second geographic location information is less than predeterminable range, if, then according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number.
This execution mode, whether the time of reception that communications platform 83 can also be used for judging to receive described first geographical location information is less than preset time value with the time difference of the time of reception receiving described second geographical location information, if so, then judge whether the distance between the address location represented by described first geographic location information and the geographical position represented by described second geographic location information is less than predeterminable range.Namely, only when the time of reception receiving described first geographical location information is less than preset time value with the time difference of the time of reception receiving described second geographical location information, communications platform 83 just judges whether described first geographical location information and the distance each other of the geographical position represented by the second geographic location information are less than predeterminable range.Such as: the time of reception of described first request message is 10:00:00, and preset time value is 10 seconds, so only have when the time of reception of reception second request message is in this time range of 09:59:50-10:00:10, communications platform 83 just judges whether described first geographical location information and the distance each other of the geographical position represented by the second geographic location information are less than predeterminable range.
This execution mode, first terminal 81 can also be used for the first direction information sending described first terminal 81 to described communications platform 83;
Second terminal 82 can also be used for the second direction information sending described second terminal 82 to described communications platform 83;
Communications platform 83 can also be used for when the Similarity value in the direction represented by the direction represented by described first direction information and described second direction information is greater than predetermined threshold value, according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number.
Namely after communications platform 83 receives above-mentioned first direction information and second direction information, when just can judge whether the Similarity value in the direction represented by described first direction information and the direction represented by described second direction information is greater than predetermined threshold value, if, then according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number.Wherein, the Similarity value in the direction represented by described first direction information and the direction represented by described second direction information is greater than predetermined threshold value, can be understood as first terminal 81 and the second terminal 82 is similar on same level line, and direction is approximate contrary or approximate identical, such as: the position residing for the terminal of two shown in Fig. 2.
As the optional execution mode of one, described first request message comprises the information of described second communication account number, and described second request message comprises the information of described first communication account number.
First terminal 81 can also be used for the information of second communication account number that received communication platform 83 sends, and described second communication account number is the communication account number that the second terminal 82 logs in described communications platform 83 and uses.
Second terminal 82 can also be used for receiving the information of the first communication account number that described communications platform 83 sends, and described first communication account number is the communication account number that described first terminal 81 logs in described communications platform 83 and uses.
In this execution mode, first terminal 81 can also be used for the first geographic location information sending described first terminal 81 to described communications platform 83.
Second terminal 82 can also be used for the second geographic location information sending described second terminal 82 to described communications platform 83.
Communications platform 83 can also be used for judging whether the distance between the address location represented by described first geographic location information and the geographical position represented by described second geographic location information is less than predeterminable range, if, then according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number.
In this execution mode, whether the time of reception that communications platform 83 can also be used for judging to receive described first geographical location information is less than preset time value with the time difference of the time of reception receiving described second geographical location information, if so, then judge whether the distance between the address location represented by described first geographic location information and the geographical position represented by described second geographic location information is less than predeterminable range.Namely, only when the time of reception receiving described first geographical location information is less than preset time value with the time difference of the time of reception receiving described second geographical location information, communications platform 83 just judges whether described first geographical location information and the distance each other of the geographical position represented by the second geographic location information are less than predeterminable range.Such as: the time of reception of described first request message is 10:00:00, and preset time value is 10 seconds, so only have when the time of reception of reception second request message is in this time range of 09:59:50-10:00:10, communications platform 83 just judges whether described first geographical location information and the distance each other of the geographical position represented by the second geographic location information are less than predeterminable range.
This execution mode, first terminal 81 can also be used for the first direction information sending described first terminal 81 to described communications platform 83;
Second terminal 82 can also be used for the second direction information sending described second terminal 82 to described communications platform 83;
Communications platform 83 can also be used for when the Similarity value in the direction represented by the direction represented by described first direction information and described second direction information is greater than predetermined threshold value, according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number.
Namely after communications platform 83 receives above-mentioned first direction information and second direction information, when just can judge whether the Similarity value in the direction represented by described first direction information and the direction represented by described second direction information is greater than predetermined threshold value, if, according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number.Wherein, the Similarity value in the direction represented by described first direction information and the direction represented by described second direction information is greater than predetermined threshold value, can be understood as first terminal 81 and the second terminal 82 is similar on same level line, and direction is approximate contrary or approximate identical, such as: the position residing for the terminal of two shown in Fig. 2.
Wherein, first terminal 81 sends the first direction information of described first terminal 81 to described communications platform 83; The second direction information of described second terminal 82 is sent to described communications platform 83 with the second terminal 82.Can be perform to perform before first terminal 81 receives the information of second communication account number and the second terminal 82 receives the information of the first communication account number, when the Similarity value in the direction represented by the direction represented by described first direction information and described second direction information is greater than predetermined threshold value, communications platform 83 just can send the information of above-mentioned second communication account number to first terminal 81, send the information of above-mentioned first communication account number to the second terminal 82.
First terminal 81 and the second terminal 82 can also be first sent to communications platform 83 by the geographic location information of first terminal 81 and the second terminal 82.Communications platform 83 receives first terminal 81 and the second terminal 82 first by the geographic location information of first terminal 81 and the second terminal 82, namely after receiving above-mentioned first geographic location information and the second geographical location information, communications platform 83 judges whether the distance between the address location represented by described first geographic location information and the geographical position represented by described second geographic location information is less than predeterminable range again, if, then send the information of above-mentioned second communication account number to first terminal 81, send the information of above-mentioned first communication account number to the second terminal 82.If not, then process ends.
In technique scheme, first terminal and the second terminal receive the touch operation of user's input respectively, the touch operation composition kneading gesture that first terminal and the second terminal receive, first terminal and the second terminal send a request message respectively to communications platform again, communications platform receives request message, just can by the first communication account number and mutual opening relationships of second communication account number.Namely in the process of communication account number opening relationships, user only needs to carry out a kneading gesture to two terminals and just by communication account number opening relationships, thus can simplify the process of the account number opening relationships that communicates.
Fig. 9 is the structural representation of the device of a kind of two communication account number opening relationships that the embodiment of the present invention provides, and as shown in Figure 9, comprising: the first receiving element 91 and the first transmitting element 92, wherein:
First receiving element 91, for receiving the first touch operation of user's input, wherein, described device is by the first communication account number logging on communication platform.
Wherein, while described device receives the first touch operation, the second terminal also can this user input the second touch operation, and described first touch operation and described second touch operation composition kneading gesture.
First transmitting element 92, under the second touch operation inputted for receiving described user in described first touch operation and the second terminal forms kneading gesture situation, the first request message for asking the first communication account number and second communication account number opening relationships is sent to described communications platform, to make described communications platform according to described first request message and the second request message, by described first communication account number and the mutual opening relationships of described second communication account number, the described second request message request message for account number opening relationships of asking described second communication account number to communicate with described first that to be described second terminal send to described communications platform, described second communication account number logs in the communication account number that described communications platform uses for described second terminal.
Described device and the second terminal all can receive the touch operation of user's input, and these touch operations form a kneading gesture, and namely user inputs above-mentioned touch operation by a kneading gesture on described device and the second terminal.Wherein, above-mentioned touch operation can be lower stroke or upper touch operation of drawing, or above-mentioned touch operation can be the touch operation for dragged image, namely terminal shows an image, and above-mentioned touch operation is exactly the operation dragging this image.Can be specifically described device and the second terminal demonstration one input touch operation touch area for user, in this touch area, then receive the touch operation of user's input.Such as: shown in Fig. 2, described device and the second terminal show the touch area 201 inputting touch operation for user, user is by the above-mentioned input touch operation in touch area 201 in described device and the second terminal of kneading gesture, and the touch track of this touch operation in touch area can white arrow 202 as shown in Figure 2.Namely user only needs just can to trigger described device and the second terminal by a kneading gesture and sends above-mentioned first request message and the second request message to communications platform.
After communications platform receives above-mentioned request message, just can by the first communication account number and mutual opening relationships of second communication account number.
As the optional execution mode of one, described first request message comprises the first indication information, and the terminal that the distance between the geographical position that described first indication information is used to indicate geographical position and described device is less than predeterminable range is described second terminal;
Described second request message comprises the second indication information, and the terminal that the distance between the geographical position that described second indication information is used to indicate geographical position and described second terminal is less than described predeterminable range is described device.
Above-mentioned first request message it is also understood that as the first communication account number and the second terminal being logged in the communication account number opening relationships of described communications platform for asking, the second terminal be geographical position and described device geographical position between distance be less than the terminal of predeterminable range.Above-mentioned second request message it is also understood that as the communication account number opening relationships for asking second communication account number and described device to log in described communications platform, described device be geographical position and described second terminal geographical position between distance be less than the terminal of predeterminable range.
Can be specifically when described device receives above-mentioned first touch operation, and under described first touch operation and described second touch operation composition kneading gesture situation, generate above-mentioned first indication information, and send above-mentioned first request message to communications platform.Second terminal can also be when receiving above-mentioned second touch operation, and under described first touch operation and described second touch operation composition kneading gesture situation, generates above-mentioned second indication information, and send above-mentioned second request message to communications platform.Wherein, above-mentioned predeterminable range can be arranged by the operation receiving user's input, can also described device, the second terminal and communications platform consult in advance, such as: 0.1 meter or 0.05 meter etc.
As shown in Figure 10, described device can also comprise:
Second transmitting element 93, for sending the first geographic location information of described device to described communications platform, judge to make described communications platform whether the distance between the address location represented by described first geographic location information and the geographical position represented by the second geographic location information is less than predeterminable range, if, then by described communications platform according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number, wherein, geographical position represented by described second geographic location information is the address location of described second terminal.
First geographical location information and the distance each other of the geographical position represented by the second geographic location information are less than predeterminable range, and namely described device and the second terminal distance are each other less than predeterminable range.Wherein, above-mentioned predeterminable range can receive pre-setting of the operation of user by communications platform, such as: arranging above-mentioned predeterminable range is 0.1 meter or 0.05 meter etc., namely described device and the second terminal distance are each other less than 0.1 meter or 0.05 meter, as as described in device and the second terminal be positioned on same desk, and distance is each other less than 0.1 meter or 0.05 meter, such user just can carry out touch operation by a kneading gesture to described device and the second terminal, specifically can as shown in Fig. 2-2.
As shown in Figure 10, described device can also comprise:
3rd transmitting element 94, for sending the first direction information of described device to described communications platform, judge that to make described communications platform the distance between the address location represented by described first geographic location information and the geographical position represented by the second geographic location information is less than predeterminable range, and the Similarity value in the direction represented by described first direction information and the direction represented by second direction information is when being greater than predetermined threshold value, communications platform is according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number, wherein, described second direction information is that described second terminal sends the directional information of described second terminal to described communications platform.
Namely after communications platform receives above-mentioned first direction information and second direction information, when just can judge whether the Similarity value in the direction represented by described first direction information and the direction represented by described second direction information is greater than predetermined threshold value, if send the information of described second communication account number to described device, and send the information of described first communication account number to described second terminal.Wherein, the Similarity value in the direction represented by described first direction information and the direction represented by described second direction information is greater than predetermined threshold value, can be understood as described device and the second terminal is similar on same level line, and direction is approximate contrary or approximate identical, such as: the position residing for the terminal of two shown in Fig. 2.
As the optional execution mode of one, described first request message comprises the information of described second communication account number, and described second request message comprises the information of described first communication account number.
As shown in figure 11, described device can also comprise:
Second receiving element 95, for the information of second communication account number that received communication platform sends, described second communication account number is the communication account number that the second terminal logs in described communications platform and uses.
This execution mode, described device also can comprise the second transmitting element 93 in device as shown in Figure 10 and the 3rd transmitting element 94.Wherein:
Second transmitting element 93, for sending the first geographic location information of described device to described communications platform, judge to make described communications platform whether the distance between the address location represented by described first geographic location information and the geographical position represented by the second geographic location information is less than predeterminable range, if, then by described communications platform according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number.
First geographical location information and the distance each other of the geographical position represented by the second geographic location information are less than predeterminable range, and namely described device and the second terminal distance are each other less than predeterminable range.Wherein, above-mentioned predeterminable range can receive pre-setting of the operation of user by communications platform, such as: arranging above-mentioned predeterminable range is 0.1 meter or 0.05 meter etc., namely described device and the second terminal distance are each other less than 0.1 meter or 0.05 meter, as as described in device and the second terminal be positioned on same desk, and distance is each other less than 0.1 meter or 0.05 meter, such user just can carry out touch operation by a kneading gesture to described device and the second terminal, specifically can as shown in Fig. 2-2.
Wherein, geographic location information can comprise following at least one item:
Community (Cell) ID, IP address of the locating information of GPS, the mac address information of wireless network (such as: WiFi network), base station.Namely communications platform just can know position residing for terminal by above-mentioned information.
3rd transmitting element 94, for sending the first direction information of described device to described communications platform, judge that to make described communications platform the distance between the address location represented by described first geographic location information and the geographical position represented by the second geographic location information is less than predeterminable range, and the direction represented by described first direction information and the direction Similarity value represented by second direction information are when being greater than predetermined threshold value, communications platform is according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number, wherein, described second direction information is that described second terminal sends the directional information of described second terminal to described communications platform.Namely after communications platform receives above-mentioned first direction information and second direction information, when just can judge whether the Similarity value in the direction represented by described first direction information and the direction represented by described second direction information is greater than predetermined threshold value, if according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number.Wherein, the Similarity value in the direction represented by described first direction information and the direction represented by described second direction information is greater than predetermined threshold value, can be understood as described device and the second terminal is similar on same level line, and direction is approximate contrary or approximate identical, such as: the position residing for the terminal of two shown in Fig. 2.
Wherein, when the Similarity value in the direction represented by the direction represented by described first direction information and described second direction information is greater than predetermined threshold value, communications platform can also send the information of above-mentioned second communication account number to described device, send the information of above-mentioned first communication account number to the second terminal.
Wherein, the geographic location information of described device first sends to communications platform by described device.Communications platform receives described device and the second terminal first by the geographic location information of described device and the second terminal, namely after receiving above-mentioned first geographic location information and the second geographical location information, judge whether the distance between the address location represented by described first geographic location information and the geographical position represented by described second geographic location information is less than predeterminable range, if, then send the information of above-mentioned second communication account number to described device, send the information of above-mentioned first communication account number to the second terminal.
In technique scheme, described device receives the touch operation of user's input, receive under touch operation that described user inputs forms kneading gesture situation in this touch operation and the second terminal, described device sends a request message to communications platform, communications platform receives request message, just can by the first communication account number and mutual opening relationships of second communication account number.Namely in the process of communication account number opening relationships, user only needs to carry out a kneading gesture to two terminals and just by communication account number opening relationships, thus can simplify the process of the account number opening relationships that communicates.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random access memory (Random Access Memory is called for short RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (18)

1. a method for two communication account number opening relationships, is characterized in that, comprising:
First terminal receives the first touch operation of user's input, and the second terminal receives the second touch operation of described user input; Wherein, described first terminal is by the first communication account number logging on communication platform, and described second terminal logs in described communications platform by second communication account number;
Under described first touch operation and described second touch operation composition kneading gesture situation, described first terminal sends the first request message for asking described first communication account number and described second communication account number opening relationships to described communications platform; Described second terminal sends the second request message for account number opening relationships of asking described second communication account number to communicate with described first to described communications platform;
Described communications platform is according to described first request message and described second request message, and communicate described first account number and the mutual opening relationships of described second communication account number;
Wherein, described first request message comprises the first indication information, and the terminal that the distance between the geographical position that described first indication information is used to indicate geographical position and described first terminal is less than predeterminable range is described second terminal;
Described second request message comprises the second indication information, and the terminal that the distance between the geographical position that described second indication information is used to indicate geographical position and described second terminal is less than described predeterminable range is described first terminal.
2. the method for claim 1, is characterized in that, described first request message comprises the information of described second communication account number, and described second request message comprises the information of described first communication account number;
Described first terminal receives the first touch operation of user's input, and before the second terminal receives the second touch operation of described user input, described method also comprises:
Described first terminal receives the information of the second communication account number that described communications platform sends;
Described second terminal receives the information of the first communication account number that described communications platform sends.
3. method as claimed in claim 1 or 2, is characterized in that, described communications platform is according to described first request message and described second request message, and before described first communication account number and the mutual opening relationships of described second communication account number, described method also comprises:
Described first terminal sends the first geographic location information of described first terminal to described communications platform;
Described second terminal sends the second geographic location information of described second terminal to described communications platform;
Described communications platform judges whether the distance between the address location represented by described first geographic location information and the geographical position represented by described second geographic location information is less than predeterminable range, if, then according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number.
4. method as claimed in claim 3, it is characterized in that, before described communications platform judges whether the distance between the address location represented by described first geographic location information and the geographical position represented by described second geographic location information is less than predeterminable range, described method also comprises:
Described communications platform judges whether the time of reception receiving described first geographical location information is less than preset time value with the time difference of the time of reception receiving described second geographical location information, if so, then executive communication platform judges whether the distance between the address location represented by described first geographic location information and the geographical position represented by described second geographic location information is less than the step of predeterminable range.
5. method as claimed in claim 3, is characterized in that, described communications platform is according to described first request message and described second request message, and before described first communication account number and the mutual opening relationships of described second communication account number, described method also comprises:
Described first terminal sends the first direction information of described first terminal to described communications platform;
Described second terminal sends the second direction information of described second terminal to described communications platform;
Described communications platform, according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number, comprising:
When the Similarity value in the direction represented by the direction represented by described first direction information and described second direction information is greater than predetermined threshold value, described communications platform is according to described first request message and described second request message, and communicate described first account number and the mutual opening relationships of described second communication account number.
6. a method for two communication account number opening relationships, is characterized in that, comprising:
First terminal receives the first touch operation of user's input, and wherein, described first terminal is by the first communication account number logging on communication platform;
Receive under the second touch operation that described user inputs forms kneading gesture situation in described first touch operation and the second terminal, described first terminal sends the first request message for asking the first communication account number and second communication account number opening relationships to described communications platform, to make described communications platform according to described first request message and the second request message, by described first communication account number and the mutual opening relationships of described second communication account number, the described second request message request message for account number opening relationships of asking described second communication account number to communicate with described first that to be described second terminal send to described communications platform, described second communication account number logs in the communication account number that described communications platform uses for described second terminal,
Wherein, described first request message comprises the first indication information, and the terminal that the distance between the geographical position that described first indication information is used to indicate geographical position and described first terminal is less than predeterminable range is described second terminal;
Described second request message comprises the second indication information, and the terminal that the distance between the geographical position that described second indication information is used to indicate geographical position and described second terminal is less than described predeterminable range is described first terminal.
7. method as claimed in claim 6, its feature take by force in, described first request message comprises the information of described second communication account number, and described second request message comprises the information of described first communication account number;
Before described first terminal receives the first touch operation of user's input, described method also comprises:
Described first terminal receives the information of the second communication account number that described communications platform sends.
8. method as claimed in claims 6 or 7, it is characterized in that, described method also comprises:
Described first terminal sends the first geographic location information of described first terminal to described communications platform, judge to make described communications platform whether the distance between the address location represented by described first geographic location information and the geographical position represented by the second geographic location information is less than predeterminable range, if, then by described communications platform according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number, wherein, geographical position represented by described second geographic location information is the address location of described second terminal.
9. method as claimed in claim 8, it is characterized in that, described method also comprises:
Described first terminal sends the first direction information of described first terminal to described communications platform, judge that to make described communications platform the distance between the address location represented by described first geographic location information and the geographical position represented by the second geographic location information is less than predeterminable range, and the Similarity value in the direction represented by described first direction information and the direction represented by second direction information is when being greater than predetermined threshold value, communications platform is according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number, wherein, described second direction information is that described second terminal sends the directional information of described second terminal to described communications platform.
10. a system for two communication account number opening relationships, is characterized in that, comprising: first terminal, the second terminal and communications platform, wherein:
Described first terminal, for receiving the first touch operation of user's input; Wherein, described first terminal is by the first communication account number logging on communication platform;
Described second terminal, for receiving the second touch operation of described user input; Wherein, described second terminal logs in described communications platform by second communication account number;
Described first terminal also under described first touch operation and described second touch operation composition kneading gesture situation, sends the first request message for asking described first communication account number and described second communication account number opening relationships to described communications platform;
Described second terminal, also under described first touch operation and described second touch operation composition kneading gesture situation, sends the second request message for account number opening relationships of asking described second communication account number to communicate with described first to described communications platform;
Described communications platform, for according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number;
Wherein, described first request message comprises the first indication information, and the terminal that the distance between the geographical position that described first indication information is used to indicate geographical position and described first terminal is less than predeterminable range is described second terminal;
Described second request message comprises the second indication information, and the terminal that the distance between the geographical position that described second indication information is used to indicate geographical position and described second terminal is less than described predeterminable range is described first terminal.
11. systems as claimed in claim 10, it is characterized in that, described first request message comprises the information of described second communication account number, and described second request message comprises the information of described first communication account number;
Described first terminal is also for receiving the information of the second communication account number that described communications platform sends;
Described second terminal is also for receiving the information of the first communication account number that described communications platform sends.
12. systems as described in claim 10 or 11, it is characterized in that, described first terminal is also for sending the first geographic location information of described first terminal to described communications platform;
Described second terminal is also for sending the second geographic location information of described second terminal to described communications platform;
Described communications platform is also for judging whether the distance between the address location represented by described first geographic location information and the geographical position represented by described second geographic location information is less than predeterminable range, if, then according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number.
13. systems as claimed in claim 12, it is characterized in that, described communications platform is also for judging whether the time of reception receiving described first geographical location information is less than preset time value with the time difference of the time of reception receiving described second geographical location information, if so, then judge whether the distance between the address location represented by described first geographic location information and the geographical position represented by described second geographic location information is less than predeterminable range.
14. systems as claimed in claim 12, is characterized in that, described first terminal is also for sending the first direction information of described first terminal to described communications platform;
Described second terminal is also for sending the second direction information of described second terminal to described communications platform;
Described communications platform is also for judging whether the distance between the address location represented by described first geographic location information and the geographical position represented by described second geographic location information is less than predeterminable range, if, and the Similarity value in the direction represented by described first direction information and the direction represented by described second direction information is when being greater than predetermined threshold value, according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number.
The device of 15. 1 kinds two communication account number opening relationships, is characterized in that, comprising: the first receiving element and the first transmitting element, wherein:
Described first receiving element, for receiving the first touch operation of user's input, wherein, described device is by the first communication account number logging on communication platform;
Described first transmitting element, under the second touch operation inputted for receiving described user in described first touch operation and the second terminal forms kneading gesture situation, the first request message for asking the first communication account number and second communication account number opening relationships is sent to described communications platform, to make described communications platform according to described first request message and the second request message, by described first communication account number and the mutual opening relationships of described second communication account number, the described second request message request message for account number opening relationships of asking described second communication account number to communicate with described first that to be described second terminal send to described communications platform, described second communication account number logs in the communication account number that described communications platform uses for described second terminal,
Wherein, described first request message comprises the first indication information, and the terminal that the distance between the geographical position that described first indication information is used to indicate geographical position and described device is less than predeterminable range is described second terminal;
Described second request message comprises the second indication information, and the terminal that the distance between the geographical position that described second indication information is used to indicate geographical position and described second terminal is less than described predeterminable range is described device.
16. devices as claimed in claim 15, it is characterized in that, described first request message comprises the information of described second communication account number, and described second request message comprises the information of described first communication account number;
Described device also comprises:
Second receiving element, for receiving the information of the second communication account number that described communications platform sends.
17. devices as described in claim 15 or 16, it is characterized in that, described device also comprises:
Second transmitting element, for sending the first geographic location information of described device to described communications platform, judge to make described communications platform whether the distance between the address location represented by described first geographic location information and the geographical position represented by the second geographic location information is less than predeterminable range, if, then by described communications platform according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number, wherein, geographical position represented by described second geographic location information is the address location of described second terminal.
18. devices as claimed in claim 17, it is characterized in that, described device also comprises:
3rd transmitting element, for sending the first direction information of described device to described communications platform, judge that to make described communications platform the distance between the address location represented by described first geographic location information and the geographical position represented by the second geographic location information is less than predeterminable range, and the Similarity value in the direction represented by described first direction information and the direction represented by second direction information is when being greater than predetermined threshold value, communications platform is according to described first request message and described second request message, by described first communication account number and the mutual opening relationships of described second communication account number, wherein, described second direction information is that described second terminal sends the directional information of described second terminal to described communications platform.
CN201310258071.7A 2013-06-26 2013-06-26 A kind of method, system and device of two communication account number opening relationships Active CN103338248B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310258071.7A CN103338248B (en) 2013-06-26 2013-06-26 A kind of method, system and device of two communication account number opening relationships

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310258071.7A CN103338248B (en) 2013-06-26 2013-06-26 A kind of method, system and device of two communication account number opening relationships

Publications (2)

Publication Number Publication Date
CN103338248A CN103338248A (en) 2013-10-02
CN103338248B true CN103338248B (en) 2015-07-29

Family

ID=49246342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310258071.7A Active CN103338248B (en) 2013-06-26 2013-06-26 A kind of method, system and device of two communication account number opening relationships

Country Status (1)

Country Link
CN (1) CN103338248B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974187A (en) * 2014-05-27 2014-08-06 深圳市中兴移动通信有限公司 Near-distance file transmission method and device as well as mobile terminal
CN105610805B (en) * 2015-12-22 2019-01-08 腾讯科技(深圳)有限公司 The method and terminal and system of opening relationships chain in multi-person interactive application
US11070644B1 (en) * 2020-06-29 2021-07-20 Amazon Technologies, Inc. Resource grouped architecture for profile switching

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693071A (en) * 2011-02-03 2012-09-26 索尼公司 System and method for invoking application corresponding to trigger event
CN102725723A (en) * 2010-01-21 2012-10-10 思科技术公司 Using a gesture to transfer an object across multiple multi-touch devices

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101790017B1 (en) * 2011-09-30 2017-10-25 삼성전자 주식회사 Controlling Method For Communication Channel Operation based on a Gesture and Portable Device System supporting the same

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102725723A (en) * 2010-01-21 2012-10-10 思科技术公司 Using a gesture to transfer an object across multiple multi-touch devices
CN102693071A (en) * 2011-02-03 2012-09-26 索尼公司 System and method for invoking application corresponding to trigger event

Also Published As

Publication number Publication date
CN103338248A (en) 2013-10-02

Similar Documents

Publication Publication Date Title
US9813852B2 (en) System and method for positioning terminal
CN103905291B (en) Geographic position-based communication method, mobile terminal, server and system
EP2898420B1 (en) A data-sharing method, terminal, server, and system
CN101997917B (en) Method and system for giving prompt for indicating user positions in social network service network system
US10334397B2 (en) Interaction tracking and organizing system
CN104253741B (en) A kind of method for sending information, relevant apparatus and system
CN104144106B (en) A kind of message forwarding method, Apparatus and system
US9398416B2 (en) Location-based communication system and method for employment recruiting or the like
CN106664560A (en) Network capacity information acquisition method and device
CN103781055A (en) Data downloading method and associated device
CN103067257A (en) Method and server and system for achieving data mutual communication in social networking service
CN103067249A (en) Contact display method, instant messaging software client side and client server
CN102868593A (en) Method and terminal for information acquisition
CN103338248B (en) A kind of method, system and device of two communication account number opening relationships
CN103281236B (en) Electronic business card exchange method, device and system
CN104348875A (en) Method, cloud server and system for performing pocket transmission of data
CN104539508A (en) Access control method and device
CN110209956B (en) Method, medium, apparatus and computing device for providing reading service
EP2627058B1 (en) Real-time interaction in a communication network
CN102256004A (en) Information processing method and electronic terminal
CN102932734A (en) Method, device and system for determining distance between terminals
CN103200296B (en) Method for information display, device and terminal
CN103297320A (en) Method and equipment for organizing activity
CN105099802A (en) Traffic identification method, terminal, and network element equipment
CN104144105A (en) Information transmission method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant