WO2016082697A1 - Instant messaging method and device - Google Patents

Instant messaging method and device Download PDF

Info

Publication number
WO2016082697A1
WO2016082697A1 PCT/CN2015/094794 CN2015094794W WO2016082697A1 WO 2016082697 A1 WO2016082697 A1 WO 2016082697A1 CN 2015094794 W CN2015094794 W CN 2015094794W WO 2016082697 A1 WO2016082697 A1 WO 2016082697A1
Authority
WO
WIPO (PCT)
Prior art keywords
session
private
group
sending
instruction
Prior art date
Application number
PCT/CN2015/094794
Other languages
French (fr)
Chinese (zh)
Inventor
杨丰
Original Assignee
阿里巴巴集团控股有限公司
杨丰
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 阿里巴巴集团控股有限公司, 杨丰 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2016082697A1 publication Critical patent/WO2016082697A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Definitions

  • the present application relates to the field of communications technologies, and in particular, to an instant messaging method and apparatus.
  • Group chat technology allows users in the same group in real life to gather and share information, such as classmates and company groups.
  • group chat application if the user wants to send a private session to a group member, he can only exit the group session interface and open a private chat session with the group member if the group member is not the user. Friends often need to add them as friends first. The whole process is very cumbersome and seriously affects the user experience.
  • the present application provides an instant messaging method and apparatus.
  • An instant communication method comprising:
  • the receiving, by the group session interface, the sending, by the sending member, the instruction for sending the private session to the specified group member includes:
  • the group session is confirmed to be a private session for the specified group member.
  • the method further includes:
  • a private session prompt is presented in the session input box of the group session interface to prompt the sending member that the current group session is a private session.
  • the private session is cancelled if the second instruction to send the member input is received through the group session interface.
  • the method further includes:
  • the private session is carried in the group session, it is confirmed that the group session is a private session, and the content of the private session and the private session prompt are presented in the group session interface.
  • the method further includes:
  • An instant communication method comprising:
  • the group session If the group session carries a private identity, the group session is confirmed as a private session, and the group session is forwarded to a group member specified by the group session.
  • An instant messaging device comprising:
  • the first receiving unit receives, by using the group session interface, an instruction that the sending member sends a private reply to the specified group member;
  • a content obtaining unit acquiring content of a private session input by the sending member through the group session interface
  • the session sending unit sends the private identifier to the server in the private session according to the instruction for sending the private session, and then sends the private session to the server according to the private identifier.
  • the first receiving unit includes:
  • An instruction receiving subunit configured to receive, by using the group session interface, an instruction that a sending member sends a group session for a specified group member
  • a private determination subunit determining whether a first instruction for sending a member input is received through the group session interface
  • the private confirmation sub-unit after receiving the first instruction of sending the member input through the group session interface, confirms that the group session is a private session for the specified group member.
  • the private confirmation sub-unit further presents a private session prompt in a session input box of the group session interface after confirming that the group session is a private session for the specified group member, to prompt The current group session of the sending member is a private session.
  • the private confirmation sub-unit further determines, after confirming that the group session is a private session for the specified group member, whether the second instruction input by the sending member is received through the group session interface, The private session is cancelled when a second instruction to send a member input is received through the group session interface.
  • the device further includes:
  • the identifier determining unit determines whether the private identifier is carried in the group session forwarded by the server;
  • the group session is a private session in which the content of the private session and the private session prompt are presented.
  • the device further includes:
  • a second receiving unit configured to receive, by using the group session interface, an instruction that the sending member sends a reply session for the content of the private session
  • a private confirmation unit confirms that the reply session is a private session.
  • An instant messaging device comprising:
  • a session receiving unit receiving a group session sent by the sending member
  • the private judgment unit determines whether the private session identifier is carried in the group session, and the private identifier is carried in the group session after receiving the instruction that the sending member sends a private session for the specified group member;
  • the session forwarding unit when carrying the private identifier in the group session, confirms that the group session is a private session, and forwards the group session to a group member specified by the group session.
  • the client of the instant messaging when the client of the instant messaging receives the instruction that the sending member sends the private session for the specified group member through the group session interface, according to the instruction for sending the private session,
  • the private session carries a private identifier
  • the server can further forward the private session to the designated group member according to the private identifier, thereby implementing a private chat in the group session interface, and the entire process does not need to exit the group session.
  • the interface is fast and enhances the user experience.
  • FIG. 1 is a schematic flow chart of an instant messaging method in an embodiment of the present application.
  • FIG. 2 is a schematic flow chart of an instant messaging method in another embodiment of the present application.
  • FIG. 3 is a schematic flow chart of an instant messaging method in another embodiment of the present application.
  • FIG. 4 is a schematic diagram of a user interface of an instant messaging client in an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a user interface of an instant messaging client in another embodiment of the present application.
  • FIG. 6 is a schematic diagram of a user interface of an instant messaging client in another embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a client in an embodiment of the present application.
  • FIG. 8 is a schematic diagram showing the logical structure of an instant messaging apparatus according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram showing the logical structure of a first receiving unit in an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a server in an embodiment of the present application.
  • FIG. 11 is a schematic diagram showing the logical structure of an instant messaging apparatus according to an embodiment of the present application.
  • first, second, third, etc. may be used to describe various information in this application, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
  • first information may also be referred to as the second information without departing from the scope of the present application.
  • second information may also be referred to as the first information.
  • word "if” as used herein may be interpreted as "when” or “when” or “in response to a determination.”
  • the present application provides an instant messaging method, which is applied to a client, and the method may include the following steps:
  • Step 101 Receive, by using a group session interface, an instruction that a sending member sends a private session for a specified group member.
  • Step 102 Acquire content of a private session that is sent by the sending member through the group session interface.
  • Step 103 The private session is carried in the private session according to the instruction for sending the private session, and then sent to the server, so that the server forwards the private session to the designated group member according to the private identifier.
  • the present application provides an instant messaging method, which is applied to a server, and the method may include the following steps:
  • Step 201 Receive a group session sent by the sending member.
  • Step 202 Determine whether the group session carries a private identifier, where the private identifier is carried in the group session after receiving the instruction that the sending member sends a private session for the specified group member.
  • Step 203 When the private session is carried in the group session, confirm that the group session is a private session, and forward the group session to a group member specified by the group session.
  • the client of the instant messaging when the client of the instant messaging receives the instruction that the sending member sends the private session for the specified group member through the group session interface, according to the instruction for sending the private session,
  • the private session carries a private identifier
  • the server can further forward the private session to the designated group member according to the private identifier, thereby implementing a private chat in the group session interface, and the entire process does not need to exit the group session.
  • the interface is fast and enhances the user experience.
  • FIG. 3 is a schematic flowchart of an instant messaging method in another embodiment of the present application, where the method may include the following steps:
  • Step 301 Receive, by using a group session interface, an instruction that a sending member sends a group session for a specified group member.
  • the client of the members of both ends of the instant messaging forwards the session message through the server.
  • the session message sent by the sending member carries information such as the identity of the sending member and the receiving member, the content of the chat, and the like, and the server forwards the session message to the client of the receiving member according to the identity of the receiving member. end.
  • send to The session message sent by the member also carries a group identifier, so that the server searches for a member of the group according to the group identifier and forwards the session message.
  • the sending member when sending a group chat, may send a group session for the specified group member, and the designated group member receives an alert to remind the group session to be a sending member in the group. Sent for yourself. More commonly, the sending member can send a group session for the specified group member through the "@" function in the group chat. For example, the sending member can open the "@" function by long pressing the avatar of the specified group member, or can directly input the "@" character in the session input box to enable the "@” function. For the client sending the member, when the sending member turns on the "@" function, it can confirm that the sending member sends an instruction for sending the group session to the specified group member.
  • Step 302 Determine whether a first instruction for sending a member input is received through the group session interface. If the first instruction to send the member input is received through the group session interface, step 303 is performed.
  • Step 303 Confirm that the group session is a private session for the specified group member.
  • the first instruction is an instruction for sending a private session to the specified group member, and the first instruction may be predefined by a developer, such as: a preset sliding instruction, a preset voice instruction, and a click pre-predetermined Buttons and the like are provided, and this application does not limit this.
  • the first instruction may be set as a preset sliding instruction, such as an instruction to slide in a preset direction in a session input box of the group session interface.
  • a sending member wants to send a private session to a specified group member in the group, that is, the sending member wants to send a private message to the specified group member
  • the first session may be input through the group session interface.
  • An instruction to send a group session to the specified group member for example, sending The member can open the "@" function by long pressing the avatar of the specified group member, and the client sending the member usually receives the "@" function after the sending member opens the member of the specified group member.
  • the "@" character and the nickname of the specified group member are presented in the session input box of the group session interface to remind the sending member that the current group session is a group session for the specified group member.
  • the transmitting member can slide the finger to the right in the session input box to implement input of the first instruction.
  • a sending member may open a “@” function for a group member B by long pressing the avatar of the group member B in the group chat box interface. The finger is then swiped from left to right in the session input box to effect input of an instruction to send a private session to the group member B.
  • Step 304 Present a private session prompt in a session input box of the group session interface to prompt the sending member to be a private session.
  • a private session prompt may be presented in a session input box of the group session interface, for example: You can present "This is a private message" to prompt the sending member's current group session to be a private session.
  • the sending member may cancel the private session by inputting the second instruction.
  • the second instruction is to cancel an instruction for sending a private session to the specified group member, and the second instruction may also be predefined by a developer, such as: a preset sliding instruction, a preset voice instruction, Clicking on the preset button and the like, this application does not limit this.
  • the second instruction may be set to a different sliding instruction than the first instruction, such as an instruction to slide in a direction opposite to the first instruction in a session input box of the group session interface.
  • the first instruction is an instruction to slide a finger to the right in a session input box of the group session interface
  • the second instruction may be set to be in a session input box of the group session interface.
  • the client cancels the private session after receiving the second instruction through the group session interface. Further, clearing the meeting at the group session interface The private session prompt presented in the input box.
  • Step 305 The private session is carried in the private session and sent to the server, so that the server forwards the private session to the designated group member according to the private identifier.
  • the client sending the member carries the private identifier in the private session and sends the message to the server.
  • the private identifier may be set by a developer, for example, a preset character is added to a preset field of the private session, and the present application does not limit this.
  • the client that sends the member also carries the group identifier, the identity of the designated group member, and the like in the private session, and details are not described herein.
  • the server determines whether the private identifier is carried in the group session. If the private session is carried in the group session, the group session may be confirmed as a private session. . The server further forwards the private session to the designated group member according to the identity of the specified group member carried in the private session.
  • Step 306 Determine whether the private identifier is carried in the group session forwarded by the server. If the private identifier is carried in the group session, step 307 is performed.
  • the client when receiving the group session forwarded by the server, the client determines whether the private identifier is carried in the group session, and if the private session is not carried in the group session, The group session is a normal group session, and the content of the group session is presented in the group session interface. If the private identifier is carried in the group session, step 307 is performed.
  • Step 307 confirming that the group session is a private session, and presenting the content of the private session and the private session prompt in the group session interface.
  • the result of the determination is that if the private session is carried in the group session, the group session may be confirmed as a private session, and the content of the private session is presented in the group session interface.
  • a private session prompt for the receiving member to identify, based on the private session prompt, the private session that the session sent for itself to the sending member.
  • Step 308 Receive, by the group session interface, an instruction that the sending member sends a reply session for the content of the private session, and confirm that the reply session is a private session.
  • the reply may be sent through the private session in the group session interface by the manner described in the foregoing steps 301 to 303.
  • the content is sent to the sending member.
  • a group member that receives a private session may reply to the private session by inputting an instruction to reply to the session in the group session interface, for example, by using a long press to be presented in the group.
  • the content of the private session in the group session interface to enable replying to the private session.
  • the client After confirming that the reply session is received, the client confirms that the reply session is a private session for the sending member, and may start performing steps 304 to 305.
  • the client of the instant messaging when the client of the instant messaging receives the instruction that the sending member sends the private session for the specified group member through the group session interface, according to the instruction for sending the private session,
  • the private session carries a private identifier
  • the server can further forward the private session to the designated group member according to the private identifier, thereby implementing a private chat in the group session interface, and the entire process does not need to exit the group session.
  • the interface is fast and enhances the user experience.
  • the present application further provides an instant messaging device, which is applied to a client.
  • the device described in this application may be implemented by software, or may be implemented by hardware or a combination of hardware and software.
  • the instant messaging device of the present application is formed as a logical device by reading the corresponding computer program instructions in the non-volatile memory into the memory through the processor of the device in which it resides.
  • an instant messaging device 700 is provided on a client.
  • the device 700 includes: a first receiving unit 701, a content obtaining unit 702, and a session sending unit 703. Identification determination unit 704, content presentation unit 705, and second reception unit 706 And a private confirmation unit 707.
  • the first receiving unit 701 may further include: an instruction receiving subunit 7011, a private determining subunit 7012, and a private confirmation subunit 7013.
  • the first receiving unit 701 receives, by using a group session interface, an instruction that a sending member sends a private callback to a specified group member.
  • the content obtaining unit 702 acquires content of a private session that is sent by the sending member through the group session interface.
  • the session sending unit 703 after the private session is carried in the private session, is sent to the server according to the instruction for sending the private session, so that the server forwards the private session to the designated group according to the private identifier. Group member.
  • the instruction receiving subunit 7011 receives, by the group session interface, an instruction that a sending member sends a group session for a specified group member.
  • the private determination sub-unit 7012 determines whether a first instruction for sending a member input is received through the group session interface.
  • the private confirmation sub-unit 7013 after receiving the first instruction input by the sending member through the group session interface, confirms that the group session is a private session for the specified group member.
  • the private confirmation sub-unit 7013 further, after confirming that the group session is a private session for the specified group member, presenting a private session prompt in a session input box of the group session interface to prompt the sending member
  • the current group session is a private session.
  • the private confirmation sub-unit 7013 further determines, after confirming that the group session is a private session for the specified group member, whether to receive a second instruction sent by the sending member through the group session interface, The private session is cancelled when the group session interface receives a second instruction to send a member input.
  • the identifier determining unit 704 determines whether the private identifier is carried in the group session forwarded by the server.
  • the content presentation unit 705 when the private session is carried in the group session, confirms that the group session is a private session, and the content of the private session and the private session prompt are presented in the group session interface.
  • the second receiving unit 706 receives, by using the group session interface, an instruction that the sending member sends a reply session for the content of the private session;
  • the private confirmation unit 707 confirms that the reply session is a private session.
  • an instant messaging device 1000 is provided on a server.
  • the device 1000 includes a session receiving unit 1001 , a private determining unit 1002 , and a session forwarding unit 1003 .
  • the session receiving unit 1001 receives a group session sent by a sending member.
  • the private determining unit 1002 determines whether the private session identifier is carried in the group session, and the private identifier is carried in the group session by the client after receiving an instruction that the sending member sends a private session for the specified group member. .
  • the session forwarding unit 1003 when carrying the private identifier in the group session, confirms that the group session is a private session, and forwards the group session to a group member specified by the group session.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present application provides an instant messaging method and device. The method comprises: receiving, by using a group session interface, an instruction of a sending member for sending a private session to a specified group member; acquiring content of the private session that is input by the sending member by using the group session interface; and adding, according to the instruction for sending the private session, a private identifier to the private session, and then sending the private session to a server, so that the server forwards the private session to the specified group member according to the private identifier. By means of the technical solution of the present application, private chatting can be implemented in a group session interface, and it is not necessary to exit the group session interface in the entire process, which is convenient and efficient and improves user experience.

Description

一种即时通信方法和装置Instant communication method and device 技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种即时通信方法和装置。The present application relates to the field of communications technologies, and in particular, to an instant messaging method and apparatus.
背景技术Background technique
随着互联网技术的广泛发展,即时通信技术给人们的工作与生活带来了各种便利。从早期的ICQ以及OICQ(今日广泛使用的QQ)到如今更新一代的微信以及来往等,即时通信技术正在不断地向着更加便利用户的方向演进。With the extensive development of Internet technology, instant messaging technology has brought various conveniences to people's work and life. From the early ICQ and OICQ (the QQ widely used today) to the newer generation of WeChat and the past, instant messaging technology is continually evolving towards more user-friendly.
很多即时通信客户端都支持群聊技术,群聊技术可以允许在现实生活中处于同一集体的用户聚集在一起进行信息的交互与分享,比如:同学群、公司群等。在目前的群聊应用中,如果用户想要针对某一群组成员发送一条私有会话,只能退出群组会话界面,开启与该群组成员的私聊会话界面,如果该群组成员不是用户的好友,往往还需要先将其加为好友,整个过程非常繁琐,严重影响用户体验。Many instant messaging clients support group chat technology. Group chat technology allows users in the same group in real life to gather and share information, such as classmates and company groups. In the current group chat application, if the user wants to send a private session to a group member, he can only exit the group session interface and open a private chat session with the group member if the group member is not the user. Friends often need to add them as friends first. The whole process is very cumbersome and seriously affects the user experience.
发明内容Summary of the invention
有鉴于此,本申请提供一种即时通信方法和装置。In view of this, the present application provides an instant messaging method and apparatus.
具体地,本申请是通过如下技术方案实现的:Specifically, the present application is implemented by the following technical solutions:
一种即时通信方法,所述方法包括:An instant communication method, the method comprising:
通过群组会话界面接收发送成员针对指定群组成员发送私有会话的指令;Receiving, by the group session interface, an instruction that the sending member sends a private session for the specified group member;
获取发送成员通过所述群组会话界面输入的私有会话的内容;Obtaining content of a private session input by the sending member through the group session interface;
根据所述发送私有会话的指令在所述私有会话中携带私有标识后发送给服务端,以供服务端根据所述私有标识将所述私有会话转发给所述指定群组成员。 Sending the private identifier in the private session according to the instruction for sending the private session, and sending the private identifier to the server, so that the server forwards the private session to the designated group member according to the private identifier.
进一步地,所述通过群组会话界面接收发送成员针对指定群组成员发送私有会话的指令包括:Further, the receiving, by the group session interface, the sending, by the sending member, the instruction for sending the private session to the specified group member includes:
通过所述群组会话界面接收发送成员针对指定群组成员发送群组会话的指令;Receiving, by the group session interface, an instruction that the sending member sends a group session for the specified group member;
判断是否通过所述群组会话界面接收到发送成员输入的第一指令;Determining whether a first instruction for sending a member input is received through the group session interface;
如果通过所述群组会话界面接收到发送成员输入的所述第一指令,则确认所述群组会话为针对所述指定群组成员的私有会话。If the first instruction to send a member input is received through the group session interface, the group session is confirmed to be a private session for the specified group member.
进一步地,所述方法还包括:Further, the method further includes:
在确认所述群组会话为针对所述指定群组成员的私有会话后,在所述群组会话界面的会话输入框中呈现私有会话提示,以提示发送成员当前的群组会话为私有会话。After confirming that the group session is a private session for the specified group member, a private session prompt is presented in the session input box of the group session interface to prompt the sending member that the current group session is a private session.
进一步地,在确认所述群组会话为针对所述指定群组成员的私有会话后,判断是否通过所述群组会话界面接收到发送成员输入的第二指令;Further, after confirming that the group session is a private session for the specified group member, determining whether a second instruction for sending the member input is received through the group session interface;
如果通过所述群组会话界面接收到发送成员输入的所述第二指令,则取消所述私有会话。The private session is cancelled if the second instruction to send the member input is received through the group session interface.
进一步地,所述方法还包括:Further, the method further includes:
判断服务端转发的群组会话中是否携带有所述私有标识;Determining whether the private identifier is carried in the group session forwarded by the server;
如果所述群组会话中携带有所述私有标识,则确认所述群组会话是私有会话,在群组会话界面中呈现所述私有会话的内容和私有会话提示。If the private session is carried in the group session, it is confirmed that the group session is a private session, and the content of the private session and the private session prompt are presented in the group session interface.
进一步地,所述方法还包括:Further, the method further includes:
通过所述群组会话界面接收发送成员针对所述私有会话的内容发送回复会话的指令;Receiving, by the group session interface, an instruction that the sending member sends a reply session for the content of the private session;
确认所述回复会话为私有会话。Confirm that the reply session is a private session.
一种即时通信方法,所述方法包括:An instant communication method, the method comprising:
接收发送成员发送的群组会话;Receiving a group session sent by the sending member;
判断所述群组会话中是否携带私有标识,所述私有标识是客户端在接收到发送成员针对指定群组成员发送私有会话的指令后携带在所述群组会话中; Determining whether the group session carries a private identifier, where the private identifier is carried in the group session after receiving the instruction that the sending member sends a private session for the specified group member;
如果所述群组会话中携带私有标识,则确认所述群组会话为私有会话,并将所述群组会话转发给所述群组会话指定的群组成员。If the group session carries a private identity, the group session is confirmed as a private session, and the group session is forwarded to a group member specified by the group session.
一种即时通信装置,所述装置包括:An instant messaging device, the device comprising:
第一接收单元,通过群组会话界面接收发送成员针对指定群组成员发送私有回话的指令;The first receiving unit receives, by using the group session interface, an instruction that the sending member sends a private reply to the specified group member;
内容获取单元,获取发送成员通过所述群组会话界面输入的私有会话的内容;a content obtaining unit, acquiring content of a private session input by the sending member through the group session interface;
会话发送单元,根据所述发送私有会话的指令在所述私有会话中携带私有标识后发送给服务端,以供服务端根据所述私有标识将所述私有会话转发给所述指定群组成员。The session sending unit sends the private identifier to the server in the private session according to the instruction for sending the private session, and then sends the private session to the server according to the private identifier.
进一步地,所述第一接收单元包括:Further, the first receiving unit includes:
指令接收子单元,通过所述群组会话界面接收发送成员针对指定群组成员发送群组会话的指令;An instruction receiving subunit, configured to receive, by using the group session interface, an instruction that a sending member sends a group session for a specified group member;
私有判断子单元,判断是否通过所述群组会话界面接收到发送成员输入的第一指令;a private determination subunit, determining whether a first instruction for sending a member input is received through the group session interface;
私有确认子单元,在通过所述群组会话界面接收到发送成员输入的第一指令后,确认所述群组会话为针对所述指定群组成员的私有会话。The private confirmation sub-unit, after receiving the first instruction of sending the member input through the group session interface, confirms that the group session is a private session for the specified group member.
进一步地,所述私有确认子单元,进一步在确认所述群组会话为针对所述指定群组成员的私有会话后,在所述群组会话界面的会话输入框中呈现私有会话提示,以提示发送成员当前的群组会话为私有会话。Further, the private confirmation sub-unit further presents a private session prompt in a session input box of the group session interface after confirming that the group session is a private session for the specified group member, to prompt The current group session of the sending member is a private session.
进一步地,所述私有确认子单元,进一步在确认所述群组会话为针对所述指定群组成员的私有会话后,判断是否通过所述群组会话界面接收到发送成员输入的第二指令,在通过所述群组会话界面接收到发送成员输入的第二指令时,取消所述私有会话。Further, the private confirmation sub-unit further determines, after confirming that the group session is a private session for the specified group member, whether the second instruction input by the sending member is received through the group session interface, The private session is cancelled when a second instruction to send a member input is received through the group session interface.
进一步地,所述装置还包括:Further, the device further includes:
标识判断单元,判断服务端转发的群组会话中是否携带有所述私有标识;The identifier determining unit determines whether the private identifier is carried in the group session forwarded by the server;
内容呈现单元,在所述群组会话中携带有所述私有标识时,确认所述群 组会话是私有会话,在群组会话界面中呈现所述私有会话的内容和私有会话提示。a content presentation unit that confirms the group when the private identifier is carried in the group session The group session is a private session in which the content of the private session and the private session prompt are presented.
进一步地,所述装置还包括:Further, the device further includes:
第二接收单元,通过所述群组会话界面接收发送成员针对所述私有会话的内容发送回复会话的指令;a second receiving unit, configured to receive, by using the group session interface, an instruction that the sending member sends a reply session for the content of the private session;
私有确认单元,确认所述回复会话为私有会话。A private confirmation unit confirms that the reply session is a private session.
一种即时通信装置,所述装置包括:An instant messaging device, the device comprising:
会话接收单元,接收发送成员发送的群组会话;a session receiving unit, receiving a group session sent by the sending member;
私有判断单元,判断所述群组会话中是否携带私有标识,所述私有标识是客户端在接收到发送成员针对指定群组成员发送私有会话的指令后携带在所述群组会话中;The private judgment unit determines whether the private session identifier is carried in the group session, and the private identifier is carried in the group session after receiving the instruction that the sending member sends a private session for the specified group member;
会话转发单元,在所述群组会话中携带私有标识时,确认所述群组会话为私有会话,并将所述群组会话转发给所述群组会话指定的群组成员。The session forwarding unit, when carrying the private identifier in the group session, confirms that the group session is a private session, and forwards the group session to a group member specified by the group session.
由以上描述可以看出,在本申请中,即时通信的客户端在通过群组会话界面接收到发送成员针对指定群组成员发送私有会话的指令时,可以根据所述发送私有会话的指令,在所述私有会话中携带私有标识,服务端进而可以根据该私有标识将所述私有会话转发给所述指定群组成员,从而在群组会话界面中实现私密聊天,整个过程不需要退出群组会话界面,方面快捷,提升了用户体验。As can be seen from the above description, in the present application, when the client of the instant messaging receives the instruction that the sending member sends the private session for the specified group member through the group session interface, according to the instruction for sending the private session, The private session carries a private identifier, and the server can further forward the private session to the designated group member according to the private identifier, thereby implementing a private chat in the group session interface, and the entire process does not need to exit the group session. The interface is fast and enhances the user experience.
附图说明DRAWINGS
图1是本申请一实施例中即时通信方法的流程示意图。1 is a schematic flow chart of an instant messaging method in an embodiment of the present application.
图2是本申请另一实施例中即时通信方法的流程示意图。2 is a schematic flow chart of an instant messaging method in another embodiment of the present application.
图3是本申请另一实施例中即时通信方法的流程示意图。3 is a schematic flow chart of an instant messaging method in another embodiment of the present application.
图4是本申请一实施例中即时通信客户端的用户界面示意图。4 is a schematic diagram of a user interface of an instant messaging client in an embodiment of the present application.
图5是本申请另一实施例中即时通信客户端的用户界面示意图。FIG. 5 is a schematic diagram of a user interface of an instant messaging client in another embodiment of the present application.
图6是本申请另一实施例中即时通信客户端的用户界面示意图。 6 is a schematic diagram of a user interface of an instant messaging client in another embodiment of the present application.
图7是本申请一实施例中客户端的结构示意图。FIG. 7 is a schematic structural diagram of a client in an embodiment of the present application.
图8是本申请一实施例中即时通信装置的逻辑结构示意图。FIG. 8 is a schematic diagram showing the logical structure of an instant messaging apparatus according to an embodiment of the present application.
图9是本申请一实施例中第一接收单元的逻辑结构示意图。FIG. 9 is a schematic diagram showing the logical structure of a first receiving unit in an embodiment of the present application.
图10是本申请一实施例中服务端的结构示意图。FIG. 10 is a schematic structural diagram of a server in an embodiment of the present application.
图11是本申请一实施例中即时通信装置的逻辑结构示意图。FIG. 11 is a schematic diagram showing the logical structure of an instant messaging apparatus according to an embodiment of the present application.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. The following description refers to the same or similar elements in the different figures unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are merely examples of devices and methods consistent with aspects of the present application as detailed in the appended claims.
在本申请使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in the present application is for the purpose of describing particular embodiments, and is not intended to be limiting. The singular forms "a", "the" and "the" It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
应当理解,尽管在本申请可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本申请范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used to describe various information in this application, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, the first information may also be referred to as the second information without departing from the scope of the present application. Similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "when" or "in response to a determination."
请参考图1,本申请提供一种即时通信方法,应用在客户端上,所述方法可以包括以下步骤:Referring to FIG. 1 , the present application provides an instant messaging method, which is applied to a client, and the method may include the following steps:
步骤101,通过群组会话界面接收发送成员针对指定群组成员发送私有会话的指令。 Step 101: Receive, by using a group session interface, an instruction that a sending member sends a private session for a specified group member.
步骤102,获取发送成员通过所述群组会话界面输入的私有会话的内容。Step 102: Acquire content of a private session that is sent by the sending member through the group session interface.
步骤103,根据所述发送私有会话的指令在所述私有会话中携带有私有标识后发送给服务端,以供服务端根据所述私有标识将所述私有会话转发给所述指定群组成员。Step 103: The private session is carried in the private session according to the instruction for sending the private session, and then sent to the server, so that the server forwards the private session to the designated group member according to the private identifier.
请参考图2,本申请提供一种即时通信方法,应用在服务端上,所述方法可以包括以下步骤:Referring to FIG. 2, the present application provides an instant messaging method, which is applied to a server, and the method may include the following steps:
步骤201,接收发送成员发送的群组会话。Step 201: Receive a group session sent by the sending member.
步骤202,判断所述群组会话中是否携带私有标识,所述私有标识是客户端在接收到发送成员针对指定群组成员发送私有会话的指令后携带在所述群组会话中。Step 202: Determine whether the group session carries a private identifier, where the private identifier is carried in the group session after receiving the instruction that the sending member sends a private session for the specified group member.
步骤203,在所述群组会话中携带私有标识时,确认所述群组会话为私有会话,并将所述群组会话转发给所述群组会话指定的群组成员。Step 203: When the private session is carried in the group session, confirm that the group session is a private session, and forward the group session to a group member specified by the group session.
由以上描述可以看出,在本申请中,即时通信的客户端在通过群组会话界面接收到发送成员针对指定群组成员发送私有会话的指令时,可以根据所述发送私有会话的指令,在所述私有会话中携带私有标识,服务端进而可以根据该私有标识将所述私有会话转发给所述指定群组成员,从而在群组会话界面中实现私密聊天,整个过程不需要退出群组会话界面,方面快捷,提升了用户体验。As can be seen from the above description, in the present application, when the client of the instant messaging receives the instruction that the sending member sends the private session for the specified group member through the group session interface, according to the instruction for sending the private session, The private session carries a private identifier, and the server can further forward the private session to the designated group member according to the private identifier, thereby implementing a private chat in the group session interface, and the entire process does not need to exit the group session. The interface is fast and enhances the user experience.
下面结合实施例详细描述本申请的具体实现。The specific implementation of the present application is described in detail below with reference to the embodiments.
请参考图3,本申请另一种实施例中即时通信方法的流程示意图,所述方法可以包括以下步骤:Please refer to FIG. 3, which is a schematic flowchart of an instant messaging method in another embodiment of the present application, where the method may include the following steps:
步骤301,通过群组会话界面接收发送成员针对指定群组成员发送群组会话的指令。Step 301: Receive, by using a group session interface, an instruction that a sending member sends a group session for a specified group member.
在即时通信的过程中,即时通信两端成员的客户端通过服务端进行会话消息的转发。通常来讲,发送成员发送的会话消息中会携带有发送成员以及接收成员的身份标识、聊天内容等信息,服务端根据所述接收成员的身份标识,将所述会话消息转发给接收成员的客户端。对于群组聊天而言,发送成 员发送的会话消息中还携带有群组标识,以供服务端根据所述群组标识查找该群组的成员并进行所述会话消息的转发。这部分的处理与实现可以参考现有技术,本申请在此不再一一详述。In the process of instant communication, the client of the members of both ends of the instant messaging forwards the session message through the server. Generally, the session message sent by the sending member carries information such as the identity of the sending member and the receiving member, the content of the chat, and the like, and the server forwards the session message to the client of the receiving member according to the identity of the receiving member. end. For group chats, send to The session message sent by the member also carries a group identifier, so that the server searches for a member of the group according to the group identifier and forwards the session message. For the processing and implementation of this part, reference may be made to the prior art, and the present application will not be described in detail herein.
在本申请中,发送成员在进行群组聊天时,可以针对指定群组成员发送一条群组会话,该指定群组成员会接收到一条提醒,以提醒所述群组会话是群组内发送成员针对自己发送的。较为常见的,发送成员可以通过群组聊天中的“@”功能实现针对指定群组成员发送群组会话。比如:发送成员可以通过长按所述指定群组成员的头像以开启“@”功能,也可以直接在会话输入框中输入“@”字符以开启“@”功能。对于发送成员的客户端而言,可以在发送成员开启“@”功能时,确认接收到发送成员针对指定群组成员发送群组会话的指令。In the present application, when sending a group chat, the sending member may send a group session for the specified group member, and the designated group member receives an alert to remind the group session to be a sending member in the group. Sent for yourself. More commonly, the sending member can send a group session for the specified group member through the "@" function in the group chat. For example, the sending member can open the "@" function by long pressing the avatar of the specified group member, or can directly input the "@" character in the session input box to enable the "@" function. For the client sending the member, when the sending member turns on the "@" function, it can confirm that the sending member sends an instruction for sending the group session to the specified group member.
步骤302,判断是否通过所述群组会话界面接收到发送成员输入的第一的指令。如果通过所述群组会话界面接收到发送成员输入的第一的指令,则执行步骤303。Step 302: Determine whether a first instruction for sending a member input is received through the group session interface. If the first instruction to send the member input is received through the group session interface, step 303 is performed.
步骤303,确认所述群组会话为针对所述指定群组成员的私有会话。Step 303: Confirm that the group session is a private session for the specified group member.
基于前述步骤301,在通过所述群组会话界面接收到发送成员针对指定群组成员发送群组会话的指令后,判断是否通过所述群组会话界面接收到发送成员输入的第一指令,并在接收到所述第一指令后,确认所述群组会话为针对所述指定群组成员的私有会话。其中,所述第一指令为针对所述指定群组成员发送私有会话的指令,所述第一指令可以由开发人员进行预先定义,比如:预设的滑动指令,预设的语音指令、点击预设的按钮等等,本申请对此不作限制。After receiving the instruction that the sending member sends the group session for the specified group member through the group session interface, determining whether the first instruction input by the sending member is received through the group session interface, and After receiving the first instruction, the group session is confirmed to be a private session for the specified group member. The first instruction is an instruction for sending a private session to the specified group member, and the first instruction may be predefined by a developer, such as: a preset sliding instruction, a preset voice instruction, and a click pre-predetermined Buttons and the like are provided, and this application does not limit this.
较为简单的,为方便在便携终端上使用,可以将所述第一指令设置为预设的滑动指令,比如:在群组会话界面的会话输入框中向预设方向滑动的指令。具体地,在本申请中,当发送成员想要向群组中某指定群组成员发送私有会话,即发送成员想要向所述指定群组成员发送悄悄话时,可以先通过群组会话界面输入针对所述指定群组成员发送群组会话的指令,比如:发送成 员可以通过长按所述指定群组成员的头像以开启“@”功能,发送成员的客户端在接收到发送成员针对所述指定群组成员开启“@”功能的指令后,通常会在所述群组会话界面的会话输入框中呈现“@”字符和所述指定群组成员的昵称,以提醒发送成员当前的群组会话为针对所述指定群组成员的群组会话。此时,发送成员可以在所述会话输入框中向右滑动手指,以实现输入所述第一指令。To be simple, in order to facilitate use on the portable terminal, the first instruction may be set as a preset sliding instruction, such as an instruction to slide in a preset direction in a session input box of the group session interface. Specifically, in the present application, when a sending member wants to send a private session to a specified group member in the group, that is, the sending member wants to send a private message to the specified group member, the first session may be input through the group session interface. An instruction to send a group session to the specified group member, for example, sending The member can open the "@" function by long pressing the avatar of the specified group member, and the client sending the member usually receives the "@" function after the sending member opens the member of the specified group member. The "@" character and the nickname of the specified group member are presented in the session input box of the group session interface to remind the sending member that the current group session is a group session for the specified group member. At this time, the transmitting member can slide the finger to the right in the session input box to implement input of the first instruction.
请参考图4,本申请一实施例中即时通信客户端的界面示意图,发送成员可以在该群组聊天框口中通过长按群组成员B的头像以开启针对群组成员B的“@”功能,然后在所述会话输入框中从左向右滑动手指,以实现输入针对所述群组成员B发送私有会话的指令。Referring to FIG. 4, a schematic diagram of an interface of an instant messaging client in an embodiment of the present application, a sending member may open a “@” function for a group member B by long pressing the avatar of the group member B in the group chat box interface. The finger is then swiped from left to right in the session input box to effect input of an instruction to send a private session to the group member B.
步骤304,在所述群组会话界面的会话输入框中呈现私有会话提示,以提示发送成员当前的群组会话为私有会话。Step 304: Present a private session prompt in a session input box of the group session interface to prompt the sending member to be a private session.
在本步骤中,请参考图5,在确认所述群组会话为针对所述指定群组成员的私有会话后,可以在所述群组会话界面的会话输入框中呈现私有会话提示,比如:可以呈现“这是一条悄悄话”,以提示发送成员当前的群组会话为私有会话。In this step, referring to FIG. 5, after confirming that the group session is a private session for the specified group member, a private session prompt may be presented in a session input box of the group session interface, for example: You can present "This is a private message" to prompt the sending member's current group session to be a private session.
进一步地,发送成员在输入针对所述指定群组成员发送私有会话的指令后,可以通过输入第二指令以取消所述私有会话。其中,所述第二指令是取消针对所述指定群组成员发送私有会话的指令,所述第二指令也可以由开发人员进行预先定义,比如:预设的滑动指令,预设的语音指令、点击预设的按钮等等,本申请对此不作限制。Further, after sending the instruction to send the private session to the specified group member, the sending member may cancel the private session by inputting the second instruction. The second instruction is to cancel an instruction for sending a private session to the specified group member, and the second instruction may also be predefined by a developer, such as: a preset sliding instruction, a preset voice instruction, Clicking on the preset button and the like, this application does not limit this.
较为简单的,可以将所述第二指令设置为与所述第一指令不同的滑动指令,比如:在群组会话界面的会话输入框中向与所述第一指令相反的方向滑动的指令。以所述第一指令为在所述群组会话界面的会话输入框中向右滑动手指的指令为例,可以将所述第二指令设置为在所述群组会话界面的会话输入框中向左滑动手指的指令。客户端在通过所述群组会话界面接收到所述第二指令后,取消所述私有会话。更进一步地,清除在所述群组会话界面的会 话输入框中呈现出的私有会话提示。To be simple, the second instruction may be set to a different sliding instruction than the first instruction, such as an instruction to slide in a direction opposite to the first instruction in a session input box of the group session interface. For example, the first instruction is an instruction to slide a finger to the right in a session input box of the group session interface, and the second instruction may be set to be in a session input box of the group session interface. The instruction to swipe your finger to the left. The client cancels the private session after receiving the second instruction through the group session interface. Further, clearing the meeting at the group session interface The private session prompt presented in the input box.
步骤305,在所述私有会话中携带私有标识后发送给服务端,以供服务端根据所述私有标识将所述私有会话转发给所述指定群组成员。Step 305: The private session is carried in the private session and sent to the server, so that the server forwards the private session to the designated group member according to the private identifier.
在本步骤中,当发送成员通过群组会话界面发送针对所述指定群组成员的私有会话时,发送成员的客户端在所述私有会话中携带私有标识后发送给服务端。所述私有标识可以由开发人员进行设置,比如:在所述私有会话的预设字段中添加预设的字符等,本申请对此不作限制。当然,依据群组聊天的相关技术,发送成员的客户端还会在所述私有会话中携带群组标识、所述指定群组成员的身份标识等,在此不再一一详述。In this step, when the sending member sends a private session for the specified group member through the group session interface, the client sending the member carries the private identifier in the private session and sends the message to the server. The private identifier may be set by a developer, for example, a preset character is added to a preset field of the private session, and the present application does not limit this. Of course, according to the related technology of the group chat, the client that sends the member also carries the group identifier, the identity of the designated group member, and the like in the private session, and details are not described herein.
服务端在接收到群组会话后,判断所述群组会话中是否携带有所述私有标识,如果所述群组会话中携带有所述私有标识,则可以确认所述群组会话为私有会话。服务端进而根据所述私有会话中携带的所述指定群组成员的身份标识将所述私有会话转发给所述指定群组成员。After receiving the group session, the server determines whether the private identifier is carried in the group session. If the private session is carried in the group session, the group session may be confirmed as a private session. . The server further forwards the private session to the designated group member according to the identity of the specified group member carried in the private session.
步骤306,判断服务端转发的群组会话中是否携带有所述私有标识。如果所述群组会话中携带有所述私有标识,则执行步骤307。Step 306: Determine whether the private identifier is carried in the group session forwarded by the server. If the private identifier is carried in the group session, step 307 is performed.
在本申请中,客户端在接收到服务端转发的群组会话时,判断所述群组会话中是否携带有所述私有标识,如果所述群组会话中不携带所述私有标识,则说明所述群组会话为普通的群组会话,将所述群组会话的内容呈现在群组会话界面中即可。如果所述群组会话中携带有所述私有标识,则执行步骤307。In the present application, when receiving the group session forwarded by the server, the client determines whether the private identifier is carried in the group session, and if the private session is not carried in the group session, The group session is a normal group session, and the content of the group session is presented in the group session interface. If the private identifier is carried in the group session, step 307 is performed.
步骤307,确认所述群组会话是私有会话,在群组会话界面中呈现所述私有会话的内容和私有会话提示。 Step 307, confirming that the group session is a private session, and presenting the content of the private session and the private session prompt in the group session interface.
基于前述步骤306是判断结果,如果所述群组会话中携带有所述私有标识,则可以确认所述群组会话是私有会话,在所述群组会话界面中呈现所述私有会话的内容和私有会话提示,以供接收成员可以根据所述私有会话提示识别出该会话为发送成员针对自己发送的私有会话。Based on the foregoing step 306, the result of the determination is that if the private session is carried in the group session, the group session may be confirmed as a private session, and the content of the private session is presented in the group session interface. A private session prompt for the receiving member to identify, based on the private session prompt, the private session that the session sent for itself to the sending member.
请参考图6所示的用户界面示意图,假设群组成员B接收到发送成员C通过群组会话界面发送的私有会话,则群组成员B的客户端将该私有会话的 内容:“@B晚上去唱歌?”呈现在群组会话界面中,同时可以呈现私有会话提示“眼睛”,以提示群组成员B该会话为发送成员C发送给自己的私有会话。Please refer to the user interface diagram shown in FIG. 6, and assume that the group member B receives the private session sent by the sending member C through the group session interface, and the client of the group member B views the private session. Content: "@B night to sing?" is presented in the group session interface, and the private session prompt "eyes" can be presented to prompt the group member B to send the session to the private session sent by the sending member C.
步骤308,通过所述群组会话界面接收发送成员针对所述私有会话的内容发送回复会话的指令,确认所述回复会话为私有会话。Step 308: Receive, by the group session interface, an instruction that the sending member sends a reply session for the content of the private session, and confirm that the reply session is a private session.
在本申请中,如果群组某成员通过群组会话界面接收到发送成员发送给自己的私有会话,可以通过前述步骤301至步骤303中所述的方式在群组会话界面中通过私有会话发送回复的内容给发送成员。In this application, if a member of the group receives a private session sent by the sending member to the group through the group session interface, the reply may be sent through the private session in the group session interface by the manner described in the foregoing steps 301 to 303. The content is sent to the sending member.
较为简单的,在本申请中,接收到私有会话的群组成员可以在所述群组会话界面中通过输入回复会话的指令对所述私有会话进行回复,比如:通过长按呈现在所述群组会话界面中所述私有会话的内容以实现对所述私有会话进行回复。客户端在确认接收到所述回复会话的指令后,确认该回复会话为针对发送成员的私有会话,进而可以开始执行步骤304至步骤305。In a simpler manner, in the present application, a group member that receives a private session may reply to the private session by inputting an instruction to reply to the session in the group session interface, for example, by using a long press to be presented in the group. The content of the private session in the group session interface to enable replying to the private session. After confirming that the reply session is received, the client confirms that the reply session is a private session for the sending member, and may start performing steps 304 to 305.
由以上描述可以看出,在本申请中,即时通信的客户端在通过群组会话界面接收到发送成员针对指定群组成员发送私有会话的指令时,可以根据所述发送私有会话的指令,在所述私有会话中携带私有标识,服务端进而可以根据该私有标识将所述私有会话转发给所述指定群组成员,从而在群组会话界面中实现私密聊天,整个过程不需要退出群组会话界面,方面快捷,提升了用户体验。As can be seen from the above description, in the present application, when the client of the instant messaging receives the instruction that the sending member sends the private session for the specified group member through the group session interface, according to the instruction for sending the private session, The private session carries a private identifier, and the server can further forward the private session to the designated group member according to the private identifier, thereby implementing a private chat in the group session interface, and the entire process does not need to exit the group session. The interface is fast and enhances the user experience.
与本申请即时通信方法的实施例相对应,本申请还提供了一种即时通信装置,应用在客户端上。本申请所述的装置可以通过软件实现,也可以通过硬件或者软硬件结合的方式实现。以软件实现为例,本申请即时通信装置作为一个逻辑意义上的装置,是通过其所在设备的处理器将非易失性存储器中对应的计算机程序指令读取到内存中运行形成的。Corresponding to the embodiment of the instant messaging method of the present application, the present application further provides an instant messaging device, which is applied to a client. The device described in this application may be implemented by software, or may be implemented by hardware or a combination of hardware and software. Taking the software implementation as an example, the instant messaging device of the present application is formed as a logical device by reading the corresponding computer program instructions in the non-volatile memory into the memory through the processor of the device in which it resides.
请参考图7、图8以及图9,本申请提供的一种即时通信装置700,应用在客户端上,所述装置700包括有:第一接收单元701、内容获取单元702、会话发送单元703、标识判断单元704、内容呈现单元705、第二接收单元706 以及私有确认单元707。其中,所述第一接收单元701还可以包括:指令接收子单元7011、私有判断子单元7012以及私有确认子单元7013。Referring to FIG. 7 , FIG. 8 and FIG. 9 , an instant messaging device 700 is provided on a client. The device 700 includes: a first receiving unit 701, a content obtaining unit 702, and a session sending unit 703. Identification determination unit 704, content presentation unit 705, and second reception unit 706 And a private confirmation unit 707. The first receiving unit 701 may further include: an instruction receiving subunit 7011, a private determining subunit 7012, and a private confirmation subunit 7013.
所述第一接收单元701,通过群组会话界面接收发送成员针对指定群组成员发送私有回话的指令。The first receiving unit 701 receives, by using a group session interface, an instruction that a sending member sends a private callback to a specified group member.
所述内容获取单元702,获取发送成员通过所述群组会话界面输入的私有会话的内容。The content obtaining unit 702 acquires content of a private session that is sent by the sending member through the group session interface.
所述会话发送单元703,根据所述发送私有会话的指令在所述私有会话中携带私有标识后发送给服务端,以供服务端根据所述私有标识将所述私有会话转发给所述指定群组成员。The session sending unit 703, after the private session is carried in the private session, is sent to the server according to the instruction for sending the private session, so that the server forwards the private session to the designated group according to the private identifier. Group member.
所述指令接收子单元7011,通过所述群组会话界面接收发送成员针对指定群组成员发送群组会话的指令。The instruction receiving subunit 7011 receives, by the group session interface, an instruction that a sending member sends a group session for a specified group member.
所述私有判断子单元7012,判断是否通过所述群组会话界面接收到发送成员输入的第一指令。The private determination sub-unit 7012 determines whether a first instruction for sending a member input is received through the group session interface.
所述私有确认子单元7013,在通过所述群组会话界面接收到发送成员输入的第一指令后,确认所述群组会话为针对所述指定群组成员的私有会话。The private confirmation sub-unit 7013, after receiving the first instruction input by the sending member through the group session interface, confirms that the group session is a private session for the specified group member.
所述私有确认子单元7013,进一步在确认所述群组会话为针对所述指定群组成员的私有会话后,在所述群组会话界面的会话输入框中呈现私有会话提示,以提示发送成员当前的群组会话为私有会话。The private confirmation sub-unit 7013 further, after confirming that the group session is a private session for the specified group member, presenting a private session prompt in a session input box of the group session interface to prompt the sending member The current group session is a private session.
所述私有确认子单元7013,进一步在确认所述群组会话为针对所述指定群组成员的私有会话后,判断是否通过所述群组会话界面接收到发送成员输入的第二指令,在通过所述群组会话界面接收到发送成员输入的第二指令时,取消所述私有会话。The private confirmation sub-unit 7013 further determines, after confirming that the group session is a private session for the specified group member, whether to receive a second instruction sent by the sending member through the group session interface, The private session is cancelled when the group session interface receives a second instruction to send a member input.
所述标识判断单元704,判断服务端转发的群组会话中是否携带有所述私有标识。The identifier determining unit 704 determines whether the private identifier is carried in the group session forwarded by the server.
所述内容呈现单元705,在所述群组会话中携带有所述私有标识时,确认所述群组会话是私有会话,在群组会话界面中呈现所述私有会话的内容和私有会话提示。 The content presentation unit 705, when the private session is carried in the group session, confirms that the group session is a private session, and the content of the private session and the private session prompt are presented in the group session interface.
所述第二接收单元706,通过所述群组会话界面接收发送成员针对所述私有会话的内容发送回复会话的指令;The second receiving unit 706 receives, by using the group session interface, an instruction that the sending member sends a reply session for the content of the private session;
所述私有确认单元707,确认所述回复会话为私有会话。The private confirmation unit 707 confirms that the reply session is a private session.
请参考图10和图11,本申请提供的一种即时通信装置1000,应用在服务端上,所述装置1000包括有:会话接收单元1001、私有判断单元1002以及会话转发单元1003。Referring to FIG. 10 and FIG. 11 , an instant messaging device 1000 is provided on a server. The device 1000 includes a session receiving unit 1001 , a private determining unit 1002 , and a session forwarding unit 1003 .
所述会话接收单元1001,接收发送成员发送的群组会话。The session receiving unit 1001 receives a group session sent by a sending member.
所述私有判断单元1002,判断所述群组会话中是否携带私有标识,所述私有标识是客户端在接收到发送成员针对指定群组成员发送私有会话的指令后携带在所述群组会话中。The private determining unit 1002 determines whether the private session identifier is carried in the group session, and the private identifier is carried in the group session by the client after receiving an instruction that the sending member sends a private session for the specified group member. .
所述会话转发单元1003,在所述群组会话中携带私有标识时,确认所述群组会话为私有会话,并将所述群组会话转发给所述群组会话指定的群组成员。The session forwarding unit 1003, when carrying the private identifier in the group session, confirms that the group session is a private session, and forwards the group session to a group member specified by the group session.
上述装置中各个单元的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。The implementation process of the function and the function of each unit in the foregoing device is specifically described in the implementation process of the corresponding steps in the foregoing method, and details are not described herein again.
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。 The above is only the preferred embodiment of the present application, and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc., which are made within the spirit and principles of the present application, should be included in the present application. Within the scope of protection.

Claims (14)

  1. 一种即时通信方法,其特征在于,所述方法包括:An instant communication method, characterized in that the method comprises:
    通过群组会话界面接收发送成员针对指定群组成员发送私有会话的指令;Receiving, by the group session interface, an instruction that the sending member sends a private session for the specified group member;
    获取发送成员通过所述群组会话界面输入的私有会话的内容;Obtaining content of a private session input by the sending member through the group session interface;
    根据所述发送私有会话的指令在所述私有会话中携带私有标识后发送给服务端,以供服务端根据所述私有标识将所述私有会话转发给所述指定群组成员。Sending the private identifier in the private session according to the instruction for sending the private session, and sending the private identifier to the server, so that the server forwards the private session to the designated group member according to the private identifier.
  2. 根据权利要求1所述的方法,其特征在于,所述通过群组会话界面接收发送成员针对指定群组成员发送私有会话的指令包括:The method according to claim 1, wherein the receiving, by the group session interface, the sending member sends an instruction for transmitting the private session to the specified group member comprises:
    通过所述群组会话界面接收发送成员针对指定群组成员发送群组会话的指令;Receiving, by the group session interface, an instruction that the sending member sends a group session for the specified group member;
    判断是否通过所述群组会话界面接收到发送成员输入的第一指令;Determining whether a first instruction for sending a member input is received through the group session interface;
    如果通过所述群组会话界面接收到发送成员输入的所述第一指令,则确认所述群组会话为针对所述指定群组成员的私有会话。If the first instruction to send a member input is received through the group session interface, the group session is confirmed to be a private session for the specified group member.
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method of claim 2, wherein the method further comprises:
    在确认所述群组会话为针对所述指定群组成员的私有会话后,在所述群组会话界面的会话输入框中呈现私有会话提示,以提示发送成员当前的群组会话为私有会话。After confirming that the group session is a private session for the specified group member, a private session prompt is presented in the session input box of the group session interface to prompt the sending member that the current group session is a private session.
  4. 根据权利要求2所述的方法,其特征在于,The method of claim 2 wherein:
    在确认所述群组会话为针对所述指定群组成员的私有会话后,判断是否通过所述群组会话界面接收到发送成员输入的第二指令;After confirming that the group session is a private session for the specified group member, determining whether a second instruction for sending the member input is received through the group session interface;
    如果通过所述群组会话界面接收到发送成员输入的所述第二指令,则取消所述私有会话。The private session is cancelled if the second instruction to send the member input is received through the group session interface.
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    判断服务端转发的群组会话中是否携带有所述私有标识;Determining whether the private identifier is carried in the group session forwarded by the server;
    如果所述群组会话中携带有所述私有标识,则确认所述群组会话是私有 会话,在群组会话界面中呈现所述私有会话的内容和私有会话提示。If the private session is carried in the group session, confirm that the group session is private The session presents the content of the private session and the private session prompt in the group session interface.
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:The method of claim 5, wherein the method further comprises:
    通过所述群组会话界面接收发送成员针对所述私有会话的内容发送回复会话的指令;Receiving, by the group session interface, an instruction that the sending member sends a reply session for the content of the private session;
    确认所述回复会话为私有会话。Confirm that the reply session is a private session.
  7. 一种即时通信方法,其特征在于,所述方法包括:An instant communication method, characterized in that the method comprises:
    接收发送成员发送的群组会话;Receiving a group session sent by the sending member;
    判断所述群组会话中是否携带私有标识,所述私有标识是客户端在接收到发送成员针对指定群组成员发送私有会话的指令后携带在所述群组会话中;Determining whether the group session carries a private identifier, where the private identifier is carried in the group session after receiving the instruction that the sending member sends a private session for the specified group member;
    如果所述群组会话中携带私有标识,则确认所述群组会话为私有会话,并将所述群组会话转发给所述群组会话指定的群组成员。If the group session carries a private identity, the group session is confirmed as a private session, and the group session is forwarded to a group member specified by the group session.
  8. 一种即时通信装置,其特征在于,所述装置包括:An instant communication device, characterized in that the device comprises:
    第一接收单元,通过群组会话界面接收发送成员针对指定群组成员发送私有会话的指令;The first receiving unit receives, by using the group session interface, an instruction that the sending member sends a private session for the specified group member;
    内容获取单元,获取发送成员通过所述群组会话界面输入的私有会话的内容;a content obtaining unit, acquiring content of a private session input by the sending member through the group session interface;
    会话发送单元,根据所述发送私有会话的指令在所述私有会话中携带私有标识后发送给服务端,以供服务端根据所述私有标识将所述私有会话转发给所述指定群组成员。The session sending unit sends the private identifier to the server in the private session according to the instruction for sending the private session, and then sends the private session to the server according to the private identifier.
  9. 根据权利要求8所述的装置,其特征在于,所述第一接收单元包括:The apparatus according to claim 8, wherein the first receiving unit comprises:
    指令接收子单元,通过所述群组会话界面接收发送成员针对指定群组成员发送群组会话的指令;An instruction receiving subunit, configured to receive, by using the group session interface, an instruction that a sending member sends a group session for a specified group member;
    私有判断子单元,判断是否通过所述群组会话界面接收到发送成员输入的第一指令;a private determination subunit, determining whether a first instruction for sending a member input is received through the group session interface;
    私有确认子单元,在通过所述群组会话界面接收到发送成员输入的第一指令后,确认所述群组会话为针对所述指定群组成员的私有会话。The private confirmation sub-unit, after receiving the first instruction of sending the member input through the group session interface, confirms that the group session is a private session for the specified group member.
  10. 根据权利要求9所述的装置,其特征在于, The device of claim 9 wherein:
    所述私有确认子单元,进一步在确认所述群组会话为针对所述指定群组成员的私有会话后,在所述群组会话界面的会话输入框中呈现私有会话提示,以提示发送成员当前的群组会话为私有会话。The private confirmation sub-unit further presents a private session prompt in a session input box of the group session interface after confirming that the group session is a private session for the specified group member, to prompt the sending member to present The group session is a private session.
  11. 根据权利要求9所述的装置,其特征在于,The device of claim 9 wherein:
    所述私有确认子单元,进一步在确认所述群组会话为针对所述指定群组成员的私有会话后,判断是否通过所述群组会话界面接收到发送成员输入的第二指令,在通过所述群组会话界面接收到发送成员输入的第二指令时,取消所述私有会话。The private confirmation sub-unit further determines, after confirming that the group session is a private session for the specified group member, whether the second instruction input by the sending member is received through the group session interface, When the group session interface receives the second instruction to send the member input, the private session is cancelled.
  12. 根据权利要求8所述的装置,其特征在于,所述装置还包括:The device according to claim 8, wherein the device further comprises:
    标识判断单元,判断服务端转发的群组会话中是否携带有所述私有标识;The identifier determining unit determines whether the private identifier is carried in the group session forwarded by the server;
    内容呈现单元,在所述群组会话中携带有所述私有标识时,确认所述群组会话是私有会话,在群组会话界面中呈现所述私有会话的内容和私有会话提示。The content presentation unit, when the private identifier is carried in the group session, confirms that the group session is a private session, and the content of the private session and the private session prompt are presented in the group session interface.
  13. 根据权利要求12所述的装置,其特征在于,所述装置还包括:The device of claim 12, wherein the device further comprises:
    第二接收单元,通过所述群组会话界面接收发送成员针对所述私有会话的内容发送回复会话的指令;a second receiving unit, configured to receive, by using the group session interface, an instruction that the sending member sends a reply session for the content of the private session;
    私有确认单元,确认所述回复会话为私有会话。A private confirmation unit confirms that the reply session is a private session.
  14. 一种即时通信装置,其特征在于,所述装置包括:An instant communication device, characterized in that the device comprises:
    会话接收单元,接收发送成员发送的群组会话;a session receiving unit, receiving a group session sent by the sending member;
    私有判断单元,判断所述群组会话中是否携带私有标识,所述私有标识是客户端在接收到发送成员针对指定群组成员发送私有会话的指令后携带在所述群组会话中;The private judgment unit determines whether the private session identifier is carried in the group session, and the private identifier is carried in the group session after receiving the instruction that the sending member sends a private session for the specified group member;
    会话转发单元,在所述群组会话中携带私有标识时,确认所述群组会话为私有会话,并将所述群组会话转发给所述群组会话指定的群组成员。 The session forwarding unit, when carrying the private identifier in the group session, confirms that the group session is a private session, and forwards the group session to a group member specified by the group session.
PCT/CN2015/094794 2014-11-26 2015-11-17 Instant messaging method and device WO2016082697A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410692580.5 2014-11-26
CN201410692580.5A CN105704002B (en) 2014-11-26 2014-11-26 A kind of instant communicating method and device

Publications (1)

Publication Number Publication Date
WO2016082697A1 true WO2016082697A1 (en) 2016-06-02

Family

ID=56073590

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/094794 WO2016082697A1 (en) 2014-11-26 2015-11-17 Instant messaging method and device

Country Status (2)

Country Link
CN (1) CN105704002B (en)
WO (1) WO2016082697A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989180A (en) * 2018-05-25 2018-12-11 深圳市赛亿科技开发有限公司 Instant communicating system and its group chat information processing method, instant communication server
CN110855551A (en) * 2019-10-29 2020-02-28 维沃移动通信有限公司 Message reply method, server and electronic equipment
CN113676395A (en) * 2021-08-23 2021-11-19 维沃移动通信(杭州)有限公司 Information processing method, related device and readable storage medium
CN114039803A (en) * 2021-11-04 2022-02-11 深圳市万睿智能科技有限公司 Group talkback message management method and device, computer equipment and storage medium

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107342929B (en) * 2016-08-10 2020-07-03 杭州朗和科技有限公司 Method, device and system for sending new message notification
CN107800609B (en) * 2016-09-05 2021-06-01 阿里巴巴集团控股有限公司 Communication method and device
CN106375197A (en) * 2016-10-07 2017-02-01 苏州高精特专信息科技有限公司 Chatting record keeping method
CN106789558A (en) * 2016-11-30 2017-05-31 宇龙计算机通信科技(深圳)有限公司 Instant communicating method, client and application server based on RCS
CN106603384B (en) * 2016-12-08 2020-11-24 北京安云世纪科技有限公司 Session control method, device and system based on instant messaging software
CN106850662B (en) * 2017-02-28 2019-11-19 腾讯科技(深圳)有限公司 A kind of method and server of Dialog processing
CN107911556B (en) * 2017-11-27 2021-04-13 珠海市魅族科技有限公司 Contact reminding method and device, computer device and computer readable storage medium
CN109921976B (en) * 2017-12-12 2021-05-07 腾讯科技(深圳)有限公司 Group-based communication control method, device and storage medium
CN108377217B (en) * 2018-02-12 2022-04-22 段迎 Real-time communication method and device
CN108512742B (en) * 2018-02-13 2020-12-04 论客科技(广州)有限公司 Message pushing method, device, server and system for member level
CN110321036A (en) * 2019-04-25 2019-10-11 维沃移动通信有限公司 A kind of communication means, terminal and computer readable storage medium
CN111124221B (en) * 2019-12-03 2022-02-25 维沃移动通信有限公司 File sending method and terminal equipment
CN113949681A (en) * 2021-12-21 2022-01-18 天津联想协同科技有限公司 Group communication method, device and storage medium for instant messaging

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004111790A2 (en) * 2003-06-11 2004-12-23 Autouptodate Llc D/B/A Armorpost Private messaging using independent and interoperating couriers
CN101072148A (en) * 2007-03-30 2007-11-14 腾讯科技(深圳)有限公司 Multi-member aggregating exchange method, and server for network chatroom
CN101237487A (en) * 2007-12-04 2008-08-06 中兴通讯股份有限公司 A private chat method and system in voice conference
CN101710881A (en) * 2009-11-25 2010-05-19 中兴通讯股份有限公司 Method and system for realizing private messages in chat room

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401757A (en) * 2013-06-26 2013-11-20 宇龙计算机通信科技(深圳)有限公司 Chat method and communication terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004111790A2 (en) * 2003-06-11 2004-12-23 Autouptodate Llc D/B/A Armorpost Private messaging using independent and interoperating couriers
CN101072148A (en) * 2007-03-30 2007-11-14 腾讯科技(深圳)有限公司 Multi-member aggregating exchange method, and server for network chatroom
CN101237487A (en) * 2007-12-04 2008-08-06 中兴通讯股份有限公司 A private chat method and system in voice conference
CN101710881A (en) * 2009-11-25 2010-05-19 中兴通讯股份有限公司 Method and system for realizing private messages in chat room

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989180A (en) * 2018-05-25 2018-12-11 深圳市赛亿科技开发有限公司 Instant communicating system and its group chat information processing method, instant communication server
CN110855551A (en) * 2019-10-29 2020-02-28 维沃移动通信有限公司 Message reply method, server and electronic equipment
CN113676395A (en) * 2021-08-23 2021-11-19 维沃移动通信(杭州)有限公司 Information processing method, related device and readable storage medium
CN113676395B (en) * 2021-08-23 2023-11-07 维沃移动通信(杭州)有限公司 Information processing method, related device and readable storage medium
CN114039803A (en) * 2021-11-04 2022-02-11 深圳市万睿智能科技有限公司 Group talkback message management method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN105704002A (en) 2016-06-22
CN105704002B (en) 2018-11-06

Similar Documents

Publication Publication Date Title
WO2016082697A1 (en) Instant messaging method and device
WO2017125051A1 (en) Message sending method and device, computer terminal and storage medium
JP6501919B2 (en) Voice chat mode self-adaptation method and apparatus
WO2016119622A1 (en) Group chat method and device
KR101785420B1 (en) Method for providing chatting service using cleint bot and apparatus for performing the method
TWI596921B (en) Reference notification method and device
US20170091717A1 (en) Auto extraction of tasks from unstructured communications such as emails and messages
KR20180051556A (en) Method and device for implementing service functions
US20170288942A1 (en) Portal for Provisioning Autonomous Software Agents
US20150207764A1 (en) Method and device for sharing data
WO2017167132A1 (en) Method and apparatus for implementing instant messaging
US20160134428A1 (en) User Device Evaluation for Online Meetings
US9166822B2 (en) Transmission of instant messages according to availability
CN104038406B (en) information prompting method and device
CN106713438B (en) Position sharing processing method and device
EP3866410B1 (en) Message display method, apparatus, and device
US10541951B2 (en) Enhancing network messaging with a real-time, interactive representation of current messaging activity of a user's contacts and associated contacts
CN109274575B (en) Message sending method and device and electronic equipment
CN106713127A (en) Instant chatting record acquisition and processing methods and devices
CN107347028B (en) Message processing method and device
WO2011107002A1 (en) Method, server end, client and system for network platform interaction
WO2017076025A1 (en) Information processing method and apparatus, and electronic device
US8214442B2 (en) Facilitating an extended IM session in a secure way
US20200084165A1 (en) Automatically determining and selecting a suitable communication channel to deliver messages to recipient
WO2023284630A1 (en) Emoticon image adding method and apparatus, and device and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15864026

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15864026

Country of ref document: EP

Kind code of ref document: A1