Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The embodiment of the invention discloses a kind of group's adding method and relevant device, system, can realize adding fast group, promote the property of participation that the user adds group, promote the efficient that terminal adds group.Below be elaborated respectively.
See also Fig. 1, Fig. 1 is the process flow diagram of the disclosed a kind of group of embodiment of the invention adding method.As shown in Figure 1, this group's adding method may further comprise the steps:
S101, terminal detect communication user and add the touch-control gesture that operation interface is imported in the group of communication applications when the operation communication applications.
In the embodiment of the invention, terminal comprise smart mobile phone (as Android mobile phone, iOS mobile phone etc.), panel computer, applause computer and mobile internet device (Mobile Internet Devices, MID), mobile device such as PAD.
In the embodiment of the invention, communication applications comprises instant messaging application, social communication applications etc.
In the embodiment of the invention, the detected communication user of terminal the group of communication applications add operation interface input touch-control gesture can comprise the slip gesture (as slides left, slide to the right, upwards slide, to lower slider, diagonal angle slip etc.), in the gesture of drawing a circle or the picture polygon gesture (as triangle, quadrilateral, rule or irregular polygon etc.) any one, the embodiment of the invention does not limit.
In the embodiment of the invention, terminal is before carrying out above-mentioned step S101, and terminal can be carried out following steps earlier, that is:
Terminal is in operation during communication applications, detect communication user and add the operation that touches of plug-in unit at the group of communication applications, and response touches operation, and output group adds operation interface.
For instance, terminal is in operation during communication applications, can detect communication user and add clicking or double-click or slide of plug-in unit at the group of communication applications, and response touches operation, and output group adds operation interface.Wherein, the group of terminal output adds operation interface and shows by terminal screen, that is to say, communication user can add the touch-control gesture of operation interface in the terminal screen input at the group of communication applications.
S102, terminal response touch-control gesture, the group that sends the current location that comprises terminal joins request to service equipment.
In the embodiment of the invention, terminal can respond the touch-control gesture, adopts the GPS module to obtain the current location of terminal, and perhaps, terminal also can be by carrying out alternately with network access equipments such as base station, WI-FI focuses, thereby can obtain the current location of terminal.
In the embodiment of the invention, service equipment can comprise that network equipment of the service ability of providing is provided for application server, Cloud Server and other.
S103, service equipment are inquired about the group of the current location coupling that whether stores this terminal according to the current location of this terminal, if store, then this communication user are added the group of the current location coupling of this terminal.
In the embodiment of the invention, current location refer to and the sampling location between distance more than or equal to the position of predetermined threshold value.
In the embodiment of the invention, the group of the current location of this terminal coupling comprise the current location coupling of this terminal interim group, group, work group etc. are discussed.
In the embodiment of the invention, the group that service equipment is inquired about the current location coupling that whether stores this terminal according to the current location of this terminal comprises:
Whether service equipment can store the group identification that the current location with this terminal is complementary according to the inquiry of the current location of this terminal, if store, then identifies the group of the current location coupling that stores this terminal; If do not store, then identify the group of the current location coupling that does not store this terminal.
In the embodiment of the invention, a database (DB) can be set in the service equipment, and this database can be used for the matching relationship between memory location and the group identification, wherein, position and the matching relationship between the group identification of this database storage can be as shown in table 1, that is:
The position of table 1 database storage and the matching relationship between the group identification
Wherein, after service equipment receives that the group of the current location that comprises terminal that terminal sends joins request, service equipment can be according to the current location of this terminal, whether inquiry stores the group identification that the current location with this terminal is complementary from the matching relationship as shown in table 1 of database (DB) storage, if store, then identify the group of the current location coupling that stores this terminal; If do not store, then identify the group of the current location coupling that does not store this terminal.For example, the current location of this terminal is position A, and service equipment is inquired about from the matching relationship as shown in table 1 of database (DB) storage and stored the ID1 of group that is complementary with position A according to position A, then identifies the ID1 of group that stores this position A coupling.
In the embodiment of the invention, service equipment can add this communication user the group of the current location coupling of this terminal by calling group's interface.
In the embodiment of the invention, service equipment can regularly travel through group, when finding that some groups have not had anyone, can delete this group, but also can delete this group of storage and the matching relationship of position.
In the embodiment of the invention, if service equipment inquires the group of the current location coupling that does not store this terminal, service equipment can send for the prompting communication user and import the message of group identification to terminal so, and behind the group identification of the communication user input that receives the terminal transmission, service equipment can be created the group of the group identification correspondence of this communication user input, and the matching relationship between the group identification imported of the current location of storing this terminal and this communication user.
In the embodiment of the invention, communication user can carry out the information issue with other communication users that add this group, wherein after adding the group of current location coupling of this terminal, concrete information issuing process is general knowledge known in those skilled in the art, and the embodiment of the invention is not done concrete argumentation.
In method shown in Figure 1, terminal can detect communication user and add the touch-control gesture that operation interface is imported in the group of communication applications when the operation communication applications, and then this touch-control gesture of terminal response, transmission comprises that the group of the current location of terminal joins request to service equipment, make whether service equipment can store the group of the current location coupling of this terminal according to the current location inquiry of this terminal, if store, communication user is added the group of this current location coupling by service equipment.By implementing method shown in Figure 1, communication user does not need to wait for that group joins request could be added group after being replied, but automatically communication user is added group by service equipment on the backstage, thus can realize adding fast group, promote the property of participation that the user adds group.In addition, in method shown in Figure 1, terminal does not need the group of the current location coupling of this terminal of active searching, thereby can save the operation of terminal searching group, promotes the efficient that terminal adds group greatly.
See also Fig. 2, Fig. 2 is the process flow diagram of the disclosed a kind of group of embodiment of the invention adding method.As shown in Figure 2, this group's adding method may further comprise the steps:
S201, terminal detect communication user and add the gesture of drawing a circle that operation interface is imported in the group of communication applications when the operation communication applications.
In the embodiment of the invention, terminal comprise smart mobile phone (as Android mobile phone, iOS mobile phone etc.), panel computer, applause computer and mobile internet device (Mobile Internet Devices, MID), mobile device such as PAD.
In the embodiment of the invention, terminal is before carrying out above-mentioned step S201, and terminal can be carried out following steps earlier, that is:
Terminal is in operation during communication applications, detect communication user and add the operation that touches of plug-in unit at the group of communication applications, and response touches operation, and output group adds operation interface.
For instance, terminal is in operation during communication applications, can detect communication user and add clicking or double-click or slide of plug-in unit at the group of communication applications, and response touches operation, and output group adds operation interface.Wherein, the group of terminal output adds operation interface and shows by terminal screen, that is to say, communication user can add the touch-control gesture of operation interface in the terminal screen input at the group of communication applications.
S202, terminal response touch-control gesture, the group that sends the current location that comprises terminal joins request to service equipment.
In the embodiment of the invention, terminal can respond this touch-control gesture, adopts the GPS module to obtain the current location of terminal, and perhaps, terminal also can be by carrying out alternately with network access equipments such as base station, WI-FI focuses, thereby can obtain the current location of terminal.
In the embodiment of the invention, service equipment can comprise that network equipment of the service ability of providing is provided for application server, Cloud Server and other.
Whether S203, service equipment store the group of the current location coupling of this terminal according to the current location inquiry of this terminal, if store, and execution in step S204 then, if do not store, execution in step S205~step S207 then.
In the embodiment of the invention, the group that service equipment is inquired about the current location coupling that whether stores this terminal according to the current location of this terminal comprises:
Whether service equipment can store the current location of this terminal and the matching relationship between the group identification according to the current location inquiry of this terminal, if store, then identifies the group of the current location coupling that stores this terminal; If do not store, then identify the group of the current location coupling that does not store this terminal.
In the embodiment of the invention, a database (DB) can be set in the service equipment, this database can be used for the matching relationship between memory location and the group identification, and wherein, position and the matching relationship between the group identification of this database storage can be shown in above-mentioned tables 1.Wherein, after service equipment receives that the group of the current location that comprises terminal that terminal sends joins request, service equipment can be according to the current location of this terminal, whether inquiry stores the current location of this terminal and the matching relationship between the group identification from the matching relationship as shown in table 1 of database (DB) storage, if store, then identify the group of the current location coupling that stores this terminal; If do not store, then identify the group of the current location coupling that does not store this terminal.For example, the current location of this terminal is position A, and service equipment is inquired about the matching relationship that stores between position A and the ID1 of group according to position A from the matching relationship as shown in table 1 of database (DB) storage, then identifies the ID1 of group that stores this position A coupling.
S204, service equipment add the group of the current location coupling of this terminal with this communication user, and the progress information that this communication user adds group is sent to terminal.
In the embodiment of the invention, service equipment can add this communication user the group of the current location coupling of this terminal by calling group's interface.
Wherein, this communication user progress information of adding group can adopt and be similar to " add group and finish 90% " such information and represent.
As shown in Figure 2, after group that communication user adds the current location coupling of this terminal finishes, be all communication users in exportable this group on the terminal, and the information (as " XXXX ", " YYYY " etc.) that can export all the communication user issues in this group.
If the S205 service equipment inquires the group of the current location coupling that does not store this terminal, service equipment sends and is used for pointing out the message of communication user input group identification to terminal.
S206, terminal receive the group identification of communication user input and send to service equipment.
After S207, service equipment receive the group identification of the communication user input that terminal sends, create the group of the group identification correspondence of communication user input, and the matching relationship between the group identification imported of the current location of storage terminal and communication user.
In the embodiment of the invention, service equipment can regularly travel through group, when finding that some groups have not had anyone, can delete this group, but also can delete this group of storage and the matching relationship of position.
In method shown in Figure 2, communication user does not need to wait for that group joins request could be added group after being replied, but automatically communication user is added group by service equipment on the backstage, thus can realize adding fast group, promote the property of participation that the user adds group.In addition, in method shown in Figure 2, terminal does not need the group of the current location coupling of this terminal of active searching, thereby can save the operation of terminal searching group, promotes the efficient that terminal adds group greatly.
See also Fig. 3, Fig. 3 is the process flow diagram of the disclosed another kind of group of embodiment of the invention adding method.As shown in Figure 3, this group's adding method may further comprise the steps:
S301, terminal detect communication user and add the touch-control gesture that operation interface is imported in the group of communication applications when the operation communication applications.
In the embodiment of the invention, terminal comprise smart mobile phone (as Android mobile phone, iOS mobile phone etc.), panel computer, applause computer and mobile internet device (Mobile Internet Devices, MID), mobile device such as PAD.
S302, terminal response touch-control gesture, transmission comprises that the group of the current location of this terminal joins request to service equipment, so that whether service equipment stores the group of the current location coupling of this terminal according to the current location inquiry of this terminal, if when storing, communication user is added the group of the current location coupling of this terminal by service equipment.
In the embodiment of the invention, terminal can also be carried out following steps before execution in step S301:
Terminal, detects communication user and adds the operation that touches of plug-in unit at the group of communication applications during communication applications in operation, and responds this and touch operation, and output group adds operation interface.
For instance, terminal is in operation during communication applications, can detect communication user and add clicking or double-click or slide of plug-in unit at the group of communication applications, and response touches operation, and output group adds operation interface.Wherein, the group of terminal output adds operation interface and shows by terminal screen, that is to say, communication user can add the touch-control gesture of operation interface in the terminal screen input at the group of communication applications.
In the embodiment of the invention, the detected communication user of terminal the group of communication applications add operation interface input touch-control gesture can comprise the slip gesture (as slides left, slide to the right, upwards slide, to lower slider, diagonal angle slip etc.), in the gesture of drawing a circle or the picture polygon gesture (as triangle, quadrilateral, rule or irregular polygon etc.) any one, the embodiment of the invention does not limit.
In the embodiment of the invention, the group that service equipment is inquired about the current location coupling that whether stores this terminal according to the current location of this terminal comprises:
Whether service equipment can store the current location of this terminal and the matching relationship between the group identification according to the current location inquiry of this terminal, if store, then identifies the group of the current location coupling that stores this terminal; If do not store, then identify the group of the current location coupling that does not store this terminal.
In method shown in Figure 3, communication user does not need to wait for that group joins request could be added group after being replied, but automatically communication user is added group by service equipment on the backstage, thus can realize adding fast group, promote the property of participation that the user adds group.In addition, in method shown in Figure 3, terminal does not need the group of the current location coupling of this terminal of active searching, thereby can save the operation of terminal searching group, promotes the efficient that terminal adds group greatly.
See also Fig. 4, Fig. 4 is the structural drawing that the disclosed a kind of group of the embodiment of the invention adds system.As shown in Figure 4, this adding system of group comprises terminal 401 andservice equipment 402, and wherein, terminal 401 is by networkconnection service equipment 402, wherein:
Terminal 401 is used for when the operation communication applications, and detect communication user and add the touch-control gesture that operation interface is imported in the group of communication applications, and response touch-control gesture, the group that sends the current location that comprises terminal 401 joins request toservice equipment 402;
Service equipment 402 for the group of inquiring about the current location coupling that whether stores terminal 401 according to the current location ofterminal 401, if store, then adds communication user the group of the current location coupling ofterminal 401.
In the embodiment of the invention, terminal 401 also is used for detecting communication user and adding the operation that touches of plug-in unit at the group of communication applications when the operation communication applications, and responds this and touch operation, and output group adds operation interface.
In the embodiment of the invention, terminal 401 detected communication users the group of communication applications add operation interface input touch-control gesture can comprise the slip gesture (as slides left, slide to the right, upwards slide, to lower slider, diagonal angle slip etc.), in the gesture of drawing a circle or the picture polygon gesture (as triangle, quadrilateral, rule or irregular polygon etc.) any one, the embodiment of the invention does not limit.
In the embodiment of the invention, the group thatservice equipment 402 is inquired about the current location coupling that whether stores terminal 401 according to the current location ofterminal 401 comprises:
Service equipment 402 is used for current location inquiry according toterminal 401 and whether stores the group identification that the current location withterminal 401 is complementary, if store, then identifies the group of the current location coupling that stores terminal 401; If do not store, then identify the group of the current location coupling that does not store terminal 402.
In the embodiment of the invention,service equipment 402 also is used for when inquiring the group of the current location coupling that does not store terminal 401, send and be used for pointing out the message of communication user input group identification toterminal 401, and behind the group identification of the communication user input that receives terminal 401 transmissions, create the group of the group identification correspondence of this communication user input, and the matching relationship between the group identification of the current location ofstorage terminal 401 and the input of this communication user;
Correspondingly, terminal 401 also is used for receiving the message that is used for prompting communication user input group identification thatservice equipment 402 sends, and receives the group identification of communication user input and send toservice equipment 402.
In the embodiment of the invention,service equipment 402 can regularly travel through group, when finding that some groups have not had anyone, can delete this group, but also can delete this group of storage and the matching relationship of position.
In system shown in Figure 4, communication user does not need to wait for that group joins request could be added group after being replied, but automatically communication user is added group by service equipment on the backstage, thus can realize adding fast group, promote the property of participation that the user adds group.In addition, in system shown in Figure 4, terminal does not need the group of the current location coupling of this terminal of active searching, thereby can save the operation of terminal searching group, promotes the efficient that terminal adds group greatly.
See also Fig. 5, Fig. 5 is the structural drawing of the disclosed a kind of terminal of the embodiment of the invention.As shown in Figure 5, thisterminal 500 comprises:
First detectingunit 501 is used for when the terminal operating communication applications, detects communication user and adds the touch-control gesture that operation interface is imported in the group of communication applications;
Transmittingelement 502, be used for this touch-control gesture of response, transmission comprises that the group of the current location of terminal joins request to service equipment, so that whether service equipment stores the group of the current location coupling of terminal according to the current location inquiry of terminal, if when storing, communication user is added the group of the current location coupling of this terminal by service equipment.
In the embodiment of the invention, terminal shown in Figure 5 also comprises:
Second detectingunit 503 is used for when the terminal operating communication applications, detects communication user adds plug-in unit at the group of communication applications the operation that touches;
Output unit 504, this touches operation to be used for response, and output group adds operation interface.
Correspondingly, first detectingunit 501 is concrete for when the terminal operating communication applications, detects communication user and adds the touch-control gesture that operation interface is imported in the group of the communication applications ofoutput unit 504 outputs.
In the embodiment of the invention, first detecting unit, 501 detected communication users the group of communication applications add operation interface input touch-control gesture can comprise the slip gesture (as slides left, slide to the right, upwards slide, to lower slider, diagonal angle slip etc.), in the gesture of drawing a circle or the picture polygon gesture (as triangle, quadrilateral, rule or irregular polygon etc.) any one, the embodiment of the invention does not limit.
In the embodiment of the invention, the group that service equipment is inquired about the current location coupling that whether stores this terminal according to the current location of this terminal comprises:
Whether service equipment can store the group identification that the current location with this terminal is complementary according to the inquiry of the current location of this terminal, if store, then identifies the group of the current location coupling that stores this terminal; If do not store, then identify the group of the current location coupling that does not store this terminal.
In terminal shown in Figure 5, communication user does not need to wait for that group joins request could be added group after being replied, but automatically communication user is added group by service equipment on the backstage, thus can realize adding fast group, promote the property of participation that the user adds group.In addition, in terminal shown in Figure 5, terminal does not need the group of the current location coupling of this terminal of active searching, thereby can save the operation of terminal searching group, promotes the efficient that terminal adds group greatly.
One of ordinary skill in the art will appreciate that all or part of step in the above-mentioned method shown in Figure 3 is to come the relevant hardware of command terminal finish by program, this program can be stored in the computer-readable recording medium of terminal, storage medium can comprise: flash disk, ROM (read-only memory) (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc.
More than the embodiment of the invention disclosed group adding method and relevant device, system are described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.