Invention content
In view of this, a kind of instant communicating method of the application offer and device.
Specifically, the application is achieved by the following technical solution:
A kind of instant communicating method, the method includes:
It is received by cluster conversation interface and sends the instruction that member sends private conversation for designated group member;
Obtain the content for sending the private conversation that member is inputted by the cluster conversation interface;
It is sent to server-side after carrying privately owned mark in the private conversation according to the instruction for sending private conversation,
So that the private conversation is transmitted to the designated group member by server-side according to the privately owned mark.
Further, described received by cluster conversation interface sends member for designated group member transmission private conversation
Instruction include:
It is received by the cluster conversation interface and sends the instruction that member sends cluster conversation for designated group member;
Judge whether to receive the first instruction for sending member's input by the cluster conversation interface;
If receiving first instruction for sending member's input by the cluster conversation interface, the group is confirmed
Group session is the private conversation for the designated group member.
Further, the method further includes:
After confirming the cluster conversation for for the private conversation of the designated group member, in cluster conversation circle
Private conversation prompt is presented in the session input frame in face, the current cluster conversation of member is sent as private conversation using prompt.
Further, after confirming the cluster conversation for for the private conversation of the designated group member, judgement is
It is no that the second instruction for sending member's input is received by the cluster conversation interface;
If receiving second instruction for sending member's input by the cluster conversation interface, cancel the private
There is session.
Further, the method further includes:
Judge whether carry the privately owned mark in the cluster conversation of server-side forwarding;
If carrying the privately owned mark in the cluster conversation, confirm that the cluster conversation is private conversation,
Content and the private conversation prompt of the private conversation are presented in cluster conversation interface.
Further, the method further includes:
Transmission member, which is received, by the cluster conversation interface sends back words of resuming a session for the content of the private conversation
Instruction;
Confirm that the reply session is private conversation.
A kind of instant communicating method, the method includes:
It receives and sends the cluster conversation that member sends;
Judge privately owned mark whether is carried in the cluster conversation, the privately owned mark be client receive send at
Member is for carrying after the instruction of designated group member transmission private conversation in the cluster conversation;
If carrying privately owned mark in the cluster conversation, confirm that the cluster conversation is private conversation, and will be described
Cluster conversation is transmitted to the specified group member of the cluster conversation.
A kind of immediate communication device, described device include:
First receiving unit is received by cluster conversation interface and sends member for the privately owned reply of designated group member transmission
Instruction;
Contents acquiring unit obtains the content for sending the private conversation that member is inputted by the cluster conversation interface;
Session transmission unit, after carrying privately owned mark in the private conversation according to the instruction for sending private conversation
It is sent to server-side, so that the private conversation is transmitted to the designated group member by server-side according to the privately owned mark.
Further, first receiving unit includes:
Command reception subelement is received by the cluster conversation interface and sends member for designated group member transmission group
The instruction of group session;
Privately owned judgment sub-unit judges whether to receive the first finger for sending member's input by the cluster conversation interface
It enables;
Privately owned confirmation subelement, after the first instruction for receiving transmission member's input by the cluster conversation interface,
Confirm that the cluster conversation is the private conversation for the designated group member.
Further, the privately owned confirmation subelement is further confirming that the cluster conversation is for the designated group
After the private conversation of group membership, private conversation prompt is presented in the session input frame at the cluster conversation interface, to prompt to send out
The cluster conversation for sending member current is private conversation.
Further, the privately owned confirmation subelement is further confirming that the cluster conversation is for the designated group
After the private conversation of group membership, judge whether to receive the second instruction for sending member's input by the cluster conversation interface,
When receiving the second instruction for sending member's input by the cluster conversation interface, cancel the private conversation.
Further, described device further includes:
Judging unit is identified, judges whether carry the privately owned mark in the cluster conversation of server-side forwarding;
Content presentation unit when carrying the privately owned mark in the cluster conversation, confirms that the cluster conversation is
Content and the private conversation prompt of the private conversation is presented in private conversation in cluster conversation interface.
Further, described device further includes:
Second receiving unit receives the content hair for sending member for the private conversation by the cluster conversation interface
Send the instruction for words of resuming a session back to;
Privately owned confirmation unit confirms that the reply session is private conversation.
A kind of immediate communication device, described device include:
Session receiving unit receives and sends the cluster conversation that member sends;
Privately owned judging unit judges privately owned mark whether is carried in the cluster conversation, and the privately owned mark is client
It is carried in the cluster conversation receiving to send after member is directed to the instruction of designated group member transmission private conversation;
Session retransmission unit when carrying privately owned mark in the cluster conversation, confirms that the cluster conversation is privately owned meeting
Words, and the cluster conversation is transmitted to the specified group member of the cluster conversation.
It can be seen from above description in this application, the client of instant messaging is received by cluster conversation interface
It, can be according to the finger for sending private conversation when sending the instruction of private conversation for designated group member to transmission member
It enables, privately owned mark is carried in the private conversation, server-side can turn the private conversation according to the privately owned mark in turn
The designated group member is issued, to realize that private chat, whole process need not exit group in cluster conversation interface
Session interface, aspect is quick, and the user experience is improved.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of consistent device and method of some aspects be described in detail in claims, the application.
It is the purpose only merely for description specific embodiment in term used in this application, is not intended to be limiting the application.
It is also intended to including majority in the application and "an" of singulative used in the attached claims, " described " and "the"
Form, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to and wraps
Containing one or more associated list items purposes, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from
In the case of the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination ".
Referring to FIG. 1, the application provides a kind of instant communicating method, using on the client, the method may include
Following steps:
Step 101, it is received by cluster conversation interface and sends the finger that member sends private conversation for designated group member
It enables.
Step 102, the content for sending the private conversation that member is inputted by the cluster conversation interface is obtained.
Step 103, it is sent out after carrying privately owned mark in the private conversation according to the instruction for sending private conversation
Server-side is given, so that the private conversation is transmitted to the designated group member by server-side according to the privately owned mark.
Referring to FIG. 2, the application provides a kind of instant communicating method, apply in server-side, the method may include
Following steps:
Step 201, it receives and sends the cluster conversation that member sends.
Step 202, judge privately owned mark whether is carried in the cluster conversation, the privately owned mark is that client is receiving
It is carried in the cluster conversation to sending after member is directed to the instruction of designated group member transmission private conversation.
Step 203, when carrying privately owned mark in the cluster conversation, confirm that the cluster conversation is private conversation, and
The cluster conversation is transmitted to the specified group member of the cluster conversation.
It can be seen from above description in this application, the client of instant messaging is received by cluster conversation interface
It, can be according to the finger for sending private conversation when sending the instruction of private conversation for designated group member to transmission member
It enables, privately owned mark is carried in the private conversation, server-side can turn the private conversation according to the privately owned mark in turn
The designated group member is issued, to realize that private chat, whole process need not exit group in cluster conversation interface
Session interface, aspect is quick, and the user experience is improved.
The specific implementation of the application is described in detail with reference to embodiment.
Referring to FIG. 3, in the application another kind embodiment instant communicating method flow diagram, the method can wrap
Include following steps:
Step 301, it is received by cluster conversation interface and sends the finger that member sends cluster conversation for designated group member
It enables.
During instant messaging, the client of instant messaging both ends member is conversated the turning of message by server-side
Hair.Generally, the identity for sending member and receiving member can be carried, chat by sending in the conversation message that member sends
The conversation message is transmitted to according to the identity for receiving member and receives member's by the information such as its content, server-side
Client.For group chatting, sends in the conversation message that member sends and also carry group identification, for server-side root
The member of the group is searched according to the group identification and carries out the forwarding of the conversation message.The processing of this part and realization can be with
With reference to the prior art, the application is no longer described in detail one by one herein.
In this application, member is sent when carrying out group chatting, can be directed to designated group member and be sent a group
Session, designated group member can receive a prompting, be to send member in group to be directed to certainly to remind the cluster conversation
What oneself sent.Relatively conventional, sending member can be realized by "@" function in group chatting for designated group member hair
Send cluster conversation.Such as:Member is sent by the head portrait of designated group member described in long-press to open "@" function can also may be used
To input "@" character directly in session input frame to open "@" function.For sending the client of member, Ke Yi
When sending member's unlatching "@" function, confirms and receive the instruction that transmission member sends cluster conversation for designated group member.
Step 302, judge whether to receive first instruction for sending member's input by the cluster conversation interface.Such as
Fruit receives first instruction for sending member's input by the cluster conversation interface, thens follow the steps 303.
Step 303, confirm that the cluster conversation is the private conversation for the designated group member.
Based on abovementioned steps 301, member is sent for designated group member being received by the cluster conversation interface
After the instruction for sending cluster conversation, judge whether to receive the first finger for sending member's input by the cluster conversation interface
It enables, and after receiving first instruction, confirms that the cluster conversation is the private conversation for the designated group member.
Wherein, to send the instruction of private conversation for the designated group member, first instruction can be by for first instruction
Developer pre-defines, such as:Preset slip instruction, preset phonetic order, the preset button of click etc., this
Application is not restricted this.
Relatively simple, for convenience of being used on portable terminal, first instruction can be set to preset sliding
Instruction, such as:The instruction slided to preset direction in the session input frame at cluster conversation interface.Specifically, in this application,
Want certain designated group member transmission private conversation into group when sending member, that is, sends member and want to the designated group
When member sends secret words, cluster conversation interface input pin can be first passed through, cluster conversation is sent to the designated group member
Instruction, such as:Sending member can send member's by the head portrait of designated group member described in long-press to open "@" function
Client is after receiving transmission member for the instruction of designated group member unlatching "@" function, it will usually in the group
The pet name that "@" character and the designated group member are presented in the session input frame at group session interface, to remind transmission member to work as
Preceding cluster conversation is the cluster conversation for the designated group member.At this point, sending member can input in the session
Finger is slided in frame to the right, to realize input first instruction.
Referring to FIG. 4, in one embodiment of the application instant communication client interface schematic diagram, send member can be at this
In group chatting frame mouth by the head portrait of long-press group member B with activation pin to "@" function of group member B, then described
Finger is slided from left to right in session input frame, and the instruction of private conversation is sent to realize input pin to the group member B.
Step 304, in the session input frame at the cluster conversation interface present private conversation prompt, with prompt send at
The current cluster conversation of member is private conversation.
In this step, referring to FIG. 5, confirming that the cluster conversation is the privately owned meeting for the designated group member
After words, private conversation prompt can be presented in the session input frame at the cluster conversation interface, such as:It can be presented that " this is
One secret words " send the current cluster conversation of member as private conversation using prompt.
Further, member is sent after input pin sends the instruction of private conversation to the designated group member, it can be with
By the second instruction of input to cancel the private conversation.Wherein, it is described second instruction be cancel for the designated group at
Member sends the instruction of private conversation, and second instruction can also be pre-defined by developer, such as:Preset sliding
Instruction, preset phonetic order, the preset button of click etc., the application is not restricted this.
Relatively simple, second instruction can be set to the slip instruction different from first instruction, such as:
The instruction slided to the direction opposite with first instruction in the session input frame at cluster conversation interface.Refer to described first
For enabling to slide the instruction of finger to the right in the session input frame at the cluster conversation interface, described second can be instructed
It is set as sliding the instruction of finger to the left in the session input frame at the cluster conversation interface.Client is passing through the group
After session interface receives second instruction, cancel the private conversation.Further, it removes in cluster conversation circle
The private conversation prompt showed in the session input frame in face.
Step 305, it is sent to server-side after privately owned mark being carried in the private conversation, so that server-side is according to
The private conversation is transmitted to the designated group member by privately owned mark.
In this step, the privately owned meeting for the designated group member is sent by cluster conversation interface as transmission member
When words, send member client privately owned mark is carried in the private conversation after be sent to server-side.The privately owned mark
It can be configured by developer, such as:Preset character etc., the application are added in the preset field of the private conversation
This is not restricted.Certainly, according to the relevant technologies of group chatting, the client for sending member can also be in the private conversation
The identity etc. for carrying group identification, the designated group member, is no longer described in detail one by one herein.
Server-side judges the privately owned mark whether is carried in the cluster conversation, such as after receiving cluster conversation
The privately owned mark is carried in cluster conversation described in fruit, then can be confirmed that the cluster conversation is private conversation.Server-side into
And the private conversation is transmitted to according to the identity of the designated group member carried in the private conversation described
Designated group member.
Step 306, judge whether carry the privately owned mark in the cluster conversation of server-side forwarding.If the group
The privately owned mark is carried in session, thens follow the steps 307.
In this application, client receive server-side forwarding cluster conversation when, judge be in the cluster conversation
It is no to carry the privately owned mark, if not carrying the privately owned mark in the cluster conversation, illustrate the cluster conversation
For common cluster conversation, the content of the cluster conversation is presented in cluster conversation interface.If group's meeting
The privately owned mark is carried in words, thens follow the steps 307.
Step 307, confirm that the cluster conversation is private conversation, the private conversation is presented in cluster conversation interface
Content and private conversation prompt.
It is judging result based on abovementioned steps 306, it, can be with if carrying the privately owned mark in the cluster conversation
Confirm that the cluster conversation is private conversation, the content of the private conversation and privately owned meeting are presented in the cluster conversation interface
Words prompt can prompt to identify that the session is to send member to send for oneself according to the private conversation for receiving member
Private conversation.
Please refer to user interface schematic diagram shown in fig. 6, it is assumed that group member B receives transmission member C and passes through group's meeting
The private conversation that interface is sent is talked about, then the client of group member B is by the content of the private conversation:"@B go to sing at night?" be in
In present cluster conversation interface, while private conversation prompt " eyes " can be presented, be to send to prompt the group member B sessions
Member C is sent to the private conversation of oneself.
Step 308, transmission member is received by the cluster conversation interface to send back for the content of the private conversation
The instruction for words of resuming a session confirms that the reply session is private conversation.
In this application, if group member receives transmission member by cluster conversation interface is sent to the private of oneself
There is session, can be sent out to by way of described in step 303 by private conversation in cluster conversation interface abovementioned steps 301
Multiple content is sent back to transmission member.
Relatively simple, in this application, the group member for receiving private conversation can be at the cluster conversation interface
In by input reply session instruction the private conversation is replied, such as:It is presented on group's meeting by long-press
The content of private conversation described in words interface replys the private conversation with realizing.Client receives described in confirmation
After the instruction for replying session, confirm that the reply session is the private conversation for transmission member, and then can start to execute step
304 to step 305.
It can be seen from above description in this application, the client of instant messaging is received by cluster conversation interface
It, can be according to the finger for sending private conversation when sending the instruction of private conversation for designated group member to transmission member
It enables, privately owned mark is carried in the private conversation, server-side can turn the private conversation according to the privately owned mark in turn
The designated group member is issued, to realize that private chat, whole process need not exit group in cluster conversation interface
Session interface, aspect is quick, and the user experience is improved.
Corresponding with the embodiment of the application instant communicating method, present invention also provides a kind of immediate communication devices, answer
With on the client.Device described herein can also pass through hardware or software and hardware combining by software realization
Mode is realized.For implemented in software, the application immediate communication device is by its institute as the device on a logical meaning
Corresponding computer program instructions in nonvolatile memory are read to what operation in memory was formed in the processor of equipment.
Please refer to Fig. 7, Fig. 8 and Fig. 9, a kind of immediate communication device 700 provided by the present application, using on the client,
Described device 700 includes:First receiving unit 701, contents acquiring unit 702, session transmission unit 703, mark judge single
Member 704, content presentation unit 705, the second receiving unit 706 and privately owned confirmation unit 707.Wherein, described first list is received
First 701 can also include:Command reception subelement 7011, privately owned judgment sub-unit 7012 and privately owned confirmation subelement 7013.
First receiving unit 701 is received by cluster conversation interface and sends member for designated group member transmission
The instruction of privately owned reply.
The contents acquiring unit 702 obtains the private conversation for sending that member is inputted by the cluster conversation interface
Content.
The session transmission unit 703 carries private according to the instruction for sending private conversation in the private conversation
It is sent to server-side after having mark, so that the private conversation is transmitted to the designated group by server-side according to the privately owned mark
Group membership.
Described instruction receiving subelement 7011, by the cluster conversation interface receive send member for designated group at
Member sends the instruction of cluster conversation.
The privately owned judgment sub-unit 7012 judges whether to receive transmission member's input by the cluster conversation interface
First instruction.
The privately owned confirmation subelement 7013 sends the first of member's input being received by the cluster conversation interface
After instruction, confirm that the cluster conversation is the private conversation for the designated group member.
The privately owned confirmation subelement 7013 is further confirming that the cluster conversation is for the designated group member
Private conversation after, in the session input frame at the cluster conversation interface present private conversation prompt, with prompt send member
Current cluster conversation is private conversation.
The privately owned confirmation subelement 7013 is further confirming that the cluster conversation is for the designated group member
Private conversation after, judge whether by the cluster conversation interface receive send member input second instruction, passing through
When the cluster conversation interface receives the second instruction for sending member's input, cancel the private conversation.
The mark judging unit 704 judges whether carry the privately owned mark in the cluster conversation of server-side forwarding.
The content presentation unit 705 when carrying the privately owned mark in the cluster conversation, confirms the group
Session is private conversation, and content and the private conversation prompt of the private conversation are presented in cluster conversation interface.
Second receiving unit 706 is received by the cluster conversation interface and sends member for the private conversation
Content send back the instructions of words of resuming a session;
The privately owned confirmation unit 707 confirms that the reply session is private conversation.
0 and Figure 11 are please referred to Fig.1, a kind of immediate communication device 1000 provided by the present application is applied in server-side, described
Device 1000 includes:Session receiving unit 1001, privately owned judging unit 1002 and session retransmission unit 1003.
The session receiving unit 1001 receives and sends the cluster conversation that member sends.
The privately owned judging unit 1002 judges privately owned mark whether is carried in the cluster conversation, the privately owned mark
It is that client carries after receiving transmission member for the instruction of designated group member transmission private conversation in group's meeting
In words.
The session retransmission unit 1003 when carrying privately owned mark in the cluster conversation, confirms the cluster conversation
For private conversation, and the cluster conversation is transmitted to the specified group member of the cluster conversation.
The function of each unit and the realization process of effect specifically refer to and correspond to step in the above method in above-mentioned apparatus
Realization process, details are not described herein.
The foregoing is merely the preferred embodiments of the application, not limiting the application, all essences in the application
With within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of the application protection god.