Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, completeDescribe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on thisEmbodiment in invention, the every other reality that those of ordinary skill in the art are obtained under not making creative work premiseExecute example, broadly fall into the scope of protection of the invention.
The embodiment of the invention discloses a kind of group's Adding Way and relevant device, system, it is possible to realize rapidly joining groupGroup, promotes user and adds the property of participation of group, promotes terminal and adds the efficiency of group.It is described in detail individually below.
Referring to Fig. 1, Fig. 1 is the flow chart of a kind of group Adding Way disclosed in the embodiment of the present invention.As it is shown in figure 1,This group's Adding Way comprises the following steps:
S101, terminal are when running communication applications, and detection communication user adds on operation interface in the group of communication applicationsThe touch control gesture of input.
In the embodiment of the present invention, terminal includes smart mobile phone (such as Android phone, iOS mobile phone etc.), panel computer, the palmThe mobile devices such as acoustic-electric brain and mobile internet device (Mobile Internet Devices, MID), PAD.
In the embodiment of the present invention, communication applications includes instant messaging application, social communication applications etc..
In the embodiment of the present invention, the communication user that terminal detects adds input on operation interface in the group of communication applicationsTouch control gesture can include slip gesture (such as slip, slip to the right, upward sliding, slide downward, diagonal angle slip etc. to the left), drawCircle gesture or draw in polygon gesture (such as triangle, tetragon, rule or irregular polygon etc.) any one, the present inventionEmbodiment is not construed as limiting.
In the embodiment of the present invention, terminal is before performing above-mentioned step S101, and terminal can first carry out following steps,That is:
Terminal run communication applications time, detection communication user for communication applications group add plug-in unit touch behaviourMaking, and response touches operation, output group adds operation interface.
For example, terminal, when running communication applications, can detect communication user group's addition for communication applicationsThe click or double-click or sliding operation of plug-in unit, and response touches operation, output group adds operation interface.Wherein, terminal is defeatedThe group gone out is added operation interface and is shown by terminal screen, and in other words, communication user can be on a terminal screenInput the group for communication applications and add the touch control gesture at operation interface.
S102, terminal response touch control gesture, the group sending the current location including terminal joins request to service equipment.
In the embodiment of the present invention, terminal can respond touch control gesture, uses GPS module to obtain the current location of terminal,Or, terminal can also be by interacting with network access equipments such as base station, WI-FI focuses, it is hereby achieved that terminalCurrent location.
In the embodiment of the present invention, service equipment can include application server, Cloud Server and other possess offer clothesThe network equipment of business ability.
Whether S103, service equipment store the current location matches of this terminal according to the current location inquiry of this terminalGroup, if storage has, then adds the group of the current location matches of this terminal by this communication user.
In the embodiment of the present invention, current location refers to the position more than or equal to predetermined threshold value of the distance between sampling locationPut.
In the embodiment of the present invention, the group of the current location matches of this terminal includes facing of the current location matches of this terminalTime group, discuss group, work group etc..
In the embodiment of the present invention, service equipment inquires about whether store the current of this terminal according to the current location of this terminalThe group of location matches includes:
Service equipment can inquire about the current location phase whether stored with this terminal according to the current location of this terminalThe group identification joined, if storage has, then identifies the group that storage has the current location matches of this terminal;If do not storedHave, then identify the group of the current location matches not storing this terminal.
In the embodiment of the present invention, can arrange a data base (DB) in service equipment, this data base may be used for storageMatching relationship between position and group identification, wherein, the matching relationship between position and the group identification of this database purchaseCan be as shown in table 1, it may be assumed that
Matching relationship between position and the group identification of table 1 database purchase
Wherein, after service equipment receives group's addition request of the current location including terminal that terminal sends, serviceWhether equipment can be inquired about from the matching relationship as shown in table 1 that data base (DB) stores according to the current location of this terminalStorage has the group identification that the current location with this terminal matches, if storage has, then identifying storage has working as of this terminalThe group of front position coupling;If do not stored, then identify the group of the current location matches not storing this terminal.ExampleAs, the current location of this terminal is position A, and service equipment is according to position A, from data base (DB) store as shown in table 1In matching relationship, inquiry storage has the group ID1 matched with position A, then identify the group that storage has this position A to mateID1。
In the embodiment of the present invention, this communication user can be added this terminal by calling group's interface by service equipmentThe group of current location matches.
In the embodiment of the present invention, service equipment can regularly travel through group, when finding some group without anyone,This group can be deleted, but also this group of storage and the matching relationship of position can be deleted.
In the embodiment of the present invention, if service equipment inquires the group of the current location matches not storing this terminal,So service equipment can send for the message pointing out communication user to input group identification to terminal, and is receiving terminalAfter the group identification of the communication user input sent, the group identification that service equipment can create the input of this communication user is correspondingGroup, and store the matching relationship between the current location of this terminal and the group identification of this communication user input.
In the embodiment of the present invention, after the group of the current location matches that communication user adds this terminal, can be somebody's turn to do with addingOther communication users of group carry out information issue, and wherein, concrete information issuing process is known to one of skill in the artGeneral knowledge, the embodiment of the present invention is the most specifically discussed.
In the method shown in Fig. 1, terminal can detect the communication user group in communication applications when running communication applicationsGroup adds the touch control gesture of input on operation interface, and then this touch control gesture of terminal response, sends the current location including terminalGroup join request to service equipment so that service equipment can inquire about whether store this according to the current location of this terminalThe group of the current location matches of terminal, if storage has, is added this current location matches by service equipment by communication userGroup.By implementing the method shown in Fig. 1, communication user withouts waiting for add group after group's addition request is respondedGroup, but automatically communication user is added group by service equipment on backstage, such that it is able to realize rapidly joining group, promote and useFamily adds the property of participation of group.It addition, in the method shown in Fig. 1, terminal need not actively search for the current location of this terminalThe group of coupling, such that it is able to save the operation of terminal searching group, is greatly promoted terminal and adds the efficiency of group.
Referring to Fig. 2, Fig. 2 is the flow chart of a kind of group Adding Way disclosed in the embodiment of the present invention.As in figure 2 it is shown,This group's Adding Way comprises the following steps:
S201, terminal are when running communication applications, and detection communication user adds on operation interface in the group of communication applicationsThe gesture of drawing a circle of input.
In the embodiment of the present invention, terminal includes smart mobile phone (such as Android phone, iOS mobile phone etc.), panel computer, the palmThe mobile devices such as acoustic-electric brain and mobile internet device (Mobile Internet Devices, MID), PAD.
In the embodiment of the present invention, terminal is before performing above-mentioned step S201, and terminal can first carry out following steps,That is:
Terminal run communication applications time, detection communication user for communication applications group add plug-in unit touch behaviourMaking, and response touches operation, output group adds operation interface.
For example, terminal, when running communication applications, can detect communication user group's addition for communication applicationsThe click or double-click or sliding operation of plug-in unit, and response touches operation, output group adds operation interface.Wherein, terminal is defeatedThe group gone out is added operation interface and is shown by terminal screen, and in other words, communication user can be on a terminal screenInput the group for communication applications and add the touch control gesture at operation interface.
S202, terminal response touch control gesture, the group sending the current location including terminal joins request to service equipment.
In the embodiment of the present invention, terminal can respond this touch control gesture, uses GPS module to obtain the present bit of terminalPut, or, terminal can also be by interacting with network access equipments such as base station, WI-FI focuses, it is hereby achieved that terminalCurrent location.
In the embodiment of the present invention, service equipment can include application server, Cloud Server and other possess offer clothesThe network equipment of business ability.
Whether S203, service equipment store the current location matches of this terminal according to the current location inquiry of this terminalGroup, if storage has, then performs step S204, if do not stored, then performs step S205~step S207.
In the embodiment of the present invention, service equipment inquires about whether store the current of this terminal according to the current location of this terminalThe group of location matches includes:
Service equipment can inquire about current location and the group whether storing this terminal according to the current location of this terminalMatching relationship between mark, if storage has, then identifies the group that storage has the current location matches of this terminal;If notStorage has, then identify the group of the current location matches not storing this terminal.
In the embodiment of the present invention, can arrange a data base (DB) in service equipment, this data base may be used for storageMatching relationship between position and group identification, wherein, the matching relationship between position and the group identification of this database purchaseCan be as shown in Table 1 above.Wherein, the group of the current location including terminal receiving terminal transmission when service equipment adds pleaseAfter asking, service equipment can be according to the current location of this terminal, from the matching relationship as shown in table 1 that data base (DB) storesWhether inquiry stores the matching relationship between the current location of this terminal and group identification, if storage has, then identifies and depositsContain the group of the current location matches of this terminal;If do not stored, then identify the current location not storing this terminalThe group of coupling.Such as, the current location of this terminal is position A, and service equipment is according to position A, stores from data base (DB)Matching relationship as shown in table 1 in inquiry storage have the matching relationship between position A and group ID1, then identifying storage hasThe group ID1 of this position A coupling.
This communication user is added the group of the current location matches of this terminal by S204, service equipment, and this communication is usedFamily adds the progress information of group and is sent to terminal.
In the embodiment of the present invention, this communication user can be added this terminal by calling group's interface by service equipmentThe group of current location matches.
Wherein, the progress information of this communication user addition group can use and be similar to " add group and complete 90% " soInformation represent.
As in figure 2 it is shown, after working as the group of the current location matches that communication user adds this terminal, can be defeated in terminalGo out all communication users in this group, and can export information that all communication users in this group issue (as" XXXX ", " YYYY " etc.).
If S205 service equipment inquires the group of the current location matches not storing this terminal, service equipment is sent outSend the message for pointing out communication user input group identification to terminal.
S206, terminal receive the group identification of communication user input and are sent to service equipment.
After S207, service equipment receive the group identification of the communication user input that terminal sends, create communication user defeatedBetween the group that the group identification that enters is corresponding, and the group identification of the current location of storage terminal and communication user inputJoin relation.
In the embodiment of the present invention, service equipment can regularly travel through group, when finding some group without anyone,This group can be deleted, but also this group of storage and the matching relationship of position can be deleted.
In the method shown in Fig. 2, communication user withouts waiting for add group after group's addition request is responded,But automatically communication user is added group by service equipment on backstage, such that it is able to realize rapidly joining group, promote userAdd the property of participation of group.It addition, in the method shown in Fig. 2, terminal need not actively search for the current location of this terminalThe group joined, such that it is able to save the operation of terminal searching group, is greatly promoted terminal and adds the efficiency of group.
Referring to Fig. 3, Fig. 3 is the flow chart of another kind of group Adding Way disclosed in the embodiment of the present invention.Such as Fig. 3 instituteShowing, this group's Adding Way comprises the following steps:
S301, terminal are when running communication applications, and detection communication user adds on operation interface in the group of communication applicationsThe touch control gesture of input.
In the embodiment of the present invention, terminal includes smart mobile phone (such as Android phone, iOS mobile phone etc.), panel computer, the palmThe mobile devices such as acoustic-electric brain and mobile internet device (Mobile Internet Devices, MID), PAD.
S302, terminal response touch control gesture, transmission includes that the group of the current location of this terminal joins request to service and setsStandby, so that service equipment inquires about the group of the current location matches whether storing this terminal according to the current location of this terminal,If storage is sometimes, service equipment communication user is added the group of the current location matches of this terminal.
In the embodiment of the present invention, terminal is before performing step S301, it is also possible to execution following steps:
Terminal run communication applications time, detection communication user for communication applications group add plug-in unit touch behaviourMaking, and respond this and touch operation, output group adds operation interface.
For example, terminal, when running communication applications, can detect communication user group's addition for communication applicationsThe click or double-click or sliding operation of plug-in unit, and response touches operation, output group adds operation interface.Wherein, terminal is defeatedThe group gone out is added operation interface and is shown by terminal screen, and in other words, communication user can be on a terminal screenInput the group for communication applications and add the touch control gesture at operation interface.
In the embodiment of the present invention, the communication user that terminal detects adds input on operation interface in the group of communication applicationsTouch control gesture can include slip gesture (such as slip, slip to the right, upward sliding, slide downward, diagonal angle slip etc. to the left), drawCircle gesture or draw in polygon gesture (such as triangle, tetragon, rule or irregular polygon etc.) any one, the present inventionEmbodiment is not construed as limiting.
In the embodiment of the present invention, service equipment inquires about whether store the current of this terminal according to the current location of this terminalThe group of location matches includes:
Service equipment can inquire about current location and the group whether storing this terminal according to the current location of this terminalMatching relationship between mark, if storage has, then identifies the group that storage has the current location matches of this terminal;If notStorage has, then identify the group of the current location matches not storing this terminal.
In the method shown in Fig. 3, communication user withouts waiting for add group after group's addition request is responded,But automatically communication user is added group by service equipment on backstage, such that it is able to realize rapidly joining group, promote userAdd the property of participation of group.It addition, in the method shown in Fig. 3, terminal need not actively search for the current location of this terminalThe group joined, such that it is able to save the operation of terminal searching group, is greatly promoted terminal and adds the efficiency of group.
Referring to Fig. 4, Fig. 4 is the structure chart that a kind of group disclosed in the embodiment of the present invention adds system.As shown in Figure 4,This group adds system and includes terminal 401 and service equipment 402, and wherein, terminal 401 passes through network connection service equipment 402, itsIn:
Terminal 401, for when running communication applications, detection communication user adds operation interface in the group of communication applicationsThe touch control gesture of upper input, and response touch control gesture, the group sending the current location including terminal 401 joins request to clothesBusiness equipment 402;
Service equipment 402, inquires about the current location whether storing terminal 401 for the current location according to terminal 401The group of coupling, if storage has, then adds the group of the current location matches of terminal 401 by communication user.
In the embodiment of the present invention, terminal 401 is additionally operable to when running communication applications, and detection communication user is for communication applicationsGroup add plug-in unit touch operation, and respond this and touch operation, output group adds operation interface.
In the embodiment of the present invention, the communication user that terminal 401 detects adds on operation interface in the group of communication applicationsInput touch control gesture can include that slip gesture is (as slip to the left, slip to the right, upward sliding, slide downward, diagonal angle slideDeng), gesture of drawing a circle or draw in polygon gesture (such as triangle, tetragon, rule or irregular polygon etc.) any one,The embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, service equipment 402 inquires about whether stored terminal 401 according to the current location of terminal 401The group of current location matches include:
Whether service equipment 402 is inquired about for the current location according to terminal 401 and is stored and the current location of terminal 401The group identification matched, if storage has, then identifies the group that storage has the current location matches of terminal 401;If notStorage has, then identify the group of the current location matches not storing terminal 402.
In the embodiment of the present invention, service equipment 402 is additionally operable to inquiring the current location matches not storing terminal 401Group time, send the message for pointing out communication user input group identification to terminal 401, and receiving terminal 401After the group identification of the communication user input sent, create the group that the group identification of this communication user input is corresponding, Yi JicunMatching relationship between current location and the group identification of this communication user input of storage terminal 401;
Correspondingly, terminal 401 be additionally operable to receive service equipment 402 send for point out communication user input group identificationMessage, and receive communication user input group identification and be sent to service equipment 402.
In the embodiment of the present invention, service equipment 402 can regularly travel through group, when finding that some group is without anyoneTime, this group can be deleted, but also this group of storage and the matching relationship of position can be deleted.
In the system shown in Fig. 4, communication user withouts waiting for add group after group's addition request is responded,But automatically communication user is added group by service equipment on backstage, such that it is able to realize rapidly joining group, promote userAdd the property of participation of group.It addition, in the system shown in Fig. 4, terminal need not actively search for the current location of this terminalThe group joined, such that it is able to save the operation of terminal searching group, is greatly promoted terminal and adds the efficiency of group.
Referring to Fig. 5, Fig. 5 is the structure chart of a kind of terminal disclosed in the embodiment of the present invention.As it is shown in figure 5, this terminal 500Including:
First detector unit 501, for when terminal operating communication applications, detection communication user is in the group of communication applicationsAdd the touch control gesture of input on operation interface;
Transmitting element 502, is used for responding this touch control gesture, and the group sending the current location including terminal joins request toService equipment, so that service equipment inquires about the group of the current location matches whether storing terminal according to the current location of terminalGroup, if storage is sometimes, is added the group of the current location matches of this terminal by service equipment by communication user.
In the embodiment of the present invention, the terminal shown in Fig. 5 also includes:
Second detector unit 503, for when terminal operating communication applications, detection communication user is for the group of communication applicationsThat organizes addition plug-in unit touches operation;
Output unit 504, is used for responding this and touches operation, and output group adds operation interface.
Correspondingly, the first detector unit 501 is specifically for when terminal operating communication applications, and detection communication user is in outputThe group of the communication applications of unit 504 output adds the touch control gesture of input on operation interface.
In the embodiment of the present invention, the communication user that the first detector unit 501 detects adds behaviour in the group of communication applicationsMake to input on interface touch control gesture and can include that slip gesture is (such as slip to the left, slip to the right, upward sliding, slide downward, rightAngle slip etc.), gesture of drawing a circle or draw in polygon gesture (such as triangle, tetragon, rule or irregular polygon etc.) timesMeaning one, the embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, service equipment inquires about whether store the current of this terminal according to the current location of this terminalThe group of location matches includes:
Service equipment can inquire about the current location phase whether stored with this terminal according to the current location of this terminalThe group identification joined, if storage has, then identifies the group that storage has the current location matches of this terminal;If do not storedHave, then identify the group of the current location matches not storing this terminal.
In the terminal shown in Fig. 5, communication user withouts waiting for add group after group's addition request is responded,But automatically communication user is added group by service equipment on backstage, such that it is able to realize rapidly joining group, promote userAdd the property of participation of group.It addition, in the terminal shown in Fig. 5, terminal need not actively search for the current location of this terminalThe group joined, such that it is able to save the operation of terminal searching group, is greatly promoted terminal and adds the efficiency of group.
One of ordinary skill in the art will appreciate that all or part of step in the method shown in above-mentioned Fig. 3 is to lead toThe hardware that the program of mistake carrys out command terminal relevant completes, and this program can be stored in the computer-readable recording medium of terminal,Storage medium may include that flash disk, read only memory (Read-Only Memory, ROM), random access device (RandomAccess Memory, RAM), disk or CD etc..
Above group's Adding Way disclosed in the embodiment of the present invention and relevant device, system are described in detail, thisApplying specific case in literary composition to be set forth principle and the embodiment of the present invention, the explanation of above example is only intended toHelp to understand method and the core concept thereof of the present invention;Simultaneously for one of ordinary skill in the art, according to the think of of the present inventionThinking, the most all will change, in sum, it is right that this specification content should not be construed asThe restriction of the present invention.